diff --git a/.changeset/afraid-dragons-tickle.md b/.changeset/afraid-dragons-tickle.md new file mode 100644 index 0000000000..e33d9783c1 --- /dev/null +++ b/.changeset/afraid-dragons-tickle.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +``: copiable now works diff --git a/.changeset/all-baths-draw.md b/.changeset/all-baths-draw.md new file mode 100644 index 0000000000..c404e3319c --- /dev/null +++ b/.changeset/all-baths-draw.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`StepList`: fix width diff --git a/.changeset/all-candies-spend.md b/.changeset/all-candies-spend.md new file mode 100644 index 0000000000..f7484f6578 --- /dev/null +++ b/.changeset/all-candies-spend.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`SwitchButton`: update size when children changes diff --git a/.changeset/all-melons-add.md b/.changeset/all-melons-add.md new file mode 100644 index 0000000000..67702b27dc --- /dev/null +++ b/.changeset/all-melons-add.md @@ -0,0 +1,9 @@ +--- +"@ultraviolet/illustrations": minor +--- +- Rename script "uploadIllustrations.tsx" to "update-illustrations.tsx", to match other scripts +- New component `WireIllustration` +- New script "update-illustration-components.tsx" to automatically update `WireIllustration` and `DynamicIllustration` when new assets are added +- Now `DynamicIllustration` (as well as the new component) works the same way as every other illustration : everyting is automated, simply add an asset to the correct folder and make a merge request +- Update Github action to upload illustration when merging on beta +- Update Ultraviolet/illustrations readme \ No newline at end of file diff --git a/.changeset/bitter-turtles-knock.md b/.changeset/bitter-turtles-knock.md new file mode 100644 index 0000000000..99eb4bb6ba --- /dev/null +++ b/.changeset/bitter-turtles-knock.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/icons": patch +--- + +New logo icons diff --git a/.changeset/brave-suns-speak.md b/.changeset/brave-suns-speak.md new file mode 100644 index 0000000000..d0a7f77347 --- /dev/null +++ b/.changeset/brave-suns-speak.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +`OrderSummary`: add prop "additionalInfo" diff --git a/.changeset/breezy-cups-shake.md b/.changeset/breezy-cups-shake.md new file mode 100644 index 0000000000..95367a9b73 --- /dev/null +++ b/.changeset/breezy-cups-shake.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +New component `InfoTable` diff --git a/.changeset/breezy-ends-yell.md b/.changeset/breezy-ends-yell.md new file mode 100644 index 0000000000..22d0e01697 --- /dev/null +++ b/.changeset/breezy-ends-yell.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`List` and `Table`: fix info icon style diff --git a/.changeset/chilly-snails-carry.md b/.changeset/chilly-snails-carry.md new file mode 100644 index 0000000000..8a1c9662da --- /dev/null +++ b/.changeset/chilly-snails-carry.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +New component `` diff --git a/.changeset/cold-icons-stick.md b/.changeset/cold-icons-stick.md new file mode 100644 index 0000000000..4dfb107989 --- /dev/null +++ b/.changeset/cold-icons-stick.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Improve search system on `` diff --git a/.changeset/crazy-colts-accept.md b/.changeset/crazy-colts-accept.md new file mode 100644 index 0000000000..7a88ba9c0e --- /dev/null +++ b/.changeset/crazy-colts-accept.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Fix `` position to avoid error in index diff --git a/.changeset/curly-ways-tell.md b/.changeset/curly-ways-tell.md new file mode 100644 index 0000000000..ff7727defb --- /dev/null +++ b/.changeset/curly-ways-tell.md @@ -0,0 +1,6 @@ +--- +"@ultraviolet/icons": patch +--- + +New product icons: `CustomModelProductIcon` and `CloudEssentialsProductIcon` +New icon: `BoxEssentialIcon` (and outline version) diff --git a/.changeset/cute-geese-reply.md b/.changeset/cute-geese-reply.md new file mode 100644 index 0000000000..025ff97699 --- /dev/null +++ b/.changeset/cute-geese-reply.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`UnitInput`: fix id of input diff --git a/.changeset/cyan-ways-rush.md b/.changeset/cyan-ways-rush.md new file mode 100644 index 0000000000..3f19b67ae6 --- /dev/null +++ b/.changeset/cyan-ways-rush.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/icons": patch +--- + +New `ProductIcon`: "interlinkDedicated" \ No newline at end of file diff --git a/.changeset/dirty-breads-joke.md b/.changeset/dirty-breads-joke.md new file mode 100644 index 0000000000..7598248b81 --- /dev/null +++ b/.changeset/dirty-breads-joke.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Fix border on `` component in Safari diff --git a/.changeset/dry-jobs-double.md b/.changeset/dry-jobs-double.md new file mode 100644 index 0000000000..7b4aeb5cb2 --- /dev/null +++ b/.changeset/dry-jobs-double.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Fix `` within `` and `` diff --git a/.changeset/easy-planes-occur.md b/.changeset/easy-planes-occur.md new file mode 100644 index 0000000000..5f8ea3938e --- /dev/null +++ b/.changeset/easy-planes-occur.md @@ -0,0 +1,10 @@ +--- +"@ultraviolet/ui": major +--- + +**BREAKING CHANGES** + +Deprecated props removed: +- `Link`: prop "sentiment" can only by "primary" or "info" (default value) now +- `List.Cell`: prop "preventClick" removed (it is now default behavior) +- `Menu`: prop "size" and "maxWidth" removed, the size is now automatic \ No newline at end of file diff --git a/.changeset/easy-swans-kick.md b/.changeset/easy-swans-kick.md new file mode 100644 index 0000000000..098ef3062b --- /dev/null +++ b/.changeset/easy-swans-kick.md @@ -0,0 +1,10 @@ +--- +"@ultraviolet/form": major +"@ultraviolet/ui": major +--- + +All group input have a breaking changes in their props: + +- `label` is now longer needed, use `legend` instead. +- `legend` type moved from `ReactNode` to `string`. Use `legendDescription` to add more information. +- new prop `legendDescription` to add more information to the legend. diff --git a/.changeset/easy-words-crash.md b/.changeset/easy-words-crash.md new file mode 100644 index 0000000000..a4fc4d30da --- /dev/null +++ b/.changeset/easy-words-crash.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Fix `` to display footer when there are values and hide on empty state diff --git a/.changeset/eight-banks-occur.md b/.changeset/eight-banks-occur.md new file mode 100644 index 0000000000..ad6e4d461d --- /dev/null +++ b/.changeset/eight-banks-occur.md @@ -0,0 +1,8 @@ +--- +"@ultraviolet/form": major +--- + +⚠️ Breaking changes: + +- `` no longer deprecated +- `` renamed `` to be consistent with other input fields diff --git a/.changeset/evil-hornets-share.md b/.changeset/evil-hornets-share.md new file mode 100644 index 0000000000..7948570bd9 --- /dev/null +++ b/.changeset/evil-hornets-share.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +`EstimateCost`: add `z-index` to overlay diff --git a/.changeset/famous-dryers-remain.md b/.changeset/famous-dryers-remain.md new file mode 100644 index 0000000000..72d53a7aa5 --- /dev/null +++ b/.changeset/famous-dryers-remain.md @@ -0,0 +1,6 @@ +--- +"@ultraviolet/ui": patch +--- + +`: nested menus +``: new position "nested-menu", that is right by default and left when there is no available space on the right of the element \ No newline at end of file diff --git a/.changeset/fancy-mice-start.md b/.changeset/fancy-mice-start.md new file mode 100644 index 0000000000..e9dd604915 --- /dev/null +++ b/.changeset/fancy-mice-start.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`Modal`: returns focus to disclosure element when closing the modal diff --git a/.changeset/fast-dingos-rest.md b/.changeset/fast-dingos-rest.md new file mode 100644 index 0000000000..2359309d02 --- /dev/null +++ b/.changeset/fast-dingos-rest.md @@ -0,0 +1,9 @@ +--- +"@ultraviolet/form": minor +--- + +Spread props instead of manually adding them to avoid forgetting some + +Breaking changes : +- `SelectableCardGroupField`: prop `type` is now mandatory +- `VerificationCodeField` : rename `id` as `inputId` \ No newline at end of file diff --git a/.changeset/fast-results-run.md b/.changeset/fast-results-run.md new file mode 100644 index 0000000000..9c92a9e420 --- /dev/null +++ b/.changeset/fast-results-run.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`Modal`: disclosure onClick should work even when it changes diff --git a/.changeset/flat-zoos-wonder.md b/.changeset/flat-zoos-wonder.md new file mode 100644 index 0000000000..b78f5bb2d4 --- /dev/null +++ b/.changeset/flat-zoos-wonder.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Fix `` with `input` prop to only apply the value `onBlur` instead of `onChange`. Works also with double slider. diff --git a/.changeset/good-comics-greet.md b/.changeset/good-comics-greet.md new file mode 100644 index 0000000000..fba347a07b --- /dev/null +++ b/.changeset/good-comics-greet.md @@ -0,0 +1,15 @@ +--- +"@ultraviolet/icons": major +--- +⚠️ BREAKING CHANGES + +- `GoldSupportProductIcon` => Replaced by `BusinessSupportProductIcon` +- `PlatinumSupportProductIcon` => Replace by `EnterpriseSupportProductIcon` +- `SilverSupportProductIcon` => Replaced by `AdvancedSupportProductIcon` + +New product icons: +- `VpnConnectionProductIcon` +- `VpnCustomerGatewayProductIcon` + +New system icon: +- `ClichouseIcon` diff --git a/.changeset/great-tables-kick.md b/.changeset/great-tables-kick.md new file mode 100644 index 0000000000..a1e86d354d --- /dev/null +++ b/.changeset/great-tables-kick.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Add `aria-current` to `` component diff --git a/.changeset/grumpy-hoops-dance.md b/.changeset/grumpy-hoops-dance.md new file mode 100644 index 0000000000..0e31279864 --- /dev/null +++ b/.changeset/grumpy-hoops-dance.md @@ -0,0 +1,15 @@ +--- +"@ultraviolet/ui": major +--- + + +**BREAKING CHANGES** + +Deprecated props removed: +- `TagInput`: + - props "manualInput" and "onChangeError" removed: the props used to have no effect + - prop "variant" removed: only one variant possible now + - prop "tags" removed -> use "value" instead + +- `Toaster`: variant "info" removed + diff --git a/.changeset/happy-ravens-move.md b/.changeset/happy-ravens-move.md new file mode 100644 index 0000000000..c56386cccc --- /dev/null +++ b/.changeset/happy-ravens-move.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`: hide footer when empty state diff --git a/.changeset/heavy-toys-tap.md b/.changeset/heavy-toys-tap.md new file mode 100644 index 0000000000..0e936f1ce2 --- /dev/null +++ b/.changeset/heavy-toys-tap.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`TextArea`: height should adapt even without prop value diff --git a/.changeset/honest-pandas-brush.md b/.changeset/honest-pandas-brush.md new file mode 100644 index 0000000000..3082784615 --- /dev/null +++ b/.changeset/honest-pandas-brush.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`UnitInput`: new prop "templateColumns" to chose sizes of the input and the select input more precisely diff --git a/.changeset/hot-hands-take.md b/.changeset/hot-hands-take.md new file mode 100644 index 0000000000..2c30d6ed36 --- /dev/null +++ b/.changeset/hot-hands-take.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`DateInput`: value changes onBlur instead of onChange to avoid wrong dates while the user is typing diff --git a/.changeset/legal-regions-bet.md b/.changeset/legal-regions-bet.md new file mode 100644 index 0000000000..b62f749aa5 --- /dev/null +++ b/.changeset/legal-regions-bet.md @@ -0,0 +1,6 @@ +--- +"@ultraviolet/form": patch +"@ultraviolet/ui": patch +--- + +Fix all group field to have correct `legend` and `legendDescription` diff --git a/.changeset/light-icons-say.md b/.changeset/light-icons-say.md new file mode 100644 index 0000000000..d39439c5e7 --- /dev/null +++ b/.changeset/light-icons-say.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +`InfoTable.Row`: prop "templateColumn" renamed "templateColumns" (typo) to match `Row` prop \ No newline at end of file diff --git a/.changeset/little-badgers-go.md b/.changeset/little-badgers-go.md new file mode 100644 index 0000000000..fc84cb8a19 --- /dev/null +++ b/.changeset/little-badgers-go.md @@ -0,0 +1,10 @@ +--- +"@ultraviolet/ui": major +--- + +**BREAKING CHANGES** + +Deprecated props removed: +- `Card`: prop "isActive" removed -> use "active" instead +- `Checkbox`: props "progress" and "size" removed +- `CopyButton`: prop "noBorder" removed -> use "bordered" instead \ No newline at end of file diff --git a/.changeset/long-crews-join.md b/.changeset/long-crews-join.md new file mode 100644 index 0000000000..af732b5c71 --- /dev/null +++ b/.changeset/long-crews-join.md @@ -0,0 +1,7 @@ +--- +"@ultraviolet/ui": major +--- + +⚠️ Breaking changes: + +`ThemeRegistry` is no longer available in this package. You can import it by adding `@ultraviolet/nextjs` package to your project. The component is the same only the import changes. diff --git a/.changeset/long-mangos-remain.md b/.changeset/long-mangos-remain.md new file mode 100644 index 0000000000..a2b895aebe --- /dev/null +++ b/.changeset/long-mangos-remain.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Fix stepper small size with label on right diff --git a/.changeset/major-views-add.md b/.changeset/major-views-add.md new file mode 100644 index 0000000000..c650a09ceb --- /dev/null +++ b/.changeset/major-views-add.md @@ -0,0 +1,146 @@ +--- +"@ultraviolet/ui": major +--- + +Following the icon major update some components have recieved a small update to improve the usage of icons. + +## Detailed migration per components + +### Button + +`icon`, `iconPosition`, `iconVariant` props are deprecated. You can directly use the imported icon you need in the children. + +```tsx +// Before +import { Button } from '@ultraviolet/ui' + + +``` + +```tsx +// After +import { Button } from '@ultraviolet/ui' +import { PencilOutlineIcon } from '@ultraviolet/icons' + + +``` + +### Badge + +`icon` props is deprecated. You can directly use the imported icon you need in the children. + +```tsx +// Before +import { Badge } from '@ultraviolet/ui' + + + Edit + +``` + +```tsx +// After +import { Badge } from '@ultraviolet/ui' +import { PencilOutlineIcon } from '@ultraviolet/icons' + + + Edit + +``` + +### Bullet + +`icon` and `iconVariant` props are deprecated. You can directly use the imported icon you need in the children. + +```tsx +// Before +import { Bullet } from '@ultraviolet/ui' + + + +``` + +```tsx +// After +import { Bullet } from '@ultraviolet/ui' +import { CheckIcon, CheckCircleOutlineIcon } from '@ultraviolet/icons' + + + + + + + + +``` + +### AvatarV2 + +`icon` prop is deprecated. You can directly use the imported icon you need in the children. + +```tsx +// Before +import { AvatarV2 } from '@ultraviolet/ui' + + +``` + +```tsx +// After +import { AvatarV2 } from '@ultraviolet/ui' +import { MosaicIcon } from '@ultraviolet/icons' + + + + +``` + +### Separator + +`icon` prop is deprecated. You can directly use the imported icon you need in the children. + +```tsx +// Before +import { Separator } from '@ultraviolet/ui' + + +``` + +```tsx +// After +import { Separator } from '@ultraviolet/ui' +import { RayTopArrowIcon } from '@ultraviolet/icons' + + + + +``` + + +### Tag + +`icon` prop is deprecated. You can directly use the imported icon you need in the children. + +```tsx +// Before +import { Tag } from '@ultraviolet/ui' + + + Valid + +``` + +```tsx +// After +import { Tag } from '@ultraviolet/ui' +import { CheckIcon } from '@ultraviolet/icons' + + + + Valid + +``` diff --git a/.changeset/modern-poems-lose.md b/.changeset/modern-poems-lose.md new file mode 100644 index 0000000000..d6f5f973b1 --- /dev/null +++ b/.changeset/modern-poems-lose.md @@ -0,0 +1,6 @@ +--- +"@ultraviolet/form": major +"@ultraviolet/plus": major +--- + +⚠️ `@ultraviolet/ui` is now a peer-dependency of `@ultraviolet/form` and `@ultraviolet/plus`. This means you need to have an installed version of `@ultraviolet/ui` in your project that matches the version defined by the peer-dependency. diff --git a/.changeset/new-mugs-sip.md b/.changeset/new-mugs-sip.md new file mode 100644 index 0000000000..909f74768d --- /dev/null +++ b/.changeset/new-mugs-sip.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/form": patch +--- + +`ToggleField` and `SelectableCardField`: Fix type of prop `label` diff --git a/.changeset/nine-eyes-rescue.md b/.changeset/nine-eyes-rescue.md new file mode 100644 index 0000000000..a3ba192687 --- /dev/null +++ b/.changeset/nine-eyes-rescue.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Fix visited state of link to match promience diff --git a/.changeset/ninety-coats-accept.md b/.changeset/ninety-coats-accept.md new file mode 100644 index 0000000000..130df1124b --- /dev/null +++ b/.changeset/ninety-coats-accept.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +`InfoTable.Cell`: prop "title" is now a ReactNode diff --git a/.changeset/odd-bears-trade.md b/.changeset/odd-bears-trade.md new file mode 100644 index 0000000000..2b5bf9ea46 --- /dev/null +++ b/.changeset/odd-bears-trade.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +`OrderSummary`: fix size of the UnitInput diff --git a/.changeset/orange-radios-rule.md b/.changeset/orange-radios-rule.md new file mode 100644 index 0000000000..52aa6f7de5 --- /dev/null +++ b/.changeset/orange-radios-rule.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/icons": patch +--- + +New category icons: `BusinessDetails`, `InteractiveDemos`, `KeyManager`, `OrganizationNotifications`, `Organization`, `Privacy`, `Profile` and `ProfileNotifications` diff --git a/.changeset/pink-bats-grow.md b/.changeset/pink-bats-grow.md new file mode 100644 index 0000000000..cb70a11f91 --- /dev/null +++ b/.changeset/pink-bats-grow.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/illustrations": patch +--- + +New illustrations `Dedilink` and `CloudEssential` diff --git a/.changeset/pink-eyes-say.md b/.changeset/pink-eyes-say.md new file mode 100644 index 0000000000..fe4b76de84 --- /dev/null +++ b/.changeset/pink-eyes-say.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +`Navigation`: new prop "itemWrapper" for `Navigation.PinnedItems`. With this prop, it is possible to have a wrapper around each indidividual Pinned element. This can be useful to add a `` around them, add a tooltip, etc. \ No newline at end of file diff --git a/.changeset/plenty-monkeys-carry.md b/.changeset/plenty-monkeys-carry.md new file mode 100644 index 0000000000..fe8f24ccdd --- /dev/null +++ b/.changeset/plenty-monkeys-carry.md @@ -0,0 +1,8 @@ +--- +"@ultraviolet/ui": major +--- + +⚠️ Breaking changes: + +- Removal of `` component => replaced by `` +- Dialog no long experimental diff --git a/.changeset/plenty-papayas-tan.md b/.changeset/plenty-papayas-tan.md new file mode 100644 index 0000000000..6d433cfb3f --- /dev/null +++ b/.changeset/plenty-papayas-tan.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +`OrderSummary`: fix empty div when no subcategories (causes misalignment) diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 0000000000..df4fe50c2c --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,111 @@ +{ + "mode": "exit", + "tag": "beta", + "initialVersions": { + "@repo/e2e": "1.0.0", + "@examples/next": "1.0.0", + "@examples/next-app-router": "1.0.0", + "@examples/vite": "0.0.0", + "@ultraviolet/fonts": "1.0.2", + "@ultraviolet/form": "3.17.0", + "@ultraviolet/icons": "3.14.0", + "@ultraviolet/illustrations": "4.5.0", + "@ultraviolet/plus": "0.26.1", + "@ultraviolet/themes": "1.17.0", + "@ultraviolet/ui": "1.94.0", + "@utils/test": "0.0.1", + "@ultraviolet/nextjs": "0.0.1" + }, + "changesets": [ + "afraid-dragons-tickle", + "all-baths-draw", + "all-candies-spend", + "all-melons-add", + "bitter-turtles-knock", + "brave-suns-speak", + "breezy-cups-shake", + "breezy-ends-yell", + "chilly-snails-carry", + "cold-icons-stick", + "crazy-colts-accept", + "curly-ways-tell", + "cute-geese-reply", + "cyan-ways-rush", + "dirty-breads-joke", + "dry-jobs-double", + "easy-planes-occur", + "easy-swans-kick", + "easy-words-crash", + "eight-banks-occur", + "evil-hornets-share", + "famous-dryers-remain", + "fancy-mice-start", + "fast-dingos-rest", + "fast-results-run", + "flat-zoos-wonder", + "good-comics-greet", + "great-tables-kick", + "grumpy-hoops-dance", + "happy-ravens-move", + "heavy-toys-tap", + "honest-pandas-brush", + "hot-hands-take", + "legal-regions-bet", + "light-icons-say", + "little-badgers-go", + "long-crews-join", + "long-mangos-remain", + "major-views-add", + "modern-poems-lose", + "new-mugs-sip", + "nine-eyes-rescue", + "ninety-coats-accept", + "odd-bears-trade", + "orange-radios-rule", + "pink-bats-grow", + "pink-eyes-say", + "plenty-monkeys-carry", + "plenty-papayas-tan", + "pretty-cows-fold", + "purple-bears-tease", + "renovate-54afa5e", + "renovate-c42ba0b", + "renovate-d712a00", + "renovate-f43dd39", + "rotten-walls-argue", + "rude-jokes-cheer", + "rude-paths-stick", + "shaggy-geese-end", + "sharp-bars-train", + "sixty-beds-repair", + "sixty-moons-sit", + "sixty-olives-fold", + "spicy-aliens-relax", + "spicy-sites-march", + "spicy-spies-peel", + "spotty-weeks-unite", + "strong-streets-fly", + "tame-berries-count", + "ten-worlds-swim", + "tender-regions-share", + "thick-dragons-rush", + "thick-stars-dance", + "tidy-comics-talk", + "tidy-states-drop", + "tiny-feet-throw", + "true-ducks-deny", + "twelve-loops-occur", + "twenty-buses-occur", + "twenty-swans-dream", + "wet-queens-trade", + "wet-spiders-rescue", + "whole-rules-march", + "whole-wasps-cough", + "wild-facts-hide", + "wild-parks-bake", + "witty-rocks-play", + "yellow-ghosts-tease", + "young-days-shake", + "yummy-jokes-unite" + ] +} diff --git a/.changeset/pretty-cows-fold.md b/.changeset/pretty-cows-fold.md new file mode 100644 index 0000000000..ca21fc4649 --- /dev/null +++ b/.changeset/pretty-cows-fold.md @@ -0,0 +1,15 @@ +--- +"@ultraviolet/ui": major +--- + +⚠️ BREAKING CHANGES + +We removed all old components and renamed the V2 components to remove that suffix. Thus, the followng components have changed: + +TextInputV2 -> TextInput [Migration Documentation](https://storybook.ultraviolet.scaleway.com/?path=/docs/migrations-textinput-to-textinputv2--docs) +SelectInputV2 -> SelectInput [Migration Documentation](https://storybook.ultraviolet.scaleway.com/?path=/docs/migrations-selectinput-to-selectinputv2--docs) +AvatarV2 -> Avatar [Migration Documentation](https://storybook.ultraviolet.scaleway.com/?path=/docs/migrations-avatar-to-avatarv2--docs) +MenuV2 -> Menu [Migration Documentation](https://storybook.ultraviolet.scaleway.com/?path=/docs/migrations-menu-to-menuv2--docs) +DateInputV2 -> DateInput +TimeInputV2 -> TimeInput +NumberInputV2 -> NumberInput diff --git a/.changeset/purple-bears-tease.md b/.changeset/purple-bears-tease.md new file mode 100644 index 0000000000..f24fd24da0 --- /dev/null +++ b/.changeset/purple-bears-tease.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/icons": patch +--- + +Fix system icons to work with weak prominence diff --git a/.changeset/rotten-walls-argue.md b/.changeset/rotten-walls-argue.md new file mode 100644 index 0000000000..9764145955 --- /dev/null +++ b/.changeset/rotten-walls-argue.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +``: size "large" by default instead of "medium" and fix width of AM/PM input when large. diff --git a/.changeset/rude-jokes-cheer.md b/.changeset/rude-jokes-cheer.md new file mode 100644 index 0000000000..a4595e65bd --- /dev/null +++ b/.changeset/rude-jokes-cheer.md @@ -0,0 +1,6 @@ +--- +"@ultraviolet/ui": major +--- +⚠️ Breaking changes: + +`SCWUITheme` no longer exists, use `UltravioletUITheme`. The type is the same. diff --git a/.changeset/rude-paths-stick.md b/.changeset/rude-paths-stick.md new file mode 100644 index 0000000000..1068d6c81b --- /dev/null +++ b/.changeset/rude-paths-stick.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +`Navigation`: isActive should work when the Item is wrapped in a Link/NavLink (React rooter) diff --git a/.changeset/shaggy-geese-end.md b/.changeset/shaggy-geese-end.md new file mode 100644 index 0000000000..f107f2c3ff --- /dev/null +++ b/.changeset/shaggy-geese-end.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/form": patch +--- + +Missing spread of prop `legend` in `` diff --git a/.changeset/sharp-bars-train.md b/.changeset/sharp-bars-train.md new file mode 100644 index 0000000000..e76c48cd8c --- /dev/null +++ b/.changeset/sharp-bars-train.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/icons": patch +--- + +New icon `DedilinkProductIcon` diff --git a/.changeset/sixty-beds-repair.md b/.changeset/sixty-beds-repair.md new file mode 100644 index 0000000000..5368cad365 --- /dev/null +++ b/.changeset/sixty-beds-repair.md @@ -0,0 +1,10 @@ +--- +"@ultraviolet/fonts": major +"@ultraviolet/form": major +"@ultraviolet/illustrations": major +"@ultraviolet/plus": major +"@ultraviolet/themes": major +"@ultraviolet/ui": major +--- + +Beta release diff --git a/.changeset/sixty-moons-sit.md b/.changeset/sixty-moons-sit.md new file mode 100644 index 0000000000..0859c11f47 --- /dev/null +++ b/.changeset/sixty-moons-sit.md @@ -0,0 +1,19 @@ +--- +"@ultraviolet/ui": major +--- + + +**BREAKING CHANGES** + +Deprecated props removed: +- `Modal`: + - prop "customDialogBackdropStyles" removed -> use "backdropClassName" instead to style the backdrop + - prop "customDialogStyles" removed -> use "customDialogStyles" instead to style the dialog + - prop "width" removed -> use "size" instead (same possible values) + - prop "opened" removed -> use "open" instead + - prop "onOpen" removed -> use "show" instead (ModalState) + - prop "onClose" removed -> use "close" instead (ModalState) + - prop "hide" removed -> use "close" instead (ModalState) +- `RadioGroup.Radio`: prop "name" removed, it is automatically passed from the parent `RadioGroup` +- `Separator`: prop "color" removed -> use "sentiment" instead +- `Text`: prop "color" removed -> use "sentiment" instead \ No newline at end of file diff --git a/.changeset/sixty-olives-fold.md b/.changeset/sixty-olives-fold.md new file mode 100644 index 0000000000..3e449e0f26 --- /dev/null +++ b/.changeset/sixty-olives-fold.md @@ -0,0 +1,8 @@ +--- +"@ultraviolet/ui": patch +--- + +``: **breaking changes** +- align size on system icons : now size can only be "xsmall" (0.75rem/12px), "small" (1rem/16px), "medium" (1.25rem/20px), "large" (1.5rem/24px), "xlarge" (2rem/32px), or "*xxlarge*" (3.5rem/56px). By default, `size = "xlarge"` to match the old size. +- remove prop `color`, use `sentiment` instead. By default, `sentiment = primary`. +- remove props `trailColor`, `text`and `strokeWidth`. diff --git a/.changeset/spicy-aliens-relax.md b/.changeset/spicy-aliens-relax.md new file mode 100644 index 0000000000..8e8b741555 --- /dev/null +++ b/.changeset/spicy-aliens-relax.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/themes": patch +--- + +Remove deepmerge dependency as it is no longer used diff --git a/.changeset/spicy-sites-march.md b/.changeset/spicy-sites-march.md new file mode 100644 index 0000000000..f60b231880 --- /dev/null +++ b/.changeset/spicy-sites-march.md @@ -0,0 +1,13 @@ +--- +"@ultraviolet/icons": major +--- + +Name changing in Category icons: + - `ToolsServicesCategoryIcon` → `ManagementAndGovernanceCategoryIcon` + - `IotCategoryIcon` → `DomainsAndWebHostingCategoryIcon` + - `ServerlessCategoryIcon` → `ServerlessComputeCategoryIcon` + - `ConsoleCategoryIcon` → `OrganizationDashboardCategoryIcon` + - `ObservabilityCategoryIcon` → `MonitoringCategoryIcon` + - `ManagedServicesCategoryIcon` → `DataAndAnalyticsCategoryIcon` + - `ApplicationIntegrationCategoryIcon` → `IntegrationServicesCategoryIcon` + - `EnvironmentalFootprintCategoryIcon` → `CostAndImpactManagerCategoryIcon` diff --git a/.changeset/spicy-spies-peel.md b/.changeset/spicy-spies-peel.md new file mode 100644 index 0000000000..425d2b5992 --- /dev/null +++ b/.changeset/spicy-spies-peel.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": minor +--- + +`Drawer`: new prop `noPadding` which allow to have a non padded content diff --git a/.changeset/spotty-weeks-unite.md b/.changeset/spotty-weeks-unite.md new file mode 100644 index 0000000000..ef8fc36086 --- /dev/null +++ b/.changeset/spotty-weeks-unite.md @@ -0,0 +1,9 @@ +--- +"@ultraviolet/ui": patch +--- + +Allow DND kit to work with `List` and `Button` : +- `List.Row` now supports "style" and "data-dragging" props ; +- For Security group we don't display header but the List component add to much spaces ; +- List.Row do not allow data-dragging prop +- `Button` can have props "aria-describedby", "aria-disabled", "aria-pressed", "aria-roledescription", "onPointerDown" and "onKeyDown" to work with DND kit diff --git a/.changeset/strong-streets-fly.md b/.changeset/strong-streets-fly.md new file mode 100644 index 0000000000..7ff76c2be2 --- /dev/null +++ b/.changeset/strong-streets-fly.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": minor +--- + +`SelectInput`: add a `onOpen` prop diff --git a/.changeset/tame-berries-count.md b/.changeset/tame-berries-count.md new file mode 100644 index 0000000000..eccd0f92e0 --- /dev/null +++ b/.changeset/tame-berries-count.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/form": patch +--- + +Fix `value` prop on all fields diff --git a/.changeset/ten-worlds-swim.md b/.changeset/ten-worlds-swim.md new file mode 100644 index 0000000000..1c8c5762fa --- /dev/null +++ b/.changeset/ten-worlds-swim.md @@ -0,0 +1,15 @@ +--- +"@ultraviolet/form": major +--- + +⚠️ BREAKING CHANGES + +We removed all old components and renamed the V2 components to remove that suffix. Thus, the followng components have changed: + +TextInputFieldV2 -> TextInputField +SelectInputFieldV2 -> SelectInputField +AvatarFieldV2 -> AvatarField +MenuFieldV2 -> MenuField +DateInputFieldV2 -> DateInputField +TimeInputFieldV2 -> TimeInputField +NumberInputFieldV2 -> NumberInputField diff --git a/.changeset/tender-regions-share.md b/.changeset/tender-regions-share.md new file mode 100644 index 0000000000..d2eb9f16d7 --- /dev/null +++ b/.changeset/tender-regions-share.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +`Expandable`: no animation on first render diff --git a/.changeset/thick-dragons-rush.md b/.changeset/thick-dragons-rush.md new file mode 100644 index 0000000000..5501cd5f5d --- /dev/null +++ b/.changeset/thick-dragons-rush.md @@ -0,0 +1,8 @@ +--- +"@ultraviolet/ui": patch +--- + +``: focus on disclosure when closing menu and can use arrow keys to navigate in menu : +- Arrow Up/Down: browse the items +- Arrow Right: open nested menu and focus on the first item +- Arrow Left : close nested menu \ No newline at end of file diff --git a/.changeset/thick-stars-dance.md b/.changeset/thick-stars-dance.md new file mode 100644 index 0000000000..887b0f7bb4 --- /dev/null +++ b/.changeset/thick-stars-dance.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +Fix `` content to fit better diff --git a/.changeset/tidy-comics-talk.md b/.changeset/tidy-comics-talk.md new file mode 100644 index 0000000000..089f914838 --- /dev/null +++ b/.changeset/tidy-comics-talk.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +``: improve overflow diff --git a/.changeset/tidy-states-drop.md b/.changeset/tidy-states-drop.md new file mode 100644 index 0000000000..cce1acf8e8 --- /dev/null +++ b/.changeset/tidy-states-drop.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/themes": major +--- + +Removal of `theme.screen` into CSS variables and fixed breakpoints diff --git a/.changeset/tiny-feet-throw.md b/.changeset/tiny-feet-throw.md new file mode 100644 index 0000000000..be9de96699 --- /dev/null +++ b/.changeset/tiny-feet-throw.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +``: reduce space between link and icon diff --git a/.changeset/true-ducks-deny.md b/.changeset/true-ducks-deny.md new file mode 100644 index 0000000000..68858a2807 --- /dev/null +++ b/.changeset/true-ducks-deny.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/nextjs": major +--- + +New package and component ThemeRegistry for next compatibility diff --git a/.changeset/twelve-loops-occur.md b/.changeset/twelve-loops-occur.md new file mode 100644 index 0000000000..ec34082d37 --- /dev/null +++ b/.changeset/twelve-loops-occur.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Add theme get function for nivo chart components (harmonization of theme) diff --git a/.changeset/twenty-buses-occur.md b/.changeset/twenty-buses-occur.md new file mode 100644 index 0000000000..4f0473fcda --- /dev/null +++ b/.changeset/twenty-buses-occur.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +``: improve search diff --git a/.changeset/twenty-swans-dream.md b/.changeset/twenty-swans-dream.md new file mode 100644 index 0000000000..afb3a84361 --- /dev/null +++ b/.changeset/twenty-swans-dream.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +``: drag & drop diff --git a/.changeset/wet-queens-trade.md b/.changeset/wet-queens-trade.md new file mode 100644 index 0000000000..9d8753975c --- /dev/null +++ b/.changeset/wet-queens-trade.md @@ -0,0 +1,11 @@ +--- +"@ultraviolet/ui": minor +"@ultraviolet/form": minor +--- +**Breaking changes** +`SwitchButton`: New version of the component: +- props `leftButton` and `rightButton` removed +- Use `SwitchButton.Option` to add buttons/options +- More than 2 options possible now ! +- New sizes +- New prop `sentiment` \ No newline at end of file diff --git a/.changeset/wet-spiders-rescue.md b/.changeset/wet-spiders-rescue.md new file mode 100644 index 0000000000..f65a813525 --- /dev/null +++ b/.changeset/wet-spiders-rescue.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": minor +--- + +New component `OrderSummary` diff --git a/.changeset/whole-rules-march.md b/.changeset/whole-rules-march.md new file mode 100644 index 0000000000..c82804f652 --- /dev/null +++ b/.changeset/whole-rules-march.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/plus": patch +--- + +New component `OfferList` diff --git a/.changeset/whole-wasps-cough.md b/.changeset/whole-wasps-cough.md new file mode 100644 index 0000000000..81d53d33dc --- /dev/null +++ b/.changeset/whole-wasps-cough.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Fix add missing `tooltip` prop on `CheckboxGroup.Checkbox` diff --git a/.changeset/wild-facts-hide.md b/.changeset/wild-facts-hide.md new file mode 100644 index 0000000000..5a5d8f7254 --- /dev/null +++ b/.changeset/wild-facts-hide.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": patch +--- + +Add `disabled` on `` diff --git a/.changeset/wild-parks-bake.md b/.changeset/wild-parks-bake.md new file mode 100644 index 0000000000..ebef0b4e56 --- /dev/null +++ b/.changeset/wild-parks-bake.md @@ -0,0 +1,127 @@ +--- +"@ultraviolet/themes": major +--- + +⚠️ **Breaking Changes** + +The following tokens are now removed. Please update your code to use the new tokens system. + +#### Screens + +Screen changed from `number` to `string` type to include `px` unit. The new values are now in `px` instead of `number`. The new values are: + +- New `xxsmall` +- `theme.screens.xsmall` -> `theme.breakpoints.xsmall` +- `theme.screens.small` -> `breakpoints.small` +- `theme.screens.medium` -> `theme.breakpoints.medium` +- `theme.screens.large` -> `theme.breakpoints.large` +- `theme.screens.xlarge` -> `theme.breakpoints.xlarge` + +#### Colors + +Some colors tokens have been removed. Here are the following tokens that are now removed: + +**Danger** +- `theme.colors.danger.backgroundWeak` +- `theme.colors.danger.backgroundWeakDisabled` +- `theme.colors.danger.backgroundWeakHover` +- `theme.colors.danger.borderWeak` +- `theme.colors.danger.borderWeakDisabled` +- `theme.colors.danger.borderWeakHover` +- `theme.colors.danger.iconWeak` +- `theme.colors.danger.iconWeakDisabled` +- `theme.colors.danger.iconWeakHover` +- `theme.colors.danger.textWeak` +- `theme.colors.danger.textWeakDisabled` +- `theme.colors.danger.textWeakHover` + +**Info** +- `theme.colors.info.backgroundWeak` +- `theme.colors.info.backgroundWeakDisabled` +- `theme.colors.info.backgroundWeakHover` +- `theme.colors.info.borderWeak` +- `theme.colors.info.borderWeakDisabled` +- `theme.colors.info.borderWeakHover` +- `theme.colors.info.iconWeak` +- `theme.colors.info.iconWeakDisabled` +- `theme.colors.info.iconWeakHover` +- `theme.colors.info.textWeak` +- `theme.colors.info.textWeakDisabled` +- `theme.colors.info.textWeakHover` + +**Primary** +- `theme.colors.primary.backgroundWeak` +- `theme.colors.primary.backgroundWeakDisabled` +- `theme.colors.primary.backgroundWeakHover` +- `theme.colors.primary.borderWeak` +- `theme.colors.primary.borderWeakDisabled` +- `theme.colors.primary.borderWeakHover` +- `theme.colors.primary.iconWeak` +- `theme.colors.primary.iconWeakDisabled` +- `theme.colors.primary.iconWeakHover` +- `theme.colors.primary.textWeak` +- `theme.colors.primary.textWeakDisabled` +- `theme.colors.primary.textWeakHover` + +**Secondary** +- `theme.colors.secondary.backgroundWeak` +- `theme.colors.secondary.backgroundWeakDisabled` +- `theme.colors.secondary.backgroundWeakHover` +- `theme.colors.secondary.borderWeak` +- `theme.colors.secondary.borderWeakDisabled` +- `theme.colors.secondary.borderWeakHover` +- `theme.colors.secondary.iconWeak` +- `theme.colors.secondary.iconWeakDisabled` +- `theme.colors.secondary.iconWeakHover` +- `theme.colors.secondary.textWeak` +- `theme.colors.secondary.textWeakDisabled` +- `theme.colors.secondary.textWeakHover` + +**Success** +- `theme.colors.success.backgroundWeak` +- `theme.colors.success.backgroundWeakDisabled` +- `theme.colors.success.backgroundWeakHover` +- `theme.colors.success.borderWeak` +- `theme.colors.success.borderWeakDisabled` +- `theme.colors.success.borderWeakHover` +- `theme.colors.success.iconWeak` +- `theme.colors.success.iconWeakDisabled` +- `theme.colors.success.iconWeakHover` +- `theme.colors.success.textWeak` +- `theme.colors.success.textWeakDisabled` +- `theme.colors.success.textWeakHover` + +**Warning** +- `theme.colors.warning.backgroundWeak` +- `theme.colors.warning.backgroundWeakDisabled` +- `theme.colors.warning.backgroundWeakHover` +- `theme.colors.warning.borderWeak` +- `theme.colors.warning.borderWeakDisabled` +- `theme.colors.warning.borderWeakHover` +- `theme.colors.warning.iconWeak` +- `theme.colors.warning.iconWeakDisabled` +- `theme.colors.warning.iconWeakHover` +- `theme.colors.warning.textWeak` +- `theme.colors.warning.textWeakDisabled` +- `theme.colors.warning.textWeakHover` + +**Other Gradients** +- `theme.colors.other.gradients.background.gold` +- `theme.colors.other.gradients.background.purple` +- `theme.colors.other.gradients.background.strong` +- `theme.colors.other.gradients.background.accent` +- `theme.colors.other.gradients.background.aqua` +- `theme.colors.other.gradients.background.blue` +- `theme.colors.other.gradients.background.emerald` +- `theme.colors.other.gradients.background.fuschia` +- `theme.colors.other.gradients.background.magenta` +- `theme.colors.other.gradients.background.primary` + +#### Typography + +There is a change in the typography font family. We now use `Inter`, `JetBrains` and `Space Grotesk` as the default font. +In order to be always up to date we recommend you installing `@ultraviolet/fonts` package and import it in your App entry point. + +```tsx +import '@ultraviolet/fonts/fonts.css' +``` diff --git a/.changeset/witty-rocks-play.md b/.changeset/witty-rocks-play.md new file mode 100644 index 0000000000..250fd2008d --- /dev/null +++ b/.changeset/witty-rocks-play.md @@ -0,0 +1,40 @@ +--- +"@ultraviolet/icons": major +--- + +**Beta 1 - Migration of Icons to @ultraviolet/icons with direct imports** + +- `Icon` component has been removed it was previously imported like `import { Icon } from '@ultraviolet/icons/legacy'`. Instead you should import the icon you need directly from `@ultraviolet/icons`. + + Before: + ```tsx + import { Icon } from '@ultraviolet/icons/legacy' + + + ``` + + After: + ```tsx + import { DragIcon } from '@ultraviolet/icons' + + + ``` + +### Icons removed +- `DocumentDbProductIcon`: no replacement. +- `AsteriskIcon`: use * in ASCII instead. +- `CrossCircleIcon` use `CloseCircleOutlineIcon` instead. +- `CrossCircleOutlineIcon` use `CloseCircleOutlineIcon` instead. +- `DragVariantIcon`: use `DragIcon` instead. + +### System icons changes +- prop `size` no longer support `string` and `number`. You shoud use the sizes supported by the component (`xmsall`, `small`, ect.). Example: + ```tsx + import { DragIcon } from '@ultraviolet/icons' + + // Before + + + // After + + ``` diff --git a/.changeset/yellow-ghosts-tease.md b/.changeset/yellow-ghosts-tease.md new file mode 100644 index 0000000000..d52ad98e61 --- /dev/null +++ b/.changeset/yellow-ghosts-tease.md @@ -0,0 +1,13 @@ +--- +"@ultraviolet/plus": major +"@ultraviolet/icons": major +"@ultraviolet/ui": major +--- + +**BREAKING CHANGES** + +Deprecated props removed: +- `CodeEditor`: prop "title" removed -> use "label" instead +- `Icon`: prop "color" removed -> use "sentiment" instead +- `Icon`: prop "size" can only be "xsmall", "small", "medium", "large", "xlarge" or "xxlarge" +- `Bullet`: prop "text" removed -> use "children" instead \ No newline at end of file diff --git a/.changeset/young-days-shake.md b/.changeset/young-days-shake.md new file mode 100644 index 0000000000..a05a9b9e79 --- /dev/null +++ b/.changeset/young-days-shake.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/illustrations": patch +--- + +Fix `` component to remove the theme from dom diff --git a/.changeset/yummy-jokes-unite.md b/.changeset/yummy-jokes-unite.md new file mode 100644 index 0000000000..e89b5db7df --- /dev/null +++ b/.changeset/yummy-jokes-unite.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": minor +--- + +Implement responsive capacities on component `` and `` diff --git a/.github/workflows/illustrations-update.yml b/.github/workflows/illustrations-update.yml deleted file mode 100644 index 7b849c56d2..0000000000 --- a/.github/workflows/illustrations-update.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Update Illustrations - -on: - merge_group: - pull_request: - types: ["opened", "edited", "reopened", "synchronize"] - paths: - - packages/illustrations/** - - push: - branches: - - main - paths: - - packages/illustrations/** -env: - BUCKET_NAME: scaleway-assets - BUCKET_REGION: fr-par - -jobs: - ## Export indexes to export new assets - update-illustrations: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - token: ${{ secrets.PAT }} - - - uses: pnpm/action-setup@v4.1.0 - - uses: actions/setup-node@v4.4.0 - with: - node-version: 22 - cache: "pnpm" - - run: pnpm install - - - name: Update illustrations exports - run: pnpm run illustrations:update - - - name: Git Auto Commit - uses: stefanzweifel/git-auto-commit-action@v5.2.0 - with: - commit_message: "chore(illustrations): automatic export update" - commit_user_name: Scaleway Bot - commit_user_email: github@scaleway.com diff --git a/.github/workflows/illustrations-upload.yml b/.github/workflows/illustrations-upload.yml index a53696437b..f0aaa7d73b 100644 --- a/.github/workflows/illustrations-upload.yml +++ b/.github/workflows/illustrations-upload.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - beta paths: - packages/illustrations/** env: diff --git a/.oxlintrc.json b/.oxlintrc.json index 0825b15276..d2c8f85b12 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -90,6 +90,7 @@ "react/iframe-missing-sandbox": "error", "react/jsx-no-target-blank": "off", "react/react-in-jsx-scope": "off", + "react/no-array-index-key": "off", "react/jsx-filename-extension": [ "error", { "extensions": [".jsx", ".tsx"] } diff --git a/.storybook/components/DocsContainer.tsx b/.storybook/components/DocsContainer.tsx index 5696827d5a..73e3649613 100644 --- a/.storybook/components/DocsContainer.tsx +++ b/.storybook/components/DocsContainer.tsx @@ -3,7 +3,7 @@ import { DocsContainer as BaseContainer, DocsContainerProps as BaseContainerProps, Unstyled, -} from '@storybook/blocks' +} from '@storybook/addon-docs/blocks' import { consoleLightTheme as lightTheme } from '@ultraviolet/themes' import { ReactNode, cloneElement, isValidElement, useState } from 'react' import { globalStyles } from './globalStyle' diff --git a/.storybook/components/Page.tsx b/.storybook/components/Page.tsx index 91b5ed3b00..127b19a49e 100644 --- a/.storybook/components/Page.tsx +++ b/.storybook/components/Page.tsx @@ -7,7 +7,7 @@ import { Stories, Subtitle, Title, -} from '@storybook/blocks' +} from '@storybook/addon-docs/blocks' import { Alert, Stack, Text } from '@ultraviolet/ui' import background from '../assets/brand-background.png' @@ -90,9 +90,7 @@ const Page = ({ buttonText={migrationLink ? 'How to migrate?' : undefined} onClickButton={migrationLink ? linkTo(migrationLink) : undefined} > - {deprecatedReason - ? deprecatedReason - : 'This component is deprecated and should not be used in new projects.'} + {deprecatedReason ?? 'This component is deprecated and should not be used in new projects.'} ) : null} {experimental ? ( diff --git a/.storybook/main.ts b/.storybook/main.ts index ecb1e888eb..66ea20354c 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -1,20 +1,27 @@ +import { createRequire } from "node:module"; +import { dirname, join } from "node:path"; import type { StorybookConfig } from '@storybook/react-vite' import remarkGfm from 'remark-gfm' +const require = createRequire(import.meta.url); + +const getAbsolutePath = (value: string): string => { + return dirname(require.resolve(join(value, "package.json"))); +} + export default { stories: [ '../packages/*/src/**/__stories__/**/*.mdx', '../packages/*/src/**/__stories__/index.stories.tsx', ], + addons: [ - '@storybook/addon-essentials', - '@storybook/addon-interactions', - '@storybook/addon-links', - '@storybook/addon-a11y', - '@storybook/addon-themes', - 'storybook-addon-tag-badges', + getAbsolutePath("@storybook/addon-links"), + getAbsolutePath("@storybook/addon-a11y"), + getAbsolutePath("@storybook/addon-themes"), + getAbsolutePath("storybook-addon-tag-badges"), { - name: '@storybook/addon-docs', + name: getAbsolutePath("@storybook/addon-docs"), options: { mdxPluginOptions: { mdxCompileOptions: { @@ -22,24 +29,24 @@ export default { }, }, }, - }, + } ], + framework: { - name: '@storybook/react-vite', + name: getAbsolutePath("@storybook/react-vite"), options: { builder: { viteConfigPath: '.storybook/vite.config.ts', }, }, }, - docs: { - autodocs: true, - }, + core: { - builder: '@storybook/builder-vite', + builder: getAbsolutePath("@storybook/builder-vite"), disableTelemetry: true, }, + typescript: { reactDocgen: 'react-docgen-typescript', - }, + } } satisfies StorybookConfig diff --git a/.storybook/manager.ts b/.storybook/manager.ts index 1450ea5cc1..cd79d466e6 100644 --- a/.storybook/manager.ts +++ b/.storybook/manager.ts @@ -1,4 +1,4 @@ -import { addons } from '@storybook/manager-api' +import { addons } from 'storybook/manager-api' import { consoleLightTheme } from '@ultraviolet/themes' import { light } from './storybookThemes' diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 3263b95c3d..b7a319b608 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -1,7 +1,7 @@ import { Global, ThemeProvider } from '@emotion/react' import { withThemeFromJSXProvider } from '@storybook/addon-themes' -import type { Preview, StoryFn } from '@storybook/react' -import { themes } from '@storybook/theming' +import type { Preview, StoryFn } from '@storybook/react-vite' +import { themes } from 'storybook/theming' import { consoleDarkTheme as darkTheme, consoleDarkerTheme as darkerTheme, @@ -14,6 +14,31 @@ import { dark, light } from './storybookThemes' import '@ultraviolet/fonts/fonts.css' import { scan } from "react-scan" +const BREAKPOINT_ORDER = [ + 'xlarge', + 'large', + 'medium', + 'small', + 'xsmall', + 'xxsmall', +] + +const VIEWPORTS = BREAKPOINT_ORDER.reduce((acc, key) => { + if (key in lightTheme.breakpoints) { + return { + ...acc, + [key]: { + name: key, + styles: { + width: lightTheme.breakpoints[key as keyof typeof lightTheme.breakpoints], + height: '600px', + }, + }, + } + } + return acc +}, {}) + scan({ enabled: true, log: true, @@ -52,7 +77,9 @@ const parameters: Preview['parameters'] = { canvas: { hidden: false }, }, viewport: { - viewports: {}, + viewports: { + ...VIEWPORTS + } }, options: { storySort: { @@ -141,4 +168,5 @@ const decorators = [ export default { parameters, decorators, + tags: ['autodocs'] } satisfies Preview diff --git a/.storybook/storybookThemes.ts b/.storybook/storybookThemes.ts index bae6013c30..4361a8e814 100644 --- a/.storybook/storybookThemes.ts +++ b/.storybook/storybookThemes.ts @@ -1,4 +1,4 @@ -import { create } from '@storybook/theming' +import { create } from 'storybook/theming' import lightTheme, { darkTheme } from '../packages/ui/src/theme' import logoDark from './assets/logo-dark.png' import logoLight from './assets/logo-light.png' diff --git a/e2e/tests/componentsWithinModal/render.tsx b/e2e/tests/componentsWithinModal/render.tsx index 3ee080b518..232488a0e0 100644 --- a/e2e/tests/componentsWithinModal/render.tsx +++ b/e2e/tests/componentsWithinModal/render.tsx @@ -1,10 +1,10 @@ import { Form, - SelectInputFieldV2, - TextInputFieldV2, + SelectInputField, + TextInputField, useForm, } from '@ultraviolet/form' -import { Button, Modal, Stack, Text, TextInputV2 } from '@ultraviolet/ui' +import { Button, Modal, Stack, Text, TextInput } from '@ultraviolet/ui' import { useState } from 'react' import { mockErrors } from '../../mocks/mockErrors' @@ -15,7 +15,7 @@ const Render = () => { return ( Open Modal}> - {
{}} methods={methods}> -
{methods.watch().lastName}
- { @@ -30,7 +30,7 @@ const CheckboxSelectableCard = () => { This option will cost you 1.99€ and provide you with a lot of happiness checkbox - setSelectInputValue(newValue)} label="Select a sub option checkbox" @@ -97,7 +97,7 @@ const RadioSelectableCard = () => { This option will cost you 1.99€ and provide you with a lot of happiness radio - setSelectInputValue(newValue)} label="Select a sub option radio" diff --git a/eslint.config.mjs b/eslint.config.mjs index 5d1bb4b4a1..036bb86883 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,3 +1,6 @@ +// For more info, see https://github.com/storybookjs/eslint-plugin-storybook#configuration-flat-config-format +import storybook from 'eslint-plugin-storybook' + import path from 'node:path' import { fileURLToPath } from 'node:url' import babelParser from '@babel/eslint-parser' @@ -91,7 +94,6 @@ export default [ }, }, }, - ...[...scwTypescript, ...scwEmotion].map(config => ({ ...config, files: ['**/*.{ts,tsx}'], @@ -102,7 +104,6 @@ export default [ '@typescript-eslint/no-unnecessary-condition': 'off', }, })), - { files: [ '**/__stories__/**/*.{ts,tsx}', @@ -121,7 +122,6 @@ export default [ }, }, }, - { files: ['**/scripts/**'], rules: { @@ -129,7 +129,6 @@ export default [ 'no-console': 'off', }, }, - ...scwTypescript.map(config => ({ ...config, @@ -160,7 +159,6 @@ export default [ '@typescript-eslint/no-unsafe-return': 'off', }, })), - { files: ['**/*.d.ts', '**/vite.config.ts'], @@ -168,7 +166,6 @@ export default [ 'import/no-extraneous-dependencies': 'off', }, }, - { files: ['packages/form/**'], rules: { @@ -184,4 +181,11 @@ export default [ ...testingLibrary.configs['flat/react'], }, ...oxlint.buildFromOxlintConfigFile('.oxlintrc.json'), + { + ...storybook.configs['flat/recommended'][0], + rules: { + ...storybook.configs['flat/recommended'][0].rules, + 'storybook/default-exports': 'off', + }, + }, ] diff --git a/examples/next-app-router/app/layout.tsx b/examples/next-app-router/app/layout.tsx index e08f69ecd3..197a573eff 100644 --- a/examples/next-app-router/app/layout.tsx +++ b/examples/next-app-router/app/layout.tsx @@ -1,8 +1,8 @@ import type { Metadata } from 'next' // oxlint-disable-next-line import/no-unassigned-import import './globals.css' +import { ThemeRegistry } from '@ultraviolet/nextjs' import { consoleLightTheme } from '@ultraviolet/themes' -import { ThemeRegistry } from '@ultraviolet/ui' import type { ReactNode } from 'react' import { GlobalStyles } from './GlobalStyles' diff --git a/examples/next-app-router/package.json b/examples/next-app-router/package.json index f90336a303..29141c3e35 100644 --- a/examples/next-app-router/package.json +++ b/examples/next-app-router/package.json @@ -15,6 +15,7 @@ "@ultraviolet/fonts": "workspace:*", "@ultraviolet/form": "workspace:*", "@ultraviolet/icons": "workspace:*", + "@ultraviolet/nextjs": "workspace:*", "@ultraviolet/ui": "workspace:*", "next": "15.4.1", "react": "19.1.0", diff --git a/examples/next/src/components/Card.tsx b/examples/next/src/components/Card.tsx index dd0ddbd194..77dc9e8d87 100644 --- a/examples/next/src/components/Card.tsx +++ b/examples/next/src/components/Card.tsx @@ -24,7 +24,7 @@ const Card = ({ title, description, icon, className }: CardProps) => (
- + {title} {typeof description === 'string' ? ( diff --git a/examples/next/src/components/GithubAndDocumentationButtons.tsx b/examples/next/src/components/GithubAndDocumentationButtons.tsx index 9a9a705aee..7df6dd860c 100644 --- a/examples/next/src/components/GithubAndDocumentationButtons.tsx +++ b/examples/next/src/components/GithubAndDocumentationButtons.tsx @@ -1,4 +1,5 @@ -import { Button, Icon, Stack } from '@ultraviolet/ui' +import { GithubIcon } from '@ultraviolet/icons' +import { Button, Stack } from '@ultraviolet/ui' const GithubAndDocumentationButtons = () => ( @@ -8,7 +9,7 @@ const GithubAndDocumentationButtons = () => ( href="https://github.com/scaleway/ultraviolet" aria-label="github" > - +
should render correctly checked 1`] = ` >
should render correctly checked 1`] = `
should render correctly checked 1`] = `
should trigger events correctly with required prop 1`]
@@ -1035,27 +1058,27 @@ exports[`CheckboxField > should trigger events correctly with required prop 1`]
should trigger events correctly with required prop 1`]
diff --git a/packages/form/src/components/CheckboxGroupField/index.tsx b/packages/form/src/components/CheckboxGroupField/index.tsx index 00f14d0574..e393837ce0 100644 --- a/packages/form/src/components/CheckboxGroupField/index.tsx +++ b/packages/form/src/components/CheckboxGroupField/index.tsx @@ -19,7 +19,7 @@ const arraysContainSameValues = (array1: string[], array2: string[]) => { type CheckboxGroupFieldProps< TFieldValues extends FieldValues, TFieldName extends FieldPath, -> = BaseFieldProps & +> = Omit, 'label'> & Omit, 'value' | 'onChange'> type ElementProps = { @@ -35,12 +35,12 @@ export const CheckboxGroupField = < control, children, onChange, - label = '', error: customError, name, required = false, shouldUnregister = false, validate, + legend = '', ...props }: CheckboxGroupFieldProps) => { const { getError } = useErrors() @@ -114,9 +114,10 @@ export const CheckboxGroupField = < >, ) }} - error={getError({ label }, error) ?? customError} + error={getError({ label: legend }, error) ?? customError} name={name} required={required} + legend={legend} > {children} diff --git a/packages/form/src/components/DateField/__stories__/MinMaxDate.stories.tsx b/packages/form/src/components/DateField/__stories__/MinMaxDate.stories.tsx deleted file mode 100644 index 7581e816f6..0000000000 --- a/packages/form/src/components/DateField/__stories__/MinMaxDate.stories.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { Stack } from '@ultraviolet/ui' -import type { ComponentProps } from 'react' -import { DateField } from '..' -import { Submit } from '../../Submit' - -export const MinMaxDate: StoryFn> = args => ( - - - Submit - -) - -MinMaxDate.args = { - maxDate: new Date('2021-12-31'), - minDate: new Date('2021-01-01'), - name: 'date', - required: true, -} diff --git a/packages/form/src/components/DateField/__stories__/Template.stories.tsx b/packages/form/src/components/DateField/__stories__/Template.stories.tsx deleted file mode 100644 index a630efd956..0000000000 --- a/packages/form/src/components/DateField/__stories__/Template.stories.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import type { ComponentProps } from 'react' -import { DateField } from '..' - -export const Template: StoryFn> = args => ( - -) - -Template.args = { - name: 'date', -} diff --git a/packages/form/src/components/DateField/__stories__/Clearable.stories.tsx b/packages/form/src/components/DateInputField/__stories__/Clearable.stories.tsx similarity index 58% rename from packages/form/src/components/DateField/__stories__/Clearable.stories.tsx rename to packages/form/src/components/DateInputField/__stories__/Clearable.stories.tsx index 7b1a353fcd..6d14d155ad 100644 --- a/packages/form/src/components/DateField/__stories__/Clearable.stories.tsx +++ b/packages/form/src/components/DateInputField/__stories__/Clearable.stories.tsx @@ -1,12 +1,14 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack } from '@ultraviolet/ui' import type { ComponentProps } from 'react' -import { DateField } from '..' +import { DateInputField } from '..' import { Submit } from '../../Submit' -export const Clearable: StoryFn> = args => ( +export const Clearable: StoryFn< + ComponentProps +> = args => ( - + Submit ) diff --git a/packages/form/src/components/DateField/__stories__/Input.stories.tsx b/packages/form/src/components/DateInputField/__stories__/Input.stories.tsx similarity index 55% rename from packages/form/src/components/DateField/__stories__/Input.stories.tsx rename to packages/form/src/components/DateInputField/__stories__/Input.stories.tsx index 13d1ffd04f..f297b085a6 100644 --- a/packages/form/src/components/DateField/__stories__/Input.stories.tsx +++ b/packages/form/src/components/DateInputField/__stories__/Input.stories.tsx @@ -1,12 +1,12 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack } from '@ultraviolet/ui' import type { ComponentProps } from 'react' -import { DateField } from '..' +import { DateInputField } from '..' import { Submit } from '../../Submit' -export const Input: StoryFn> = args => ( +export const Input: StoryFn> = args => ( - + Submit ) diff --git a/packages/form/src/components/DateInputField/__stories__/MinMaxDate.stories.tsx b/packages/form/src/components/DateInputField/__stories__/MinMaxDate.stories.tsx new file mode 100644 index 0000000000..123aae89a7 --- /dev/null +++ b/packages/form/src/components/DateInputField/__stories__/MinMaxDate.stories.tsx @@ -0,0 +1,21 @@ +import type { StoryFn } from '@storybook/react-vite' +import { Stack } from '@ultraviolet/ui' +import type { ComponentProps } from 'react' +import { DateInputField } from '..' +import { Submit } from '../../Submit' + +export const MinMaxDate: StoryFn< + ComponentProps +> = args => ( + + + Submit + +) + +MinMaxDate.args = { + maxDate: new Date(Date.now() + 7 * 24 * 60 * 60 * 1000), + minDate: new Date(), + name: 'date', + required: true, +} diff --git a/packages/form/src/components/DateField/__stories__/MinMaxDateRange.stories.tsx b/packages/form/src/components/DateInputField/__stories__/MinMaxDateRange.stories.tsx similarity index 72% rename from packages/form/src/components/DateField/__stories__/MinMaxDateRange.stories.tsx rename to packages/form/src/components/DateInputField/__stories__/MinMaxDateRange.stories.tsx index af11e7efa9..a002ec4f62 100644 --- a/packages/form/src/components/DateField/__stories__/MinMaxDateRange.stories.tsx +++ b/packages/form/src/components/DateInputField/__stories__/MinMaxDateRange.stories.tsx @@ -1,14 +1,14 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack } from '@ultraviolet/ui' import type { ComponentProps } from 'react' -import { DateField } from '..' +import { DateInputField } from '..' import { Submit } from '../../Submit' export const MinMaxDateRange: StoryFn< - ComponentProps + ComponentProps > = args => ( - + Submit ) diff --git a/packages/form/src/components/DateField/__stories__/MinMaxWithTimeField.stories.tsx b/packages/form/src/components/DateInputField/__stories__/MinMaxWithTimeField.stories.tsx similarity index 66% rename from packages/form/src/components/DateField/__stories__/MinMaxWithTimeField.stories.tsx rename to packages/form/src/components/DateInputField/__stories__/MinMaxWithTimeField.stories.tsx index 156f6f4fc9..6e11d7c7f9 100644 --- a/packages/form/src/components/DateField/__stories__/MinMaxWithTimeField.stories.tsx +++ b/packages/form/src/components/DateInputField/__stories__/MinMaxWithTimeField.stories.tsx @@ -1,21 +1,21 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack } from '@ultraviolet/ui' import type { ComponentProps } from 'react' -import { DateField } from '..' +import { DateInputField } from '..' import { Submit } from '../../Submit' -import { TimeField } from '../../TimeField' +import { TimeInputField } from '../../TimeInputField' export const MinMaxDateWithTimeField: StoryFn< - ComponentProps + ComponentProps > = ({ name, minDate, maxDate, required }) => ( - - + Submit ) diff --git a/packages/form/src/components/DateField/__stories__/Playground.stories.tsx b/packages/form/src/components/DateInputField/__stories__/Playground.stories.tsx similarity index 100% rename from packages/form/src/components/DateField/__stories__/Playground.stories.tsx rename to packages/form/src/components/DateInputField/__stories__/Playground.stories.tsx diff --git a/packages/form/src/components/DateField/__stories__/Required.stories.tsx b/packages/form/src/components/DateInputField/__stories__/Required.stories.tsx similarity index 56% rename from packages/form/src/components/DateField/__stories__/Required.stories.tsx rename to packages/form/src/components/DateInputField/__stories__/Required.stories.tsx index 347695f4ac..2e4b1c11d4 100644 --- a/packages/form/src/components/DateField/__stories__/Required.stories.tsx +++ b/packages/form/src/components/DateInputField/__stories__/Required.stories.tsx @@ -1,12 +1,14 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack } from '@ultraviolet/ui' import type { ComponentProps } from 'react' -import { DateField } from '..' +import { DateInputField } from '..' import { Submit } from '../../Submit' -export const Required: StoryFn> = args => ( +export const Required: StoryFn< + ComponentProps +> = args => ( - + Submit ) diff --git a/packages/form/src/components/DateInputField/__stories__/Template.stories.tsx b/packages/form/src/components/DateInputField/__stories__/Template.stories.tsx new file mode 100644 index 0000000000..0e6a6d1835 --- /dev/null +++ b/packages/form/src/components/DateInputField/__stories__/Template.stories.tsx @@ -0,0 +1,11 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { DateInputField } from '..' + +export const Template: StoryFn< + ComponentProps +> = args => + +Template.args = { + name: 'date', +} diff --git a/packages/form/src/components/DateField/__stories__/index.stories.tsx b/packages/form/src/components/DateInputField/__stories__/index.stories.tsx similarity index 85% rename from packages/form/src/components/DateField/__stories__/index.stories.tsx rename to packages/form/src/components/DateInputField/__stories__/index.stories.tsx index d9edf15037..ba2e2b44e2 100644 --- a/packages/form/src/components/DateField/__stories__/index.stories.tsx +++ b/packages/form/src/components/DateInputField/__stories__/index.stories.tsx @@ -1,11 +1,11 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Snippet, Stack, Text } from '@ultraviolet/ui' -import { DateField, Form } from '../..' +import { DateInputField, Form } from '../..' import { useForm } from '../../..' import { mockErrors } from '../../../mocks' export default { - component: DateField, + component: DateInputField, decorators: [ ChildStory => { const methods = useForm({ @@ -70,11 +70,11 @@ export default { docs: { description: { component: - 'DateField is a component used in Form to pick a date. This component is a Wrapper of DateInput https://github.com/scaleway/ultraviolet/tree/main/src/components/DateInput', + 'DateInputField is a component used in Form to pick a date. This component is a Wrapper of DateInput https://github.com/scaleway/ultraviolet/tree/main/src/components/DateInput', }, }, }, - title: 'Form/Components/Fields/DateField', + title: 'Form/Components/Fields/DateInputField', } as Meta export { Playground } from './Playground.stories' diff --git a/packages/form/src/components/DateField/__tests__/__snapshots__/index.test.tsx.snap b/packages/form/src/components/DateInputField/__tests__/__snapshots__/index.test.tsx.snap similarity index 95% rename from packages/form/src/components/DateField/__tests__/__snapshots__/index.test.tsx.snap rename to packages/form/src/components/DateInputField/__tests__/__snapshots__/index.test.tsx.snap index 28d61a8176..b931831a55 100644 --- a/packages/form/src/components/DateField/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/form/src/components/DateInputField/__tests__/__snapshots__/index.test.tsx.snap @@ -1,6 +1,6 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`DateField > should clear field 1`] = ` +exports[`DateInputField > should clear field 1`] = ` @keyframes animation-0 { 0% { @@ -45,10 +45,10 @@ exports[`DateField > should clear field 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -57,10 +57,10 @@ exports[`DateField > should clear field 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { @@ -165,10 +165,10 @@ exports[`DateField > should clear field 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -177,10 +177,9 @@ exports[`DateField > should clear field 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -257,10 +256,10 @@ exports[`DateField > should clear field 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -269,10 +268,10 @@ exports[`DateField > should clear field 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-21 { @@ -280,10 +279,11 @@ exports[`DateField > should clear field 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -291,11 +291,9 @@ exports[`DateField > should clear field 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-23 { @@ -312,7 +310,7 @@ exports[`DateField > should clear field 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -327,7 +325,7 @@ exports[`DateField > should clear field 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -347,6 +345,10 @@ exports[`DateField > should clear field 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-23 .e1y1n78x0 { + stroke: transparent; +} + .emotion-23:hover, .emotion-23:active { background: #e9eaeb; @@ -356,10 +358,10 @@ exports[`DateField > should clear field 1`] = ` .emotion-25 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-25 .fillStroke { @@ -367,14 +369,10 @@ exports[`DateField > should clear field 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-28 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -401,7 +399,7 @@ exports[`DateField > should clear field 1`] = ` .emotion-37 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -445,7 +443,7 @@ exports[`DateField > should clear field 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -469,6 +467,10 @@ exports[`DateField > should clear field 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-58 .e1y1n78x0 { + stroke: transparent; +} + .emotion-58:hover, .emotion-58:active { background: #e9eaeb; @@ -494,6 +496,88 @@ exports[`DateField > should clear field 1`] = ` color: #ffffff; } +.emotion-67 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; + height: 1.5625rem; + width: 100%; + padding: 0; + color: #727683; +} + +.emotion-67:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-67:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-67 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-67:hover, +.emotion-67:active { + background: #792dd4; + color: #f9f9fa; +} + +.emotion-67[aria-label="in-range"] { + color: #521094; + background-color: #f1eefc; +} + +.emotion-67[aria-label="in-range"]:hover { + color: #ffffff; + background-color: #792dd4; +} + +.emotion-67[aria-label="not-current"], +.emotion-67:disabled { + color: #b5b7bd; +} + +.emotion-67[aria-label="selected"] { + color: #ffffff; +} +
@@ -571,9 +655,8 @@ exports[`DateField > should clear field 1`] = ` type="button" > should clear field 1`] = ` type="button" > should clear field 1`] = ` 31
@@ -166,7 +165,6 @@ exports[`KeyValueField > should render with default props & max size 1`] = ` should render with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -205,10 +203,10 @@ exports[`KeyValueField > should render with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; } .emotion-4 { @@ -216,10 +214,10 @@ exports[`KeyValueField > should render with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -228,10 +226,9 @@ exports[`KeyValueField > should render with default props 1`] = ` -ms-flex-pack: start; -webkit-justify-content: flex-start; justify-content: flex-start; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-6 { @@ -275,7 +272,7 @@ exports[`KeyValueField > should render with default props 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -295,6 +292,10 @@ exports[`KeyValueField > should render with default props 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-8 .e1y1n78x0 { + stroke: transparent; +} + .emotion-8:hover, .emotion-8:active { background: #e5dbfd; @@ -305,10 +306,10 @@ exports[`KeyValueField > should render with default props 1`] = ` .emotion-10 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-10 .fillStroke { @@ -316,10 +317,6 @@ exports[`KeyValueField > should render with default props 1`] = ` fill: none; } -.emotion-10 path { - fill: currentColor; -} -
@@ -348,7 +345,6 @@ exports[`KeyValueField > should render with default props 1`] = ` should render with default props in readonly mode 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -387,10 +383,10 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; } .emotion-4 { @@ -398,10 +394,10 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -410,10 +406,9 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] = -ms-flex-pack: start; -webkit-justify-content: flex-start; justify-content: flex-start; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-6 { @@ -457,7 +452,7 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] = -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -475,13 +470,17 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] = text-decoration: none; } +.emotion-8 .e1y1n78x0 { + stroke: transparent; +} + .emotion-10 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-10 .fillStroke { @@ -489,10 +488,6 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] = fill: none; } -.emotion-10 path { - fill: currentColor; -} -
@@ -522,7 +517,6 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] = ['label'] - required?: ComponentProps['required'] - regex?: ComponentProps['regex'] + label: ComponentProps['label'] + required?: ComponentProps['required'] + regex?: ComponentProps['regex'] } type InputValueProps = { - type?: ComponentProps['type'] - placeholder?: ComponentProps['placeholder'] + type?: ComponentProps['type'] + placeholder?: ComponentProps['placeholder'] } & InputKeyProps type AddButtonProps = { @@ -74,14 +75,14 @@ export const KeyValueField = < gap={2} alignItems="end" > - - remove(index)} - /> + > + + ))} @@ -108,7 +110,6 @@ export const KeyValueField = < diff --git a/packages/form/src/components/NumberInputField/__stories__/Playground.stories.tsx b/packages/form/src/components/NumberInputField/__stories__/Playground.stories.tsx index a5d47260cf..a6f413e623 100644 --- a/packages/form/src/components/NumberInputField/__stories__/Playground.stories.tsx +++ b/packages/form/src/components/NumberInputField/__stories__/Playground.stories.tsx @@ -4,4 +4,5 @@ export const Playground = Template.bind({}) Playground.args = { name: 'value', + min: 10, } diff --git a/packages/form/src/components/NumberInputField/__stories__/Required.stories.tsx b/packages/form/src/components/NumberInputField/__stories__/Required.stories.tsx index 8192484e32..4b3da0672e 100644 --- a/packages/form/src/components/NumberInputField/__stories__/Required.stories.tsx +++ b/packages/form/src/components/NumberInputField/__stories__/Required.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack } from '@ultraviolet/ui' import type { ComponentProps } from 'react' import { NumberInputField } from '..' @@ -16,4 +16,6 @@ export const Required: StoryFn< Required.args = { name: 'value', required: true, + label: 'This field is required', + step: 1, } diff --git a/packages/form/src/components/NumberInputField/__stories__/Template.stories.tsx b/packages/form/src/components/NumberInputField/__stories__/Template.stories.tsx index f58c9a5306..aa9ec0444c 100644 --- a/packages/form/src/components/NumberInputField/__stories__/Template.stories.tsx +++ b/packages/form/src/components/NumberInputField/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { NumberInputField } from '..' diff --git a/packages/form/src/components/NumberInputField/__stories__/index.stories.tsx b/packages/form/src/components/NumberInputField/__stories__/index.stories.tsx index 0bbbeb45e6..e42c47d4e4 100644 --- a/packages/form/src/components/NumberInputField/__stories__/index.stories.tsx +++ b/packages/form/src/components/NumberInputField/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Snippet, Stack, Text } from '@ultraviolet/ui' import { Form, NumberInputField } from '../..' import { useForm } from '../../..' @@ -8,11 +8,7 @@ export default { component: NumberInputField, decorators: [ ChildStory => { - const methods = useForm({ - defaultValues: { - value: 0, - }, - }) + const methods = useForm() const { errors, isDirty, @@ -30,7 +26,13 @@ export default { return (
{}} errors={mockErrors} methods={methods}> - +
+ +
Form input values: @@ -74,13 +76,8 @@ export default { component: 'A NumberInput field', }, }, - deprecated: true, - deprecatedReason: - 'This component is deprecated, use NumberInputFieldV2 instead.', - migrationLink: 'Migrations/NumberInput to NumberInputV2', }, title: 'Form/Components/Fields/NumberInputField', - tags: ['deprecated'], } as Meta export { Playground } from './Playground.stories' diff --git a/packages/form/src/components/NumberInputField/__tests__/__snapshots__/index.test.tsx.snap b/packages/form/src/components/NumberInputField/__tests__/__snapshots__/index.test.tsx.snap index e84023d2d5..96c45cfe9d 100644 --- a/packages/form/src/components/NumberInputField/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/form/src/components/NumberInputField/__tests__/__snapshots__/index.test.tsx.snap @@ -11,33 +11,10 @@ exports[`NumberInputField > should render correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -46,886 +23,113 @@ exports[`NumberInputField > should render correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-6 { - background-color: #ffffff; +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-6[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-6[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-6:not([aria-disabled='true']) .emotion-14:hover, -.emotion-6:not([aria-disabled='true']) .emotion-14:focus { - border: 1px solid #792dd4; -} - -.emotion-6:not([aria-disabled='true']) .emotion-14:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-9 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-9:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-11 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-11 .fillStroke { - stroke: #d8c5fc; - fill: none; -} - -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; + border: 1px solid #d9dadd; border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-15 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; } -.emotion-15::-webkit-outer-spin-button, -.emotion-15::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-4:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-15::-webkit-input-placeholder { - color: #727683; +.emotion-4[data-success='true'] { + border-color: #22674e; } -.emotion-15::-moz-placeholder { - color: #727683; +.emotion-4[data-error='true'] { + border-color: #b3144d; } -.emotion-15:-ms-input-placeholder { - color: #727683; +.emotion-4:hover { + border-color: #792dd4; } -.emotion-15::placeholder { - color: #727683; +.emotion-4[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-15[disabled] { - color: #b5b7bd; +.emotion-4[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; cursor: not-allowed; } -.emotion-17 { - color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; +.emotion-4[data-controls='false']>.emotion-12 { + border-width: 0; } -.emotion-20 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; +.emotion-4[data-size='small'] { height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; } -.emotion-20:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-20:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-20:hover, -.emotion-20:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-22 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-22 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -
- -
-
-
- -
- - -
- -
-
-
- -
- -`; - -exports[`NumberInputField > should render correctly disabled 1`] = ` - - .emotion-0 { - display: contents; +.emotion-4[data-size='large'] { + height: 3rem; } -.emotion-2 { +.emotion-6 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-6[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-6[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-6:not([aria-disabled='true']) .emotion-14:hover, -.emotion-6:not([aria-disabled='true']) .emotion-14:focus { - border: 1px solid #792dd4; -} - -.emotion-6:not([aria-disabled='true']) .emotion-14:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-9 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-9:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-11 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-11 .fillStroke { - stroke: #d8c5fc; - fill: none; -} - -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-15 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-15::-webkit-outer-spin-button, -.emotion-15::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-15::-webkit-input-placeholder { - color: #727683; -} - -.emotion-15::-moz-placeholder { - color: #727683; -} - -.emotion-15:-ms-input-placeholder { - color: #727683; -} - -.emotion-15::placeholder { - color: #727683; -} - -.emotion-15[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -.emotion-17 { - color: #b5b7bd; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; -} - -
-
-
-
-
- -
- - -
- -
-
-
- -
-
-`; - -exports[`NumberInputField > should trigger event onMinCrossed & onMaxCrossed 1`] = ` - - .emotion-0 { - display: contents; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-6[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-6[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-6:not([aria-disabled='true']) .emotion-14:hover, -.emotion-6:not([aria-disabled='true']) .emotion-14:focus { - border: 1px solid #792dd4; -} - -.emotion-6:not([aria-disabled='true']) .emotion-14:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-9 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-9:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-9:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-9:hover, -.emotion-9:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-11 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-11 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-15 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-15::-webkit-outer-spin-button, -.emotion-15::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-15::-webkit-input-placeholder { - color: #727683; -} - -.emotion-15::-moz-placeholder { - color: #727683; -} - -.emotion-15:-ms-input-placeholder { - color: #727683; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-15::placeholder { - color: #727683; +.emotion-6[data-size='small'] { + height: 2rem; } -.emotion-15[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-6[data-size='medium'] { + height: 2.5rem; } -.emotion-17 { - color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; +.emotion-6[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-20 { +.emotion-8 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -944,7 +148,7 @@ exports[`NumberInputField > should trigger event onMinCrossed & onMaxCrossed 1`] -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: not-allowed; + cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; @@ -954,7 +158,7 @@ exports[`NumberInputField > should trigger event onMinCrossed & onMaxCrossed 1`] -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -962,32 +166,154 @@ exports[`NumberInputField > should trigger event onMinCrossed & onMaxCrossed 1`] text-case: none; background: none; border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-20:hover { +.emotion-8:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-22 { +.emotion-8:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; +} + +.emotion-8 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-8:hover, +.emotion-8:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-10 { vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-22 .fillStroke { - stroke: #d8c5fc; +.emotion-10 .fillStroke { + stroke: currentColor; fill: none; } +.emotion-13 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-15 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-15[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-15::-webkit-outer-spin-button, +.emotion-15::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-15 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-15[data-size='small'] { + height: 2rem; +} + +.emotion-15[data-size='medium'] { + height: 2.5rem; +} + +.emotion-15[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-15:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-15:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-15:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-15:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-15:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-15:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-15:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-15[data-controls='false'] { + text-align: left; +} +
@@ -998,61 +324,70 @@ exports[`NumberInputField > should trigger event onMinCrossed & onMaxCrossed 1`]
-
+
- + + + + +
-
- + + + + +
@@ -1061,7 +396,7 @@ exports[`NumberInputField > should trigger event onMinCrossed & onMaxCrossed 1`]
`; -exports[`NumberInputField > should trigger events correctly 1`] = ` +exports[`NumberInputField > should render correctly disabled 1`] = ` .emotion-0 { display: contents; @@ -1072,33 +407,10 @@ exports[`NumberInputField > should trigger events correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1107,54 +419,113 @@ exports[`NumberInputField > should trigger events correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-6 { - background-color: #ffffff; +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-6[data-error='true'] { - border: 1px solid #b3144d; +.emotion-4:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-4[data-success='true'] { + border-color: #22674e; } -.emotion-6[aria-disabled='true'] { +.emotion-4[data-error='true'] { + border-color: #b3144d; +} + +.emotion-4:hover { + border-color: #792dd4; +} + +.emotion-4[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-4[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-6:not([aria-disabled='true']) .emotion-14:hover, -.emotion-6:not([aria-disabled='true']) .emotion-14:focus { - border: 1px solid #792dd4; +.emotion-4[data-controls='false']>.emotion-12 { + border-width: 0; } -.emotion-6:not([aria-disabled='true']) .emotion-14:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-4[data-size='small'] { + height: 2rem; +} + +.emotion-4[data-size='medium'] { + height: 2.5rem; +} + +.emotion-4[data-size='large'] { + height: 3rem; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; +} + +.emotion-6[data-size='small'] { + height: 2rem; +} + +.emotion-6[data-size='medium'] { + height: 2.5rem; } -.emotion-9 { +.emotion-6[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-8 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1173,7 +544,7 @@ exports[`NumberInputField > should trigger events correctly 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; + cursor: not-allowed; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; @@ -1183,7 +554,7 @@ exports[`NumberInputField > should trigger events correctly 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1191,79 +562,68 @@ exports[`NumberInputField > should trigger events correctly 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; + color: #b5b7bd; } -.emotion-9:hover { +.emotion-8:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-9:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-9:hover, -.emotion-9:active { - background: #e5dbfd; - color: #521094; +.emotion-8 .e1y1n78x0 { + stroke: transparent; } -.emotion-11 { +.emotion-10 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-11 .fillStroke { - stroke: #641cb3; +.emotion-10 .fillStroke { + stroke: currentColor; fill: none; } .emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-15 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-15[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-15::-webkit-outer-spin-button, @@ -1272,34 +632,73 @@ exports[`NumberInputField > should trigger events correctly 1`] = ` margin: 0; } -.emotion-15::-webkit-input-placeholder { - color: #727683; +.emotion-15 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-15::-moz-placeholder { - color: #727683; +.emotion-15[data-size='small'] { + height: 2rem; } -.emotion-15:-ms-input-placeholder { - color: #727683; +.emotion-15[data-size='medium'] { + height: 2.5rem; } -.emotion-15::placeholder { - color: #727683; +.emotion-15[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-15:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-15:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-15:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-15[disabled] { +.emotion-15:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-15:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-17 { - color: #3f4250; +.emotion-15:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; - margin-right: 0.5rem; +} + +.emotion-15:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-15[data-controls='false'] { + text-align: left; }
should trigger events correctly 1`] = `
-
+
- + + + + +
-
- + + + + +
diff --git a/packages/form/src/components/NumberInputField/__tests__/index.test.tsx b/packages/form/src/components/NumberInputField/__tests__/index.test.tsx index fa43849768..3b1976e039 100644 --- a/packages/form/src/components/NumberInputField/__tests__/index.test.tsx +++ b/packages/form/src/components/NumberInputField/__tests__/index.test.tsx @@ -1,111 +1,82 @@ -import { act, screen } from '@testing-library/react' +import { act, renderHook, screen, waitFor } from '@testing-library/react' import { userEvent } from '@testing-library/user-event' -import { renderWithForm } from '@utils/test' +import { mockFormErrors, renderWithForm, renderWithTheme } from '@utils/test' +import { useForm } from 'react-hook-form' import { describe, expect, test, vi } from 'vitest' -import { NumberInputField } from '../..' +import { NumberInputField, Submit } from '../..' +import { Form } from '../../Form' describe('NumberInputField', () => { test('should render correctly', () => { - const { asFragment } = renderWithForm(, { - defaultValues: { - test: 0, - }, - }) + const { asFragment } = renderWithForm( + , + ) expect(asFragment()).toMatchSnapshot() }) test('should render correctly disabled', () => { const { asFragment } = renderWithForm( - , - { - defaultValues: { - test: 10, - }, - }, + , ) const input = screen.getByLabelText('Number Input') expect(input).toBeDisabled() - const inputMinus = screen.getByLabelText('Minus') + const inputMinus = screen.getByLabelText('minus') expect(inputMinus).toBeDisabled() - const inputPlus = screen.getByLabelText('Plus') + const inputPlus = screen.getByLabelText('plus') expect(inputPlus).toBeDisabled() expect(asFragment()).toMatchSnapshot() }) - test('should trigger events correctly', async () => { - const onFocus = vi.fn(() => {}) - const onChange = vi.fn(() => {}) - const onBlur = vi.fn(() => {}) - - const { asFragment } = renderWithForm( - , - { + test('should work fine with form setValue', async () => { + const onSubmit = vi.fn() + const { result } = renderHook(() => + useForm<{ test: number | null }>({ defaultValues: { test: 10, }, - }, + mode: 'onChange', + }), ) - const input = screen.getByLabelText('Number Input') - act(() => { - input.focus() - }) - expect(onFocus).toBeCalledTimes(1) - await userEvent.click(input) - expect(onChange).toBeCalledTimes(0) - act(() => { - input.blur() - }) - expect(onBlur).toBeCalledTimes(1) - expect(asFragment()).toMatchSnapshot() - }) - - test('should trigger event onMinCrossed & onMaxCrossed', async () => { - const onMinCrossed = vi.fn(() => {}) - const onMaxCrossed = vi.fn(() => {}) - const minValue = 5 - const maxValue = 20 - - const { asFragment } = renderWithForm( - , - { - defaultValues: { - test: 10, - }, - }, + renderWithTheme( +
onSubmit(value)} + errors={mockFormErrors} + methods={result.current} + > + + Submit + , ) - const input = screen.getByRole('spinbutton') - - // trigger onMinCrossed - await userEvent.clear(input) - expect(input.value).toBe('') - await userEvent.type(input, '1') - expect(input.value).toBe('1') - await userEvent.click(document.body) - expect(input.value).toBe('5') - expect(onMinCrossed).toBeCalledTimes(1) - - // trigger onMaxCrossed - await userEvent.clear(input) - await userEvent.type(input, '100') - expect(input.value).toBe('100') - await userEvent.click(document.body) - expect(input.value).toBe('20') - expect(onMaxCrossed).toBeCalledTimes(1) - expect(asFragment()).toMatchSnapshot() + const numberInput = screen.getByLabelText('Test') + const submit = screen.getByText('Submit') + expect(numberInput).toHaveValue(10) + await userEvent.click(submit) + expect(onSubmit).toHaveBeenCalledWith({ + test: 10, + }) + await userEvent.clear(numberInput) + expect(numberInput).toHaveValue(null) + expect(submit).toBeDisabled() + act(() => { + result.current.setValue('test', 40, { shouldValidate: true }) + }) + await waitFor(() => { + expect(numberInput).toHaveValue(40) + }) + await userEvent.click(submit) + await waitFor(() => { + expect(onSubmit).toHaveBeenNthCalledWith(2, { + test: 40, + }) + }) }) }) diff --git a/packages/form/src/components/NumberInputField/index.tsx b/packages/form/src/components/NumberInputField/index.tsx index 69b813a7ac..e0622330c9 100644 --- a/packages/form/src/components/NumberInputField/index.tsx +++ b/packages/form/src/components/NumberInputField/index.tsx @@ -1,104 +1,80 @@ 'use client' import { NumberInput } from '@ultraviolet/ui' -import type { ComponentProps, FocusEvent, FocusEventHandler } from 'react' -import type { FieldPath, FieldValues, Path, PathValue } from 'react-hook-form' +import type { ComponentProps, FocusEvent } from 'react' import { useController } from 'react-hook-form' +import type { FieldPath, FieldValues, Path, PathValue } from 'react-hook-form' import { useErrors } from '../../providers' import type { BaseFieldProps } from '../../types' +import { isInteger } from '../../validators/isInteger' -type NumberInputValueFieldProps< +type NumberInputProps< TFieldValues extends FieldValues, TFieldName extends FieldPath, > = BaseFieldProps & - Partial< - Pick< - ComponentProps, - | 'disabled' - | 'maxValue' - | 'minValue' - | 'onMaxCrossed' - | 'onMinCrossed' - | 'size' - | 'step' - | 'text' - | 'className' - > - > & { - onBlur?: FocusEventHandler - onFocus?: FocusEventHandler - } + Omit, 'onChange'> -/** - * @deprecated This component is deprecated, use `NumberInputFieldV2` instead. - */ export const NumberInputField = < TFieldValues extends FieldValues, TFieldName extends FieldPath = FieldPath, >({ - disabled, - maxValue, - minValue, + control, + max = Number.MAX_SAFE_INTEGER, + min = 0, name, onChange, onBlur, - onFocus, - onMaxCrossed, - onMinCrossed, - required, - size, step, - text, - className, label, + 'aria-label': ariaLabel, + required, shouldUnregister = false, validate, - control, -}: NumberInputValueFieldProps) => { + ...props +}: NumberInputProps) => { const { getError } = useErrors() const { field, fieldState: { error }, } = useController({ name, - shouldUnregister, control, + shouldUnregister, rules: { - max: maxValue, - min: minValue, + max, + min, required, - validate, + validate: { + ...validate, + isInteger: isInteger(step), + }, }, }) return ( ) => { field.onBlur() onBlur?.(event) }} - onChange={event => { + onChange={newValue => { // React hook form doesnt allow undefined values after definition https://react-hook-form.com/docs/usecontroller/controller (that make sense) - field.onChange(event ?? null) - onChange?.(event as PathValue>) + field.onChange(newValue) + onChange?.(newValue as PathValue>) }} - onFocus={onFocus} - maxValue={maxValue} - minValue={minValue} - onMinCrossed={onMinCrossed} - onMaxCrossed={onMaxCrossed} - size={size} + max={max} + min={min} step={step} - text={text} - className={className} label={label} error={getError( - { label: label ?? '', max: maxValue, min: minValue }, + { label: label ?? ariaLabel ?? name, max, min, isInteger: step }, error, )} + aria-label={ariaLabel} + required={required} /> ) } diff --git a/packages/form/src/components/NumberInputFieldV2/__stories__/Playground.stories.tsx b/packages/form/src/components/NumberInputFieldV2/__stories__/Playground.stories.tsx deleted file mode 100644 index a6f413e623..0000000000 --- a/packages/form/src/components/NumberInputFieldV2/__stories__/Playground.stories.tsx +++ /dev/null @@ -1,8 +0,0 @@ -import { Template } from './Template.stories' - -export const Playground = Template.bind({}) - -Playground.args = { - name: 'value', - min: 10, -} diff --git a/packages/form/src/components/NumberInputFieldV2/__stories__/Required.stories.tsx b/packages/form/src/components/NumberInputFieldV2/__stories__/Required.stories.tsx deleted file mode 100644 index 9cbc0a1d55..0000000000 --- a/packages/form/src/components/NumberInputFieldV2/__stories__/Required.stories.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { Stack } from '@ultraviolet/ui' -import type { ComponentProps } from 'react' -import { NumberInputFieldV2 } from '..' -import { Submit } from '../../Submit' - -export const Required: StoryFn< - ComponentProps -> = args => ( - - - Submit - -) - -Required.args = { - name: 'value', - required: true, - label: 'This field is required', - step: 1, -} diff --git a/packages/form/src/components/NumberInputFieldV2/__stories__/Template.stories.tsx b/packages/form/src/components/NumberInputFieldV2/__stories__/Template.stories.tsx deleted file mode 100644 index ce2179c2cb..0000000000 --- a/packages/form/src/components/NumberInputFieldV2/__stories__/Template.stories.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import type { ComponentProps } from 'react' -import { NumberInputFieldV2 } from '..' - -export const Template: StoryFn< - ComponentProps -> = args => diff --git a/packages/form/src/components/NumberInputFieldV2/__stories__/index.stories.tsx b/packages/form/src/components/NumberInputFieldV2/__stories__/index.stories.tsx deleted file mode 100644 index 2b9f624633..0000000000 --- a/packages/form/src/components/NumberInputFieldV2/__stories__/index.stories.tsx +++ /dev/null @@ -1,84 +0,0 @@ -import type { Meta } from '@storybook/react' -import { Snippet, Stack, Text } from '@ultraviolet/ui' -import { Form, NumberInputFieldV2 } from '../..' -import { useForm } from '../../..' -import { mockErrors } from '../../../mocks' - -export default { - component: NumberInputFieldV2, - decorators: [ - ChildStory => { - const methods = useForm() - const { - errors, - isDirty, - isSubmitting, - touchedFields, - submitCount, - dirtyFields, - isValid, - isLoading, - isSubmitted, - isValidating, - isSubmitSuccessful, - } = methods.formState - - return ( -
{}} errors={mockErrors} methods={methods}> - -
- -
- - - Form input values: - - - {JSON.stringify(methods.watch(), null, 1)} - - - - - Form values: - - - {JSON.stringify( - { - errors, - isDirty, - isSubmitting, - touchedFields, - submitCount, - dirtyFields, - isValid, - isLoading, - isSubmitted, - isValidating, - isSubmitSuccessful, - }, - null, - 1, - )} - - -
- - ) - }, - ], - parameters: { - docs: { - description: { - component: 'A NumberInput field', - }, - }, - }, - title: 'Form/Components/Fields/NumberInputFieldV2', -} as Meta - -export { Playground } from './Playground.stories' -export { Required } from './Required.stories' diff --git a/packages/form/src/components/NumberInputFieldV2/__tests__/__snapshots__/index.test.tsx.snap b/packages/form/src/components/NumberInputFieldV2/__tests__/__snapshots__/index.test.tsx.snap deleted file mode 100644 index b61ad413ed..0000000000 --- a/packages/form/src/components/NumberInputFieldV2/__tests__/__snapshots__/index.test.tsx.snap +++ /dev/null @@ -1,794 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`NumberInputFieldV2 > should render correctly 1`] = ` - - .emotion-0 { - display: contents; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-4 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-4[data-success='true'] { - border-color: #22674e; -} - -.emotion-4[data-error='true'] { - border-color: #b3144d; -} - -.emotion-4:hover { - border-color: #792dd4; -} - -.emotion-4[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-4[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4[data-controls='false']>.emotion-12 { - border-width: 0; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-6[data-size='small'] { - height: 2rem; -} - -.emotion-6[data-size='medium'] { - height: 2.5rem; -} - -.emotion-6[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-8 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-8:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-8:hover, -.emotion-8:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-10 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-10 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-10 path { - fill: currentColor; -} - -.emotion-13 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-15 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-15[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-15::-webkit-outer-spin-button, -.emotion-15::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-15 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-15[data-size='small'] { - height: 2rem; -} - -.emotion-15[data-size='medium'] { - height: 2.5rem; -} - -.emotion-15[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-15:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-15:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-15:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-15:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-15:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-15:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-15:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-15[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
-
- -
-
- -
-
- -
-
-
-
- -
-
-`; - -exports[`NumberInputFieldV2 > should render correctly disabled 1`] = ` - - .emotion-0 { - display: contents; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-4 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-4[data-success='true'] { - border-color: #22674e; -} - -.emotion-4[data-error='true'] { - border-color: #b3144d; -} - -.emotion-4:hover { - border-color: #792dd4; -} - -.emotion-4[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-4[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4[data-controls='false']>.emotion-12 { - border-width: 0; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-6[data-size='small'] { - height: 2rem; -} - -.emotion-6[data-size='medium'] { - height: 2.5rem; -} - -.emotion-6[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-8 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; - color: #b5b7bd; -} - -.emotion-8:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-10 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-10 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-10 path { - fill: currentColor; -} - -.emotion-13 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-15 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-15[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-15::-webkit-outer-spin-button, -.emotion-15::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-15 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-15[data-size='small'] { - height: 2rem; -} - -.emotion-15[data-size='medium'] { - height: 2.5rem; -} - -.emotion-15[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-15:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-15:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-15:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-15:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-15:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-15:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-15:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-15[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
-
- -
-
- -
-
- -
-
-
-
- -
-
-`; diff --git a/packages/form/src/components/NumberInputFieldV2/__tests__/index.test.tsx b/packages/form/src/components/NumberInputFieldV2/__tests__/index.test.tsx deleted file mode 100644 index 46233530e0..0000000000 --- a/packages/form/src/components/NumberInputFieldV2/__tests__/index.test.tsx +++ /dev/null @@ -1,82 +0,0 @@ -import { act, renderHook, screen, waitFor } from '@testing-library/react' -import { userEvent } from '@testing-library/user-event' -import { mockFormErrors, renderWithForm, renderWithTheme } from '@utils/test' -import { useForm } from 'react-hook-form' -import { describe, expect, test, vi } from 'vitest' -import { NumberInputFieldV2, Submit } from '../..' -import { Form } from '../../Form' - -describe('NumberInputFieldV2', () => { - test('should render correctly', () => { - const { asFragment } = renderWithForm( - , - ) - expect(asFragment()).toMatchSnapshot() - }) - - test('should render correctly disabled', () => { - const { asFragment } = renderWithForm( - , - ) - const input = screen.getByLabelText('Number Input') - expect(input).toBeDisabled() - - const inputMinus = screen.getByLabelText('minus') - expect(inputMinus).toBeDisabled() - - const inputPlus = screen.getByLabelText('plus') - expect(inputPlus).toBeDisabled() - expect(asFragment()).toMatchSnapshot() - }) - - test('should work fine with form setValue', async () => { - const onSubmit = vi.fn() - const { result } = renderHook(() => - useForm<{ test: number | null }>({ - defaultValues: { - test: 10, - }, - mode: 'onChange', - }), - ) - - renderWithTheme( -
onSubmit(value)} - errors={mockFormErrors} - methods={result.current} - > - - Submit - , - ) - - const numberInput = screen.getByLabelText('Test') - const submit = screen.getByText('Submit') - expect(numberInput).toHaveValue(10) - await userEvent.click(submit) - expect(onSubmit).toHaveBeenCalledWith({ - test: 10, - }) - await userEvent.clear(numberInput) - expect(numberInput).toHaveValue(null) - expect(submit).toBeDisabled() - act(() => { - result.current.setValue('test', 40, { shouldValidate: true }) - }) - await waitFor(() => { - expect(numberInput).toHaveValue(40) - }) - await userEvent.click(submit) - await waitFor(() => { - expect(onSubmit).toHaveBeenNthCalledWith(2, { - test: 40, - }) - }) - }) -}) diff --git a/packages/form/src/components/NumberInputFieldV2/index.tsx b/packages/form/src/components/NumberInputFieldV2/index.tsx deleted file mode 100644 index 2fdb664c63..0000000000 --- a/packages/form/src/components/NumberInputFieldV2/index.tsx +++ /dev/null @@ -1,136 +0,0 @@ -'use client' - -import { NumberInputV2 } from '@ultraviolet/ui' -import type { ComponentProps, FocusEvent } from 'react' -import { useController } from 'react-hook-form' -import type { FieldPath, FieldValues, Path, PathValue } from 'react-hook-form' -import { useErrors } from '../../providers' -import type { BaseFieldProps } from '../../types' -import { isInteger } from '../../validators/isInteger' - -type NumberInputV2Props< - TFieldValues extends FieldValues, - TFieldName extends FieldPath, -> = BaseFieldProps & - Partial< - Pick< - ComponentProps, - | 'disabled' - | 'id' - | 'onBlur' - | 'onChange' - | 'onFocus' - | 'value' - | 'data-testid' - | 'label' - | 'aria-label' - | 'tooltip' - | 'unit' - | 'size' - | 'step' - | 'className' - | 'placeholder' - | 'error' - | 'success' - | 'helper' - | 'labelDescription' - | 'autoFocus' - | 'readOnly' - | 'min' - | 'max' - | 'controls' - > - > & { - className?: string - } - -export const NumberInputFieldV2 = < - TFieldValues extends FieldValues, - TFieldName extends FieldPath = FieldPath, ->({ - disabled, - control, - max = Number.MAX_SAFE_INTEGER, - min = 0, - name, - onChange, - onBlur, - size, - step, - unit, - tooltip, - className, - label, - labelDescription, - id, - placeholder, - success, - helper, - controls = true, - 'aria-label': ariaLabel, - 'data-testid': dataTestId, - required, - autoFocus, - readOnly, - shouldUnregister = false, - validate, -}: NumberInputV2Props) => { - const { getError } = useErrors() - const { - field, - fieldState: { error }, - } = useController({ - name, - control, - shouldUnregister, - rules: { - max, - min, - required, - validate: { - ...validate, - isInteger: isInteger(step), - }, - }, - }) - - return ( - ) => { - field.onBlur() - onBlur?.(event) - }} - onChange={newValue => { - // React hook form doesnt allow undefined values after definition https://react-hook-form.com/docs/usecontroller/controller (that make sense) - field.onChange(newValue) - onChange?.(newValue as PathValue>) - }} - max={max} - min={min} - size={size} - step={step} - className={className} - data-testid={dataTestId} - id={id} - label={label} - labelDescription={labelDescription} - placeholder={placeholder} - error={getError( - { label: label ?? ariaLabel ?? name, max, min, isInteger: step }, - error, - )} - success={success} - helper={helper} - tooltip={tooltip} - unit={unit} - aria-label={ariaLabel} - autoFocus={autoFocus} - readOnly={readOnly} - required={required} - controls={controls} - /> - ) -} diff --git a/packages/form/src/components/RadioField/__stories__/Checked.stories.tsx b/packages/form/src/components/RadioField/__stories__/Checked.stories.tsx index 91a18b2da4..b2287c9fc8 100644 --- a/packages/form/src/components/RadioField/__stories__/Checked.stories.tsx +++ b/packages/form/src/components/RadioField/__stories__/Checked.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { RadioField } from '..' import { useForm } from '../../..' import type { FormErrors } from '../../../types' diff --git a/packages/form/src/components/RadioField/__stories__/Required.stories.tsx b/packages/form/src/components/RadioField/__stories__/Required.stories.tsx index a8c1474bde..10736c6261 100644 --- a/packages/form/src/components/RadioField/__stories__/Required.stories.tsx +++ b/packages/form/src/components/RadioField/__stories__/Required.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack } from '@ultraviolet/ui' import type { ComponentProps } from 'react' import { RadioField } from '..' diff --git a/packages/form/src/components/RadioField/__stories__/Template.stories.tsx b/packages/form/src/components/RadioField/__stories__/Template.stories.tsx index 3717602b7a..63f81bdba4 100644 --- a/packages/form/src/components/RadioField/__stories__/Template.stories.tsx +++ b/packages/form/src/components/RadioField/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { RadioField } from '..' diff --git a/packages/form/src/components/RadioField/__stories__/index.stories.tsx b/packages/form/src/components/RadioField/__stories__/index.stories.tsx index 0fc3c53ac1..7518370d1e 100644 --- a/packages/form/src/components/RadioField/__stories__/index.stories.tsx +++ b/packages/form/src/components/RadioField/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Snippet, Stack, Text } from '@ultraviolet/ui' import { Form, RadioField } from '../..' import { useForm } from '../../..' @@ -74,9 +74,6 @@ export default { component: 'A radio field', }, }, - deprecated: true, - deprecatedReason: - 'This component is deprecated, use RadioGroupField instead.', }, title: 'Form/Components/Fields/RadioField', } as Meta diff --git a/packages/form/src/components/RadioField/__tests__/__snapshots__/index.test.tsx.snap b/packages/form/src/components/RadioField/__tests__/__snapshots__/index.test.tsx.snap index 245989b049..d29d6b6464 100644 --- a/packages/form/src/components/RadioField/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/form/src/components/RadioField/__tests__/__snapshots__/index.test.tsx.snap @@ -11,10 +11,10 @@ exports[`RadioField > should render correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -23,10 +23,10 @@ exports[`RadioField > should render correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -161,7 +161,7 @@ exports[`RadioField > should render correctly 1`] = ` .emotion-15 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -247,10 +247,10 @@ exports[`RadioField > should render correctly checked 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -259,10 +259,10 @@ exports[`RadioField > should render correctly checked 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -397,7 +397,7 @@ exports[`RadioField > should render correctly checked 1`] = ` .emotion-15 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -484,10 +484,10 @@ exports[`RadioField > should render correctly disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -496,10 +496,10 @@ exports[`RadioField > should render correctly disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -634,7 +634,7 @@ exports[`RadioField > should render correctly disabled 1`] = ` .emotion-15 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -721,10 +721,10 @@ exports[`RadioField > should render correctly with aria-label 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -733,10 +733,10 @@ exports[`RadioField > should render correctly with aria-label 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -937,10 +937,10 @@ exports[`RadioField > should trigger events correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -949,10 +949,10 @@ exports[`RadioField > should trigger events correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -1087,7 +1087,7 @@ exports[`RadioField > should trigger events correctly 1`] = ` .emotion-15 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; diff --git a/packages/form/src/components/RadioField/index.tsx b/packages/form/src/components/RadioField/index.tsx index f90421e077..8a867a43ca 100644 --- a/packages/form/src/components/RadioField/index.tsx +++ b/packages/form/src/components/RadioField/index.tsx @@ -14,9 +14,6 @@ type RadioFieldProps< > = Omit, 'label'> & Omit, 'value' | 'onChange'> -/** - * @deprecated This component is deprecated, use `RadioGroupField` instead. - */ export const RadioField = < TFieldValues extends FieldValues, TFieldName extends FieldPath = FieldPath, diff --git a/packages/form/src/components/RadioGroupField/__stories__/Required.stories.tsx b/packages/form/src/components/RadioGroupField/__stories__/Required.stories.tsx index 7044afb1ca..a5095b4528 100644 --- a/packages/form/src/components/RadioGroupField/__stories__/Required.stories.tsx +++ b/packages/form/src/components/RadioGroupField/__stories__/Required.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack } from '@ultraviolet/ui' import type { ComponentProps } from 'react' import { RadioGroupField } from '..' diff --git a/packages/form/src/components/RadioGroupField/__stories__/Template.stories.tsx b/packages/form/src/components/RadioGroupField/__stories__/Template.stories.tsx index f83051cbdf..191ca77573 100644 --- a/packages/form/src/components/RadioGroupField/__stories__/Template.stories.tsx +++ b/packages/form/src/components/RadioGroupField/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { RadioGroupField } from '../..' diff --git a/packages/form/src/components/RadioGroupField/__stories__/index.stories.tsx b/packages/form/src/components/RadioGroupField/__stories__/index.stories.tsx index 0fddfca3d1..bc8d2fb82c 100644 --- a/packages/form/src/components/RadioGroupField/__stories__/index.stories.tsx +++ b/packages/form/src/components/RadioGroupField/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Snippet, Stack, Text } from '@ultraviolet/ui' import { Form, RadioGroupField } from '../..' import { useForm } from '../../..' diff --git a/packages/form/src/components/RadioGroupField/__tests__/__snapshots__/index.test.tsx.snap b/packages/form/src/components/RadioGroupField/__tests__/__snapshots__/index.test.tsx.snap index a5a0a2c652..cfe783590f 100644 --- a/packages/form/src/components/RadioGroupField/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/form/src/components/RadioGroupField/__tests__/__snapshots__/index.test.tsx.snap @@ -11,10 +11,10 @@ exports[`RadioField > should render correctly checked 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -23,10 +23,10 @@ exports[`RadioField > should render correctly checked 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-4 { @@ -40,10 +40,10 @@ exports[`RadioField > should render correctly checked 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -52,10 +52,10 @@ exports[`RadioField > should render correctly checked 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; } .emotion-8 { @@ -63,10 +63,10 @@ exports[`RadioField > should render correctly checked 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -75,33 +75,34 @@ exports[`RadioField > should render correctly checked 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-10 { - color: #222638; +.emotion-11 { + color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + cursor: text; } -.emotion-12 { +.emotion-13 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -110,21 +111,21 @@ exports[`RadioField > should render correctly checked 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } -.emotion-14 { +.emotion-15 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -133,13 +134,13 @@ exports[`RadioField > should render correctly checked 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-16 { +.emotion-17 { position: relative; display: -webkit-box; display: -webkit-flex; @@ -155,47 +156,47 @@ exports[`RadioField > should render correctly checked 1`] = ` gap: 0.5rem; } -.emotion-16[aria-disabled='false'], -.emotion-16[aria-disabled='false']>label { +.emotion-17[aria-disabled='false'], +.emotion-17[aria-disabled='false']>label { cursor: pointer; } -.emotion-16:hover[aria-disabled='false'] .emotion-19+.emotion-21 { +.emotion-17:hover[aria-disabled='false'] .emotion-20+.emotion-22 { fill: #8c40ef; } -.emotion-16:hover[aria-disabled='false'] .emotion-19+.emotion-21 .emotion-23 { +.emotion-17:hover[aria-disabled='false'] .emotion-20+.emotion-22 .emotion-24 { fill: #e5dbfd; } -.emotion-16:hover[aria-disabled='false'] .emotion-19[aria-invalid='true']+.emotion-21 { +.emotion-17:hover[aria-disabled='false'] .emotion-20[aria-invalid='true']+.emotion-22 { fill: #b3144d; } -.emotion-16:hover[aria-disabled='false'] .emotion-19[aria-invalid='true']+.emotion-21 .emotion-23 { +.emotion-17:hover[aria-disabled='false'] .emotion-20[aria-invalid='true']+.emotion-22 .emotion-24 { fill: #ffd3e3; } -.emotion-16[aria-disabled='true'] { +.emotion-17[aria-disabled='true'] { cursor: not-allowed; color: #b5b7bd; } -.emotion-16[aria-disabled='true']>label, -.emotion-16[aria-disabled='true'] .emotion-19 { +.emotion-17[aria-disabled='true']>label, +.emotion-17[aria-disabled='true'] .emotion-20 { cursor: not-allowed; } -.emotion-16[aria-disabled='true'] .emotion-21 { +.emotion-17[aria-disabled='true'] .emotion-22 { fill: #e9eaeb; cursor: not-allowed; } -.emotion-16[aria-disabled='true'] .emotion-21 .emotion-23 { +.emotion-17[aria-disabled='true'] .emotion-22 .emotion-24 { fill: #f3f3f4; } -.emotion-18 { +.emotion-19 { cursor: pointer; position: absolute; height: 1.5rem; @@ -205,7 +206,7 @@ exports[`RadioField > should render correctly checked 1`] = ` border-width: 0; } -.emotion-18+.emotion-21 .emotion-25 { +.emotion-19+.emotion-22 .emotion-26 { transform-origin: center; -webkit-transition: 200ms -webkit-transform ease-in-out; transition: 200ms transform ease-in-out; @@ -215,48 +216,48 @@ exports[`RadioField > should render correctly checked 1`] = ` transform: scale(0); } -.emotion-18:checked+svg .emotion-25 { +.emotion-19:checked+svg .emotion-26 { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } -.emotion-18:checked[aria-disabled='false'][aria-invalid='false']+.emotion-21 { +.emotion-19:checked[aria-disabled='false'][aria-invalid='false']+.emotion-22 { fill: #8c40ef; } -.emotion-18:checked[aria-disabled='true'][aria-invalid='false']+.emotion-21 { +.emotion-19:checked[aria-disabled='true'][aria-invalid='false']+.emotion-22 { fill: #d8c5fc; } -.emotion-18[aria-invalid='true']:not([aria-disabled='true'])+.emotion-21 { +.emotion-19[aria-invalid='true']:not([aria-disabled='true'])+.emotion-22 { fill: #e51963; } -.emotion-18[aria-disabled='false']:active+.emotion-21 { +.emotion-19[aria-disabled='false']:active+.emotion-22 { background-color: #5e127e40; fill: #8c40ef; } -.emotion-18[aria-disabled='false']:active+.emotion-21 .emotion-23 { +.emotion-19[aria-disabled='false']:active+.emotion-22 .emotion-24 { fill: #f1eefc; } -.emotion-18[aria-disabled='false']:focus-visible+.emotion-21 { +.emotion-19[aria-disabled='false']:focus-visible+.emotion-22 { outline: -webkit-focus-ring-color auto 1px; } -.emotion-18[aria-invalid='true']:focus+.emotion-21 { +.emotion-19[aria-invalid='true']:focus+.emotion-22 { background-color: #f91b6c40; fill: #e51963; } -.emotion-18[aria-invalid='true']:focus+.emotion-21 .emotion-23 { +.emotion-19[aria-invalid='true']:focus+.emotion-22 .emotion-24 { fill: #ffebf2; } -.emotion-20 { +.emotion-21 { height: 1.5rem; width: 1.5rem; min-width: 1.5rem; @@ -265,13 +266,13 @@ exports[`RadioField > should render correctly checked 1`] = ` fill: #d9dadd; } -.emotion-20 .emotion-23 { +.emotion-21 .emotion-24 { fill: #ffffff; } -.emotion-27 { +.emotion-28 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -304,34 +305,34 @@ exports[`RadioField > should render correctly checked 1`] = ` class="emotion-8 emotion-3" > - Label  + Label
@@ -342,13 +343,13 @@ exports[`RadioField > should render correctly checked 1`] = ` stroke-width="2" /> should render correctly checked 1`] = `
@@ -393,13 +394,13 @@ exports[`RadioField > should render correctly checked 1`] = ` stroke-width="2" /> should render correctly checked 1`] = `
@@ -765,13 +767,13 @@ exports[`RadioField > should trigger events correctly 1`] = ` stroke-width="2" /> should trigger events correctly 1`] = `
@@ -816,13 +818,13 @@ exports[`RadioField > should trigger events correctly 1`] = ` stroke-width="2" /> should trigger events correctly 1`] = `
- - - - - - - - - - - - - - - - -
-

- - - - Estimated cost -

-
-
-
-
-
- -
-
-
-
-
-
- - -
-
- -
- Hour(s) -
-
- -
-
-
- - -
-
- -
-
-
-
-
-
-
-
-
-
-

- Test -

-
-
-
-
- Test -
-
-
-
-

- €0.00 -

-
- - - - - - - - - - -
- -

- - €0.00 - -

-
- - - - -`; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} -exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; } -.emotion-4 { +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-8 { +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2167,85 +1599,69 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = ` min-width: 230px; } -.emotion-10 { +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; } -.emotion-12 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-86 { + text-align: right; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-86 { + text-align: right; } -.emotion-19 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; max-width: 500px; -webkit-align-items: center; -webkit-box-align: center; @@ -2268,79 +1684,11 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = ` margin-right: 4px; } -.emotion-21 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; -} - -.emotion-21:first-of-type, -.emotion-21:last-child { - border: 0; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-25 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-25 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-25 path { - fill: currentColor; -} - -.emotion-27 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} - -.emotion-30 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; max-width: 500px; -webkit-align-items: center; -webkit-box-align: center; @@ -2357,67 +1705,13 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - font-size: 24px; + font-size: 16px; color: #222638; font-weight: 500; margin-right: 4px; } -.emotion-36 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; -} - -.emotion-36>* { - margin-top: 0; -} - -.emotion-36>*+* { - margin-top: 16px; -} - -.emotion-38 { - background-color: #ffffff; -} - -.emotion-40 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; -} - -.emotion-43 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; -} - -.emotion-43 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-43 path { - fill: currentColor; -} - -.emotion-45 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2427,518 +1721,113 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = ` background-color: #f9f9fa; width: 30%; min-width: 126px; - padding: 0; -} - -.emotion-47 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; -} - -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-91 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; } -.emotion-51 input:hover, -.emotion-51 input:focus { +.emotion-94 { + color: #727683; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + text-align: right; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; +.emotion-96 { margin: 0; -} - -.emotion-51 input[type='number'] { - -moz-appearance: textfield; -} - -.emotion-53 { - position: relative; -} - -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-96 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-100 { + width: 70%; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-100 { + width: 70%; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-102 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-102 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-105 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; } -.emotion-55::-moz-placeholder { - opacity: 1; -} - -.emotion-55:-ms-input-placeholder { - opacity: 1; -} - -.emotion-55::placeholder { - opacity: 1; -} - -.emotion-57 { - height: auto; -} - -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; -} - -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; -} - -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-67:hover { - border-color: #792dd4; -} - -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-68 label { - display: none; -} - -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} - -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; -} - -.emotion-88 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; -} - -.emotion-96 { - text-align: right; -} - -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; -} - -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; -} - -.emotion-103 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; -} - -.emotion-107 { - width: 70%; -} - -.emotion-109 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; -} - -.emotion-112 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-105 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; }
render with noPrice and noBorder 1`] = ` > @@ -3025,7 +1911,7 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = `
This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. @@ -3050,14 +1936,11 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = ` > @@ -3071,132 +1954,82 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = ` class="emotion-47 emotion-48" >
-
-
-
-
- - -
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -3205,14 +2038,14 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = `
render with noPrice and noBorder 1`] = `
Test
@@ -3239,15 +2072,21 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = `
+ class="emotion-91 emotion-92" + > +

+ €0.00 +

+ @@ -3259,13 +2098,13 @@ exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = `

render with noPrice and noBorder 1`] = ` `; -exports[`EstimateCost - Item > render with notice 1`] = ` +exports[`EstimateCost - Item > render with noPrice and noBorder 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-21 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-21:first-of-type, +.emotion-21:last-child { + border: 0; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-25 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-25 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-27 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-30 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-36 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-36>* { + margin-top: 0; +} + +.emotion-36>*+* { + margin-top: 16px; +} + +.emotion-38 { + background-color: #ffffff; +} + +.emotion-40 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-43 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-43 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-45 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-47 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-52[data-size='small'] { + height: 2rem; +} + +.emotion-52[data-size='medium'] { + height: 2.5rem; +} + +.emotion-52[data-size='large'] { + height: 3rem; +} + +.emotion-52[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-54 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-56[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-56[data-size="large"] { + font-size: 1rem; +} + +.emotion-56::-webkit-input-placeholder { + color: #727683; +} + +.emotion-56::-moz-placeholder { + color: #727683; +} + +.emotion-56:-ms-input-placeholder { + color: #727683; +} + +.emotion-56::placeholder { + color: #727683; +} + +.emotion-56:disabled { + cursor: not-allowed; +} + +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-59 { + width: 100%; + width: 100%; +} + +.emotion-59 #unit { + border: none; + background: transparent; +} + +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; +} + +.emotion-61 { + display: inherit; +} + +.emotion-61[data-container-full-height="true"] { + height: 100%; +} + +.emotion-61[data-container-full-width="true"] { + width: 100%; +} + +.emotion-63 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-86 { + text-align: right; +} + +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-91 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-93 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-97 { + width: 70%; +} + +.emotion-99 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-102 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +
+
+
+
    +
  • +
    +
    +
    +
    +

    + Test +

    +
    +
    +
    +
    + Test +
    +
    +
    +
    +
  • +
  • +
    + + + + Estimated cost +
    +
    +
    + + €0.00/Hour(s) + +
    +
    +
  • +
+
+ + This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. + +
+ + + + + + + + + + + + + + + + +
+

+ + + + Estimated cost +

+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+

+ Test +

+
+
+
+
+ Test +
+
+
+
+
+ + + + + + + + + + +
+ +

+ + €0.00 + +

+
+
+
+
+
+`; + +exports[`EstimateCost - Item > render with notice 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-17 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + max-width: 75%; +} + +.emotion-19 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-19 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-24 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-24:first-of-type, +.emotion-24:last-child { + border: 0; +} + +.emotion-24 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-24:first-of-type, +.emotion-24:last-child { + border: 0; +} + +.emotion-26 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-26 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-28 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-28 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-28 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-28 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-30 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-0 { +.emotion-30 { + height: 48px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; +.emotion-33 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; +.emotion-33 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-4 { +.emotion-39 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-39>* { + margin-top: 0; +} + +.emotion-39>*+* { + margin-top: 16px; +} + +.emotion-39 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-39>* { + margin-top: 0; +} + +.emotion-39>*+* { + margin-top: 16px; +} + +.emotion-41 { + background-color: #ffffff; +} + +.emotion-41 { + background-color: #ffffff; +} + +.emotion-43 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-4 { +.emotion-43 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-46 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-46 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-46 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-46 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-8 { +.emotion-48 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; } -.emotion-8 { +.emotion-48 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-50 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-50 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; } -.emotion-10 { +.emotion-52 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3487,21 +4036,22 @@ exports[`EstimateCost - Item > render with notice 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-12 { +.emotion-52 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3510,21 +4060,15 @@ exports[`EstimateCost - Item > render with notice 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-55 { + display: grid; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3533,361 +4077,278 @@ exports[`EstimateCost - Item > render with notice 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-58, +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-58 { + border-right-color: #8c40ef; } -.emotion-17 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-58 { + border-right-color: #8c40ef; +} + +.emotion-55:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-55:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - max-width: 75%; + border-color: #8c40ef; } -.emotion-19 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-55:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-58, +.emotion-55:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-58 { + border-right-color: #8c40ef; } -.emotion-19 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-55[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-22 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-55[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-22 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-55[data-size='small'] { + height: 2rem; } -.emotion-24 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-55[data-size='medium'] { + height: 2.5rem; } -.emotion-24:first-of-type, -.emotion-24:last-child { - border: 0; +.emotion-55[data-size='large'] { + height: 3rem; } -.emotion-24 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-55[data-success='true'] { + border: 1px solid #22674e; } -.emotion-24:first-of-type, -.emotion-24:last-child { - border: 0; +.emotion-55[data-success='true']>.emotion-58 { + border-right-color: #22674e; } -.emotion-26 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-55[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-26 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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; +.emotion-55[data-success='true']:active>.emotion-58 { + border-right-color: #22674e; +} + +.emotion-55[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-55[data-error='true']>.emotion-58 { + border-right-color: #b3144d; +} + +.emotion-55[data-error='true']>.emotion-58:hover { + border-right-color: #b3144d; +} + +.emotion-55[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-55[data-error='true']:active>.emotion-58 { + border-right-color: #b3144d; +} + +.emotion-55[data-error='true']:active>.emotion-58:hover { + border-right-color: #b3144d; +} + +.emotion-55[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-55[data-disabled='true']>.emotion-58 { + border-right-color: #e9eaeb; +} + +.emotion-55 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-28 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-28 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-58, +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-58 { + border-right-color: #8c40ef; } -.emotion-28 path { - fill: currentColor; +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-28 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-55:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-58 { + border-right-color: #8c40ef; } -.emotion-28 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-55:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-55:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-28 path { - fill: currentColor; +.emotion-55:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-58, +.emotion-55:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-58 { + border-right-color: #8c40ef; } -.emotion-30 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-55[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-30 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-55[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-55[data-size='small'] { + height: 2rem; } -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-55[data-size='medium'] { + height: 2.5rem; } -.emotion-39 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-55[data-size='large'] { + height: 3rem; } -.emotion-39>* { - margin-top: 0; +.emotion-55[data-success='true'] { + border: 1px solid #22674e; } -.emotion-39>*+* { - margin-top: 16px; +.emotion-55[data-success='true']>.emotion-58 { + border-right-color: #22674e; } -.emotion-39 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-55[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-39>* { - margin-top: 0; +.emotion-55[data-success='true']:active>.emotion-58 { + border-right-color: #22674e; } -.emotion-39>*+* { - margin-top: 16px; +.emotion-55[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-41 { - background-color: #ffffff; +.emotion-55[data-error='true']>.emotion-58 { + border-right-color: #b3144d; } -.emotion-41 { - background-color: #ffffff; +.emotion-55[data-error='true']>.emotion-58:hover { + border-right-color: #b3144d; } -.emotion-43 { +.emotion-55[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-55[data-error='true']:active>.emotion-58 { + border-right-color: #b3144d; +} + +.emotion-55[data-error='true']:active>.emotion-58:hover { + border-right-color: #b3144d; +} + +.emotion-55[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-55[data-disabled='true']>.emotion-58 { + border-right-color: #e9eaeb; +} + +.emotion-57 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3896,15 +4357,16 @@ exports[`EstimateCost - Item > render with notice 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-43 { +.emotion-57 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3913,875 +4375,536 @@ exports[`EstimateCost - Item > render with notice 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-59 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-weight: 500; - padding: 1rem; } -.emotion-46 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-59[data-size="small"] { + padding-left: 0.5rem; } -.emotion-46 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-59[data-size="large"] { + font-size: 1rem; } -.emotion-46 path { - fill: currentColor; +.emotion-59::-webkit-input-placeholder { + color: #727683; } -.emotion-46 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-59::-moz-placeholder { + color: #727683; } -.emotion-46 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-59:-ms-input-placeholder { + color: #727683; } -.emotion-46 path { - fill: currentColor; +.emotion-59::placeholder { + color: #727683; } -.emotion-48 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-59:disabled { + cursor: not-allowed; } -.emotion-48 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-59:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-50 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-59:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-50 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-59:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-52 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-59:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-59 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-59[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-59[data-size="large"] { + font-size: 1rem; } -.emotion-52 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-59::-webkit-input-placeholder { + color: #727683; } -.emotion-54 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-59::-moz-placeholder { + color: #727683; } -.emotion-54 input:hover, -.emotion-54 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-59:-ms-input-placeholder { + color: #727683; } -.emotion-54 input[type='number']::-webkit-inner-spin-button, -.emotion-54 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-59::placeholder { + color: #727683; } -.emotion-54 input[type='number'] { - -moz-appearance: textfield; +.emotion-59:disabled { + cursor: not-allowed; } -.emotion-54 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-59:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-54 input:hover, -.emotion-54 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-59:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-54 input[type='number']::-webkit-inner-spin-button, -.emotion-54 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-59:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-54 input[type='number'] { - -moz-appearance: textfield; +.emotion-59:disabled::placeholder { + color: #b5b7bd; } -.emotion-56 { - position: relative; +.emotion-62 { + width: 100%; + width: 100%; } -.emotion-56 { - position: relative; +.emotion-62 #unit { + border: none; + background: transparent; } -.emotion-58 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-62 #unit:focus, +.emotion-62 #unit:active { + box-shadow: none; +} + +.emotion-62 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-58::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-62 #unit { + border: none; + background: transparent; } -.emotion-58::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-62 #unit:focus, +.emotion-62 #unit:active { + box-shadow: none; } -.emotion-58:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-64 { + display: inherit; } -.emotion-58::placeholder { - color: #727683; - opacity: 0; +.emotion-64[data-container-full-height="true"] { + height: 100%; } -.emotion-58:hover, -.emotion-58:focus { - border-color: #792dd4; +.emotion-64[data-container-full-width="true"] { + width: 100%; } -.emotion-58:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-64 { + display: inherit; } -.emotion-58::-webkit-input-placeholder { - opacity: 1; +.emotion-64[data-container-full-height="true"] { + height: 100%; } -.emotion-58::-moz-placeholder { - opacity: 1; +.emotion-64[data-container-full-width="true"] { + width: 100%; } -.emotion-58:-ms-input-placeholder { - opacity: 1; +.emotion-66 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-58::placeholder { - opacity: 1; +.emotion-66 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-58 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-68 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-58::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-68[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-58::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-68[data-size='medium'] { + height: 2.5rem; } -.emotion-58:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-68[data-size='large'] { + height: 3rem; } -.emotion-58::placeholder { - color: #727683; - opacity: 0; +.emotion-68[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-58:hover, -.emotion-58:focus { +.emotion-68[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; -} - -.emotion-58:focus { box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; } -.emotion-58::-webkit-input-placeholder { - opacity: 1; +.emotion-68[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-58::-moz-placeholder { - opacity: 1; +.emotion-68[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-58:-ms-input-placeholder { - opacity: 1; +.emotion-68[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-58::placeholder { - opacity: 1; +.emotion-68[data-state='success'] { + border: 1px solid #22674e; } -.emotion-60 { - height: auto; +.emotion-68[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-60[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-68[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-60 { - height: auto; +.emotion-68[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-60[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-68[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-62 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-68[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-62 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-68:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-66 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-68[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-66:hover, -.emotion-66:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-68[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-66:hover, -.emotion-66:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-68 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; -} - -.emotion-66 { + background: #ffffff; + border-radius: 0.25rem; width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; } -.emotion-66:hover, -.emotion-66:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-68[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-66:hover, -.emotion-66:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-68[data-size='medium'] { + height: 2.5rem; } -.emotion-68 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-68[data-size='large'] { + height: 3rem; } -.emotion-68 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-68[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-70 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-68[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-70:hover { - border-color: hsl(0, 0%, 70%); +.emotion-68[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-70:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-68[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-70:hover { +.emotion-68[data-state='neutral'][data-dropdownvisible='true'] { border-color: #792dd4; } -.emotion-70 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-70:hover { - border-color: hsl(0, 0%, 70%); +.emotion-68[data-state='success'] { + border: 1px solid #22674e; } -.emotion-70:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-68[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-70:hover { - border-color: #792dd4; +.emotion-68[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-68[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-71 label { - display: none; +.emotion-68[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-68[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-71 label { - display: none; +.emotion-68:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-72 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-68[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-72 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-68[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-74 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-71 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-74 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-71 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-75 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-75:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} - -.emotion-75 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-75:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-76 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-73 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-76 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-77 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; } -.emotion-77 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-78 { +.emotion-73 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-78:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-78 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-78:hover { - color: hsl(0, 0%, 60%); } -.emotion-81 { +.emotion-75 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-81 .fillStroke { - stroke: currentColor; +.emotion-75 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-81 { +.emotion-75 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-81 .fillStroke { - stroke: currentColor; +.emotion-75 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-85 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-85 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-89 { +.emotion-79 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4789,7 +4912,7 @@ exports[`EstimateCost - Item > render with notice 1`] = ` min-width: 230px; } -.emotion-89 { +.emotion-79 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4797,7 +4920,7 @@ exports[`EstimateCost - Item > render with notice 1`] = ` min-width: 230px; } -.emotion-91 { +.emotion-81 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4818,7 +4941,7 @@ exports[`EstimateCost - Item > render with notice 1`] = ` padding-bottom: 8px; } -.emotion-91 { +.emotion-81 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4839,15 +4962,15 @@ exports[`EstimateCost - Item > render with notice 1`] = ` padding-bottom: 8px; } -.emotion-102 { +.emotion-92 { text-align: right; } -.emotion-102 { +.emotion-92 { text-align: right; } -.emotion-105 { +.emotion-95 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -4874,7 +4997,7 @@ exports[`EstimateCost - Item > render with notice 1`] = ` margin-right: 4px; } -.emotion-105 { +.emotion-95 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -4901,7 +5024,7 @@ exports[`EstimateCost - Item > render with notice 1`] = ` margin-right: 4px; } -.emotion-107 { +.emotion-97 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4913,7 +5036,7 @@ exports[`EstimateCost - Item > render with notice 1`] = ` min-width: 126px; } -.emotion-107 { +.emotion-97 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4925,10 +5048,10 @@ exports[`EstimateCost - Item > render with notice 1`] = ` min-width: 126px; } -.emotion-110 { +.emotion-100 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4938,29 +5061,29 @@ exports[`EstimateCost - Item > render with notice 1`] = ` text-align: right; } -.emotion-112 { +.emotion-102 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-112 { +.emotion-102 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-116 { +.emotion-106 { width: 70%; } -.emotion-116 { +.emotion-106 { width: 70%; } -.emotion-118 { +.emotion-108 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4977,7 +5100,7 @@ exports[`EstimateCost - Item > render with notice 1`] = ` min-width: 126px; } -.emotion-118 { +.emotion-108 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4994,10 +5117,10 @@ exports[`EstimateCost - Item > render with notice 1`] = ` min-width: 126px; } -.emotion-121 { +.emotion-111 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -5007,10 +5130,10 @@ exports[`EstimateCost - Item > render with notice 1`] = ` text-align: right; } -.emotion-121 { +.emotion-111 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -5079,14 +5202,11 @@ exports[`EstimateCost - Item > render with notice 1`] = ` > @@ -5134,14 +5254,11 @@ exports[`EstimateCost - Item > render with notice 1`] = ` > @@ -5155,132 +5272,82 @@ exports[`EstimateCost - Item > render with notice 1`] = ` class="emotion-50 emotion-51" >
-
-
-
-
- - -
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -5289,14 +5356,14 @@ exports[`EstimateCost - Item > render with notice 1`] = `

render with notice 1`] = `

Test
@@ -5328,10 +5395,10 @@ exports[`EstimateCost - Item > render with notice 1`] = `

€0.00

@@ -5342,7 +5409,7 @@ exports[`EstimateCost - Item > render with notice 1`] = ` @@ -5354,13 +5421,13 @@ exports[`EstimateCost - Item > render with notice 1`] = `

render with priceText 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5397,10 +5464,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -5408,10 +5475,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5420,10 +5487,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -5445,6 +5512,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -5466,6 +5534,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -5547,10 +5616,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5559,10 +5628,9 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -5570,10 +5638,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5582,10 +5650,9 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -5593,10 +5660,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5605,10 +5672,9 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -5616,27 +5682,26 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; align-items: normal; -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -5647,7 +5712,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -5771,10 +5836,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5783,10 +5848,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-23 { @@ -5794,10 +5859,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5806,19 +5871,19 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -5826,17 +5891,13 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -5844,10 +5905,6 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -6007,10 +6064,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -6019,17 +6076,13 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -6038,10 +6091,6 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-45 { padding-left: 16px; padding-right: 16px; @@ -6091,8 +6140,197 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` } .emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-52[data-size='small'] { + height: 2rem; +} + +.emotion-52[data-size='medium'] { + height: 2.5rem; +} + +.emotion-52[data-size='large'] { + height: 3rem; +} + +.emotion-52[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-52 { + display: grid; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6101,770 +6339,693 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-52[data-size='small'] { + height: 2rem; +} + +.emotion-52[data-size='medium'] { + height: 2.5rem; +} + +.emotion-52[data-size='large'] { + height: 3rem; +} + +.emotion-52[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-54 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-54 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56::placeholder { + color: #727683; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-53 { - position: relative; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-53 { - position: relative; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; outline: none; - position: relative; + height: 100%; width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-56[data-size="small"] { padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-55::-moz-placeholder { +.emotion-56::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-55:-ms-input-placeholder { +.emotion-56::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-55::placeholder { +.emotion-56:-ms-input-placeholder { color: #727683; - opacity: 0; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-56::placeholder { + color: #727683; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-55::placeholder { - opacity: 1; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-59 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-61 { + display: inherit; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-61 { + display: inherit; } -.emotion-55::placeholder { - opacity: 1; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-57 { - height: auto; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-63 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-57 { - height: auto; +.emotion-63 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-65[data-size='large'] { + height: 3rem; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-65[data-state='success'] { + border: 1px solid #22674e; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67:focus-within { +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-67:focus-within { - border-color: #8c40ef; +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-67:hover { +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-68 label { - display: none; +.emotion-65[data-state='success'] { + border: 1px solid #22674e; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-68 label { - display: none; +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-73 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; } -.emotion-75 { +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-75 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-78 { +.emotion-72 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-78 .fillStroke { - stroke: currentColor; +.emotion-72 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-78 { +.emotion-72 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-78 .fillStroke { - stroke: currentColor; +.emotion-72 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-86 { +.emotion-76 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6872,7 +7033,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` min-width: 230px; } -.emotion-86 { +.emotion-76 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6880,7 +7041,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` min-width: 230px; } -.emotion-88 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6901,7 +7062,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` padding-bottom: 8px; } -.emotion-88 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6922,15 +7083,15 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` padding-bottom: 8px; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -6957,7 +7118,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` margin-right: 4px; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -6984,7 +7145,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` margin-right: 4px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6996,7 +7157,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` min-width: 126px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -7008,10 +7169,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` min-width: 126px; } -.emotion-104 { +.emotion-94 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -7021,29 +7182,29 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` text-align: right; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -7060,7 +7221,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` min-width: 126px; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -7077,10 +7238,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` min-width: 126px; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -7090,10 +7251,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` text-align: right; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -7157,14 +7318,11 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` > @@ -7212,14 +7370,11 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` > @@ -7233,132 +7388,82 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` class="emotion-47 emotion-48" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -7367,14 +7472,14 @@ exports[`EstimateCost - Item > render with priceText 1`] = `

render with priceText 1`] = `
Test
@@ -7401,10 +7506,10 @@ exports[`EstimateCost - Item > render with priceText 1`] = `

included

@@ -7415,7 +7520,7 @@ exports[`EstimateCost - Item > render with priceText 1`] = ` @@ -7427,13 +7532,13 @@ exports[`EstimateCost - Item > render with priceText 1`] = `

render with tabulation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7470,10 +7575,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -7481,10 +7586,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7493,10 +7598,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -7518,6 +7623,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -7539,6 +7645,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -7612,10 +7719,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7624,10 +7731,9 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -7635,10 +7741,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7647,10 +7753,9 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -7658,10 +7763,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7670,10 +7775,9 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -7681,10 +7785,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7693,15 +7797,14 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -7712,7 +7815,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -7836,10 +7939,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -7848,10 +7951,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-23 { @@ -7859,10 +7962,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -7871,19 +7974,19 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -7891,17 +7994,13 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -7909,10 +8008,6 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -8072,10 +8167,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -8084,17 +8179,13 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -8103,10 +8194,6 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-45 { padding-left: 16px; padding-right: 16px; @@ -8144,792 +8231,904 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` float: right; } -.emotion-47 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-47 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-52[data-size='small'] { + height: 2rem; +} + +.emotion-52[data-size='medium'] { + height: 2.5rem; +} + +.emotion-52[data-size='large'] { + height: 3rem; +} + +.emotion-52[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-52[data-size='small'] { + height: 2rem; +} + +.emotion-52[data-size='medium'] { + height: 2.5rem; +} + +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-53 { - position: relative; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-53 { - position: relative; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +.emotion-54 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-54 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; outline: none; - position: relative; + height: 100%; width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-56[data-size="small"] { padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-55::-moz-placeholder { +.emotion-56::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-55:-ms-input-placeholder { +.emotion-56::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-55::placeholder { +.emotion-56:-ms-input-placeholder { color: #727683; - opacity: 0; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-56::placeholder { + color: #727683; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-55::placeholder { - opacity: 1; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; outline: none; - position: relative; + height: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-55:-ms-input-placeholder { +.emotion-56::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-55::placeholder { +.emotion-56::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-56::placeholder { + color: #727683; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-55::placeholder { - opacity: 1; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-57 { - height: auto; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-57 { - height: auto; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } .emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 100%; + width: 100%; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-61 { + display: inherit; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-63 { +.emotion-61[data-container-full-width="true"] { width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-61 { + display: inherit; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-63 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-67:focus-within { +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-67:focus-within { - border-color: #8c40ef; +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-67:hover { +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-68 label { - display: none; +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-65[data-state='success'] { + border: 1px solid #22674e; } -.emotion-68 label { - display: none; +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-73 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; } -.emotion-75 { +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-75 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); } -.emotion-78 { +.emotion-72 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-78 .fillStroke { - stroke: currentColor; +.emotion-72 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-78 { +.emotion-72 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-78 .fillStroke { - stroke: currentColor; +.emotion-72 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-86 { +.emotion-76 { padding-left: 32px; padding-right: 16px; position: relative; @@ -8937,7 +9136,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` min-width: 230px; } -.emotion-88 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -8958,7 +9157,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` padding-bottom: 8px; } -.emotion-88 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -8979,15 +9178,15 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` padding-bottom: 8px; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -9014,7 +9213,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` margin-right: 4px; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -9041,7 +9240,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` margin-right: 4px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -9053,7 +9252,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` min-width: 126px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -9065,10 +9264,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` min-width: 126px; } -.emotion-104 { +.emotion-94 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -9078,29 +9277,29 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` text-align: right; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -9117,7 +9316,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` min-width: 126px; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -9134,10 +9333,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` min-width: 126px; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -9147,10 +9346,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` text-align: right; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -9214,14 +9413,11 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` > @@ -9269,14 +9465,11 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` > @@ -9290,132 +9483,82 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` class="emotion-47 emotion-48" >
-
-
-
-
- - -
- -
- Hour(s) -
-
- -
-
-
-
- -
-
-
@@ -9424,14 +9567,14 @@ exports[`EstimateCost - Item > render with tabulation 1`] = `

render with tabulation 1`] = `
Test
@@ -9458,10 +9601,10 @@ exports[`EstimateCost - Item > render with tabulation 1`] = `

€0.00

@@ -9472,7 +9615,7 @@ exports[`EstimateCost - Item > render with tabulation 1`] = ` @@ -9484,13 +9627,13 @@ exports[`EstimateCost - Item > render with tabulation 1`] = `

render with tooltipInfo 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9527,10 +9670,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -9538,10 +9681,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9550,10 +9693,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -9575,6 +9718,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -9596,6 +9740,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -9677,10 +9822,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9689,10 +9834,9 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -9700,10 +9844,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9712,10 +9856,9 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -9723,10 +9866,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9735,10 +9878,9 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -9746,10 +9888,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9758,15 +9900,14 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -9777,7 +9918,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -9802,13 +9943,25 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` width: 100%; } +.emotion-18 { + display: inherit; +} + +.emotion-18[data-container-full-height="true"] { + height: 100%; +} + +.emotion-18[data-container-full-width="true"] { + width: 100%; +} + .emotion-20 { vertical-align: middle; fill: currentColor; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-20 .fillStroke { @@ -9816,10 +9969,6 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` fill: none; } -.emotion-20 path { - fill: currentColor; -} - .emotion-22 { text-align: initial; height: 48px; @@ -9935,10 +10084,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -9947,10 +10096,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-29 { @@ -9958,10 +10107,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -9970,19 +10119,19 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-31 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-31 .fillStroke { @@ -9990,17 +10139,13 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` fill: none; } -.emotion-31 path { - fill: currentColor; -} - .emotion-31 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-31 .fillStroke { @@ -10008,10 +10153,6 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` fill: none; } -.emotion-31 path { - fill: currentColor; -} - .emotion-33 { height: 48px; display: -webkit-box; @@ -10171,10 +10312,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` .emotion-49 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -10183,17 +10324,13 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` fill: none; } -.emotion-49 path { - fill: currentColor; -} - .emotion-49 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -10202,10 +10339,6 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` fill: none; } -.emotion-49 path { - fill: currentColor; -} - .emotion-51 { padding-left: 16px; padding-right: 16px; @@ -10255,8 +10388,56 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` } .emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-58 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10265,11 +10446,139 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-61, +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-61 { + border-right-color: #8c40ef; +} + +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-61 { + border-right-color: #8c40ef; +} + +.emotion-58:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-58:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-58:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-61, +.emotion-58:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-61 { + border-right-color: #8c40ef; +} + +.emotion-58[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-58[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-58[data-size='small'] { + height: 2rem; +} + +.emotion-58[data-size='medium'] { + height: 2.5rem; +} + +.emotion-58[data-size='large'] { + height: 3rem; +} + +.emotion-58[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-58[data-success='true']>.emotion-61 { + border-right-color: #22674e; +} + +.emotion-58[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-58[data-success='true']:active>.emotion-61 { + border-right-color: #22674e; +} + +.emotion-58[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-58[data-error='true']>.emotion-61 { + border-right-color: #b3144d; +} + +.emotion-58[data-error='true']>.emotion-61:hover { + border-right-color: #b3144d; +} + +.emotion-58[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-58[data-error='true']:active>.emotion-61 { + border-right-color: #b3144d; } -.emotion-55 { +.emotion-58[data-error='true']:active>.emotion-61:hover { + border-right-color: #b3144d; +} + +.emotion-58[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-58[data-disabled='true']>.emotion-61 { + border-right-color: #e9eaeb; +} + +.emotion-58 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10278,757 +10587,669 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-61, +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-61 { + border-right-color: #8c40ef; +} + +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-57 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-58:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-61 { + border-right-color: #8c40ef; } -.emotion-57 input:hover, -.emotion-57 input:focus { +.emotion-58:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-58:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-57 input[type='number']::-webkit-inner-spin-button, -.emotion-57 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-58:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-61, +.emotion-58:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-61 { + border-right-color: #8c40ef; } -.emotion-57 input[type='number'] { - -moz-appearance: textfield; +.emotion-58[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-57 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-58[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-57 input:hover, -.emotion-57 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-58[data-size='small'] { + height: 2rem; } -.emotion-57 input[type='number']::-webkit-inner-spin-button, -.emotion-57 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-58[data-size='medium'] { + height: 2.5rem; } -.emotion-57 input[type='number'] { - -moz-appearance: textfield; +.emotion-58[data-size='large'] { + height: 3rem; } -.emotion-59 { - position: relative; +.emotion-58[data-success='true'] { + border: 1px solid #22674e; } -.emotion-59 { - position: relative; +.emotion-58[data-success='true']>.emotion-61 { + border-right-color: #22674e; } -.emotion-61 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +.emotion-58[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-58[data-success='true']:active>.emotion-61 { + border-right-color: #22674e; +} + +.emotion-58[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-58[data-error='true']>.emotion-61 { + border-right-color: #b3144d; +} + +.emotion-58[data-error='true']>.emotion-61:hover { + border-right-color: #b3144d; +} + +.emotion-58[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-58[data-error='true']:active>.emotion-61 { + border-right-color: #b3144d; +} + +.emotion-58[data-error='true']:active>.emotion-61:hover { + border-right-color: #b3144d; +} + +.emotion-58[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-58[data-disabled='true']>.emotion-61 { + border-right-color: #e9eaeb; +} + +.emotion-60 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-62 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; outline: none; - position: relative; + height: 100%; width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-62[data-size="small"] { padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-61::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-62[data-size="large"] { + font-size: 1rem; } -.emotion-61::-moz-placeholder { +.emotion-62::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-61:-ms-input-placeholder { +.emotion-62::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-61::placeholder { +.emotion-62:-ms-input-placeholder { color: #727683; - opacity: 0; } -.emotion-61:hover, -.emotion-61:focus { - border-color: #792dd4; +.emotion-62::placeholder { + color: #727683; } -.emotion-61:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-62:disabled { + cursor: not-allowed; } -.emotion-61::-webkit-input-placeholder { - opacity: 1; +.emotion-62:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-61::-moz-placeholder { - opacity: 1; +.emotion-62:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-61:-ms-input-placeholder { - opacity: 1; +.emotion-62:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-61::placeholder { - opacity: 1; +.emotion-62:disabled::placeholder { + color: #b5b7bd; } -.emotion-61 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +.emotion-62 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; outline: none; - position: relative; + height: 100%; width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-62[data-size="small"] { padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-61::-webkit-input-placeholder { +.emotion-62[data-size="large"] { + font-size: 1rem; +} + +.emotion-62::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-61::-moz-placeholder { +.emotion-62::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-61:-ms-input-placeholder { +.emotion-62:-ms-input-placeholder { color: #727683; - opacity: 0; } -.emotion-61::placeholder { +.emotion-62::placeholder { color: #727683; - opacity: 0; } -.emotion-61:hover, -.emotion-61:focus { - border-color: #792dd4; +.emotion-62:disabled { + cursor: not-allowed; } -.emotion-61:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-62:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-61::-webkit-input-placeholder { - opacity: 1; +.emotion-62:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-61::-moz-placeholder { - opacity: 1; +.emotion-62:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-61:-ms-input-placeholder { - opacity: 1; +.emotion-62:disabled::placeholder { + color: #b5b7bd; } -.emotion-61::placeholder { - opacity: 1; +.emotion-65 { + width: 100%; + width: 100%; } -.emotion-63 { - height: auto; +.emotion-65 #unit { + border: none; + background: transparent; } -.emotion-63[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-65 #unit:focus, +.emotion-65 #unit:active { + box-shadow: none; } -.emotion-63 { - height: auto; +.emotion-65 { + width: 100%; + width: 100%; } -.emotion-63[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-65 #unit { + border: none; + background: transparent; } -.emotion-65 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65 #unit:focus, +.emotion-65 #unit:active { + box-shadow: none; } -.emotion-65 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-69 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-69 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-69:hover, -.emotion-69:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-71 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-69:hover, -.emotion-69:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-71[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-69 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-71[data-size='medium'] { + height: 2.5rem; } -.emotion-69:hover, -.emotion-69:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-71[data-size='large'] { + height: 3rem; } -.emotion-69:hover, -.emotion-69:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-71[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-71[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-71[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-71[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-71[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-71[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-71[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-71[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-71[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-71[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-71[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-71:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-71[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-71[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } .emotion-71 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-71[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-71 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-71[data-size='medium'] { + height: 2.5rem; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-71[data-size='large'] { + height: 3rem; } -.emotion-73:hover { - border-color: hsl(0, 0%, 70%); +.emotion-71[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-73:focus-within { - border-color: #8c40ef; +.emotion-71[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-73:hover { +.emotion-71[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-71[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-73:hover { - border-color: hsl(0, 0%, 70%); +.emotion-71[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-73:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-71[data-state='success'] { + border: 1px solid #22674e; } -.emotion-73:hover { - border-color: #792dd4; +.emotion-71[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-71[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-74 label { - display: none; +.emotion-71[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-71[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-74 label { - display: none; +.emotion-71[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-75 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-71:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-75 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-71[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-77 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-71[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-77 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-74 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-78 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-78:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-78 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-78:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-74 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-79 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-76 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-79 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; } -.emotion-80 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-80 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-81 { +.emotion-76 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-81:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-81 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-81:hover { - color: hsl(0, 0%, 60%); } -.emotion-84 { +.emotion-78 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-84 .fillStroke { - stroke: currentColor; +.emotion-78 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-84 { +.emotion-78 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-84 .fillStroke { - stroke: currentColor; +.emotion-78 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-88 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-88 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-92 { +.emotion-82 { padding-left: 16px; padding-right: 16px; position: relative; @@ -11036,7 +11257,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` min-width: 230px; } -.emotion-92 { +.emotion-82 { padding-left: 16px; padding-right: 16px; position: relative; @@ -11044,7 +11265,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` min-width: 230px; } -.emotion-94 { +.emotion-84 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11065,7 +11286,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` padding-bottom: 8px; } -.emotion-94 { +.emotion-84 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11086,15 +11307,15 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` padding-bottom: 8px; } -.emotion-108 { +.emotion-98 { text-align: right; } -.emotion-108 { +.emotion-98 { text-align: right; } -.emotion-111 { +.emotion-101 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -11121,7 +11342,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` margin-right: 4px; } -.emotion-111 { +.emotion-101 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -11148,7 +11369,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` margin-right: 4px; } -.emotion-113 { +.emotion-103 { padding-left: 16px; padding-right: 16px; position: relative; @@ -11160,7 +11381,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` min-width: 126px; } -.emotion-113 { +.emotion-103 { padding-left: 16px; padding-right: 16px; position: relative; @@ -11172,10 +11393,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` min-width: 126px; } -.emotion-116 { +.emotion-106 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -11185,29 +11406,29 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` text-align: right; } -.emotion-118 { +.emotion-108 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-118 { +.emotion-108 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-122 { +.emotion-112 { width: 70%; } -.emotion-122 { +.emotion-112 { width: 70%; } -.emotion-124 { +.emotion-114 { padding-left: 16px; padding-right: 16px; position: relative; @@ -11224,7 +11445,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` min-width: 126px; } -.emotion-124 { +.emotion-114 { padding-left: 16px; padding-right: 16px; position: relative; @@ -11241,10 +11462,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` min-width: 126px; } -.emotion-127 { +.emotion-117 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -11254,10 +11475,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` text-align: right; } -.emotion-127 { +.emotion-117 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -11303,22 +11524,18 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` class="emotion-16 emotion-17" >
@@ -11345,14 +11562,11 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` > @@ -11400,14 +11614,11 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` > @@ -11421,132 +11632,82 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` class="emotion-53 emotion-54" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -11555,14 +11716,14 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = `

render with tooltipInfo 1`] = ` class="emotion-16 emotion-17" >
@@ -11602,10 +11759,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = `
Test
@@ -11613,10 +11770,10 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = `

€0.00

@@ -11627,7 +11784,7 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = ` @@ -11639,13 +11796,13 @@ exports[`EstimateCost - Item > render with tooltipInfo 1`] = `

render region component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`EstimateCost - Region > render region component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -44,6 +44,7 @@ exports[`EstimateCost - Region > render region component 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -88,10 +89,10 @@ exports[`EstimateCost - Region > render region component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -100,10 +101,9 @@ exports[`EstimateCost - Region > render region component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -111,10 +111,10 @@ exports[`EstimateCost - Region > render region component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -123,15 +123,14 @@ exports[`EstimateCost - Region > render region component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -205,10 +204,10 @@ exports[`EstimateCost - Region > render region component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -217,19 +216,19 @@ exports[`EstimateCost - Region > render region component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-27 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-27 .fillStroke { @@ -237,10 +236,6 @@ exports[`EstimateCost - Region > render region component 1`] = ` fill: none; } -.emotion-27 path { - fill: currentColor; -} - .emotion-29 { height: 48px; display: -webkit-box; @@ -322,10 +317,10 @@ exports[`EstimateCost - Region > render region component 1`] = ` .emotion-45 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -334,10 +329,6 @@ exports[`EstimateCost - Region > render region component 1`] = ` fill: none; } -.emotion-45 path { - fill: currentColor; -} - .emotion-47 { padding-left: 16px; padding-right: 16px; @@ -363,8 +354,32 @@ exports[`EstimateCost - Region > render region component 1`] = ` } .emotion-51 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-54 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -373,383 +388,415 @@ exports[`EstimateCost - Region > render region component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-53 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-57, +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-57 { + border-right-color: #8c40ef; +} + +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-53 input:hover, -.emotion-53 input:focus { +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-57 { + border-right-color: #8c40ef; +} + +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-53 input[type='number']::-webkit-inner-spin-button, -.emotion-53 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-57, +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-57 { + border-right-color: #8c40ef; } -.emotion-53 input[type='number'] { - -moz-appearance: textfield; +.emotion-54[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-55 { - position: relative; +.emotion-54[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-57 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-54[data-size='small'] { + height: 2rem; +} + +.emotion-54[data-size='medium'] { + height: 2.5rem; +} + +.emotion-54[data-size='large'] { + height: 3rem; +} + +.emotion-54[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-54[data-success='true']>.emotion-57 { + border-right-color: #22674e; +} + +.emotion-54[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-54[data-success='true']:active>.emotion-57 { + border-right-color: #22674e; +} + +.emotion-54[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-54[data-error='true']>.emotion-57 { + border-right-color: #b3144d; +} + +.emotion-54[data-error='true']>.emotion-57:hover { + border-right-color: #b3144d; +} + +.emotion-54[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-54[data-error='true']:active>.emotion-57 { + border-right-color: #b3144d; +} + +.emotion-54[data-error='true']:active>.emotion-57:hover { + border-right-color: #b3144d; +} + +.emotion-54[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-54[data-disabled='true']>.emotion-57 { + border-right-color: #e9eaeb; +} + +.emotion-56 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; + height: 100%; } -.emotion-57::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-58 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-57::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-58[data-size="small"] { + padding-left: 0.5rem; } -.emotion-57:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-58[data-size="large"] { + font-size: 1rem; } -.emotion-57::placeholder { +.emotion-58::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-57:hover, -.emotion-57:focus { - border-color: #792dd4; +.emotion-58::-moz-placeholder { + color: #727683; } -.emotion-57:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-58:-ms-input-placeholder { + color: #727683; } -.emotion-57::-webkit-input-placeholder { - opacity: 1; +.emotion-58::placeholder { + color: #727683; } -.emotion-57::-moz-placeholder { - opacity: 1; +.emotion-58:disabled { + cursor: not-allowed; } -.emotion-57:-ms-input-placeholder { - opacity: 1; +.emotion-58:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-57::placeholder { - opacity: 1; +.emotion-58:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-59 { - height: auto; +.emotion-58:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-59[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-58:disabled::placeholder { + color: #b5b7bd; } .emotion-61 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 100%; + width: 100%; } -.emotion-65 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-61 #unit { + border: none; + background: transparent; } -.emotion-65:hover, -.emotion-65:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-61 #unit:focus, +.emotion-61 #unit:active { box-shadow: none; } -.emotion-65:hover, -.emotion-65:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-63 { + display: inherit; } -.emotion-67 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-63[data-container-full-height="true"] { + height: 100%; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-63[data-container-full-width="true"] { + width: 100%; +} + +.emotion-65 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-67 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-67[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-69:hover { - border-color: hsl(0, 0%, 70%); +.emotion-67[data-size='medium'] { + height: 2.5rem; } -.emotion-69:focus-within { - border-color: #8c40ef; +.emotion-67[data-size='large'] { + height: 3rem; +} + +.emotion-67[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-67[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-69:hover { +.emotion-67[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-70 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-67[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-70 label { - display: none; +.emotion-67[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-71 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-67[data-state='success'] { + border: 1px solid #22674e; } -.emotion-73 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-67[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-74 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-74:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-67[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-75 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-67[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-67[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-67[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-67:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-67[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-67[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-70 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-72 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-76 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-77 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-77:hover { - color: hsl(0, 0%, 60%); } -.emotion-80 { +.emotion-74 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-80 .fillStroke { - stroke: currentColor; +.emotion-74 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-84 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-88 { +.emotion-78 { padding-left: 16px; padding-right: 16px; position: relative; @@ -757,7 +804,7 @@ exports[`EstimateCost - Region > render region component 1`] = ` min-width: 230px; } -.emotion-90 { +.emotion-80 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -778,11 +825,11 @@ exports[`EstimateCost - Region > render region component 1`] = ` padding-bottom: 8px; } -.emotion-98 { +.emotion-88 { text-align: right; } -.emotion-101 { +.emotion-91 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -809,7 +856,7 @@ exports[`EstimateCost - Region > render region component 1`] = ` margin-right: 4px; } -.emotion-105 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -821,10 +868,10 @@ exports[`EstimateCost - Region > render region component 1`] = ` min-width: 126px; } -.emotion-108 { +.emotion-98 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -834,18 +881,18 @@ exports[`EstimateCost - Region > render region component 1`] = ` text-align: right; } -.emotion-110 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -862,10 +909,10 @@ exports[`EstimateCost - Region > render region component 1`] = ` min-width: 126px; } -.emotion-119 { +.emotion-109 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -934,14 +981,11 @@ exports[`EstimateCost - Region > render region component 1`] = ` > @@ -989,14 +1033,11 @@ exports[`EstimateCost - Region > render region component 1`] = ` > @@ -1010,132 +1051,82 @@ exports[`EstimateCost - Region > render region component 1`] = ` class="emotion-49 emotion-50" >
-
-
-
- - -
-
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -1144,14 +1135,14 @@ exports[`EstimateCost - Region > render region component 1`] = `

render region component 1`] = `
nl-ams render region component 1`] = `

€0.00

@@ -1197,7 +1188,7 @@ exports[`EstimateCost - Region > render region component 1`] = ` @@ -1209,13 +1200,13 @@ exports[`EstimateCost - Region > render region component 1`] = `

render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -44,6 +44,7 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -88,10 +89,10 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -100,10 +101,9 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -111,10 +111,10 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -123,15 +123,14 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -188,10 +187,10 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -200,19 +199,19 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-24 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-24 .fillStroke { @@ -220,10 +219,6 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` fill: none; } -.emotion-24 path { - fill: currentColor; -} - .emotion-26 { height: 48px; display: -webkit-box; @@ -305,10 +300,10 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` .emotion-42 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -317,10 +312,6 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` fill: none; } -.emotion-42 path { - fill: currentColor; -} - .emotion-44 { padding-left: 16px; padding-right: 16px; @@ -346,8 +337,32 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` } .emotion-48 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-51 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -356,391 +371,423 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-50 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-50 input:hover, -.emotion-50 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-50 input[type='number']::-webkit-inner-spin-button, -.emotion-50 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-50 input[type='number'] { - -moz-appearance: textfield; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-52 { - position: relative; +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-54 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-54::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-51[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-54::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-51[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-54:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-51[data-size='small'] { + height: 2rem; } -.emotion-54::placeholder { - color: #727683; - opacity: 0; +.emotion-51[data-size='medium'] { + height: 2.5rem; } -.emotion-54:hover, -.emotion-54:focus { - border-color: #792dd4; +.emotion-51[data-size='large'] { + height: 3rem; } -.emotion-54:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-51[data-success='true'] { + border: 1px solid #22674e; } -.emotion-54::-webkit-input-placeholder { - opacity: 1; +.emotion-51[data-success='true']>.emotion-54 { + border-right-color: #22674e; } -.emotion-54::-moz-placeholder { - opacity: 1; +.emotion-51[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-54:-ms-input-placeholder { - opacity: 1; +.emotion-51[data-success='true']:active>.emotion-54 { + border-right-color: #22674e; } -.emotion-54::placeholder { - opacity: 1; +.emotion-51[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-56 { - height: auto; +.emotion-51[data-error='true']>.emotion-54 { + border-right-color: #b3144d; } -.emotion-56[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-51[data-error='true']>.emotion-54:hover { + border-right-color: #b3144d; } -.emotion-58 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-51[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-62 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-51[data-error='true']:active>.emotion-54 { + border-right-color: #b3144d; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-51[data-error='true']:active>.emotion-54:hover { + border-right-color: #b3144d; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-51[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-64 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-51[data-disabled='true']>.emotion-54 { + border-right-color: #e9eaeb; } -.emotion-66 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-53 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-66:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-66:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-66:hover { - border-color: #792dd4; -} - -.emotion-67 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-55 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-67 label { - display: none; +.emotion-55[data-size="small"] { + padding-left: 0.5rem; } -.emotion-68 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-55[data-size="large"] { + font-size: 1rem; } -.emotion-70 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-55::-webkit-input-placeholder { + color: #727683; } -.emotion-71 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-71:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-55::-moz-placeholder { + color: #727683; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-55:-ms-input-placeholder { + color: #727683; } -.emotion-73 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-55::placeholder { + color: #727683; } -.emotion-74 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-55:disabled { + cursor: not-allowed; } -.emotion-74:hover { - color: hsl(0, 0%, 60%); +.emotion-55:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-77 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-55:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-77 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-55:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-81 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-55:disabled::placeholder { + color: #b5b7bd; } -.emotion-85 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-58 { + width: 100%; + width: 100%; } -.emotion-87 { +.emotion-58 #unit { + border: none; + background: transparent; +} + +.emotion-58 #unit:focus, +.emotion-58 #unit:active { + box-shadow: none; +} + +.emotion-60 { + display: inherit; +} + +.emotion-60[data-container-full-height="true"] { + height: 100%; +} + +.emotion-60[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-64 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-64[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-64[data-size='medium'] { + height: 2.5rem; +} + +.emotion-64[data-size='large'] { + height: 3rem; +} + +.emotion-64[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-64[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-64[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-64[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-64[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-64[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-64[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-64[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-64[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-64[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-64[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-64:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-64[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-64[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-67 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-69 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-71 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-71 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-75 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-77 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -761,11 +808,11 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` padding-bottom: 8px; } -.emotion-95 { +.emotion-85 { text-align: right; } -.emotion-97 { +.emotion-87 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -780,7 +827,7 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` margin-right: 4px; } -.emotion-99 { +.emotion-89 { padding-left: 16px; padding-right: 16px; position: relative; @@ -792,10 +839,10 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` min-width: 126px; } -.emotion-102 { +.emotion-92 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -805,18 +852,18 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` text-align: right; } -.emotion-104 { +.emotion-94 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-108 { +.emotion-98 { width: 70%; } -.emotion-110 { +.emotion-100 { padding-left: 16px; padding-right: 16px; position: relative; @@ -833,10 +880,10 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` min-width: 126px; } -.emotion-113 { +.emotion-103 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -900,14 +947,11 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` > @@ -955,14 +999,11 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` > @@ -976,132 +1017,82 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` class="emotion-46 emotion-47" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -1110,14 +1101,14 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = `

render basic props 1`] = `
This is a regular Item
@@ -1144,10 +1135,10 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = `

€0.00

@@ -1158,7 +1149,7 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = ` @@ -1170,13 +1161,13 @@ exports[`EstimateCost - Regular Item > render basic props 1`] = `

render basic props with is not defined 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1213,10 +1204,10 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -1238,6 +1229,7 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -1282,10 +1274,10 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1294,10 +1286,9 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -1305,10 +1296,10 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1317,15 +1308,14 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1367,10 +1357,10 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1379,19 +1369,19 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-22 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-22 .fillStroke { @@ -1399,10 +1389,6 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` fill: none; } -.emotion-22 path { - fill: currentColor; -} - .emotion-24 { height: 48px; display: -webkit-box; @@ -1484,10 +1470,10 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` .emotion-40 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -1496,10 +1482,6 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` fill: none; } -.emotion-40 path { - fill: currentColor; -} - .emotion-42 { padding-left: 16px; padding-right: 16px; @@ -1525,8 +1507,32 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` } .emotion-46 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-49 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1535,461 +1541,493 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-48 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-48 input:hover, -.emotion-48 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-52, +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-52 { + border-right-color: #8c40ef; } -.emotion-48 input[type='number']::-webkit-inner-spin-button, -.emotion-48 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-48 input[type='number'] { - -moz-appearance: textfield; +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-52 { + border-right-color: #8c40ef; } -.emotion-50 { - position: relative; +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-52 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-52, +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-52 { + border-right-color: #8c40ef; } -.emotion-52::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-49[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-52::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-49[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-52:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-49[data-size='small'] { + height: 2rem; } -.emotion-52::placeholder { - color: #727683; - opacity: 0; +.emotion-49[data-size='medium'] { + height: 2.5rem; } -.emotion-52:hover, -.emotion-52:focus { - border-color: #792dd4; +.emotion-49[data-size='large'] { + height: 3rem; } -.emotion-52:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-49[data-success='true'] { + border: 1px solid #22674e; } -.emotion-52::-webkit-input-placeholder { - opacity: 1; +.emotion-49[data-success='true']>.emotion-52 { + border-right-color: #22674e; } -.emotion-52::-moz-placeholder { - opacity: 1; +.emotion-49[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-52:-ms-input-placeholder { - opacity: 1; +.emotion-49[data-success='true']:active>.emotion-52 { + border-right-color: #22674e; } -.emotion-52::placeholder { - opacity: 1; +.emotion-49[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-54 { - height: auto; +.emotion-49[data-error='true']>.emotion-52 { + border-right-color: #b3144d; } -.emotion-54[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-49[data-error='true']>.emotion-52:hover { + border-right-color: #b3144d; } -.emotion-56 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-49[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-60 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-49[data-error='true']:active>.emotion-52 { + border-right-color: #b3144d; } -.emotion-60:hover, -.emotion-60:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-49[data-error='true']:active>.emotion-52:hover { + border-right-color: #b3144d; } -.emotion-60:hover, -.emotion-60:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-49[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-62 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-49[data-disabled='true']>.emotion-52 { + border-right-color: #e9eaeb; } -.emotion-64 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-51 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-64:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-64:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-64:hover { - border-color: #792dd4; -} - -.emotion-65 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-53 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-65 label { - display: none; +.emotion-53[data-size="small"] { + padding-left: 0.5rem; } -.emotion-66 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-53[data-size="large"] { + font-size: 1rem; } -.emotion-68 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-53::-webkit-input-placeholder { + color: #727683; } -.emotion-69 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-69:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-53::-moz-placeholder { + color: #727683; } -.emotion-70 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-53:-ms-input-placeholder { + color: #727683; } -.emotion-71 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-53::placeholder { + color: #727683; } -.emotion-72 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-53:disabled { + cursor: not-allowed; } -.emotion-72:hover { - color: hsl(0, 0%, 60%); +.emotion-53:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-75 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-53:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-75 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-53:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-79 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-53:disabled::placeholder { + color: #b5b7bd; } -.emotion-83 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-56 { + width: 100%; + width: 100%; } -.emotion-85 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-56 #unit { + border: none; + background: transparent; } -.emotion-93 { - text-align: right; +.emotion-56 #unit:focus, +.emotion-56 #unit:active { + box-shadow: none; } -.emotion-95 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-58 { + display: inherit; } -.emotion-98 { - color: #727683; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-58[data-container-full-height="true"] { + height: 100%; } -.emotion-100 { - margin: 0; +.emotion-58[data-container-full-width="true"] { width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; -} - -.emotion-104 { - width: 70%; } -.emotion-106 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; +.emotion-60 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-62 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-62[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-62[data-size='medium'] { + height: 2.5rem; +} + +.emotion-62[data-size='large'] { + height: 3rem; +} + +.emotion-62[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-62[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-62[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-62[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-62[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-62[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-62[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-62[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-62[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-62[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-62[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-62:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-62[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-62[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-65 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-69 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-69 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-73 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-75 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-83 { + text-align: right; +} + +.emotion-85 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-88 { + color: #727683; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-90 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-94 { + width: 70%; +} + +.emotion-96 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; border-radius: 0 0 0.25rem 0.25rem; height: 56px; background-color: #f1eefc; @@ -1997,10 +2035,10 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` min-width: 126px; } -.emotion-109 { +.emotion-99 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -2060,14 +2098,11 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` > @@ -2115,14 +2150,11 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` > @@ -2136,132 +2168,82 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` class="emotion-44 emotion-45" >
-
-
-
-
- - -
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -2270,14 +2252,14 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1`

render basic props with is not defined 1`
Not defined

€0.00

@@ -2314,7 +2296,7 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1` @@ -2326,13 +2308,13 @@ exports[`EstimateCost - Regular Item > render basic props with is not defined 1`

render basic props with long fractions di display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2369,10 +2351,10 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -2394,6 +2376,7 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -2438,10 +2421,10 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2450,10 +2433,9 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -2461,10 +2443,10 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2473,15 +2455,14 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2538,10 +2519,10 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2550,19 +2531,19 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-24 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-24 .fillStroke { @@ -2570,10 +2551,6 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di fill: none; } -.emotion-24 path { - fill: currentColor; -} - .emotion-26 { height: 48px; display: -webkit-box; @@ -2655,10 +2632,10 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di .emotion-42 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -2667,10 +2644,6 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di fill: none; } -.emotion-42 path { - fill: currentColor; -} - .emotion-44 { padding-left: 16px; padding-right: 16px; @@ -2696,8 +2669,32 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di } .emotion-48 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-51 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2706,399 +2703,431 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-50 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-50 input:hover, -.emotion-50 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-50 input[type='number']::-webkit-inner-spin-button, -.emotion-50 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-50 input[type='number'] { - -moz-appearance: textfield; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-52 { - position: relative; +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-54 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-54::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-51[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-54::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-51[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-54:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-51[data-size='small'] { + height: 2rem; } -.emotion-54::placeholder { - color: #727683; - opacity: 0; +.emotion-51[data-size='medium'] { + height: 2.5rem; } -.emotion-54:hover, -.emotion-54:focus { - border-color: #792dd4; +.emotion-51[data-size='large'] { + height: 3rem; } -.emotion-54:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-51[data-success='true'] { + border: 1px solid #22674e; } -.emotion-54::-webkit-input-placeholder { - opacity: 1; +.emotion-51[data-success='true']>.emotion-54 { + border-right-color: #22674e; } -.emotion-54::-moz-placeholder { - opacity: 1; +.emotion-51[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-54:-ms-input-placeholder { - opacity: 1; +.emotion-51[data-success='true']:active>.emotion-54 { + border-right-color: #22674e; } -.emotion-54::placeholder { - opacity: 1; +.emotion-51[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-56 { - height: auto; +.emotion-51[data-error='true']>.emotion-54 { + border-right-color: #b3144d; } -.emotion-56[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-51[data-error='true']>.emotion-54:hover { + border-right-color: #b3144d; } -.emotion-58 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-51[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-62 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-51[data-error='true']:active>.emotion-54 { + border-right-color: #b3144d; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-51[data-error='true']:active>.emotion-54:hover { + border-right-color: #b3144d; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-51[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-64 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-51[data-disabled='true']>.emotion-54 { + border-right-color: #e9eaeb; } -.emotion-66 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-53 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-55 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-66:hover { - border-color: hsl(0, 0%, 70%); +.emotion-55[data-size="small"] { + padding-left: 0.5rem; } -.emotion-66:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-55[data-size="large"] { + font-size: 1rem; } -.emotion-66:hover { - border-color: #792dd4; +.emotion-55::-webkit-input-placeholder { + color: #727683; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-55::-moz-placeholder { + color: #727683; } -.emotion-67 label { - display: none; +.emotion-55:-ms-input-placeholder { + color: #727683; } -.emotion-68 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-55::placeholder { + color: #727683; } -.emotion-70 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-55:disabled { + cursor: not-allowed; } -.emotion-71 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-71:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-55:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-55:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-73 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-55:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-74 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-55:disabled::placeholder { + color: #b5b7bd; } -.emotion-74:hover { - color: hsl(0, 0%, 60%); +.emotion-58 { + width: 100%; + width: 100%; } -.emotion-77 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-58 #unit { + border: none; + background: transparent; } -.emotion-77 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-58 #unit:focus, +.emotion-58 #unit:active { + box-shadow: none; } -.emotion-81 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-60 { + display: inherit; } -.emotion-85 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-60[data-container-full-height="true"] { + height: 100%; } -.emotion-87 { +.emotion-60[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-64 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-64[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-64[data-size='medium'] { + height: 2.5rem; +} + +.emotion-64[data-size='large'] { + height: 3rem; +} + +.emotion-64[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-64[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-64[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-64[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-64[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-64[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-64[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-64[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-64[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-64[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-64[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-64:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-64[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-64[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-67 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-69 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-71 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-71 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-75 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-77 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; @@ -3111,11 +3140,11 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di padding-bottom: 8px; } -.emotion-95 { +.emotion-85 { text-align: right; } -.emotion-97 { +.emotion-87 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3130,7 +3159,7 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di margin-right: 4px; } -.emotion-99 { +.emotion-89 { padding-left: 16px; padding-right: 16px; position: relative; @@ -3142,10 +3171,10 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di min-width: 126px; } -.emotion-102 { +.emotion-92 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3155,18 +3184,18 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di text-align: right; } -.emotion-104 { +.emotion-94 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-108 { +.emotion-98 { width: 70%; } -.emotion-110 { +.emotion-100 { padding-left: 16px; padding-right: 16px; position: relative; @@ -3183,10 +3212,10 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di min-width: 126px; } -.emotion-113 { +.emotion-103 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -3250,14 +3279,11 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di > @@ -3305,14 +3331,11 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di > @@ -3326,132 +3349,82 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di class="emotion-46 emotion-47" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -3460,14 +3433,14 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di

render basic props with long fractions di
This is a regular Item
@@ -3494,10 +3467,10 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di

€0.000001

@@ -3508,7 +3481,7 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di @@ -3520,13 +3493,13 @@ exports[`EstimateCost - Regular Item > render basic props with long fractions di

render basic props with maxPrice 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3563,10 +3536,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -3588,6 +3561,7 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -3632,10 +3606,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3644,10 +3618,9 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -3655,10 +3628,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3667,15 +3640,14 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -3732,10 +3704,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3744,19 +3716,19 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-24 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-24 .fillStroke { @@ -3764,10 +3736,6 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` fill: none; } -.emotion-24 path { - fill: currentColor; -} - .emotion-26 { height: 48px; display: -webkit-box; @@ -3849,10 +3817,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` .emotion-42 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -3861,10 +3829,6 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` fill: none; } -.emotion-42 path { - fill: currentColor; -} - .emotion-44 { padding-left: 16px; padding-right: 16px; @@ -3890,393 +3854,449 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` } .emotion-48 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-50 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-51 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-50 input:hover, -.emotion-50 input:focus { +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-54 { + border-right-color: #8c40ef; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-54 { + border-right-color: #8c40ef; +} + +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-50 input[type='number']::-webkit-inner-spin-button, -.emotion-50 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-50 input[type='number'] { - -moz-appearance: textfield; +.emotion-51[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-52 { - position: relative; +.emotion-51[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-54 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-51[data-size='small'] { + height: 2rem; +} + +.emotion-51[data-size='medium'] { + height: 2.5rem; +} + +.emotion-51[data-size='large'] { + height: 3rem; +} + +.emotion-51[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-51[data-success='true']>.emotion-54 { + border-right-color: #22674e; +} + +.emotion-51[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-51[data-success='true']:active>.emotion-54 { + border-right-color: #22674e; +} + +.emotion-51[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-51[data-error='true']>.emotion-54 { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']>.emotion-54:hover { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-51[data-error='true']:active>.emotion-54 { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']:active>.emotion-54:hover { + border-right-color: #b3144d; +} + +.emotion-51[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-51[data-disabled='true']>.emotion-54 { + border-right-color: #e9eaeb; +} + +.emotion-53 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; + height: 100%; } -.emotion-54::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-55 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-54::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-55[data-size="small"] { + padding-left: 0.5rem; } -.emotion-54:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-55[data-size="large"] { + font-size: 1rem; } -.emotion-54::placeholder { +.emotion-55::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-54:hover, -.emotion-54:focus { - border-color: #792dd4; +.emotion-55::-moz-placeholder { + color: #727683; } -.emotion-54:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-55:-ms-input-placeholder { + color: #727683; } -.emotion-54::-webkit-input-placeholder { - opacity: 1; +.emotion-55::placeholder { + color: #727683; } -.emotion-54::-moz-placeholder { - opacity: 1; +.emotion-55:disabled { + cursor: not-allowed; } -.emotion-54:-ms-input-placeholder { - opacity: 1; +.emotion-55:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-54::placeholder { - opacity: 1; +.emotion-55:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-56 { - height: auto; +.emotion-55:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-56[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-55:disabled::placeholder { + color: #b5b7bd; } .emotion-58 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 100%; + width: 100%; } -.emotion-62 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-58 #unit { + border: none; + background: transparent; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-58 #unit:focus, +.emotion-58 #unit:active { box-shadow: none; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-60 { + display: inherit; } -.emotion-64 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-60[data-container-full-height="true"] { + height: 100%; } -.emotion-66 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-60[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-64 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-66:hover { - border-color: hsl(0, 0%, 70%); +.emotion-64[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-66:focus-within { - border-color: #8c40ef; +.emotion-64[data-size='medium'] { + height: 2.5rem; +} + +.emotion-64[data-size='large'] { + height: 3rem; +} + +.emotion-64[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-64[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-66:hover { +.emotion-64[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-64[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-67 label { - display: none; +.emotion-64[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-68 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-64[data-state='success'] { + border: 1px solid #22674e; } -.emotion-70 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-64[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-71 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-71:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-64[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-64[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-73 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-64[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-74 { +.emotion-64[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-64:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-64[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-64[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-67 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-69 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-74:hover { - color: hsl(0, 0%, 60%); } -.emotion-77 { +.emotion-71 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-77 .fillStroke { - stroke: currentColor; +.emotion-71 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-81 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-85 { +.emotion-75 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4284,7 +4304,7 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` min-width: 230px; } -.emotion-87 { +.emotion-77 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4305,11 +4325,11 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` padding-bottom: 8px; } -.emotion-95 { +.emotion-85 { text-align: right; } -.emotion-97 { +.emotion-87 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -4324,7 +4344,7 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` margin-right: 4px; } -.emotion-99 { +.emotion-89 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4336,10 +4356,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` min-width: 126px; } -.emotion-102 { +.emotion-92 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4349,9 +4369,9 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` text-align: right; } -.emotion-105 { +.emotion-95 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -4361,18 +4381,18 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` text-align: right; } -.emotion-107 { +.emotion-97 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-111 { +.emotion-101 { width: 70%; } -.emotion-113 { +.emotion-103 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4389,10 +4409,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` min-width: 126px; } -.emotion-116 { +.emotion-106 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -4456,14 +4476,11 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` > @@ -4511,14 +4528,11 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` > @@ -4532,132 +4546,82 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` class="emotion-46 emotion-47" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -4666,14 +4630,14 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = `

render basic props with maxPrice 1`] = `
This is a regular Item
@@ -4700,15 +4664,15 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = `

€0.00 - €0.0001

€0.00/Node/hour(s)

@@ -4719,7 +4683,7 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = ` @@ -4731,13 +4695,13 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice 1`] = `

render basic props with maxPrice and long display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4774,10 +4738,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -4799,6 +4763,7 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -4843,10 +4808,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4855,10 +4820,9 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -4866,10 +4830,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4878,15 +4842,14 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -4943,10 +4906,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4955,19 +4918,19 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-24 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-24 .fillStroke { @@ -4975,10 +4938,6 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long fill: none; } -.emotion-24 path { - fill: currentColor; -} - .emotion-26 { height: 48px; display: -webkit-box; @@ -5060,10 +5019,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long .emotion-42 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -5072,10 +5031,6 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long fill: none; } -.emotion-42 path { - fill: currentColor; -} - .emotion-44 { padding-left: 16px; padding-right: 16px; @@ -5101,8 +5056,32 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long } .emotion-48 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-51 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5111,383 +5090,415 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-50 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-50 input:hover, -.emotion-50 input:focus { +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-50 input[type='number']::-webkit-inner-spin-button, -.emotion-50 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-50 input[type='number'] { - -moz-appearance: textfield; +.emotion-51[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-52 { - position: relative; +.emotion-51[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-54 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-51[data-size='small'] { + height: 2rem; +} + +.emotion-51[data-size='medium'] { + height: 2.5rem; +} + +.emotion-51[data-size='large'] { + height: 3rem; +} + +.emotion-51[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-51[data-success='true']>.emotion-54 { + border-right-color: #22674e; +} + +.emotion-51[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-51[data-success='true']:active>.emotion-54 { + border-right-color: #22674e; +} + +.emotion-51[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-51[data-error='true']>.emotion-54 { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']>.emotion-54:hover { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-51[data-error='true']:active>.emotion-54 { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']:active>.emotion-54:hover { + border-right-color: #b3144d; +} + +.emotion-51[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-51[data-disabled='true']>.emotion-54 { + border-right-color: #e9eaeb; +} + +.emotion-53 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; + height: 100%; } -.emotion-54::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-55 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-54::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-55[data-size="small"] { + padding-left: 0.5rem; } -.emotion-54:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-55[data-size="large"] { + font-size: 1rem; } -.emotion-54::placeholder { +.emotion-55::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-54:hover, -.emotion-54:focus { - border-color: #792dd4; +.emotion-55::-moz-placeholder { + color: #727683; } -.emotion-54:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-55:-ms-input-placeholder { + color: #727683; } -.emotion-54::-webkit-input-placeholder { - opacity: 1; +.emotion-55::placeholder { + color: #727683; } -.emotion-54::-moz-placeholder { - opacity: 1; +.emotion-55:disabled { + cursor: not-allowed; } -.emotion-54:-ms-input-placeholder { - opacity: 1; +.emotion-55:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-54::placeholder { - opacity: 1; +.emotion-55:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-56 { - height: auto; +.emotion-55:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-56[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-55:disabled::placeholder { + color: #b5b7bd; } .emotion-58 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 100%; + width: 100%; } -.emotion-62 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-58 #unit { + border: none; + background: transparent; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-58 #unit:focus, +.emotion-58 #unit:active { box-shadow: none; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-60 { + display: inherit; } -.emotion-64 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-60[data-container-full-height="true"] { + height: 100%; } -.emotion-66 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-60[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-64 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-64[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-66:hover { - border-color: hsl(0, 0%, 70%); +.emotion-64[data-size='medium'] { + height: 2.5rem; } -.emotion-66:focus-within { - border-color: #8c40ef; +.emotion-64[data-size='large'] { + height: 3rem; +} + +.emotion-64[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-64[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-66:hover { +.emotion-64[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-64[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-64[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-64[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-64[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-64[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-64[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-64[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-64[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-67 label { - display: none; +.emotion-64:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-68 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-64[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-70 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-64[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-71 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-71:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-67 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-69 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-73 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-74 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-74:hover { - color: hsl(0, 0%, 60%); } -.emotion-77 { +.emotion-71 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-77 .fillStroke { - stroke: currentColor; +.emotion-71 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-81 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-85 { +.emotion-75 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5495,7 +5506,7 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long min-width: 230px; } -.emotion-87 { +.emotion-77 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -5516,11 +5527,11 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long padding-bottom: 8px; } -.emotion-95 { +.emotion-85 { text-align: right; } -.emotion-97 { +.emotion-87 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -5535,7 +5546,7 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long margin-right: 4px; } -.emotion-99 { +.emotion-89 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5547,10 +5558,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long min-width: 126px; } -.emotion-102 { +.emotion-92 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -5560,9 +5571,9 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long text-align: right; } -.emotion-105 { +.emotion-95 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -5572,18 +5583,18 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long text-align: right; } -.emotion-107 { +.emotion-97 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-111 { +.emotion-101 { width: 70%; } -.emotion-113 { +.emotion-103 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5600,10 +5611,10 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long min-width: 126px; } -.emotion-116 { +.emotion-106 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -5667,14 +5678,11 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long > @@ -5722,14 +5730,11 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long > @@ -5743,132 +5748,82 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long class="emotion-46 emotion-47" >
-
-
-
-
- - -
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -5877,14 +5832,14 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long

render basic props with maxPrice and long
This is a regular Item
@@ -5911,15 +5866,15 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long

€0.00001 - €0.0001

€0.000001/GB/hour(s)

@@ -5930,7 +5885,7 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long @@ -5942,13 +5897,13 @@ exports[`EstimateCost - Regular Item > render basic props with maxPrice and long

render basic props with overlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5985,10 +5940,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -6010,6 +5965,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -6063,10 +6019,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6075,10 +6031,9 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-14 { @@ -6086,10 +6041,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6098,15 +6053,14 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-16 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -6149,7 +6103,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` .emotion-23 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -6196,10 +6150,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6208,19 +6162,19 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-43 .fillStroke { @@ -6228,10 +6182,6 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-45 { height: 48px; display: -webkit-box; @@ -6313,10 +6263,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` .emotion-63 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -6325,10 +6275,6 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` fill: none; } -.emotion-63 path { - fill: currentColor; -} - .emotion-65 { padding-left: 16px; padding-right: 16px; @@ -6354,8 +6300,32 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` } .emotion-69 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-72 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6364,383 +6334,415 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-72:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-72:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-72:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-75, +.emotion-72:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-75 { + border-right-color: #8c40ef; +} + +.emotion-72:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-72:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-75 { + border-right-color: #8c40ef; +} + +.emotion-72:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-72:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-72:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-75, +.emotion-72:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-75 { + border-right-color: #8c40ef; +} + +.emotion-72[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-72[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-72[data-size='small'] { + height: 2rem; +} + +.emotion-72[data-size='medium'] { + height: 2.5rem; +} + +.emotion-72[data-size='large'] { + height: 3rem; +} + +.emotion-72[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-72[data-success='true']>.emotion-75 { + border-right-color: #22674e; +} + +.emotion-72[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-72[data-success='true']:active>.emotion-75 { + border-right-color: #22674e; +} + +.emotion-72[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-72[data-error='true']>.emotion-75 { + border-right-color: #b3144d; } -.emotion-71 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-72[data-error='true']>.emotion-75:hover { + border-right-color: #b3144d; } -.emotion-71 input:hover, -.emotion-71 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-72[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-71 input[type='number']::-webkit-inner-spin-button, -.emotion-71 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-72[data-error='true']:active>.emotion-75 { + border-right-color: #b3144d; } -.emotion-71 input[type='number'] { - -moz-appearance: textfield; +.emotion-72[data-error='true']:active>.emotion-75:hover { + border-right-color: #b3144d; } -.emotion-73 { - position: relative; +.emotion-72[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-75 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-72[data-disabled='true']>.emotion-75 { + border-right-color: #e9eaeb; +} + +.emotion-74 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; + height: 100%; } -.emotion-75::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-76 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-75::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-76[data-size="small"] { + padding-left: 0.5rem; } -.emotion-75:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-76[data-size="large"] { + font-size: 1rem; } -.emotion-75::placeholder { +.emotion-76::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-75:hover, -.emotion-75:focus { - border-color: #792dd4; +.emotion-76::-moz-placeholder { + color: #727683; } -.emotion-75:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-76:-ms-input-placeholder { + color: #727683; } -.emotion-75::-webkit-input-placeholder { - opacity: 1; +.emotion-76::placeholder { + color: #727683; } -.emotion-75::-moz-placeholder { - opacity: 1; +.emotion-76:disabled { + cursor: not-allowed; } -.emotion-75:-ms-input-placeholder { - opacity: 1; +.emotion-76:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-75::placeholder { - opacity: 1; +.emotion-76:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-77 { - height: auto; +.emotion-76:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-77[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-76:disabled::placeholder { + color: #b5b7bd; } .emotion-79 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 100%; + width: 100%; } -.emotion-83 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-79 #unit { + border: none; + background: transparent; } -.emotion-83:hover, -.emotion-83:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-79 #unit:focus, +.emotion-79 #unit:active { box-shadow: none; } -.emotion-83:hover, -.emotion-83:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-81 { + display: inherit; } -.emotion-85 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-81[data-container-full-height="true"] { + height: 100%; } -.emotion-87 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-81[data-container-full-width="true"] { + width: 100%; +} + +.emotion-83 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-85 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-87:hover { - border-color: hsl(0, 0%, 70%); +.emotion-85[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-87:focus-within { - border-color: #8c40ef; +.emotion-85[data-size='medium'] { + height: 2.5rem; +} + +.emotion-85[data-size='large'] { + height: 3rem; +} + +.emotion-85[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-85[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-87:hover { +.emotion-85[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-88 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-85[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-88 label { - display: none; +.emotion-85[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-89 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-85[data-state='success'] { + border: 1px solid #22674e; } -.emotion-91 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-85[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-92 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-92:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-85[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-93 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-85[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-94 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-85[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-95 { +.emotion-85[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-85:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-85[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-85[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-88 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-90 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-95:hover { - color: hsl(0, 0%, 60%); } -.emotion-98 { +.emotion-92 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-98 .fillStroke { - stroke: currentColor; +.emotion-92 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-102 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-106 { +.emotion-96 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6748,7 +6750,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` min-width: 230px; } -.emotion-106:before { +.emotion-96:before { content: ''; position: absolute; left: 0; @@ -6759,7 +6761,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` border-bottom: 1px solid #d9dadd; } -.emotion-108 { +.emotion-98 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -6780,11 +6782,11 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` padding-bottom: 8px; } -.emotion-116 { +.emotion-106 { text-align: right; } -.emotion-118 { +.emotion-108 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -6799,9 +6801,9 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` margin-right: 4px; } -.emotion-121 { +.emotion-111 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -6814,7 +6816,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` max-width: 350px; } -.emotion-123 { +.emotion-113 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6826,7 +6828,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` min-width: 126px; } -.emotion-123:before { +.emotion-113:before { content: ''; position: absolute; left: 0; @@ -6837,10 +6839,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` border-bottom: 1px solid #d9dadd; } -.emotion-126 { +.emotion-116 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -6850,7 +6852,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` text-align: right; } -.emotion-130 { +.emotion-120 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6858,7 +6860,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` min-width: 230px; } -.emotion-144 { +.emotion-134 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6870,18 +6872,18 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` min-width: 126px; } -.emotion-149 { +.emotion-139 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-153 { +.emotion-143 { width: 70%; } -.emotion-155 { +.emotion-145 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6898,10 +6900,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` min-width: 126px; } -.emotion-158 { +.emotion-148 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -7011,14 +7013,11 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` > @@ -7073,14 +7072,11 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` > @@ -7094,132 +7090,82 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` class="emotion-67 emotion-68" >
-
-
-
-
-
-
- - + /> +
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -7228,14 +7174,14 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = `

render basic props with overlay 1`] = `

This is a regular Item

@@ -7270,24 +7216,24 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = `

€0.00

render basic props with overlay 1`] = `
Hidden element in overlay
@@ -7314,10 +7260,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = `

€0.00

@@ -7328,7 +7274,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = ` @@ -7340,13 +7286,13 @@ exports[`EstimateCost - Regular Item > render basic props with overlay 1`] = `

render basic props with overlay beta 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7383,10 +7329,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -7408,6 +7354,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -7452,10 +7399,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7464,10 +7411,9 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -7475,10 +7421,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7487,15 +7433,14 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -7538,7 +7483,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] .emotion-21 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -7567,10 +7512,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -7579,19 +7524,19 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-29 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-29 .fillStroke { @@ -7599,10 +7544,6 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] fill: none; } -.emotion-29 path { - fill: currentColor; -} - .emotion-31 { height: 48px; display: -webkit-box; @@ -7653,7 +7594,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] .emotion-40 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -7738,10 +7679,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] .emotion-53 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -7750,10 +7691,6 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] fill: none; } -.emotion-53 path { - fill: currentColor; -} - .emotion-55 { padding-left: 16px; padding-right: 16px; @@ -7779,8 +7716,32 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] } .emotion-59 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-62 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7789,383 +7750,415 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-62:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-62:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-62:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-65, +.emotion-62:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-65 { + border-right-color: #8c40ef; +} + +.emotion-62:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-61 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-62:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-65 { + border-right-color: #8c40ef; } -.emotion-61 input:hover, -.emotion-61 input:focus { +.emotion-62:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-62:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-61 input[type='number']::-webkit-inner-spin-button, -.emotion-61 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-62:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-65, +.emotion-62:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-65 { + border-right-color: #8c40ef; } -.emotion-61 input[type='number'] { - -moz-appearance: textfield; +.emotion-62[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-63 { - position: relative; +.emotion-62[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-62[data-size='small'] { + height: 2rem; +} + +.emotion-62[data-size='medium'] { + height: 2.5rem; +} + +.emotion-62[data-size='large'] { + height: 3rem; +} + +.emotion-62[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-62[data-success='true']>.emotion-65 { + border-right-color: #22674e; +} + +.emotion-62[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-62[data-success='true']:active>.emotion-65 { + border-right-color: #22674e; +} + +.emotion-62[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-62[data-error='true']>.emotion-65 { + border-right-color: #b3144d; +} + +.emotion-62[data-error='true']>.emotion-65:hover { + border-right-color: #b3144d; +} + +.emotion-62[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-62[data-error='true']:active>.emotion-65 { + border-right-color: #b3144d; +} + +.emotion-62[data-error='true']:active>.emotion-65:hover { + border-right-color: #b3144d; +} + +.emotion-62[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-62[data-disabled='true']>.emotion-65 { + border-right-color: #e9eaeb; +} + +.emotion-64 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-66 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-66[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-66[data-size="large"] { + font-size: 1rem; +} + +.emotion-66::-webkit-input-placeholder { + color: #727683; +} + +.emotion-66::-moz-placeholder { + color: #727683; +} + +.emotion-66:-ms-input-placeholder { + color: #727683; +} + +.emotion-66::placeholder { + color: #727683; +} + +.emotion-66:disabled { + cursor: not-allowed; +} + +.emotion-66:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-66:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-66:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-66:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-69 { + width: 100%; + width: 100%; +} + +.emotion-69 #unit { + border: none; + background: transparent; +} + +.emotion-69 #unit:focus, +.emotion-69 #unit:active { + box-shadow: none; +} + +.emotion-71 { + display: inherit; +} + +.emotion-71[data-container-full-height="true"] { + height: 100%; +} + +.emotion-71[data-container-full-width="true"] { + width: 100%; +} + +.emotion-73 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-65 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-75 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-65::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-75[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-65::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-75[data-size='medium'] { + height: 2.5rem; } -.emotion-65:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-75[data-size='large'] { + height: 3rem; } -.emotion-65::placeholder { - color: #727683; - opacity: 0; +.emotion-75[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-65:hover, -.emotion-65:focus { +.emotion-75[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; -} - -.emotion-65:focus { box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-65::-webkit-input-placeholder { - opacity: 1; } -.emotion-65::-moz-placeholder { - opacity: 1; +.emotion-75[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-65:-ms-input-placeholder { - opacity: 1; +.emotion-75[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-65::placeholder { - opacity: 1; +.emotion-75[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-67 { - height: auto; +.emotion-75[data-state='success'] { + border: 1px solid #22674e; } -.emotion-67[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-75[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-69 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-75[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-73 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-75[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-73:hover, -.emotion-73:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-75[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-73:hover, -.emotion-73:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-75[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-75 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-75:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; +.emotion-75[data-readonly='true'] { + background: #f9f9fa; border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-77:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-77:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; + cursor: default; } -.emotion-77:hover { - border-color: #792dd4; +.emotion-75[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } .emotion-78 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-78 label { - display: none; -} - -.emotion-79 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-81 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-82 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-82:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-83 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-80 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-84 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-85 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-85:hover { - color: hsl(0, 0%, 60%); } -.emotion-88 { +.emotion-82 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-88 .fillStroke { - stroke: currentColor; +.emotion-82 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-92 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-96 { +.emotion-86 { padding-left: 16px; padding-right: 16px; position: relative; @@ -8173,7 +8166,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] min-width: 230px; } -.emotion-98 { +.emotion-88 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -8194,11 +8187,11 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] padding-bottom: 8px; } -.emotion-106 { +.emotion-96 { text-align: right; } -.emotion-108 { +.emotion-98 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -8213,9 +8206,9 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] margin-right: 4px; } -.emotion-111 { +.emotion-101 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -8228,7 +8221,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] max-width: 350px; } -.emotion-115 { +.emotion-105 { padding-left: 16px; padding-right: 16px; position: relative; @@ -8240,10 +8233,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] min-width: 126px; } -.emotion-118 { +.emotion-108 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -8253,9 +8246,9 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] text-align: right; } -.emotion-121 { +.emotion-111 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -8265,18 +8258,18 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] text-align: right; } -.emotion-123 { +.emotion-113 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-127 { +.emotion-117 { width: 70%; } -.emotion-129 { +.emotion-119 { padding-left: 16px; padding-right: 16px; position: relative; @@ -8293,9 +8286,9 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] min-width: 126px; } -.emotion-133 { +.emotion-123 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -8331,10 +8324,10 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] top: calc(50% - 16px); } -.emotion-136 { +.emotion-126 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -8410,14 +8403,11 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] > @@ -8477,14 +8467,11 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] > @@ -8498,132 +8485,82 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] class="emotion-57 emotion-58" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -8632,14 +8569,14 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`]

render basic props with overlay beta 1`]

This is a regular Item 1

This is a regular Item 2
@@ -8679,15 +8616,15 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`]

€0.00 - €0.10

€0.001/GB/hour(s)

@@ -8698,7 +8635,7 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`] @@ -8710,19 +8647,19 @@ exports[`EstimateCost - Regular Item > render basic props with overlay beta 1`]
Free During Beta

render basic props with sublabel 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8759,10 +8696,10 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -8784,6 +8721,7 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -8828,10 +8766,10 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8840,10 +8778,9 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -8851,10 +8788,10 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8863,15 +8800,14 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -8928,10 +8864,10 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8940,19 +8876,19 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-24 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-24 .fillStroke { @@ -8960,10 +8896,6 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` fill: none; } -.emotion-24 path { - fill: currentColor; -} - .emotion-26 { height: 48px; display: -webkit-box; @@ -9045,10 +8977,10 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` .emotion-42 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -9057,10 +8989,6 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` fill: none; } -.emotion-42 path { - fill: currentColor; -} - .emotion-44 { padding-left: 16px; padding-right: 16px; @@ -9086,8 +9014,32 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` } .emotion-48 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-51 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9096,383 +9048,415 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-54 { + border-right-color: #8c40ef; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-50 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-50 input:hover, -.emotion-50 input:focus { +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-50 input[type='number']::-webkit-inner-spin-button, -.emotion-50 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-50 input[type='number'] { - -moz-appearance: textfield; +.emotion-51[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-52 { - position: relative; +.emotion-51[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-54 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-51[data-size='small'] { + height: 2rem; +} + +.emotion-51[data-size='medium'] { + height: 2.5rem; +} + +.emotion-51[data-size='large'] { + height: 3rem; +} + +.emotion-51[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-51[data-success='true']>.emotion-54 { + border-right-color: #22674e; +} + +.emotion-51[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-51[data-success='true']:active>.emotion-54 { + border-right-color: #22674e; +} + +.emotion-51[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-51[data-error='true']>.emotion-54 { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']>.emotion-54:hover { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-51[data-error='true']:active>.emotion-54 { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']:active>.emotion-54:hover { + border-right-color: #b3144d; +} + +.emotion-51[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-51[data-disabled='true']>.emotion-54 { + border-right-color: #e9eaeb; +} + +.emotion-53 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; + height: 100%; } -.emotion-54::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-55 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-54::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-55[data-size="small"] { + padding-left: 0.5rem; } -.emotion-54:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-55[data-size="large"] { + font-size: 1rem; } -.emotion-54::placeholder { +.emotion-55::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-54:hover, -.emotion-54:focus { - border-color: #792dd4; +.emotion-55::-moz-placeholder { + color: #727683; } -.emotion-54:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-55:-ms-input-placeholder { + color: #727683; } -.emotion-54::-webkit-input-placeholder { - opacity: 1; +.emotion-55::placeholder { + color: #727683; } -.emotion-54::-moz-placeholder { - opacity: 1; +.emotion-55:disabled { + cursor: not-allowed; } -.emotion-54:-ms-input-placeholder { - opacity: 1; +.emotion-55:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-54::placeholder { - opacity: 1; +.emotion-55:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-56 { - height: auto; +.emotion-55:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-56[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-55:disabled::placeholder { + color: #b5b7bd; } .emotion-58 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 100%; + width: 100%; } -.emotion-62 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-58 #unit { + border: none; + background: transparent; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-58 #unit:focus, +.emotion-58 #unit:active { box-shadow: none; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-60 { + display: inherit; } -.emotion-64 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-60[data-container-full-height="true"] { + height: 100%; } -.emotion-66 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-60[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-64 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-66:hover { - border-color: hsl(0, 0%, 70%); +.emotion-64[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-66:focus-within { - border-color: #8c40ef; +.emotion-64[data-size='medium'] { + height: 2.5rem; +} + +.emotion-64[data-size='large'] { + height: 3rem; +} + +.emotion-64[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-64[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-66:hover { +.emotion-64[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-64[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-64[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-64[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-64[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-64[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-64[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-64[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-64[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-67 label { - display: none; +.emotion-64:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-68 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-64[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-70 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-64[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-71 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-71:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-67 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-69 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-73 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-74 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; } -.emotion-74:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-77 { +.emotion-71 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-77 .fillStroke { - stroke: currentColor; +.emotion-71 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-81 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-85 { +.emotion-75 { padding-left: 16px; padding-right: 16px; position: relative; @@ -9480,7 +9464,7 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` min-width: 230px; } -.emotion-87 { +.emotion-77 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -9501,10 +9485,10 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` padding-bottom: 8px; } -.emotion-96 { +.emotion-86 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -9515,11 +9499,11 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` margin-left: 0.5rem; } -.emotion-98 { +.emotion-88 { text-align: right; } -.emotion-100 { +.emotion-90 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -9534,7 +9518,7 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` margin-right: 4px; } -.emotion-102 { +.emotion-92 { padding-left: 16px; padding-right: 16px; position: relative; @@ -9546,10 +9530,10 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` min-width: 126px; } -.emotion-105 { +.emotion-95 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -9559,18 +9543,18 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` text-align: right; } -.emotion-107 { +.emotion-97 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-111 { +.emotion-101 { width: 70%; } -.emotion-113 { +.emotion-103 { padding-left: 16px; padding-right: 16px; position: relative; @@ -9587,10 +9571,10 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` min-width: 126px; } -.emotion-116 { +.emotion-106 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -9654,14 +9638,11 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` > @@ -9709,14 +9690,11 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` > @@ -9730,132 +9708,82 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` class="emotion-46 emotion-47" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -9864,14 +9792,14 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = `

render basic props with sublabel 1`] = ` Regular

Excellent

This is a regular Item
@@ -9903,10 +9831,10 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = `

€0.00

@@ -9917,7 +9845,7 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = ` @@ -9929,13 +9857,13 @@ exports[`EstimateCost - Regular Item > render basic props with sublabel 1`] = `

render basic props with textNotDefined 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9972,10 +9900,10 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -9997,6 +9925,7 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -10041,10 +9970,10 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10053,10 +9982,9 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -10064,10 +9992,10 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10076,15 +10004,14 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -10141,10 +10068,10 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -10153,19 +10080,19 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-24 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-24 .fillStroke { @@ -10173,10 +10100,6 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` fill: none; } -.emotion-24 path { - fill: currentColor; -} - .emotion-26 { height: 48px; display: -webkit-box; @@ -10258,10 +10181,10 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` .emotion-42 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -10270,10 +10193,6 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` fill: none; } -.emotion-42 path { - fill: currentColor; -} - .emotion-44 { padding-left: 16px; padding-right: 16px; @@ -10299,8 +10218,32 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` } .emotion-48 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-51 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10309,383 +10252,415 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-54 { + border-right-color: #8c40ef; +} + +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-50 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-51:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-54 { + border-right-color: #8c40ef; } -.emotion-50 input:hover, -.emotion-50 input:focus { +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; +} + +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-54, +.emotion-51:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-54 { + border-right-color: #8c40ef; +} + +.emotion-51[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-51[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-51[data-size='small'] { + height: 2rem; +} + +.emotion-51[data-size='medium'] { + height: 2.5rem; +} + +.emotion-51[data-size='large'] { + height: 3rem; +} + +.emotion-51[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-51[data-success='true']>.emotion-54 { + border-right-color: #22674e; +} + +.emotion-51[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-51[data-success='true']:active>.emotion-54 { + border-right-color: #22674e; +} + +.emotion-51[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-51[data-error='true']>.emotion-54 { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']>.emotion-54:hover { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-51[data-error='true']:active>.emotion-54 { + border-right-color: #b3144d; +} + +.emotion-51[data-error='true']:active>.emotion-54:hover { + border-right-color: #b3144d; } -.emotion-50 input[type='number']::-webkit-inner-spin-button, -.emotion-50 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-51[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-50 input[type='number'] { - -moz-appearance: textfield; +.emotion-51[data-disabled='true']>.emotion-54 { + border-right-color: #e9eaeb; } -.emotion-52 { - position: relative; +.emotion-53 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-54 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +.emotion-55 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; outline: none; - position: relative; + height: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-54::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-55[data-size="small"] { + padding-left: 0.5rem; } -.emotion-54::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-55[data-size="large"] { + font-size: 1rem; } -.emotion-54:-ms-input-placeholder { +.emotion-55::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-54::placeholder { +.emotion-55::-moz-placeholder { color: #727683; - opacity: 0; -} - -.emotion-54:hover, -.emotion-54:focus { - border-color: #792dd4; } -.emotion-54:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-55:-ms-input-placeholder { + color: #727683; } -.emotion-54::-webkit-input-placeholder { - opacity: 1; +.emotion-55::placeholder { + color: #727683; } -.emotion-54::-moz-placeholder { - opacity: 1; +.emotion-55:disabled { + cursor: not-allowed; } -.emotion-54:-ms-input-placeholder { - opacity: 1; +.emotion-55:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-54::placeholder { - opacity: 1; +.emotion-55:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-56 { - height: auto; +.emotion-55:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-56[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-55:disabled::placeholder { + color: #b5b7bd; } .emotion-58 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 100%; + width: 100%; } -.emotion-62 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-58 #unit { + border: none; + background: transparent; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-58 #unit:focus, +.emotion-58 #unit:active { box-shadow: none; } -.emotion-62:hover, -.emotion-62:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-60 { + display: inherit; } -.emotion-64 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-60[data-container-full-height="true"] { + height: 100%; } -.emotion-66 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-60[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-64 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-66:hover { - border-color: hsl(0, 0%, 70%); +.emotion-64[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-66:focus-within { - border-color: #8c40ef; +.emotion-64[data-size='medium'] { + height: 2.5rem; +} + +.emotion-64[data-size='large'] { + height: 3rem; +} + +.emotion-64[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-64[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-66:hover { +.emotion-64[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-64[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-67 label { - display: none; +.emotion-64[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-68 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-64[data-state='success'] { + border: 1px solid #22674e; } -.emotion-70 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-64[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-71 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-71:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-64[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-64[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-73 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-64[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-74 { +.emotion-64[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-64:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-64[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-64[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-67 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-69 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-74:hover { - color: hsl(0, 0%, 60%); } -.emotion-77 { +.emotion-71 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-77 .fillStroke { - stroke: currentColor; +.emotion-71 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-81 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-85 { +.emotion-75 { padding-left: 16px; padding-right: 16px; position: relative; @@ -10693,7 +10668,7 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` min-width: 230px; } -.emotion-87 { +.emotion-77 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -10714,11 +10689,11 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` padding-bottom: 8px; } -.emotion-95 { +.emotion-85 { text-align: right; } -.emotion-97 { +.emotion-87 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -10733,7 +10708,7 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` margin-right: 4px; } -.emotion-99 { +.emotion-89 { padding-left: 16px; padding-right: 16px; position: relative; @@ -10745,10 +10720,10 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` min-width: 126px; } -.emotion-102 { +.emotion-92 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -10758,18 +10733,18 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` text-align: right; } -.emotion-104 { +.emotion-94 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-108 { +.emotion-98 { width: 70%; } -.emotion-110 { +.emotion-100 { padding-left: 16px; padding-right: 16px; position: relative; @@ -10786,10 +10761,10 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` min-width: 126px; } -.emotion-113 { +.emotion-103 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -10853,14 +10828,11 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` > @@ -10908,14 +10880,11 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` > @@ -10929,132 +10898,82 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` class="emotion-46 emotion-47" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -11063,14 +10982,14 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1`

render basic props with textNotDefined 1`
This is a regular Item
@@ -11097,10 +11016,10 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1`

€0.00

@@ -11111,7 +11030,7 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1` @@ -11123,13 +11042,13 @@ exports[`EstimateCost - Regular Item > render basic props with textNotDefined 1`

render basic with ellipsis 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11166,10 +11085,10 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -11191,6 +11110,7 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -11235,10 +11155,10 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11247,10 +11167,9 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -11258,10 +11177,10 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11270,15 +11189,14 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -11321,7 +11239,7 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` .emotion-21 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -11350,10 +11268,10 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -11362,19 +11280,19 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-27 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-27 .fillStroke { @@ -11382,10 +11300,6 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` fill: none; } -.emotion-27 path { - fill: currentColor; -} - .emotion-29 { height: 48px; display: -webkit-box; @@ -11467,10 +11381,10 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` .emotion-45 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -11479,10 +11393,6 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` fill: none; } -.emotion-45 path { - fill: currentColor; -} - .emotion-47 { padding-left: 16px; padding-right: 16px; @@ -11508,8 +11418,32 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` } .emotion-51 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-54 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11518,383 +11452,415 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-57, +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-57 { + border-right-color: #8c40ef; +} + +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-53 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-57 { + border-right-color: #8c40ef; } -.emotion-53 input:hover, -.emotion-53 input:focus { +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-53 input[type='number']::-webkit-inner-spin-button, -.emotion-53 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-57, +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-57 { + border-right-color: #8c40ef; } -.emotion-53 input[type='number'] { - -moz-appearance: textfield; +.emotion-54[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-55 { - position: relative; +.emotion-54[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-57 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-54[data-size='small'] { + height: 2rem; +} + +.emotion-54[data-size='medium'] { + height: 2.5rem; +} + +.emotion-54[data-size='large'] { + height: 3rem; +} + +.emotion-54[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-54[data-success='true']>.emotion-57 { + border-right-color: #22674e; +} + +.emotion-54[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-54[data-success='true']:active>.emotion-57 { + border-right-color: #22674e; +} + +.emotion-54[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-54[data-error='true']>.emotion-57 { + border-right-color: #b3144d; +} + +.emotion-54[data-error='true']>.emotion-57:hover { + border-right-color: #b3144d; +} + +.emotion-54[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-54[data-error='true']:active>.emotion-57 { + border-right-color: #b3144d; +} + +.emotion-54[data-error='true']:active>.emotion-57:hover { + border-right-color: #b3144d; +} + +.emotion-54[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-54[data-disabled='true']>.emotion-57 { + border-right-color: #e9eaeb; +} + +.emotion-56 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-58 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-58[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-58[data-size="large"] { + font-size: 1rem; +} + +.emotion-58::-webkit-input-placeholder { + color: #727683; +} + +.emotion-58::-moz-placeholder { + color: #727683; +} + +.emotion-58:-ms-input-placeholder { + color: #727683; +} + +.emotion-58::placeholder { + color: #727683; +} + +.emotion-58:disabled { + cursor: not-allowed; +} + +.emotion-58:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-58:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-58:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-58:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-61 { + width: 100%; + width: 100%; +} + +.emotion-61 #unit { + border: none; + background: transparent; +} + +.emotion-61 #unit:focus, +.emotion-61 #unit:active { + box-shadow: none; +} + +.emotion-63 { + display: inherit; +} + +.emotion-63[data-container-full-height="true"] { + height: 100%; +} + +.emotion-63[data-container-full-width="true"] { + width: 100%; +} + +.emotion-65 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-67 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-57::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-67[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-57::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-67[data-size='medium'] { + height: 2.5rem; } -.emotion-57:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-67[data-size='large'] { + height: 3rem; } -.emotion-57::placeholder { - color: #727683; - opacity: 0; +.emotion-67[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-57:hover, -.emotion-57:focus { +.emotion-67[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; -} - -.emotion-57:focus { box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-57::-webkit-input-placeholder { - opacity: 1; } -.emotion-57::-moz-placeholder { - opacity: 1; +.emotion-67[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-57:-ms-input-placeholder { - opacity: 1; +.emotion-67[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-57::placeholder { - opacity: 1; +.emotion-67[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-59 { - height: auto; +.emotion-67[data-state='success'] { + border: 1px solid #22674e; } -.emotion-59[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-67[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-61 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-67[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-65 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-67[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-65:hover, -.emotion-65:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-67[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-65:hover, -.emotion-65:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-67[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-67 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-67:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; +.emotion-67[data-readonly='true'] { + background: #f9f9fa; border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-69:hover { - border-color: hsl(0, 0%, 70%); + cursor: default; } -.emotion-69:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-69:hover { - border-color: #792dd4; +.emotion-67[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } .emotion-70 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-70 label { - display: none; -} - -.emotion-71 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-73 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-74 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-74:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-75 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-72 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-76 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-77 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; } -.emotion-77:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-80 { +.emotion-74 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-80 .fillStroke { - stroke: currentColor; +.emotion-74 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-84 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-88 { +.emotion-78 { padding-left: 16px; padding-right: 16px; position: relative; @@ -11902,7 +11868,7 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` min-width: 230px; } -.emotion-90 { +.emotion-80 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -11923,11 +11889,11 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` padding-bottom: 8px; } -.emotion-98 { +.emotion-88 { text-align: right; } -.emotion-100 { +.emotion-90 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -11942,9 +11908,9 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` margin-right: 4px; } -.emotion-103 { +.emotion-93 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -11957,7 +11923,7 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` max-width: 350px; } -.emotion-105 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -11969,10 +11935,10 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` min-width: 126px; } -.emotion-108 { +.emotion-98 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -11982,18 +11948,18 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` text-align: right; } -.emotion-110 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -12010,10 +11976,10 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` min-width: 126px; } -.emotion-119 { +.emotion-109 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -12083,14 +12049,11 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` > @@ -12138,14 +12101,11 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` > @@ -12159,132 +12119,82 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` class="emotion-49 emotion-50" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -12293,14 +12203,14 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = `

render basic with ellipsis 1`] = `

This is a regular Item

@@ -12335,10 +12245,10 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = `

€0.00

@@ -12349,7 +12259,7 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = ` @@ -12361,13 +12271,13 @@ exports[`EstimateCost - Regular Item > render basic with ellipsis 1`] = `

render with alert 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12404,10 +12314,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -12429,6 +12339,7 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -12473,10 +12384,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12485,10 +12396,9 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -12496,10 +12406,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12508,15 +12418,14 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -12573,10 +12482,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12585,19 +12494,19 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-24 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-24 .fillStroke { @@ -12605,10 +12514,6 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` fill: none; } -.emotion-24 path { - fill: currentColor; -} - .emotion-26 { height: 48px; display: -webkit-box; @@ -12657,10 +12562,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12669,10 +12574,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #fff6e6; @@ -12685,10 +12590,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12696,10 +12601,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -12712,10 +12617,13 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -12724,13 +12632,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-41 { @@ -12752,10 +12657,13 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12764,13 +12672,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -12781,7 +12686,7 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` .emotion-45 { color: #7c5400; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -12790,25 +12695,246 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` text-decoration: none; } -.emotion-49 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-49 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-49>* { + margin-top: 0; +} + +.emotion-49>*+* { + margin-top: 16px; +} + +.emotion-51 { + background-color: #ffffff; +} + +.emotion-53 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-56 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-56 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-58 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-60 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-62 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-65 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-65:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-68, +.emotion-65:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-68 { + border-right-color: #8c40ef; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-68 { + border-right-color: #8c40ef; +} + +.emotion-65:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-65:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-65:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-68, +.emotion-65:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-68 { + border-right-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-65[data-size='small'] { + height: 2rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-65[data-success='true']>.emotion-68 { + border-right-color: #22674e; +} + +.emotion-65[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-success='true']:active>.emotion-68 { + border-right-color: #22674e; +} + +.emotion-65[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-error='true']>.emotion-68 { + border-right-color: #b3144d; +} + +.emotion-65[data-error='true']>.emotion-68:hover { + border-right-color: #b3144d; +} + +.emotion-65[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-error='true']:active>.emotion-68 { + border-right-color: #b3144d; } -.emotion-49>* { - margin-top: 0; +.emotion-65[data-error='true']:active>.emotion-68:hover { + border-right-color: #b3144d; } -.emotion-49>*+* { - margin-top: 16px; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-51 { - background-color: #ffffff; +.emotion-65[data-disabled='true']>.emotion-68 { + border-right-color: #e9eaeb; } -.emotion-53 { +.emotion-67 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12817,445 +12943,276 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-69 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-weight: 500; - padding: 1rem; } -.emotion-56 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-69[data-size="small"] { + padding-left: 0.5rem; } -.emotion-56 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-69[data-size="large"] { + font-size: 1rem; } -.emotion-56 path { - fill: currentColor; +.emotion-69::-webkit-input-placeholder { + color: #727683; } -.emotion-58 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-69::-moz-placeholder { + color: #727683; } -.emotion-60 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-69:-ms-input-placeholder { + color: #727683; } -.emotion-62 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-69::placeholder { + color: #727683; } -.emotion-64 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-69:disabled { + cursor: not-allowed; } -.emotion-64 input:hover, -.emotion-64 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-69:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-64 input[type='number']::-webkit-inner-spin-button, -.emotion-64 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-69:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-64 input[type='number'] { - -moz-appearance: textfield; +.emotion-69:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-66 { - position: relative; +.emotion-69:disabled::placeholder { + color: #b5b7bd; } -.emotion-68 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-72 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-68::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-72 #unit { + border: none; + background: transparent; } -.emotion-68::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-72 #unit:focus, +.emotion-72 #unit:active { + box-shadow: none; } -.emotion-68:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-74 { + display: inherit; } -.emotion-68::placeholder { - color: #727683; - opacity: 0; +.emotion-74[data-container-full-height="true"] { + height: 100%; } -.emotion-68:hover, -.emotion-68:focus { - border-color: #792dd4; +.emotion-74[data-container-full-width="true"] { + width: 100%; } -.emotion-68:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-76 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-68::-webkit-input-placeholder { - opacity: 1; +.emotion-78 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-68::-moz-placeholder { - opacity: 1; +.emotion-78[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-68:-ms-input-placeholder { - opacity: 1; +.emotion-78[data-size='medium'] { + height: 2.5rem; } -.emotion-68::placeholder { - opacity: 1; +.emotion-78[data-size='large'] { + height: 3rem; } -.emotion-70 { - height: auto; +.emotion-78[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-70[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-78[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-72 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-78[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-76 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-78[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-76:hover, -.emotion-76:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-78[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-76:hover, -.emotion-76:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-78[data-state='success'] { + border: 1px solid #22674e; } -.emotion-78 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-78[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-80 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-78[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-80:hover { - border-color: hsl(0, 0%, 70%); +.emotion-78[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-80:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-78[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-80:hover { - border-color: #792dd4; +.emotion-78[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-81 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-78:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-81 label { - display: none; +.emotion-78[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-82 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-78[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-84 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-81 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-85 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-85:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-86 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-83 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-87 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-88 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; } -.emotion-88:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-91 { +.emotion-85 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-91 .fillStroke { - stroke: currentColor; +.emotion-85 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-95 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-99 { +.emotion-89 { padding-left: 16px; padding-right: 16px; position: relative; @@ -13263,7 +13220,7 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` min-width: 230px; } -.emotion-101 { +.emotion-91 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -13284,11 +13241,11 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` padding-bottom: 8px; } -.emotion-109 { +.emotion-99 { text-align: right; } -.emotion-111 { +.emotion-101 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -13303,7 +13260,7 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` margin-right: 4px; } -.emotion-113 { +.emotion-103 { padding-left: 16px; padding-right: 16px; position: relative; @@ -13315,10 +13272,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` min-width: 126px; } -.emotion-116 { +.emotion-106 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -13328,18 +13285,18 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` text-align: right; } -.emotion-118 { +.emotion-108 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-122 { +.emotion-112 { width: 70%; } -.emotion-124 { +.emotion-114 { padding-left: 16px; padding-right: 16px; position: relative; @@ -13356,10 +13313,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` min-width: 126px; } -.emotion-127 { +.emotion-117 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -13423,14 +13380,11 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` > @@ -13467,7 +13421,7 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` class="emotion-39 emotion-1" > render with alert 1`] = ` > @@ -13535,132 +13486,82 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` class="emotion-60 emotion-61" >
-
-
-
- - -
-
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -13669,14 +13570,14 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = `

render with alert 1`] = `
This is a regular Item
@@ -13703,10 +13604,10 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = `

€0.00

@@ -13717,7 +13618,7 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = ` @@ -13729,13 +13630,13 @@ exports[`EstimateCost - Regular Item > render with alert 1`] = `

render with isDisabledOnOverlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -13772,10 +13673,10 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -13797,6 +13698,7 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -13841,10 +13743,10 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -13853,10 +13755,9 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -13864,10 +13765,10 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -13876,15 +13777,14 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -13926,10 +13826,10 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -13938,19 +13838,19 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-22 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-22 .fillStroke { @@ -13958,10 +13858,6 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` fill: none; } -.emotion-22 path { - fill: currentColor; -} - .emotion-24 { height: 48px; display: -webkit-box; @@ -14043,10 +13939,10 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` .emotion-40 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -14055,10 +13951,6 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` fill: none; } -.emotion-40 path { - fill: currentColor; -} - .emotion-42 { padding-left: 16px; padding-right: 16px; @@ -14083,394 +13975,450 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` float: right; } -.emotion-46 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-46 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-49 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-52, +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-52 { + border-right-color: #8c40ef; +} + +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-52 { + border-right-color: #8c40ef; +} + +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-52, +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-52 { + border-right-color: #8c40ef; +} + +.emotion-49[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-49[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-49[data-size='small'] { + height: 2rem; +} + +.emotion-49[data-size='medium'] { + height: 2.5rem; +} + +.emotion-49[data-size='large'] { + height: 3rem; +} + +.emotion-49[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-49[data-success='true']>.emotion-52 { + border-right-color: #22674e; +} + +.emotion-49[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-49[data-success='true']:active>.emotion-52 { + border-right-color: #22674e; +} + +.emotion-49[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-49[data-error='true']>.emotion-52 { + border-right-color: #b3144d; +} + +.emotion-49[data-error='true']>.emotion-52:hover { + border-right-color: #b3144d; +} + +.emotion-49[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-49[data-error='true']:active>.emotion-52 { + border-right-color: #b3144d; +} + +.emotion-49[data-error='true']:active>.emotion-52:hover { + border-right-color: #b3144d; +} + +.emotion-49[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-49[data-disabled='true']>.emotion-52 { + border-right-color: #e9eaeb; +} + +.emotion-51 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-53 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-53[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-53[data-size="large"] { + font-size: 1rem; +} + +.emotion-53::-webkit-input-placeholder { + color: #727683; +} + +.emotion-53::-moz-placeholder { + color: #727683; +} + +.emotion-53:-ms-input-placeholder { + color: #727683; +} + +.emotion-53::placeholder { + color: #727683; } -.emotion-48 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53:disabled { + cursor: not-allowed; } -.emotion-48 input:hover, -.emotion-48 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-53:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-48 input[type='number']::-webkit-inner-spin-button, -.emotion-48 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-53:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-48 input[type='number'] { - -moz-appearance: textfield; +.emotion-53:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-50 { - position: relative; +.emotion-53:disabled::placeholder { + color: #b5b7bd; } -.emotion-52 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-56 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-52::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56 #unit { + border: none; + background: transparent; } -.emotion-52::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-56 #unit:focus, +.emotion-56 #unit:active { + box-shadow: none; } -.emotion-52:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-58 { + display: inherit; } -.emotion-52::placeholder { - color: #727683; - opacity: 0; +.emotion-58[data-container-full-height="true"] { + height: 100%; } -.emotion-52:hover, -.emotion-52:focus { - border-color: #792dd4; +.emotion-58[data-container-full-width="true"] { + width: 100%; } -.emotion-52:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-60 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-52::-webkit-input-placeholder { - opacity: 1; +.emotion-62 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-52::-moz-placeholder { - opacity: 1; +.emotion-62[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-52:-ms-input-placeholder { - opacity: 1; +.emotion-62[data-size='medium'] { + height: 2.5rem; } -.emotion-52::placeholder { - opacity: 1; +.emotion-62[data-size='large'] { + height: 3rem; } -.emotion-54 { - height: auto; +.emotion-62[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-54[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-62[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-56 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-62[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-60 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-62[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-60:hover, -.emotion-60:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-62[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-60:hover, -.emotion-60:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-62[data-state='success'] { + border: 1px solid #22674e; } -.emotion-62 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-62[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-64 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-62[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-64:hover { - border-color: hsl(0, 0%, 70%); +.emotion-62[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-64:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-62[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-64:hover { - border-color: #792dd4; +.emotion-62[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-65 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-62:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-65 label { - display: none; +.emotion-62[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-66 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-62[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-68 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-65 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-69 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-69:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-70 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-67 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-71 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-72 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-72:hover { - color: hsl(0, 0%, 60%); } -.emotion-75 { +.emotion-69 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-75 .fillStroke { - stroke: currentColor; +.emotion-69 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-79 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-83 { +.emotion-73 { padding-left: 16px; padding-right: 16px; position: relative; @@ -14478,7 +14426,7 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` min-width: 230px; } -.emotion-85 { +.emotion-75 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -14499,11 +14447,11 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` padding-bottom: 8px; } -.emotion-93 { +.emotion-83 { text-align: right; } -.emotion-95 { +.emotion-85 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -14518,7 +14466,7 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` margin-right: 4px; } -.emotion-97 { +.emotion-87 { padding-left: 16px; padding-right: 16px; position: relative; @@ -14530,10 +14478,10 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` min-width: 126px; } -.emotion-100 { +.emotion-90 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -14543,18 +14491,18 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` text-align: right; } -.emotion-102 { +.emotion-92 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-106 { +.emotion-96 { width: 70%; } -.emotion-108 { +.emotion-98 { padding-left: 16px; padding-right: 16px; position: relative; @@ -14571,10 +14519,10 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` min-width: 126px; } -.emotion-111 { +.emotion-101 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -14632,14 +14580,11 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` > @@ -14687,14 +14632,11 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` > @@ -14708,132 +14650,82 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` class="emotion-44 emotion-45" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -14842,14 +14734,14 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = `

render with isDisabledOnOverlay 1`] = `
This is a regular Item
@@ -14876,10 +14768,10 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = `

€0.00

@@ -14890,7 +14782,7 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = ` @@ -14902,13 +14794,13 @@ exports[`EstimateCost - Regular Item > render with isDisabledOnOverlay 1`] = `

render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -44,6 +44,7 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -88,10 +89,10 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -100,10 +101,9 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -111,10 +111,10 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -123,15 +123,14 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -204,10 +203,10 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -216,19 +215,19 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-26 .fillStroke { @@ -236,10 +235,6 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-31 { display: -webkit-box; display: -webkit-flex; @@ -305,10 +300,10 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` .emotion-44 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -317,10 +312,6 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` fill: none; } -.emotion-44 path { - fill: currentColor; -} - .emotion-46 { padding-left: 16px; padding-right: 16px; @@ -346,8 +337,32 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` } .emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-53 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -356,383 +371,415 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-52 input:hover, -.emotion-52 input:focus { +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-54 { - position: relative; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-55 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; + height: 100%; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-56::placeholder { +.emotion-57::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-57::placeholder { + color: #727683; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-56::placeholder { - opacity: 1; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-58 { - height: auto; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } .emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 100%; + width: 100%; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { box-shadow: none; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-62 { + display: inherit; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-64 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-68:focus-within { - border-color: #8c40ef; +.emotion-66[data-size='medium'] { + height: 2.5rem; +} + +.emotion-66[data-size='large'] { + height: 3rem; +} + +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-68:hover { +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-69 label { - display: none; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-76 { +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-76:hover { - color: hsl(0, 0%, 60%); } -.emotion-79 { +.emotion-73 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-79 .fillStroke { - stroke: currentColor; +.emotion-73 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-87 { +.emotion-77 { padding-left: 16px; padding-right: 16px; position: relative; @@ -740,7 +787,7 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` min-width: 230px; } -.emotion-89 { +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -761,34 +808,11 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` padding-bottom: 8px; } -.emotion-97 { +.emotion-87 { text-align: right; } -.emotion-99 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-101 { +.emotion-91 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -807,60 +831,60 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` border-radius: 0.25rem; } -.emotion-101:focus-within { +.emotion-91:focus-within { border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-101[data-success='true'] { +.emotion-91[data-success='true'] { border-color: #22674e; } -.emotion-101[data-error='true'] { +.emotion-91[data-error='true'] { border-color: #b3144d; } -.emotion-101:hover { +.emotion-91:hover { border-color: #792dd4; } -.emotion-101[data-readonly='true'] { +.emotion-91[data-readonly='true'] { border-color: #d9dadd; background: #f9f9fa; cursor: not-allowed; } -.emotion-101[data-disabled='true'] { +.emotion-91[data-disabled='true'] { border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-101[data-controls='false']>.emotion-109 { +.emotion-91[data-controls='false']>.emotion-99 { border-width: 0; } -.emotion-101[data-size='small'] { +.emotion-91[data-size='small'] { height: 2rem; } -.emotion-101[data-size='medium'] { +.emotion-91[data-size='medium'] { height: 2.5rem; } -.emotion-101[data-size='large'] { +.emotion-91[data-size='large'] { height: 3rem; } -.emotion-103 { +.emotion-93 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -869,27 +893,26 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 0.125rem 0.5rem; } -.emotion-103[data-size='small'] { +.emotion-93[data-size='small'] { height: 2rem; } -.emotion-103[data-size='medium'] { +.emotion-93[data-size='medium'] { height: 2.5rem; } -.emotion-103[data-size='large'] { +.emotion-93[data-size='large'] { height: 3rem; padding: 0.25rem 0.5rem; } -.emotion-105 { +.emotion-95 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -903,7 +926,7 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -918,7 +941,7 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -929,40 +952,40 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` color: #3f4250; } -.emotion-105:hover { +.emotion-95:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-105:active { +.emotion-95:active { box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-105:hover, -.emotion-105:active { +.emotion-95 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-95:hover, +.emotion-95:active { background: #e9eaeb; color: #222638; } -.emotion-107 { +.emotion-97 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-107 .fillStroke { +.emotion-97 .fillStroke { stroke: currentColor; fill: none; } -.emotion-107 path { - fill: currentColor; -} - -.emotion-110 { +.emotion-100 { display: grid; grid-template-columns: 1fr auto; -webkit-align-items: center; @@ -979,14 +1002,14 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` width: 100%; } -.emotion-112 { +.emotion-102 { outline: none; border: none; padding: 0; width: 100%; color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: Regular; line-height: 1.25rem; text-align: center; @@ -994,18 +1017,18 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` background: none; } -.emotion-112[data-has-unit='true'] { +.emotion-102[data-has-unit='true'] { text-align: left; padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-112::-webkit-outer-spin-button, -.emotion-112::-webkit-inner-spin-button { +.emotion-102::-webkit-outer-spin-button, +.emotion-102::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-112 { +.emotion-102 { -moz-appearance: textfield; -webkit-appearance: textfield; -moz-appearance: textfield; @@ -1013,50 +1036,50 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` appearance: textfield; } -.emotion-112[data-size='small'] { +.emotion-102[data-size='small'] { height: 2rem; } -.emotion-112[data-size='medium'] { +.emotion-102[data-size='medium'] { height: 2.5rem; } -.emotion-112[data-size='large'] { +.emotion-102[data-size='large'] { height: 3rem; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: Regular; line-height: 1.5rem; } -.emotion-112:-moz-read-only { +.emotion-102:-moz-read-only { color: #3f4250; background: #f9f9fa; border-block: 1px solid #d9dadd; } -.emotion-112:read-only { +.emotion-102:read-only { color: #3f4250; background: #f9f9fa; border-block: 1px solid #d9dadd; } -.emotion-112:-moz-read-only~.e1b9qdjy2 { +.emotion-102:-moz-read-only~.exvap482 { background: #f9f9fa; } -.emotion-112:read-only~.e1b9qdjy2 { +.emotion-102:read-only~.exvap482 { background: #f9f9fa; } -.emotion-112:disabled { +.emotion-102:disabled { color: #b5b7bd; background: #f3f3f4; cursor: not-allowed; border-block: 1px solid #e9eaeb; } -.emotion-112:disabled~.e1b9qdjy2 { +.emotion-102:disabled~.exvap482 { background: #f3f3f4; cursor: not-allowed; -webkit-user-select: none; @@ -1065,16 +1088,16 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` user-select: none; } -.emotion-112:placeholder-shown~.e1b9qdjy2 { +.emotion-102:placeholder-shown~.exvap482 { color: #727683; font-size: 1rem; } -.emotion-112[data-controls='false'] { +.emotion-102[data-controls='false'] { text-align: left; } -.emotion-120 { +.emotion-110 { padding-left: 16px; padding-right: 16px; position: relative; @@ -1086,10 +1109,10 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` min-width: 126px; } -.emotion-123 { +.emotion-113 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1099,18 +1122,18 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` text-align: right; } -.emotion-125 { +.emotion-115 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-129 { +.emotion-119 { width: 70%; } -.emotion-131 { +.emotion-121 { padding-left: 16px; padding-right: 16px; position: relative; @@ -1127,10 +1150,10 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` min-width: 126px; } -.emotion-134 { +.emotion-124 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -1198,14 +1221,11 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` > @@ -1253,14 +1273,11 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` > @@ -1274,132 +1291,82 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` class="emotion-48 emotion-49" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -1408,14 +1375,14 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = `

render basic props 1`] = `
render basic props 1`] = ` data-unit="false" >
render basic props 1`] = ` />

€0.00

@@ -1523,7 +1488,7 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = ` @@ -1535,13 +1500,13 @@ exports[`EstimateCost - NumberInput Item > render basic props 1`] = `

render basic with overlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1578,10 +1543,10 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -1603,6 +1568,7 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -1647,10 +1613,10 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1659,10 +1625,9 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -1670,10 +1635,10 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1682,15 +1647,14 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1763,10 +1727,10 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1775,19 +1739,19 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-26 .fillStroke { @@ -1795,10 +1759,6 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-31 { display: -webkit-box; display: -webkit-flex; @@ -1864,10 +1824,10 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` .emotion-44 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -1876,10 +1836,6 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` fill: none; } -.emotion-44 path { - fill: currentColor; -} - .emotion-46 { padding-left: 16px; padding-right: 16px; @@ -1905,8 +1861,32 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` } .emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-53 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1915,383 +1895,415 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input:hover, -.emotion-52 input:focus { +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-54 { - position: relative; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-55 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; outline: none; - position: relative; + height: 100%; width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-57[data-size="small"] { padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-56::-webkit-input-placeholder { +.emotion-57[data-size="large"] { + font-size: 1rem; +} + +.emotion-57::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-57::-moz-placeholder { + color: #727683; +} + +.emotion-57:-ms-input-placeholder { + color: #727683; +} + +.emotion-57::placeholder { + color: #727683; +} + +.emotion-57:disabled { + cursor: not-allowed; +} + +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-60 { + width: 100%; + width: 100%; +} + +.emotion-60 #unit { + border: none; + background: transparent; +} + +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-62 { + display: inherit; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-62[data-container-full-width="true"] { + width: 100%; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-58 { - height: auto; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-68:hover { - border-color: #792dd4; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-69 label { - display: none; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-76 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-76:hover { - color: hsl(0, 0%, 60%); } -.emotion-79 { +.emotion-73 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-79 .fillStroke { - stroke: currentColor; +.emotion-73 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-87 { +.emotion-77 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2299,7 +2311,7 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` min-width: 230px; } -.emotion-89 { +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2320,34 +2332,11 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` padding-bottom: 8px; } -.emotion-97 { +.emotion-87 { text-align: right; } -.emotion-99 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-101 { +.emotion-91 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2366,60 +2355,60 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` border-radius: 0.25rem; } -.emotion-101:focus-within { +.emotion-91:focus-within { border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-101[data-success='true'] { +.emotion-91[data-success='true'] { border-color: #22674e; } -.emotion-101[data-error='true'] { +.emotion-91[data-error='true'] { border-color: #b3144d; } -.emotion-101:hover { +.emotion-91:hover { border-color: #792dd4; } -.emotion-101[data-readonly='true'] { +.emotion-91[data-readonly='true'] { border-color: #d9dadd; background: #f9f9fa; cursor: not-allowed; } -.emotion-101[data-disabled='true'] { +.emotion-91[data-disabled='true'] { border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-101[data-controls='false']>.emotion-109 { +.emotion-91[data-controls='false']>.emotion-99 { border-width: 0; } -.emotion-101[data-size='small'] { +.emotion-91[data-size='small'] { height: 2rem; } -.emotion-101[data-size='medium'] { +.emotion-91[data-size='medium'] { height: 2.5rem; } -.emotion-101[data-size='large'] { +.emotion-91[data-size='large'] { height: 3rem; } -.emotion-103 { +.emotion-93 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2428,27 +2417,26 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 0.125rem 0.5rem; } -.emotion-103[data-size='small'] { +.emotion-93[data-size='small'] { height: 2rem; } -.emotion-103[data-size='medium'] { +.emotion-93[data-size='medium'] { height: 2.5rem; } -.emotion-103[data-size='large'] { +.emotion-93[data-size='large'] { height: 3rem; padding: 0.25rem 0.5rem; } -.emotion-105 { +.emotion-95 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2462,7 +2450,7 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2477,7 +2465,7 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2488,40 +2476,40 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` color: #3f4250; } -.emotion-105:hover { +.emotion-95:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-105:active { +.emotion-95:active { box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-105:hover, -.emotion-105:active { +.emotion-95 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-95:hover, +.emotion-95:active { background: #e9eaeb; color: #222638; } -.emotion-107 { +.emotion-97 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-107 .fillStroke { +.emotion-97 .fillStroke { stroke: currentColor; fill: none; } -.emotion-107 path { - fill: currentColor; -} - -.emotion-110 { +.emotion-100 { display: grid; grid-template-columns: 1fr auto; -webkit-align-items: center; @@ -2538,14 +2526,14 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` width: 100%; } -.emotion-112 { +.emotion-102 { outline: none; border: none; padding: 0; width: 100%; color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: Regular; line-height: 1.25rem; text-align: center; @@ -2553,18 +2541,18 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` background: none; } -.emotion-112[data-has-unit='true'] { +.emotion-102[data-has-unit='true'] { text-align: left; padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-112::-webkit-outer-spin-button, -.emotion-112::-webkit-inner-spin-button { +.emotion-102::-webkit-outer-spin-button, +.emotion-102::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-112 { +.emotion-102 { -moz-appearance: textfield; -webkit-appearance: textfield; -moz-appearance: textfield; @@ -2572,50 +2560,50 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` appearance: textfield; } -.emotion-112[data-size='small'] { +.emotion-102[data-size='small'] { height: 2rem; } -.emotion-112[data-size='medium'] { +.emotion-102[data-size='medium'] { height: 2.5rem; } -.emotion-112[data-size='large'] { +.emotion-102[data-size='large'] { height: 3rem; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: Regular; line-height: 1.5rem; } -.emotion-112:-moz-read-only { +.emotion-102:-moz-read-only { color: #3f4250; background: #f9f9fa; border-block: 1px solid #d9dadd; } -.emotion-112:read-only { +.emotion-102:read-only { color: #3f4250; background: #f9f9fa; border-block: 1px solid #d9dadd; } -.emotion-112:-moz-read-only~.e1b9qdjy2 { +.emotion-102:-moz-read-only~.exvap482 { background: #f9f9fa; } -.emotion-112:read-only~.e1b9qdjy2 { +.emotion-102:read-only~.exvap482 { background: #f9f9fa; } -.emotion-112:disabled { +.emotion-102:disabled { color: #b5b7bd; background: #f3f3f4; cursor: not-allowed; border-block: 1px solid #e9eaeb; } -.emotion-112:disabled~.e1b9qdjy2 { +.emotion-102:disabled~.exvap482 { background: #f3f3f4; cursor: not-allowed; -webkit-user-select: none; @@ -2624,16 +2612,16 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` user-select: none; } -.emotion-112:placeholder-shown~.e1b9qdjy2 { +.emotion-102:placeholder-shown~.exvap482 { color: #727683; font-size: 1rem; } -.emotion-112[data-controls='false'] { +.emotion-102[data-controls='false'] { text-align: left; } -.emotion-120 { +.emotion-110 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2645,10 +2633,10 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` min-width: 126px; } -.emotion-123 { +.emotion-113 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2658,18 +2646,18 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` text-align: right; } -.emotion-125 { +.emotion-115 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-129 { +.emotion-119 { width: 70%; } -.emotion-131 { +.emotion-121 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2686,10 +2674,10 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` min-width: 126px; } -.emotion-134 { +.emotion-124 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -2757,14 +2745,11 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` > @@ -2812,14 +2797,11 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` > @@ -2833,132 +2815,82 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` class="emotion-48 emotion-49" >
-
-
-
-
- - -
- -
- Hour(s) -
-
- -
-
-
-
- -
-
-
@@ -2967,14 +2899,14 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = `

render basic with overlay 1`] = `
render basic with overlay 1`] = ` data-unit="false" >
render basic with overlay 1`] = ` />

€0.00

@@ -3082,7 +3012,7 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = ` @@ -3094,13 +3024,13 @@ exports[`EstimateCost - NumberInput Item > render basic with overlay 1`] = `

render with getAmountValue 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3137,10 +3067,10 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -3162,6 +3092,7 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -3206,10 +3137,10 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3218,10 +3149,9 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -3229,10 +3159,10 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3241,15 +3171,14 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -3322,10 +3251,10 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3334,19 +3263,19 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-26 .fillStroke { @@ -3354,10 +3283,6 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-31 { display: -webkit-box; display: -webkit-flex; @@ -3423,10 +3348,10 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` .emotion-44 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -3435,10 +3360,6 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` fill: none; } -.emotion-44 path { - fill: currentColor; -} - .emotion-46 { padding-left: 16px; padding-right: 16px; @@ -3464,8 +3385,32 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` } .emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-53 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3474,383 +3419,415 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input:hover, -.emotion-52 input:focus { +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-54 { - position: relative; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-55 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-57[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-57[data-size="large"] { + font-size: 1rem; +} + +.emotion-57::-webkit-input-placeholder { + color: #727683; +} + +.emotion-57::-moz-placeholder { + color: #727683; +} + +.emotion-57:-ms-input-placeholder { + color: #727683; +} + +.emotion-57::placeholder { + color: #727683; +} + +.emotion-57:disabled { + cursor: not-allowed; +} + +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-60 { + width: 100%; + width: 100%; +} + +.emotion-60 #unit { + border: none; + background: transparent; +} + +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; +} + +.emotion-62 { + display: inherit; +} + +.emotion-62[data-container-full-height="true"] { + height: 100%; +} + +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-56:hover, -.emotion-56:focus { +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; -} - -.emotion-56:focus { box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-58 { - height: auto; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; + cursor: default; } -.emotion-68:hover { - border-color: #792dd4; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } .emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; -} - -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-76 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-79 { +.emotion-73 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-79 .fillStroke { - stroke: currentColor; +.emotion-73 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-87 { +.emotion-77 { padding-left: 16px; padding-right: 16px; position: relative; @@ -3858,7 +3835,7 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` min-width: 230px; } -.emotion-89 { +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3879,34 +3856,11 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` padding-bottom: 8px; } -.emotion-97 { +.emotion-87 { text-align: right; } -.emotion-99 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-101 { +.emotion-91 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3925,60 +3879,60 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` border-radius: 0.25rem; } -.emotion-101:focus-within { +.emotion-91:focus-within { border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-101[data-success='true'] { +.emotion-91[data-success='true'] { border-color: #22674e; } -.emotion-101[data-error='true'] { +.emotion-91[data-error='true'] { border-color: #b3144d; } -.emotion-101:hover { +.emotion-91:hover { border-color: #792dd4; } -.emotion-101[data-readonly='true'] { +.emotion-91[data-readonly='true'] { border-color: #d9dadd; background: #f9f9fa; cursor: not-allowed; } -.emotion-101[data-disabled='true'] { +.emotion-91[data-disabled='true'] { border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-101[data-controls='false']>.emotion-109 { +.emotion-91[data-controls='false']>.emotion-99 { border-width: 0; } -.emotion-101[data-size='small'] { +.emotion-91[data-size='small'] { height: 2rem; } -.emotion-101[data-size='medium'] { +.emotion-91[data-size='medium'] { height: 2.5rem; } -.emotion-101[data-size='large'] { +.emotion-91[data-size='large'] { height: 3rem; } -.emotion-103 { +.emotion-93 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3987,27 +3941,26 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 0.125rem 0.5rem; } -.emotion-103[data-size='small'] { +.emotion-93[data-size='small'] { height: 2rem; } -.emotion-103[data-size='medium'] { +.emotion-93[data-size='medium'] { height: 2.5rem; } -.emotion-103[data-size='large'] { +.emotion-93[data-size='large'] { height: 3rem; padding: 0.25rem 0.5rem; } -.emotion-105 { +.emotion-95 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -4021,7 +3974,7 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4036,7 +3989,7 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4047,40 +4000,40 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` color: #3f4250; } -.emotion-105:hover { +.emotion-95:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-105:active { +.emotion-95:active { box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-105:hover, -.emotion-105:active { +.emotion-95 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-95:hover, +.emotion-95:active { background: #e9eaeb; color: #222638; } -.emotion-107 { +.emotion-97 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-107 .fillStroke { +.emotion-97 .fillStroke { stroke: currentColor; fill: none; } -.emotion-107 path { - fill: currentColor; -} - -.emotion-110 { +.emotion-100 { display: grid; grid-template-columns: 1fr auto; -webkit-align-items: center; @@ -4097,14 +4050,14 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` width: 100%; } -.emotion-112 { +.emotion-102 { outline: none; border: none; padding: 0; width: 100%; color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: Regular; line-height: 1.25rem; text-align: center; @@ -4112,18 +4065,18 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` background: none; } -.emotion-112[data-has-unit='true'] { +.emotion-102[data-has-unit='true'] { text-align: left; padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-112::-webkit-outer-spin-button, -.emotion-112::-webkit-inner-spin-button { +.emotion-102::-webkit-outer-spin-button, +.emotion-102::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-112 { +.emotion-102 { -moz-appearance: textfield; -webkit-appearance: textfield; -moz-appearance: textfield; @@ -4131,50 +4084,50 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` appearance: textfield; } -.emotion-112[data-size='small'] { +.emotion-102[data-size='small'] { height: 2rem; } -.emotion-112[data-size='medium'] { +.emotion-102[data-size='medium'] { height: 2.5rem; } -.emotion-112[data-size='large'] { +.emotion-102[data-size='large'] { height: 3rem; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: Regular; line-height: 1.5rem; } -.emotion-112:-moz-read-only { +.emotion-102:-moz-read-only { color: #3f4250; background: #f9f9fa; border-block: 1px solid #d9dadd; } -.emotion-112:read-only { +.emotion-102:read-only { color: #3f4250; background: #f9f9fa; border-block: 1px solid #d9dadd; } -.emotion-112:-moz-read-only~.e1b9qdjy2 { +.emotion-102:-moz-read-only~.exvap482 { background: #f9f9fa; } -.emotion-112:read-only~.e1b9qdjy2 { +.emotion-102:read-only~.exvap482 { background: #f9f9fa; } -.emotion-112:disabled { +.emotion-102:disabled { color: #b5b7bd; background: #f3f3f4; cursor: not-allowed; border-block: 1px solid #e9eaeb; } -.emotion-112:disabled~.e1b9qdjy2 { +.emotion-102:disabled~.exvap482 { background: #f3f3f4; cursor: not-allowed; -webkit-user-select: none; @@ -4183,16 +4136,16 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` user-select: none; } -.emotion-112:placeholder-shown~.e1b9qdjy2 { +.emotion-102:placeholder-shown~.exvap482 { color: #727683; font-size: 1rem; } -.emotion-112[data-controls='false'] { +.emotion-102[data-controls='false'] { text-align: left; } -.emotion-120 { +.emotion-110 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4204,10 +4157,10 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` min-width: 126px; } -.emotion-123 { +.emotion-113 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4217,18 +4170,18 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` text-align: right; } -.emotion-125 { +.emotion-115 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-129 { +.emotion-119 { width: 70%; } -.emotion-131 { +.emotion-121 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4245,10 +4198,10 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` min-width: 126px; } -.emotion-134 { +.emotion-124 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -4316,14 +4269,11 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` > @@ -4371,14 +4321,11 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` > @@ -4392,132 +4339,82 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` class="emotion-48 emotion-49" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -4526,14 +4423,14 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = `

render with getAmountValue 1`] = `
render with getAmountValue 1`] = ` data-unit="false" >
render with getAmountValue 1`] = ` />

€0.00

@@ -4641,7 +4536,7 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = ` @@ -4653,13 +4548,13 @@ exports[`EstimateCost - NumberInput Item > render with getAmountValue 1`] = `

render with values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4696,10 +4591,10 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -4721,6 +4616,7 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -4765,10 +4661,10 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4777,10 +4673,9 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -4788,10 +4683,10 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4800,15 +4695,14 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -4881,10 +4775,10 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4893,19 +4787,19 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-26 .fillStroke { @@ -4913,10 +4807,6 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-31 { display: -webkit-box; display: -webkit-flex; @@ -4982,10 +4872,10 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` .emotion-44 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -4994,10 +4884,6 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` fill: none; } -.emotion-44 path { - fill: currentColor; -} - .emotion-46 { padding-left: 16px; padding-right: 16px; @@ -5023,8 +4909,32 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` } .emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-53 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5033,383 +4943,415 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input:hover, -.emotion-52 input:focus { +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-54 { - position: relative; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-55 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-57[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-57[data-size="large"] { + font-size: 1rem; +} + +.emotion-57::-webkit-input-placeholder { + color: #727683; +} + +.emotion-57::-moz-placeholder { + color: #727683; +} + +.emotion-57:-ms-input-placeholder { + color: #727683; +} + +.emotion-57::placeholder { + color: #727683; +} + +.emotion-57:disabled { + cursor: not-allowed; +} + +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-60 { + width: 100%; + width: 100%; +} + +.emotion-60 #unit { + border: none; + background: transparent; +} + +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; +} + +.emotion-62 { + display: inherit; +} + +.emotion-62[data-container-full-height="true"] { + height: 100%; +} + +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-56:hover, -.emotion-56:focus { +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; -} - -.emotion-56:focus { box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-56::-webkit-input-placeholder { - opacity: 1; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-58 { - height: auto; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + cursor: default; } -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } .emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; -} - -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-76 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-76:hover { - color: hsl(0, 0%, 60%); } -.emotion-79 { +.emotion-73 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-79 .fillStroke { - stroke: currentColor; +.emotion-73 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-87 { +.emotion-77 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5417,7 +5359,7 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` min-width: 230px; } -.emotion-89 { +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -5438,10 +5380,10 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` padding-bottom: 8px; } -.emotion-98 { +.emotion-88 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -5452,34 +5394,11 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` margin-left: 0.5rem; } -.emotion-100 { +.emotion-90 { text-align: right; } -.emotion-102 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-104 { +.emotion-94 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -5498,60 +5417,60 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` border-radius: 0.25rem; } -.emotion-104:focus-within { +.emotion-94:focus-within { border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-104[data-success='true'] { +.emotion-94[data-success='true'] { border-color: #22674e; } -.emotion-104[data-error='true'] { +.emotion-94[data-error='true'] { border-color: #b3144d; } -.emotion-104:hover { +.emotion-94:hover { border-color: #792dd4; } -.emotion-104[data-readonly='true'] { +.emotion-94[data-readonly='true'] { border-color: #d9dadd; background: #f9f9fa; cursor: not-allowed; } -.emotion-104[data-disabled='true'] { +.emotion-94[data-disabled='true'] { border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-104[data-controls='false']>.emotion-112 { +.emotion-94[data-controls='false']>.emotion-102 { border-width: 0; } -.emotion-104[data-size='small'] { +.emotion-94[data-size='small'] { height: 2rem; } -.emotion-104[data-size='medium'] { +.emotion-94[data-size='medium'] { height: 2.5rem; } -.emotion-104[data-size='large'] { +.emotion-94[data-size='large'] { height: 3rem; } -.emotion-106 { +.emotion-96 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5560,27 +5479,26 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 0.125rem 0.5rem; } -.emotion-106[data-size='small'] { +.emotion-96[data-size='small'] { height: 2rem; } -.emotion-106[data-size='medium'] { +.emotion-96[data-size='medium'] { height: 2.5rem; } -.emotion-106[data-size='large'] { +.emotion-96[data-size='large'] { height: 3rem; padding: 0.25rem 0.5rem; } -.emotion-108 { +.emotion-98 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -5594,7 +5512,7 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5609,7 +5527,7 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -5620,40 +5538,40 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` color: #3f4250; } -.emotion-108:hover { +.emotion-98:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-108:active { +.emotion-98:active { box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-108:hover, -.emotion-108:active { +.emotion-98 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-98:hover, +.emotion-98:active { background: #e9eaeb; color: #222638; } -.emotion-110 { +.emotion-100 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-110 .fillStroke { +.emotion-100 .fillStroke { stroke: currentColor; fill: none; } -.emotion-110 path { - fill: currentColor; -} - -.emotion-113 { +.emotion-103 { display: grid; grid-template-columns: 1fr auto; -webkit-align-items: center; @@ -5670,14 +5588,14 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` width: 100%; } -.emotion-115 { +.emotion-105 { outline: none; border: none; padding: 0; width: 100%; color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: Regular; line-height: 1.25rem; text-align: center; @@ -5685,18 +5603,18 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` background: none; } -.emotion-115[data-has-unit='true'] { +.emotion-105[data-has-unit='true'] { text-align: left; padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-115::-webkit-outer-spin-button, -.emotion-115::-webkit-inner-spin-button { +.emotion-105::-webkit-outer-spin-button, +.emotion-105::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-115 { +.emotion-105 { -moz-appearance: textfield; -webkit-appearance: textfield; -moz-appearance: textfield; @@ -5704,50 +5622,50 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` appearance: textfield; } -.emotion-115[data-size='small'] { +.emotion-105[data-size='small'] { height: 2rem; } -.emotion-115[data-size='medium'] { +.emotion-105[data-size='medium'] { height: 2.5rem; } -.emotion-115[data-size='large'] { +.emotion-105[data-size='large'] { height: 3rem; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: Regular; line-height: 1.5rem; } -.emotion-115:-moz-read-only { +.emotion-105:-moz-read-only { color: #3f4250; background: #f9f9fa; border-block: 1px solid #d9dadd; } -.emotion-115:read-only { +.emotion-105:read-only { color: #3f4250; background: #f9f9fa; border-block: 1px solid #d9dadd; } -.emotion-115:-moz-read-only~.e1b9qdjy2 { +.emotion-105:-moz-read-only~.exvap482 { background: #f9f9fa; } -.emotion-115:read-only~.e1b9qdjy2 { +.emotion-105:read-only~.exvap482 { background: #f9f9fa; } -.emotion-115:disabled { +.emotion-105:disabled { color: #b5b7bd; background: #f3f3f4; cursor: not-allowed; border-block: 1px solid #e9eaeb; } -.emotion-115:disabled~.e1b9qdjy2 { +.emotion-105:disabled~.exvap482 { background: #f3f3f4; cursor: not-allowed; -webkit-user-select: none; @@ -5756,16 +5674,16 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` user-select: none; } -.emotion-115:placeholder-shown~.e1b9qdjy2 { +.emotion-105:placeholder-shown~.exvap482 { color: #727683; font-size: 1rem; } -.emotion-115[data-controls='false'] { +.emotion-105[data-controls='false'] { text-align: left; } -.emotion-123 { +.emotion-113 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5777,10 +5695,10 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` min-width: 126px; } -.emotion-126 { +.emotion-116 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -5790,9 +5708,9 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` text-align: right; } -.emotion-129 { +.emotion-119 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -5802,18 +5720,18 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` text-align: right; } -.emotion-131 { +.emotion-121 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-135 { +.emotion-125 { width: 70%; } -.emotion-137 { +.emotion-127 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5830,10 +5748,10 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` min-width: 126px; } -.emotion-140 { +.emotion-130 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -5901,14 +5819,11 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` > @@ -5956,14 +5871,11 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` > @@ -5977,132 +5889,82 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` class="emotion-48 emotion-49" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -6111,14 +5973,14 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = `

render with values 1`] = ` Chocolates

Chocolate is never free :(

render with values 1`] = ` data-unit="false" >
render with values 1`] = ` />

€50.00

€1.00/chocolate/hour(s)

@@ -6236,7 +6096,7 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = ` @@ -6248,13 +6108,13 @@ exports[`EstimateCost - NumberInput Item > render with values 1`] = `

render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -44,6 +44,7 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -88,10 +89,10 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -100,10 +101,9 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -111,10 +111,10 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -123,15 +123,14 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -200,10 +199,10 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -212,19 +211,19 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -232,10 +231,6 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -317,10 +312,10 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -329,10 +324,6 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-45 { padding-left: 16px; padding-right: 16px; @@ -358,8 +349,32 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` } .emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -368,403 +383,435 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-53 { - position: relative; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-55::placeholder { - opacity: 1; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-57 { - height: auto; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-56::-moz-placeholder { + color: #727683; +} + +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-68 label { - display: none; +.emotion-56::placeholder { + color: #727683; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-61 { + display: inherit; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-88 { +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; @@ -773,11 +820,11 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` padding-bottom: 8px; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -804,7 +851,7 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` margin-right: 4px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -816,10 +863,10 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` min-width: 126px; } -.emotion-104 { +.emotion-94 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -829,18 +876,18 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` text-align: right; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -857,10 +904,10 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` min-width: 126px; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -924,14 +971,11 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` > @@ -979,14 +1023,11 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` > @@ -1000,132 +1041,82 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` class="emotion-47 emotion-48" >
-
-
-
-
- - -
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -1134,14 +1125,14 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = `

render basic props 1`] = `
This is a strong Item
@@ -1168,10 +1159,10 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = `

€0.00

@@ -1182,7 +1173,7 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = ` @@ -1194,13 +1185,13 @@ exports[`EstimateCost - Strong Item > render basic props 1`] = `

render with isDisabledOnOverlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1237,10 +1228,10 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -1262,6 +1253,7 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -1306,10 +1298,10 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1318,10 +1310,9 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -1329,10 +1320,10 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1341,15 +1332,14 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1391,10 +1381,10 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1403,19 +1393,19 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-22 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-22 .fillStroke { @@ -1423,10 +1413,6 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` fill: none; } -.emotion-22 path { - fill: currentColor; -} - .emotion-24 { height: 48px; display: -webkit-box; @@ -1508,10 +1494,10 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` .emotion-40 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -1520,10 +1506,6 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` fill: none; } -.emotion-40 path { - fill: currentColor; -} - .emotion-42 { padding-left: 16px; padding-right: 16px; @@ -1549,8 +1531,15 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` } .emotion-46 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1559,383 +1548,432 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-48 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; -} - -.emotion-48 input:hover, -.emotion-48 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} +.emotion-49 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} -.emotion-48 input[type='number']::-webkit-inner-spin-button, -.emotion-48 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-48 input[type='number'] { - -moz-appearance: textfield; +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-52, +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-52 { + border-right-color: #8c40ef; } -.emotion-50 { - position: relative; +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-52 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-49:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-52 { + border-right-color: #8c40ef; } -.emotion-52::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-52::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-52, +.emotion-49:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-52 { + border-right-color: #8c40ef; } -.emotion-52:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-49[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-52::placeholder { - color: #727683; - opacity: 0; +.emotion-49[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-52:hover, -.emotion-52:focus { - border-color: #792dd4; +.emotion-49[data-size='small'] { + height: 2rem; } -.emotion-52:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-49[data-size='medium'] { + height: 2.5rem; } -.emotion-52::-webkit-input-placeholder { - opacity: 1; +.emotion-49[data-size='large'] { + height: 3rem; } -.emotion-52::-moz-placeholder { - opacity: 1; +.emotion-49[data-success='true'] { + border: 1px solid #22674e; } -.emotion-52:-ms-input-placeholder { - opacity: 1; +.emotion-49[data-success='true']>.emotion-52 { + border-right-color: #22674e; } -.emotion-52::placeholder { - opacity: 1; +.emotion-49[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-54 { - height: auto; +.emotion-49[data-success='true']:active>.emotion-52 { + border-right-color: #22674e; } -.emotion-54[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-49[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-56 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-49[data-error='true']>.emotion-52 { + border-right-color: #b3144d; } -.emotion-60 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-49[data-error='true']>.emotion-52:hover { + border-right-color: #b3144d; } -.emotion-60:hover, -.emotion-60:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-49[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-60:hover, -.emotion-60:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-49[data-error='true']:active>.emotion-52 { + border-right-color: #b3144d; } -.emotion-62 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-49[data-error='true']:active>.emotion-52:hover { + border-right-color: #b3144d; +} + +.emotion-49[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-49[data-disabled='true']>.emotion-52 { + border-right-color: #e9eaeb; } -.emotion-64 { +.emotion-51 { + 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; - cursor: pointer; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-53 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-53[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-53[data-size="large"] { + font-size: 1rem; +} + +.emotion-53::-webkit-input-placeholder { + color: #727683; +} + +.emotion-53::-moz-placeholder { + color: #727683; +} + +.emotion-53:-ms-input-placeholder { + color: #727683; +} + +.emotion-53::placeholder { + color: #727683; +} + +.emotion-53:disabled { + cursor: not-allowed; +} + +.emotion-53:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-53:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-53:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-53:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-56 { + width: 100%; + width: 100%; +} + +.emotion-56 #unit { + border: none; + background: transparent; +} + +.emotion-56 #unit:focus, +.emotion-56 #unit:active { + box-shadow: none; +} + +.emotion-58 { + display: inherit; +} + +.emotion-58[data-container-full-height="true"] { + height: 100%; +} + +.emotion-58[data-container-full-width="true"] { + width: 100%; +} + +.emotion-60 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-62 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-64:hover { - border-color: hsl(0, 0%, 70%); +.emotion-62[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-64:focus-within { - border-color: #8c40ef; +.emotion-62[data-size='medium'] { + height: 2.5rem; +} + +.emotion-62[data-size='large'] { + height: 3rem; +} + +.emotion-62[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-62[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-64:hover { +.emotion-62[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-65 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-62[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-65 label { - display: none; +.emotion-62[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-66 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-62[data-state='success'] { + border: 1px solid #22674e; } -.emotion-68 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-62[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-69 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-69:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-62[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-70 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-62[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-71 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-62[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-72 { +.emotion-62[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-62:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-62[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-62[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-65 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-72:hover { - color: hsl(0, 0%, 60%); } -.emotion-75 { +.emotion-69 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-75 .fillStroke { - stroke: currentColor; +.emotion-69 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-79 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-83 { +.emotion-73 { padding-left: 16px; padding-right: 16px; position: relative; @@ -1943,7 +1981,7 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` min-width: 230px; } -.emotion-85 { +.emotion-75 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1964,11 +2002,11 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` padding-bottom: 8px; } -.emotion-93 { +.emotion-83 { text-align: right; } -.emotion-96 { +.emotion-86 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1995,7 +2033,7 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` margin-right: 4px; } -.emotion-98 { +.emotion-88 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2007,10 +2045,10 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` min-width: 126px; } -.emotion-101 { +.emotion-91 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2020,18 +2058,18 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` text-align: right; } -.emotion-103 { +.emotion-93 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-107 { +.emotion-97 { width: 70%; } -.emotion-109 { +.emotion-99 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2048,10 +2086,10 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` min-width: 126px; } -.emotion-112 { +.emotion-102 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -2109,14 +2147,11 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` > @@ -2164,14 +2199,11 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` > @@ -2185,132 +2217,82 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` class="emotion-44 emotion-45" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -2319,14 +2301,14 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = `

render with isDisabledOnOverlay 1`] = `
This is a strong Item
@@ -2353,10 +2335,10 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = `

€0.00

@@ -2367,7 +2349,7 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = ` @@ -2379,13 +2361,13 @@ exports[`EstimateCost - Strong Item > render with isDisabledOnOverlay 1`] = `

render with small variant 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2422,10 +2404,10 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -2447,6 +2429,7 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -2491,10 +2474,10 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2503,10 +2486,9 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -2514,10 +2496,10 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2526,15 +2508,14 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2603,10 +2584,10 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2615,19 +2596,19 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -2635,10 +2616,6 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -2713,441 +2690,493 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` margin: 0; font-size: 18px; color: #3f4250; - font-weight: 500; - padding: 1rem; + font-weight: 500; + padding: 1rem; +} + +.emotion-43 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-43 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-45 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-47 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-52[data-size='small'] { + height: 2rem; +} + +.emotion-52[data-size='medium'] { + height: 2.5rem; +} + +.emotion-52[data-size='large'] { + height: 3rem; +} + +.emotion-52[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-54 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-43 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-43 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-43 path { - fill: currentColor; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-45 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-47 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-56::placeholder { + color: #727683; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-53 { - position: relative; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-59 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-61 { + display: inherit; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-63 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-55::placeholder { - opacity: 1; +.emotion-65[data-size='large'] { + height: 3rem; } -.emotion-57 { - height: auto; +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='success'] { + border: 1px solid #22674e; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-68 label { - display: none; +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-75 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); } -.emotion-78 { +.emotion-72 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-78 .fillStroke { - stroke: currentColor; +.emotion-72 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-86 { +.emotion-76 { padding-left: 16px; padding-right: 16px; position: relative; @@ -3155,7 +3184,7 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` min-width: 230px; } -.emotion-88 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -3176,11 +3205,11 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` padding-bottom: 8px; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3207,7 +3236,7 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` margin-right: 4px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -3219,10 +3248,10 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` min-width: 126px; } -.emotion-104 { +.emotion-94 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3232,18 +3261,18 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` text-align: right; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -3260,10 +3289,10 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` min-width: 126px; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -3327,14 +3356,11 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` > @@ -3382,14 +3408,11 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` > @@ -3403,132 +3426,82 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` class="emotion-47 emotion-48" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -3537,14 +3510,14 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = `

render with small variant 1`] = `
This is a strong Item
@@ -3571,10 +3544,10 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = `

€0.00

@@ -3585,7 +3558,7 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = ` @@ -3597,13 +3570,13 @@ exports[`EstimateCost - Strong Item > render with small variant 1`] = `

render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -44,6 +44,7 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -88,10 +89,10 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -100,10 +101,9 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -111,10 +111,10 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -123,15 +123,14 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -204,10 +203,10 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -216,19 +215,19 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-26 .fillStroke { @@ -236,10 +235,6 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-31 { display: -webkit-box; display: -webkit-flex; @@ -305,10 +300,10 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` .emotion-44 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -317,10 +312,6 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` fill: none; } -.emotion-44 path { - fill: currentColor; -} - .emotion-46 { padding-left: 16px; padding-right: 16px; @@ -346,8 +337,32 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` } .emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-53 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -356,657 +371,757 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-54 { - position: relative; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-size='small'] { + height: 2rem; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-size='medium'] { + height: 2.5rem; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-53[data-size='large'] { + height: 3rem; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-53[data-success='true'] { + border: 1px solid #22674e; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; } -.emotion-56::placeholder { - opacity: 1; +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-58 { - height: auto; +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-68:hover { - border-color: #792dd4; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-69 label { - display: none; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-57::placeholder { + color: #727683; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-76 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); +.emotion-60 { + width: 100%; + width: 100%; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-62 { + display: inherit; } -.emotion-87 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-89 { +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-64 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-97 { - text-align: right; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-99 input[type='number'] { - -moz-appearance: textfield; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; +.emotion-66[data-size='large'] { + height: 3rem; +} + +.emotion-66[data-state='neutral'] { border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +} + +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-103::placeholder { - opacity: 1; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-105:hover, -.emotion-105:focus-within { - color: #3f4250; +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-110 { +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-87 { + text-align: right; +} + +.emotion-90 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; - min-width: 24px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-113 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-119 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-90 input[type='number'] { + -moz-appearance: textfield; } -.emotion-122 { - color: #727683; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-92 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-124 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-92:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-128 { - width: 70%; +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-130 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-92[data-error='true'] { + border-color: #b3144d; +} + +.emotion-92:hover { + border-color: #792dd4; +} + +.emotion-92[data-readonly='true'] { border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-133 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -
-
-
-
    .emotion-94 { + border-width: 0; +} + +.emotion-92[data-size='small'] { + height: 2rem; +} + +.emotion-92[data-size='medium'] { + height: 2.5rem; +} + +.emotion-92[data-size='large'] { + height: 3rem; +} + +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-97 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-97 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-97[data-size='small'] { + height: 2rem; +} + +.emotion-97[data-size='medium'] { + height: 2.5rem; +} + +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; +} + +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; +} + +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-97:placeholder-shown~.emotion-99 { + color: #727683; + font-size: 1rem; +} + +.emotion-97[data-controls='false'] { + text-align: left; +} + +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + 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; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; +} + +.emotion-102 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-105 { + color: #727683; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-107 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-111 { + width: 70%; +} + +.emotion-113 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-116 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +
    +
    +
    +
    • render basic props 1`] = ` > @@ -1108,14 +1220,11 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` > @@ -1129,132 +1238,82 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` class="emotion-48 emotion-49" >
      -
      -
      -
      -
      - - -
      - -
      - Hour(s) -
      - -
      -
      -
      - -
      - -
      -
      -
      @@ -1263,14 +1322,14 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = `

render basic props 1`] = `
-
- +
-
-

+ GB -

+
-
-
-

€0.00

@@ -1352,7 +1407,7 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` @@ -1364,13 +1419,13 @@ exports[`EstimateCost - Unit Item > render basic props 1`] = ` @@ -8492,7 +6483,7 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = `

render basic props with monthly price 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1407,10 +1462,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -1418,10 +1473,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1430,10 +1485,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -1455,6 +1510,7 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -1476,6 +1532,7 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -1557,10 +1614,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1569,10 +1626,9 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -1580,10 +1636,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1592,10 +1648,9 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -1603,10 +1658,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1615,10 +1670,9 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -1626,10 +1680,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1638,15 +1692,14 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1657,7 +1710,7 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1789,10 +1842,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1801,10 +1854,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-24 { @@ -1812,10 +1865,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1824,19 +1877,19 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-26 .fillStroke { @@ -1844,17 +1897,13 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-26 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-26 .fillStroke { @@ -1862,10 +1911,6 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-31 { display: -webkit-box; display: -webkit-flex; @@ -1993,10 +2038,10 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = .emotion-44 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -2005,17 +2050,13 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = fill: none; } -.emotion-44 path { - fill: currentColor; -} - .emotion-44 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -2024,10 +2065,6 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = fill: none; } -.emotion-44 path { - fill: currentColor; -} - .emotion-46 { padding-left: 16px; padding-right: 16px; @@ -2077,8 +2114,15 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = } .emotion-50 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2087,11 +2131,22 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-50 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2100,1673 +2155,925 @@ exports[`EstimateCost - Unit Item > render basic props with monthly price 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input:hover, -.emotion-52 input:focus { +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} - -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-52 input[type='number'] { - -moz-appearance: textfield; + border-color: #8c40ef; } -.emotion-54 { - position: relative; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-54 { - position: relative; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-size='small'] { + height: 2rem; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-size='medium'] { + height: 2.5rem; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-size='large'] { + height: 3rem; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-success='true'] { + border: 1px solid #22674e; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; } -.emotion-56::placeholder { - opacity: 1; +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-56:focus { +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { box-shadow: 0px 0px 0px 3px #8c40ef40; border-color: #792dd4; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-56::placeholder { - opacity: 1; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-58 { - height: auto; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-58 { - height: auto; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-53[data-size='small'] { + height: 2rem; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-53[data-size='medium'] { + height: 2.5rem; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-53[data-size='large'] { + height: 3rem; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-53[data-success='true'] { + border: 1px solid #22674e; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; } -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-68:hover { - border-color: #792dd4; +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; -} - -.emotion-69 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; } -.emotion-69 { +.emotion-55 { + 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; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; -} - -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; width: 100%; height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-57::placeholder { + color: #727683; } -.emotion-76 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-76 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-87 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-87 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-57::placeholder { + color: #727683; } -.emotion-89 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-89 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-97 { - text-align: right; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-97 { - text-align: right; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-99 input[type='number'] { - -moz-appearance: textfield; +.emotion-60 { + width: 100%; + width: 100%; } -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-99 input[type='number'] { - -moz-appearance: textfield; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-60 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); -} - -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-62 { + display: inherit; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-62[data-container-full-width="true"] { + width: 100%; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-62 { + display: inherit; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-103::placeholder { - opacity: 1; +.emotion-62[data-container-full-width="true"] { + width: 100%; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; width: 100%; +} + +.emotion-66[data-size='small'] { + height: 2rem; padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-103:hover, -.emotion-103:focus { +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { border-color: #792dd4; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-103::placeholder { - opacity: 1; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-105:hover, -.emotion-105:focus-within { - color: #3f4250; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-105:hover, -.emotion-105:focus-within { - color: #3f4250; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-110 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-110 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-113 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-113 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-119 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-119 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-122 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-124 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-124 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-128 { - width: 70%; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-128 { - width: 70%; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-130 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-130 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-133 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-133 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 2rem; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-79 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-79 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-87 { text-align: right; } -
-
-
-
    -
  • -
    -
    -
    -
    -

    - Unit -

    -
    -
    -
    -
    -
    - 1 -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - Estimated cost -
    -
    -
    - - €0.13699/Hour(s) - -
    -
    -
  • -
-
- - This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. - -
- - - - - - - - - - - - - - - - - -
-

- - - - Estimated cost -

-
-
-
-
-
- -
-
-
-
-
-
- - -
-
- -
- Hour(s) -
-
- -
-
-
- - -
-
- -
-
-
-
-
-
-
-
-
-
-

- Unit -

-
-
-
-
-
-
- -
- -
-

- GB -

-
-
-
-
-
-
-
-
-
-
-
-

- €0.13699 -

-
- - - - - - - - - - -
- -

- - €0.13699 - -

-
-
-
-
- -`; +.emotion-87 { + text-align: right; +} -exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` - - .emotion-0 { +.emotion-90 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3775,21 +3082,31 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-0 { +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-90 input[type='number'] { + -moz-appearance: textfield; +} + +.emotion-90 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3798,533 +3115,384 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; margin: 0; +} + +.emotion-90 input[type='number'] { + -moz-appearance: textfield; +} + +.emotion-92 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; -} - -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; -} - -.emotion-4 { - 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; +.emotion-92:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-92[data-error='true'] { + border-color: #b3144d; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-92:hover { + border-color: #792dd4; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-8 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-8 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; } -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-92[data-size='small'] { + height: 2rem; } -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-92[data-size='medium'] { + height: 2.5rem; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-92[data-size='large'] { + height: 3rem; } -.emotion-12 { +.emotion-92 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-92:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-92[data-error='true'] { + border-color: #b3144d; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-92:hover { + border-color: #792dd4; } -.emotion-18 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-18 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; +} + +.emotion-92[data-size='small'] { + height: 2rem; +} + +.emotion-92[data-size='medium'] { + height: 2.5rem; +} + +.emotion-92[data-size='large'] { + height: 3rem; +} + +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-97 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-97 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-24 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-97[data-size='small'] { + height: 2rem; } -.emotion-24 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-97[data-size='medium'] { + height: 2.5rem; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-26 path { - fill: currentColor; +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-26 path { - fill: currentColor; +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-97:placeholder-shown~.emotion-99 { + color: #727683; + font-size: 1rem; } -.emotion-37 { +.emotion-97[data-controls='false'] { + text-align: left; +} + +.emotion-97 { + outline: none; + border: none; + padding: 0; width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; } -.emotion-37>* { - margin-top: 0; +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-37 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-97 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-37>* { - margin-top: 0; +.emotion-97[data-size='small'] { + height: 2rem; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-97[data-size='medium'] { + height: 2.5rem; } -.emotion-39 { - background-color: #ffffff; +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-39 { - background-color: #ffffff; +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-41 { +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; +} + +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; +} + +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-97:placeholder-shown~.emotion-99 { + color: #727683; + font-size: 1rem; +} + +.emotion-97[data-controls='false'] { + text-align: left; +} + +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4333,15 +3501,21 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; } -.emotion-41 { +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -4350,53 +3524,12 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; -} - -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; -} - -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-44 path { - fill: currentColor; -} - -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; -} - -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-44 path { - fill: currentColor; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; } -.emotion-46 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4406,10 +3539,9 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` background-color: #f9f9fa; width: 30%; min-width: 126px; - padding: 0; } -.emotion-46 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4419,806 +3551,587 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` background-color: #f9f9fa; width: 30%; min-width: 126px; - padding: 0; -} - -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; -} - -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; -} - -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -} - -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -} - -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; } -.emotion-52 input:hover, -.emotion-52 input:focus { +.emotion-105 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + text-align: right; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; +.emotion-107 { margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; -} - -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; -} - -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} - -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; +.emotion-107 { margin: 0; -} - -.emotion-52 input[type='number'] { - -moz-appearance: textfield; -} - -.emotion-54 { - position: relative; -} - -.emotion-54 { - position: relative; -} - -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-56::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; -} - -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-56::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-56::-moz-placeholder { - opacity: 1; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-111 { + width: 70%; } -.emotion-56::placeholder { - opacity: 1; +.emotion-111 { + width: 70%; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; +.emotion-113 { + padding-left: 16px; + padding-right: 16px; position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-56::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; -} - -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-56::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-56::-moz-placeholder { - opacity: 1; -} - -.emotion-56:-ms-input-placeholder { - opacity: 1; -} - -.emotion-56::placeholder { - opacity: 1; -} - -.emotion-58 { - height: auto; -} - -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-58 { - height: auto; -} - -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; } -.emotion-64 { - width: 100%; +.emotion-113 { + padding-left: 16px; + padding-right: 16px; position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; } -.emotion-64:hover, -.emotion-64:focus { +.emotion-116 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; + text-align: right; } -.emotion-64:hover, -.emotion-64:focus { +.emotion-116 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; + text-align: right; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; -} +
+
+
+
    +
  • +
    +
    +
    +
    +

    + Unit +

    +
    +
    +
    +
    +
    + 1 +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + Estimated cost +
    +
    +
    + + €0.13699/Hour(s) + +
    +
    +
  • +
+
+ + This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. + +
+ + + + + + + + + + + + + + + + + +
+

+ + + + Estimated cost +

+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+

+ Unit +

+
+
+
+
+
+
+
+
+ + + GB + +
+
+
+
+
+
+
+
+

+ €0.13699 +

+
+ + + + + + + + + + +
+ +

+ + €0.13699 + +

+
+
+
+
+
+`; -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; -} - -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; -} - -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` + + .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; -} - -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; -} - -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; -} - -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; +.emotion-2 { + position: fixed; left: 0; - top: 2px; - opacity: 1; -} - -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} - -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; margin: 0; - outline: 0; - padding: 0; -} - -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } -.emotion-76 { +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-76:hover { - color: hsl(0, 0%, 60%); + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; } -.emotion-76 { +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-76:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; } -.emotion-87 { +.emotion-8 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5226,7 +4139,7 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` min-width: 230px; } -.emotion-87 { +.emotion-8 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5234,385 +4147,463 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` min-width: 230px; } -.emotion-89 { +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; } -.emotion-89 { +.emotion-12 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; } -.emotion-97 { - text-align: right; +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-97 { - text-align: right; +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-99 input[type='number'] { - -moz-appearance: textfield; +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-18 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-99 input[type='number'] { - -moz-appearance: textfield; +.emotion-18 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); + color: #222638; + margin-right: 4px; } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-103::placeholder { - opacity: 1; +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-37>* { + margin-top: 0; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-37>*+* { + margin-top: 16px; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-37>* { + margin-top: 0; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-37>*+* { + margin-top: 16px; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-39 { + background-color: #ffffff; } -.emotion-103::placeholder { - opacity: 1; +.emotion-39 { + background-color: #ffffff; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; +.emotion-41 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; -} - -.emotion-105:hover, -.emotion-105:focus-within { + padding: 0; + margin: 0; + font-size: 18px; color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; +.emotion-41 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; -} - -.emotion-105:hover, -.emotion-105:focus-within { + padding: 0; + margin: 0; + font-size: 18px; color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-110 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-110 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-113 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; -} - -.emotion-113 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; -} - -.emotion-119 { +.emotion-46 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5622,9 +4613,10 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` background-color: #f9f9fa; width: 30%; min-width: 126px; + padding: 0; } -.emotion-119 { +.emotion-46 { padding-left: 16px; padding-right: 16px; position: relative; @@ -5634,1187 +4626,574 @@ exports[`EstimateCost - Unit Item > render basic props with overlay 1`] = ` background-color: #f9f9fa; width: 30%; min-width: 126px; + padding: 0; } -.emotion-122 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; } -.emotion-124 { - margin: 0; +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-124 { - margin: 0; +.emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-128 { - width: 70%; +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-128 { - width: 70%; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-130 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-130 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-133 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - text-align: right; + border-color: #8c40ef; } -.emotion-133 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - text-align: right; + border-color: #8c40ef; } -
-
-
-
    -
  • -
    -
    -
    -
    -

    - Unit -

    -
    -
    -
    -
    -
    - 1 -
    -
    -
    -
    -
    -
  • -
  • -
    - - - - Estimated cost -
    -
    -
    - - €0.13699/Hour(s) - -
    -
    -
  • -
-
- - This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. - -
- - - - - - - - - - - - - - - - - -
-

- - - - Estimated cost -

-
-
-
-
-
- -
-
-
-
-
-
- - -
-
- -
- Hour(s) -
-
- -
-
-
- - -
-
- -
-
-
-
-
-
-
-
-
-
-

- Unit -

-
-
-
-
-
-
- -
- -
-

- GB -

-
-
-
-
-
-
-
-
-
-
-
-

- €0.13699 -

-
- - - - - - - - - - -
- -

- - €0.13699 - -

-
-
-
-
-
-`; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; +} -exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; +.emotion-53[data-size='small'] { + height: 2rem; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; +.emotion-53[data-size='medium'] { + height: 2.5rem; } -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; +.emotion-53[data-size='large'] { + height: 3rem; } -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; +.emotion-53[data-success='true'] { + border: 1px solid #22674e; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-8 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; } -.emotion-8 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; } -.emotion-12 { +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-12 { +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-14 { +.emotion-57[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-57[data-size="large"] { font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-18 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-18 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-57::placeholder { + color: #727683; } -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-24 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-24 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-26 path { - fill: currentColor; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-57::placeholder { + color: #727683; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-26 path { - fill: currentColor; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-37 { +.emotion-57:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-60 { + width: 100%; width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; } -.emotion-37>* { - margin-top: 0; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-37 { +.emotion-60 { + width: 100%; width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; } -.emotion-37>* { - margin-top: 0; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-39 { - background-color: #ffffff; +.emotion-62 { + display: inherit; } -.emotion-39 { - background-color: #ffffff; +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-41 { +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { + display: inherit; +} + +.emotion-62[data-container-full-height="true"] { + height: 100%; +} + +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-64 { 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; -} - -.emotion-41 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; -} - -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; -} - -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-44 path { - fill: currentColor; -} - -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; -} - -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-44 path { - fill: currentColor; -} - -.emotion-46 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; -} - -.emotion-46 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; -} - -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; -} - -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; -} - -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6823,11 +5202,21 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6836,757 +5225,319 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; -} - -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} - -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-54 { - position: relative; +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-54 { - position: relative; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-56:hover, -.emotion-56:focus { +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; -} - -.emotion-56:focus { box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-56::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-56::-moz-placeholder { - opacity: 1; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-58 { - height: auto; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-58 { - height: auto; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-64:hover, -.emotion-64:focus { +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-64:hover, -.emotion-64:focus { +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; + text-overflow: ellipsis; overflow: hidden; - padding: 0; white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; -} - -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; -} - -.emotion-68 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; -} - -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; -} - -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; -} - -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} - -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-76 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-76:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-76 { + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-79 { +.emotion-73 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-79 .fillStroke { - stroke: currentColor; +.emotion-73 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-79 { +.emotion-73 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-79 .fillStroke { - stroke: currentColor; +.emotion-73 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-87 { +.emotion-77 { padding-left: 16px; padding-right: 16px; position: relative; @@ -7594,7 +5545,7 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` min-width: 230px; } -.emotion-87 { +.emotion-77 { padding-left: 16px; padding-right: 16px; position: relative; @@ -7602,7 +5553,7 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` min-width: 230px; } -.emotion-89 { +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -7623,7 +5574,7 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` padding-bottom: 8px; } -.emotion-89 { +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -7644,433 +5595,543 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` padding-bottom: 8px; } -.emotion-98 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - font-style: italic; - margin-left: 0.5rem; -} - -.emotion-100 { +.emotion-87 { text-align: right; } -.emotion-100 { +.emotion-87 { text-align: right; } -.emotion-102 input[type='number']::-webkit-inner-spin-button, -.emotion-102 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-102 input[type='number'] { - -moz-appearance: textfield; +.emotion-90 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-102 input[type='number']::-webkit-inner-spin-button, -.emotion-102 input[type='number']::-webkit-outer-spin-button { +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-102 input[type='number'] { +.emotion-90 input[type='number'] { -moz-appearance: textfield; } -.emotion-106 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); -} - -.emotion-106::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-90 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-106::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-106:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-90 input[type='number'] { + -moz-appearance: textfield; } -.emotion-106::placeholder { - color: #727683; - opacity: 0; +.emotion-92 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-106:hover, -.emotion-106:focus { +.emotion-92:focus-within { border-color: #792dd4; -} - -.emotion-106:focus { box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; } -.emotion-106::-webkit-input-placeholder { - opacity: 1; +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-106::-moz-placeholder { - opacity: 1; +.emotion-92[data-error='true'] { + border-color: #b3144d; } -.emotion-106:-ms-input-placeholder { - opacity: 1; +.emotion-92:hover { + border-color: #792dd4; } -.emotion-106::placeholder { - opacity: 1; +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-106 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-106::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; } -.emotion-106::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-92[data-size='small'] { + height: 2rem; } -.emotion-106:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-92[data-size='medium'] { + height: 2.5rem; } -.emotion-106::placeholder { - color: #727683; - opacity: 0; +.emotion-92[data-size='large'] { + height: 3rem; } -.emotion-106:hover, -.emotion-106:focus { - border-color: #792dd4; +.emotion-92 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-106:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-92:focus-within { border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-106::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-106::-moz-placeholder { - opacity: 1; +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-106:-ms-input-placeholder { - opacity: 1; +.emotion-92[data-error='true'] { + border-color: #b3144d; } -.emotion-106::placeholder { - opacity: 1; +.emotion-92:hover { + border-color: #792dd4; } -.emotion-108 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-108:hover, -.emotion-108:focus-within { - color: #3f4250; +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-108 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; } -.emotion-108:hover, -.emotion-108:focus-within { - color: #3f4250; +.emotion-92[data-size='small'] { + height: 2rem; } -.emotion-111 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-92[data-size='medium'] { + height: 2.5rem; } -.emotion-111 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-92[data-size='large'] { + height: 3rem; } -.emotion-113 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } -.emotion-113 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } -.emotion-116 { +.emotion-97 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; + font-family: Inter,sans-serif; + font-weight: Regular; line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; + text-align: center; + padding: 0.5rem; + background: none; } -.emotion-116 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-122 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-122 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-97 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-125 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-97[data-size='small'] { + height: 2rem; +} + +.emotion-97[data-size='medium'] { + height: 2.5rem; } -.emotion-128 { +.emotion-97[data-size='large'] { + height: 3rem; font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; + font-family: Inter,sans-serif; + font-weight: Regular; line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; } -.emotion-130 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-130 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-134 { - width: 70%; +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-134 { - width: 70%; +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-136 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-97:placeholder-shown~.emotion-99 { + color: #727683; + font-size: 1rem; +} + +.emotion-97[data-controls='false'] { + text-align: left; +} + +.emotion-97 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-97 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-97[data-size='small'] { + height: 2rem; +} + +.emotion-97[data-size='medium'] { + height: 2.5rem; +} + +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; +} + +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; +} + +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-97:placeholder-shown~.emotion-99 { + color: #727683; + font-size: 1rem; +} + +.emotion-97[data-controls='false'] { + text-align: left; +} + +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + 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; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; +} + +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + 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; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; +} + +.emotion-102 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-102 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-105 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-107 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-107 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-111 { + width: 70%; +} + +.emotion-111 { + width: 70%; +} + +.emotion-113 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; border-color: #d9dadd; border-style: solid; border-width: 0 1px 1px 1px; @@ -8082,7 +6143,7 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` min-width: 126px; } -.emotion-136 { +.emotion-113 { padding-left: 16px; padding-right: 16px; position: relative; @@ -8099,10 +6160,10 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` min-width: 126px; } -.emotion-139 { +.emotion-116 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -8112,10 +6173,10 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` text-align: right; } -.emotion-139 { +.emotion-116 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -8155,7 +6216,7 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = `

- Storage + Unit

@@ -8168,7 +6229,7 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = `
- 100 + 1
@@ -8183,14 +6244,11 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` > @@ -8205,7 +6263,7 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` - €0.05/Hour(s) + €0.13699/Hour(s) @@ -8238,14 +6296,11 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` > @@ -8259,132 +6314,82 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` class="emotion-48 emotion-49" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -8393,14 +6398,14 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = `

render basic props with values 1`] = `

- Storage -

-

- 50 GB Free + Unit

-
- +
-
-

+ GB -

+
-
-
-

- €0.05 -

-

- €0.001/GB/hour(s) + €0.13699

@@ -8504,18 +6495,18 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` @@ -8528,17 +6519,17 @@ exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` `; -exports[`EstimateCost - Unit Item > render basic props with values and no iteration 1`] = ` +exports[`EstimateCost - Unit Item > render basic props with values 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8547,10 +6538,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -8558,10 +6549,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8570,10 +6561,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -8595,6 +6586,7 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -8616,6 +6608,7 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -8697,22 +6690,21 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -8720,10 +6712,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8732,10 +6724,9 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -8743,10 +6734,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8755,10 +6746,9 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -8766,10 +6756,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8778,15 +6768,14 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -8797,7 +6786,7 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -8929,10 +6918,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8941,10 +6930,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-24 { @@ -8952,10 +6941,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8964,19 +6953,19 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-26 .fillStroke { @@ -8984,17 +6973,13 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-26 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-26 .fillStroke { @@ -9002,10 +6987,6 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-31 { display: -webkit-box; display: -webkit-flex; @@ -9133,10 +7114,10 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat .emotion-44 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -9145,17 +7126,13 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat fill: none; } -.emotion-44 path { - fill: currentColor; -} - .emotion-44 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -9164,10 +7141,6 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat fill: none; } -.emotion-44 path { - fill: currentColor; -} - .emotion-46 { padding-left: 16px; padding-right: 16px; @@ -9217,8 +7190,15 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat } .emotion-50 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9227,11 +7207,22 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-50 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9240,1304 +7231,4108 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input:hover, -.emotion-52 input:focus { +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-54 { - position: relative; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-54 { - position: relative; +.emotion-53[data-size='small'] { + height: 2rem; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-53[data-size='medium'] { + height: 2.5rem; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-size='large'] { + height: 3rem; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-success='true'] { + border: 1px solid #22674e; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-56::placeholder { - opacity: 1; +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { border-color: #792dd4; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-56::placeholder { - opacity: 1; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-58 { - height: auto; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-53[data-size='small'] { + height: 2rem; } -.emotion-58 { - height: auto; +.emotion-53[data-size='medium'] { + height: 2.5rem; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-53[data-size='large'] { + height: 3rem; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-53[data-success='true'] { + border: 1px solid #22674e; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; -} - -.emotion-68 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; -} - -.emotion-69 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; +.emotion-57 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-69 label { - display: none; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-57::placeholder { + color: #727683; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-76 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-76 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-57::placeholder { + color: #727683; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-87 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-87 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-89 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-60 { + width: 100%; + width: 100%; } -.emotion-89 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-98 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - font-style: italic; - margin-left: 0.5rem; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-100 { - text-align: right; +.emotion-60 { + width: 100%; + width: 100%; } -.emotion-100 { - text-align: right; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-102 input[type='number']::-webkit-inner-spin-button, -.emotion-102 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-102 input[type='number'] { - -moz-appearance: textfield; +.emotion-62 { + display: inherit; } -.emotion-102 input[type='number']::-webkit-inner-spin-button, -.emotion-102 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-102 input[type='number'] { - -moz-appearance: textfield; +.emotion-62[data-container-full-width="true"] { + width: 100%; } -.emotion-106 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-62 { + display: inherit; +} + +.emotion-62[data-container-full-height="true"] { + height: 100%; +} + +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; +} + +.emotion-66[data-size='small'] { + height: 2rem; padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); } -.emotion-106::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-106::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-106:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-106::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-106:hover, -.emotion-106:focus { +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-106:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { border-color: #792dd4; } -.emotion-106::-webkit-input-placeholder { - opacity: 1; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-106::-moz-placeholder { - opacity: 1; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-106:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-106::placeholder { - opacity: 1; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-106 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; +} + +.emotion-66[data-size='small'] { + height: 2rem; padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); } -.emotion-106::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-106::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-106:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-106::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-106:hover, -.emotion-106:focus { +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-106:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { border-color: #792dd4; } -.emotion-106::-webkit-input-placeholder { - opacity: 1; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-106::-moz-placeholder { - opacity: 1; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-106:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-106::placeholder { - opacity: 1; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-108 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; -} - -.emotion-108:hover, -.emotion-108:focus-within { - color: #3f4250; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-108 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-108:hover, -.emotion-108:focus-within { - color: #3f4250; +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-111 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-111 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-113 { +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; } -.emotion-113 { +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; } -.emotion-116 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; +.emotion-88 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 1.25rem; + line-height: 1.5rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; + font-style: italic; + margin-left: 0.5rem; } -.emotion-116 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; +.emotion-90 { + text-align: right; } -.emotion-122 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-90 { + text-align: right; } -.emotion-122 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-93 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-125 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-93 input[type='number']::-webkit-inner-spin-button, +.emotion-93 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-128 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-93 input[type='number'] { + -moz-appearance: textfield; } -.emotion-130 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-93 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-130 { +.emotion-93 input[type='number']::-webkit-inner-spin-button, +.emotion-93 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; } -.emotion-134 { - width: 70%; +.emotion-93 input[type='number'] { + -moz-appearance: textfield; } -.emotion-134 { - width: 70%; +.emotion-95 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-136 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-95:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-95[data-success='true'] { + border-color: #22674e; +} + +.emotion-95[data-error='true'] { + border-color: #b3144d; +} + +.emotion-95:hover { + border-color: #792dd4; +} + +.emotion-95[data-readonly='true'] { border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-136 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-95[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-95[data-controls='false']>.emotion-97 { + border-width: 0; +} + +.emotion-95[data-size='small'] { + height: 2rem; +} + +.emotion-95[data-size='medium'] { + height: 2.5rem; +} + +.emotion-95[data-size='large'] { + height: 3rem; +} + +.emotion-95 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-95:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-95[data-success='true'] { + border-color: #22674e; +} + +.emotion-95[data-error='true'] { + border-color: #b3144d; +} + +.emotion-95:hover { + border-color: #792dd4; +} + +.emotion-95[data-readonly='true'] { border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-139 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-95[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-139 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-95[data-controls='false']>.emotion-97 { + border-width: 0; } -
-
-
+
+
+
    +
  • +
    +
    +
    +
    +

    + Storage +

    +
    +
    +
    +
    +
    + 100 +
    +
    +
    +
    +
    +
  • +
  • +
    + + + + Estimated cost +
    +
    +
    + + €0.05/Hour(s) + +
    +
    +
  • +
+
+ + This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. + +
+

- €0.05 + €0.13699

+ + + + + + + + + + + + + + + + +
+

+ + + + Estimated cost +

+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+

+ Storage +

+

+ 50 GB Free +

+
+
+
+
+
+
+
+
+ + + GB + +
+
+
+
+
+
+
+
+

+ €0.05 +

+

+ €0.001/GB/hour(s) +

+
+ + + + + + + + + + +
+ +

+ + €0.05 + +

+
+ + + + +`; + +exports[`EstimateCost - Unit Item > render basic props with values and no iteration 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-18 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-18 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; +} + +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; +} + +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-37>* { + margin-top: 0; +} + +.emotion-37>*+* { + margin-top: 16px; +} + +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-37>* { + margin-top: 0; +} + +.emotion-37>*+* { + margin-top: 16px; +} + +.emotion-39 { + background-color: #ffffff; +} + +.emotion-39 { + background-color: #ffffff; +} + +.emotion-41 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-41 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-46 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-46 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-55 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-55 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-57[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-57[data-size="large"] { + font-size: 1rem; +} + +.emotion-57::-webkit-input-placeholder { + color: #727683; +} + +.emotion-57::-moz-placeholder { + color: #727683; +} + +.emotion-57:-ms-input-placeholder { + color: #727683; +} + +.emotion-57::placeholder { + color: #727683; +} + +.emotion-57:disabled { + cursor: not-allowed; +} + +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-57[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-57[data-size="large"] { + font-size: 1rem; +} + +.emotion-57::-webkit-input-placeholder { + color: #727683; +} + +.emotion-57::-moz-placeholder { + color: #727683; +} + +.emotion-57:-ms-input-placeholder { + color: #727683; +} + +.emotion-57::placeholder { + color: #727683; +} + +.emotion-57:disabled { + cursor: not-allowed; +} + +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-57:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-60 { + width: 100%; + width: 100%; +} + +.emotion-60 #unit { + border: none; + background: transparent; +} + +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; +} + +.emotion-60 { + width: 100%; + width: 100%; +} + +.emotion-60 #unit { + border: none; + background: transparent; +} + +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; +} + +.emotion-62 { + display: inherit; +} + +.emotion-62[data-container-full-height="true"] { + height: 100%; +} + +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { + display: inherit; +} + +.emotion-62[data-container-full-height="true"] { + height: 100%; +} + +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-66[data-size='medium'] { + height: 2.5rem; +} + +.emotion-66[data-size='large'] { + height: 3rem; +} + +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-66[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-66[data-size='medium'] { + height: 2.5rem; +} + +.emotion-66[data-size='large'] { + height: 3rem; +} + +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-66[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-79 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-79 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-88 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; + margin-left: 0.5rem; +} + +.emotion-90 { + text-align: right; +} + +.emotion-90 { + text-align: right; +} + +.emotion-93 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-93 input[type='number']::-webkit-inner-spin-button, +.emotion-93 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-93 input[type='number'] { + -moz-appearance: textfield; +} + +.emotion-93 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-93 input[type='number']::-webkit-inner-spin-button, +.emotion-93 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-93 input[type='number'] { + -moz-appearance: textfield; +} + +.emotion-95 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-95:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-95[data-success='true'] { + border-color: #22674e; +} + +.emotion-95[data-error='true'] { + border-color: #b3144d; +} + +.emotion-95:hover { + border-color: #792dd4; +} + +.emotion-95[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-95[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-95[data-controls='false']>.emotion-97 { + border-width: 0; +} + +.emotion-95[data-size='small'] { + height: 2rem; +} + +.emotion-95[data-size='medium'] { + height: 2.5rem; +} + +.emotion-95[data-size='large'] { + height: 3rem; +} + +.emotion-95 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-95:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-95[data-success='true'] { + border-color: #22674e; +} + +.emotion-95[data-error='true'] { + border-color: #b3144d; +} + +.emotion-95:hover { + border-color: #792dd4; +} + +.emotion-95[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-95[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-95[data-controls='false']>.emotion-97 { + border-width: 0; +} + +.emotion-95[data-size='small'] { + height: 2rem; +} + +.emotion-95[data-size='medium'] { + height: 2.5rem; +} + +.emotion-95[data-size='large'] { + height: 3rem; +} + +.emotion-98 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-98 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-100 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-100[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-100::-webkit-outer-spin-button, +.emotion-100::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-100 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-100[data-size='small'] { + height: 2rem; +} + +.emotion-100[data-size='medium'] { + height: 2.5rem; +} + +.emotion-100[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-100:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-100:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-100:-moz-read-only~.emotion-102 { + background: #f9f9fa; +} + +.emotion-100:read-only~.emotion-102 { + background: #f9f9fa; +} + +.emotion-100:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-100:disabled~.emotion-102 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-100:placeholder-shown~.emotion-102 { + color: #727683; + font-size: 1rem; +} + +.emotion-100[data-controls='false'] { + text-align: left; +} + +.emotion-100 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-100[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-100::-webkit-outer-spin-button, +.emotion-100::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-100 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-100[data-size='small'] { + height: 2rem; +} + +.emotion-100[data-size='medium'] { + height: 2.5rem; +} + +.emotion-100[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-100:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-100:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-100:-moz-read-only~.emotion-102 { + background: #f9f9fa; +} + +.emotion-100:read-only~.emotion-102 { + background: #f9f9fa; +} + +.emotion-100:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-100:disabled~.emotion-102 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-100:placeholder-shown~.emotion-102 { + color: #727683; + font-size: 1rem; +} + +.emotion-100[data-controls='false'] { + text-align: left; +} + +.emotion-103 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + 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; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; +} + +.emotion-103 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + 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; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; +} + +.emotion-105 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-105 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-108 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-111 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-113 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-113 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-117 { + width: 70%; +} + +.emotion-117 { + width: 70%; +} + +.emotion-119 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-119 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-122 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-122 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +
+
+
    render basic props with values and no iterat > @@ -10642,14 +11434,11 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat > @@ -10663,132 +11452,82 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat class="emotion-48 emotion-49" >
    -
    -
    -
    -
    - - -
    - -
    - Hour(s) -
    - -
    -
    -
    - -
    - -
    -
    -
    @@ -10797,14 +11536,14 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat
render basic props with values and no iterat Storage

50 GB Free

-
- +
-
-

+ GB -

+
-
-
-

€0.05 - €0.05

€0.001/GB

@@ -10896,7 +11631,7 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat @@ -10908,13 +11643,13 @@ exports[`EstimateCost - Unit Item > render basic props with values and no iterat

render test 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10951,10 +11686,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -10962,10 +11697,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10974,10 +11709,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -10999,6 +11734,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -11020,6 +11756,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -11090,10 +11827,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11102,10 +11839,9 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -11113,10 +11849,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11125,10 +11861,9 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -11136,10 +11871,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11148,10 +11883,9 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -11159,10 +11893,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11171,15 +11905,14 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -11190,7 +11923,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -11334,10 +12067,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -11346,10 +12079,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-40 { @@ -11357,10 +12090,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -11369,19 +12102,19 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-42 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-42 .fillStroke { @@ -11389,17 +12122,13 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` fill: none; } -.emotion-42 path { - fill: currentColor; -} - .emotion-42 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-42 .fillStroke { @@ -11407,10 +12136,6 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` fill: none; } -.emotion-42 path { - fill: currentColor; -} - .emotion-47 { display: -webkit-box; display: -webkit-flex; @@ -11538,10 +12263,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` .emotion-60 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -11550,17 +12275,13 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` fill: none; } -.emotion-60 path { - fill: currentColor; -} - .emotion-60 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -11569,10 +12290,6 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` fill: none; } -.emotion-60 path { - fill: currentColor; -} - .emotion-62 { padding-left: 16px; padding-right: 16px; @@ -11622,8 +12339,15 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` } .emotion-66 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11632,11 +12356,39 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-66 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-69 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11645,757 +12397,834 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-72, +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-72 { + border-right-color: #8c40ef; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-68 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-72 { + border-right-color: #8c40ef; } -.emotion-68 input:hover, -.emotion-68 input:focus { +.emotion-69:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-69:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-68 input[type='number']::-webkit-inner-spin-button, -.emotion-68 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-69:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-72, +.emotion-69:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-72 { + border-right-color: #8c40ef; } -.emotion-68 input[type='number'] { - -moz-appearance: textfield; +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-68 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-69[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-68 input:hover, -.emotion-68 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-69[data-size='small'] { + height: 2rem; } -.emotion-68 input[type='number']::-webkit-inner-spin-button, -.emotion-68 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-69[data-size='medium'] { + height: 2.5rem; } -.emotion-68 input[type='number'] { - -moz-appearance: textfield; +.emotion-69[data-size='large'] { + height: 3rem; } -.emotion-70 { - position: relative; +.emotion-69[data-success='true'] { + border: 1px solid #22674e; } -.emotion-70 { - position: relative; +.emotion-69[data-success='true']>.emotion-72 { + border-right-color: #22674e; } -.emotion-72 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; +.emotion-69[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-success='true']:active>.emotion-72 { + border-right-color: #22674e; +} + +.emotion-69[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-error='true']>.emotion-72 { + border-right-color: #b3144d; +} + +.emotion-69[data-error='true']>.emotion-72:hover { + border-right-color: #b3144d; +} + +.emotion-69[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-error='true']:active>.emotion-72 { + border-right-color: #b3144d; +} + +.emotion-69[data-error='true']:active>.emotion-72:hover { + border-right-color: #b3144d; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-69[data-disabled='true']>.emotion-72 { + border-right-color: #e9eaeb; +} + +.emotion-69 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; border: 1px solid #d9dadd; border-radius: 0.25rem; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-72, +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-72 { + border-right-color: #8c40ef; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-72 { + border-right-color: #8c40ef; +} + +.emotion-69:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-69:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-69:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-72, +.emotion-69:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-72 { + border-right-color: #8c40ef; +} + +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-69[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-69[data-size='small'] { + height: 2rem; +} + +.emotion-69[data-size='medium'] { + height: 2.5rem; +} + +.emotion-69[data-size='large'] { + height: 3rem; +} + +.emotion-69[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-69[data-success='true']>.emotion-72 { + border-right-color: #22674e; +} + +.emotion-69[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-success='true']:active>.emotion-72 { + border-right-color: #22674e; +} + +.emotion-69[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-error='true']>.emotion-72 { + border-right-color: #b3144d; +} + +.emotion-69[data-error='true']>.emotion-72:hover { + border-right-color: #b3144d; +} + +.emotion-69[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-error='true']:active>.emotion-72 { + border-right-color: #b3144d; +} + +.emotion-69[data-error='true']:active>.emotion-72:hover { + border-right-color: #b3144d; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-69[data-disabled='true']>.emotion-72 { + border-right-color: #e9eaeb; +} + +.emotion-71 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-71 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-73 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - display: block; - max-width: 100%; +} + +.emotion-73[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-73[data-size="large"] { + font-size: 1rem; +} + +.emotion-73::-webkit-input-placeholder { + color: #727683; +} + +.emotion-73::-moz-placeholder { + color: #727683; +} + +.emotion-73:-ms-input-placeholder { + color: #727683; +} + +.emotion-73::placeholder { + color: #727683; +} + +.emotion-73:disabled { + cursor: not-allowed; +} + +.emotion-73:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-73:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-73:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-73:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-73 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; outline: none; - position: relative; + height: 100%; width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-73[data-size="small"] { padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-72::-webkit-input-placeholder { +.emotion-73[data-size="large"] { + font-size: 1rem; +} + +.emotion-73::-webkit-input-placeholder { + color: #727683; +} + +.emotion-73::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-72::-moz-placeholder { +.emotion-73:-ms-input-placeholder { color: #727683; - opacity: 0; } -.emotion-72:-ms-input-placeholder { +.emotion-73::placeholder { color: #727683; - opacity: 0; } -.emotion-72::placeholder { - color: #727683; - opacity: 0; +.emotion-73:disabled { + cursor: not-allowed; } -.emotion-72:hover, -.emotion-72:focus { - border-color: #792dd4; +.emotion-73:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-72:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-73:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-72::-webkit-input-placeholder { - opacity: 1; +.emotion-73:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-72::-moz-placeholder { - opacity: 1; +.emotion-73:disabled::placeholder { + color: #b5b7bd; } -.emotion-72:-ms-input-placeholder { - opacity: 1; +.emotion-76 { + width: 100%; + width: 100%; } -.emotion-72::placeholder { - opacity: 1; +.emotion-76 #unit { + border: none; + background: transparent; } -.emotion-72 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-76 #unit:focus, +.emotion-76 #unit:active { + box-shadow: none; } -.emotion-72::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-76 { + width: 100%; + width: 100%; } -.emotion-72::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-76 #unit { + border: none; + background: transparent; } -.emotion-72:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-76 #unit:focus, +.emotion-76 #unit:active { + box-shadow: none; } -.emotion-72::placeholder { - color: #727683; - opacity: 0; +.emotion-78 { + display: inherit; } -.emotion-72:hover, -.emotion-72:focus { - border-color: #792dd4; +.emotion-78[data-container-full-height="true"] { + height: 100%; } -.emotion-72:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-78[data-container-full-width="true"] { + width: 100%; } -.emotion-72::-webkit-input-placeholder { - opacity: 1; +.emotion-78 { + display: inherit; } -.emotion-72::-moz-placeholder { - opacity: 1; +.emotion-78[data-container-full-height="true"] { + height: 100%; } -.emotion-72:-ms-input-placeholder { - opacity: 1; +.emotion-78[data-container-full-width="true"] { + width: 100%; } -.emotion-72::placeholder { - opacity: 1; +.emotion-80 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-74 { - height: auto; +.emotion-80 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-74[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-82 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-74 { - height: auto; +.emotion-82[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-74[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-82[data-size='medium'] { + height: 2.5rem; } -.emotion-76 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-82[data-size='large'] { + height: 3rem; } -.emotion-76 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-82[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-80 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-82[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-80:hover, -.emotion-80:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-82[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-80:hover, -.emotion-80:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-82[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-80 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-82[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-80:hover, -.emotion-80:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-82[data-state='success'] { + border: 1px solid #22674e; } -.emotion-80:hover, -.emotion-80:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-82[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-82 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-82[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-82 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-82[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-84 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-82[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-84:hover { - border-color: hsl(0, 0%, 70%); +.emotion-82[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-84:focus-within { +.emotion-82:not([data-disabled='true']):not([data-readonly]):hover { border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-84:hover { - border-color: #792dd4; +.emotion-82[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-84 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; +.emotion-82[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-82 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-84:hover { - border-color: hsl(0, 0%, 70%); +.emotion-82[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-84:focus-within { - border-color: #8c40ef; +.emotion-82[data-size='medium'] { + height: 2.5rem; +} + +.emotion-82[data-size='large'] { + height: 3rem; +} + +.emotion-82[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-82[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-84:hover { +.emotion-82[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-85 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-82[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-85 label { - display: none; +.emotion-82[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-85 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-82[data-state='success'] { + border: 1px solid #22674e; } -.emotion-85 label { - display: none; +.emotion-82[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-86 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-82[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-86 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-82[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-88 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-82[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-88 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-82[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-82:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-82[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-82[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-85 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-89 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-89:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-89 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-89:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-85 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-90 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-87 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-90 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-91 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-91 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; } -.emotion-92 { +.emotion-87 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-92:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-92 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-92:hover { - color: hsl(0, 0%, 60%); } -.emotion-95 { +.emotion-89 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-95 .fillStroke { - stroke: currentColor; +.emotion-89 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-95 { +.emotion-89 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-95 .fillStroke { - stroke: currentColor; +.emotion-89 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-99 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-99 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-103 { +.emotion-93 { padding-left: 16px; padding-right: 16px; position: relative; @@ -12403,7 +13232,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` min-width: 230px; } -.emotion-103:before { +.emotion-93:before { content: ''; position: absolute; left: 0; @@ -12414,7 +13243,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` border-bottom: 1px solid #d9dadd; } -.emotion-105 { +.emotion-95 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12435,7 +13264,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` padding-bottom: 8px; } -.emotion-105 { +.emotion-95 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -12456,10 +13285,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` padding-bottom: 8px; } -.emotion-114 { +.emotion-104 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -12470,266 +13299,479 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` margin-left: 0.5rem; } -.emotion-116 { - text-align: right; +.emotion-106 { + text-align: right; +} + +.emotion-106 { + text-align: right; +} + +.emotion-109 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-109 input[type='number']::-webkit-inner-spin-button, +.emotion-109 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-109 input[type='number'] { + -moz-appearance: textfield; +} + +.emotion-109 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-109 input[type='number']::-webkit-inner-spin-button, +.emotion-109 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-109 input[type='number'] { + -moz-appearance: textfield; +} + +.emotion-111 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-111:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-111[data-success='true'] { + border-color: #22674e; +} + +.emotion-111[data-error='true'] { + border-color: #b3144d; +} + +.emotion-111:hover { + border-color: #792dd4; +} + +.emotion-111[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-111[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-111[data-controls='false']>.emotion-113 { + border-width: 0; +} + +.emotion-111[data-size='small'] { + height: 2rem; +} + +.emotion-111[data-size='medium'] { + height: 2.5rem; +} + +.emotion-111[data-size='large'] { + height: 3rem; +} + +.emotion-111 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-111:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-111[data-success='true'] { + border-color: #22674e; +} + +.emotion-111[data-error='true'] { + border-color: #b3144d; +} + +.emotion-111:hover { + border-color: #792dd4; +} + +.emotion-111[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-111[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-111[data-controls='false']>.emotion-113 { + border-width: 0; +} + +.emotion-111[data-size='small'] { + height: 2rem; +} + +.emotion-111[data-size='medium'] { + height: 2.5rem; +} + +.emotion-111[data-size='large'] { + height: 3rem; +} + +.emotion-114 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-114 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-116 { - text-align: right; + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-116[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-118 input[type='number']::-webkit-inner-spin-button, -.emotion-118 input[type='number']::-webkit-outer-spin-button { +.emotion-116::-webkit-outer-spin-button, +.emotion-116::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-118 input[type='number'] { +.emotion-116 { + -moz-appearance: textfield; + -webkit-appearance: textfield; -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-118 input[type='number']::-webkit-inner-spin-button, -.emotion-118 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-116[data-size='small'] { + height: 2rem; } -.emotion-118 input[type='number'] { - -moz-appearance: textfield; +.emotion-116[data-size='medium'] { + height: 2.5rem; } -.emotion-122 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; +.emotion-116[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-116:-moz-read-only { color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(5 * 0.5rem + 0.5 * 2rem); + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-122::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-116:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-122::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-116:-moz-read-only~.emotion-118 { + background: #f9f9fa; } -.emotion-122:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-116:read-only~.emotion-118 { + background: #f9f9fa; +} + +.emotion-116:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-116:disabled~.emotion-118 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-122::placeholder { +.emotion-116:placeholder-shown~.emotion-118 { color: #727683; - opacity: 0; + font-size: 1rem; } -.emotion-122:hover, -.emotion-122:focus { - border-color: #792dd4; +.emotion-116[data-controls='false'] { + text-align: left; } -.emotion-122:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-116 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; } -.emotion-122::-webkit-input-placeholder { - opacity: 1; +.emotion-116[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-122::-moz-placeholder { - opacity: 1; +.emotion-116::-webkit-outer-spin-button, +.emotion-116::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-122:-ms-input-placeholder { - opacity: 1; +.emotion-116 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-122::placeholder { - opacity: 1; +.emotion-116[data-size='small'] { + height: 2rem; } -.emotion-124 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; +.emotion-116[data-size='medium'] { + height: 2.5rem; } -.emotion-124:hover, -.emotion-124:focus-within { - color: #3f4250; +.emotion-116[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-124 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; +.emotion-116:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-124:hover, -.emotion-124:focus-within { +.emotion-116:read-only { color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-127 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-116:-moz-read-only~.emotion-118 { + background: #f9f9fa; } -.emotion-127 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-116:read-only~.emotion-118 { + background: #f9f9fa; +} + +.emotion-116:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-116:disabled~.emotion-118 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-116:placeholder-shown~.emotion-118 { + color: #727683; + font-size: 1rem; +} + +.emotion-116[data-controls='false'] { + text-align: left; } -.emotion-129 { +.emotion-119 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; } -.emotion-129 { +.emotion-119 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; -} - -.emotion-132 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; -} - -.emotion-132 { + padding: 0.5rem; + height: 2rem; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; } -.emotion-138 { +.emotion-121 { padding-left: 16px; padding-right: 16px; position: relative; @@ -12741,7 +13783,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` min-width: 126px; } -.emotion-138:before { +.emotion-121:before { content: ''; position: absolute; left: 0; @@ -12752,10 +13794,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` border-bottom: 1px solid #d9dadd; } -.emotion-141 { +.emotion-124 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -12765,9 +13807,9 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` text-align: right; } -.emotion-144 { +.emotion-127 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -12777,7 +13819,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` text-align: right; } -.emotion-148 { +.emotion-131 { padding-left: 16px; padding-right: 16px; position: relative; @@ -12785,7 +13827,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` min-width: 230px; } -.emotion-148 { +.emotion-131 { padding-left: 16px; padding-right: 16px; position: relative; @@ -12793,7 +13835,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` min-width: 230px; } -.emotion-183 { +.emotion-159 { padding-left: 16px; padding-right: 16px; position: relative; @@ -12805,7 +13847,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` min-width: 126px; } -.emotion-183 { +.emotion-159 { padding-left: 16px; padding-right: 16px; position: relative; @@ -12817,29 +13859,29 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` min-width: 126px; } -.emotion-191 { +.emotion-167 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-191 { +.emotion-167 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-195 { +.emotion-171 { width: 70%; } -.emotion-195 { +.emotion-171 { width: 70%; } -.emotion-197 { +.emotion-173 { padding-left: 16px; padding-right: 16px; position: relative; @@ -12856,7 +13898,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` min-width: 126px; } -.emotion-197 { +.emotion-173 { padding-left: 16px; padding-right: 16px; position: relative; @@ -12873,10 +13915,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` min-width: 126px; } -.emotion-200 { +.emotion-176 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -12886,10 +13928,10 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` text-align: right; } -.emotion-200 { +.emotion-176 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -12994,14 +14036,11 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` > @@ -13049,14 +14088,11 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` > @@ -13070,132 +14106,82 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` class="emotion-64 emotion-65" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -13204,14 +14190,14 @@ exports[`EstimateCost - Unit Item > render test 1`] = `

render test 1`] = ` value

value

-
- +
-
-

+ value -

+
-
-
-

€0.025

€0.001/value/hour(s)

render test 1`] = ` value

value

-
- +
-
-

+ value -

+
-
-
-

€0.0075 - €0.0225

€0.0003/value

@@ -13398,7 +14376,7 @@ exports[`EstimateCost - Unit Item > render test 1`] = ` @@ -13410,13 +14388,13 @@ exports[`EstimateCost - Unit Item > render test 1`] = `

render test 1`] = ` `; -exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` - - .emotion-0 { +exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-18 { + height: 48px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-0 { +.emotion-18 { + height: 48px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; +} + +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; +} + +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-31 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-37>* { + margin-top: 0; +} + +.emotion-37>*+* { + margin-top: 16px; +} + +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-37>* { + margin-top: 0; +} + +.emotion-37>*+* { + margin-top: 16px; +} + +.emotion-39 { background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; } -.emotion-4 { +.emotion-39 { + background-color: #ffffff; +} + +.emotion-41 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-4 { +.emotion-41 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-8 { +.emotion-46 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; } -.emotion-8 { +.emotion-46 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; } -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; } -.emotion-18 { - height: 48px; +.emotion-50 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; + gap: 0.25rem; } -.emotion-18 { - height: 48px; +.emotion-50 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; + gap: 0.25rem; } -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-24 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-24 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-53[data-size='small'] { + height: 2rem; } -.emotion-26 path { - fill: currentColor; +.emotion-53[data-size='medium'] { + height: 2.5rem; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-53[data-size='large'] { + height: 3rem; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-53[data-success='true'] { + border: 1px solid #22674e; } -.emotion-26 path { - fill: currentColor; +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-53 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-37 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-37>* { - margin-top: 0; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-37 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-53[data-size='small'] { + height: 2rem; } -.emotion-37>* { - margin-top: 0; +.emotion-53[data-size='medium'] { + height: 2.5rem; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-53[data-size='large'] { + height: 3rem; } -.emotion-39 { - background-color: #ffffff; +.emotion-53[data-success='true'] { + border: 1px solid #22674e; } -.emotion-39 { - background-color: #ffffff; +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; } -.emotion-41 { +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -14011,15 +15421,16 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-41 { +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -14028,875 +15439,536 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-weight: 500; - padding: 1rem; } -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-44 path { - fill: currentColor; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-44 path { - fill: currentColor; +.emotion-57::placeholder { + color: #727683; } -.emotion-46 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-46 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-57::placeholder { + color: #727683; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-54 { - position: relative; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-54 { - position: relative; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-57:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-60 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-60 { + width: 100%; + width: 100%; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-62 { + display: inherit; +} + +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { + display: inherit; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-62[data-container-full-height="true"] { + height: 100%; +} + +.emotion-62[data-container-full-width="true"] { + width: 100%; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-56::placeholder { - opacity: 1; +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-56:hover, -.emotion-56:focus { +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; -} - -.emotion-56:focus { box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-58 { - height: auto; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-58 { - height: auto; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; -} - -.emotion-64 { + background: #ffffff; + border-radius: 0.25rem; width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-68:hover { +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { border-color: #792dd4; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-68:hover { - border-color: #792dd4; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-69 label { - display: none; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-69 label { - display: none; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; +.emotion-69 { color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} - -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-76 { +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-76:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-76 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-79 { +.emotion-73 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-79 .fillStroke { - stroke: currentColor; +.emotion-73 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-79 { +.emotion-73 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-79 .fillStroke { - stroke: currentColor; +.emotion-73 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-87 { +.emotion-77 { padding-left: 16px; padding-right: 16px; position: relative; @@ -14904,7 +15976,7 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` min-width: 230px; } -.emotion-87 { +.emotion-77 { padding-left: 16px; padding-right: 16px; position: relative; @@ -14912,7 +15984,7 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` min-width: 230px; } -.emotion-89 { +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -14933,7 +16005,7 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` padding-bottom: 8px; } -.emotion-89 { +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -14954,343 +16026,479 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` padding-bottom: 8px; } -.emotion-97 { +.emotion-87 { text-align: right; } -.emotion-97 { +.emotion-87 { text-align: right; } -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { +.emotion-90 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-99 input[type='number'] { +.emotion-90 input[type='number'] { -moz-appearance: textfield; } -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { +.emotion-90 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-99 input[type='number'] { +.emotion-90 input[type='number'] { -moz-appearance: textfield; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; +.emotion-92 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-92:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-92[data-error='true'] { + border-color: #b3144d; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-92:hover { + border-color: #792dd4; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-92[data-size='small'] { + height: 2rem; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-92[data-size='medium'] { + height: 2.5rem; } -.emotion-103::placeholder { - opacity: 1; +.emotion-92[data-size='large'] { + height: 3rem; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; +.emotion-92 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-92:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-92[data-error='true'] { + border-color: #b3144d; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-92:hover { + border-color: #792dd4; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-92[data-size='small'] { + height: 2rem; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-92[data-size='medium'] { + height: 2.5rem; } -.emotion-103::placeholder { - opacity: 1; +.emotion-92[data-size='large'] { + height: 3rem; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-97 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-97 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-97[data-size='small'] { + height: 2rem; +} + +.emotion-97[data-size='medium'] { + height: 2.5rem; +} + +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; +} + +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; +} + +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-97:placeholder-shown~.emotion-99 { color: #727683; + font-size: 1rem; +} + +.emotion-97[data-controls='false'] { + text-align: left; +} + +.emotion-97 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-97 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-97[data-size='small'] { + height: 2rem; +} + +.emotion-97[data-size='medium'] { + height: 2.5rem; +} + +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-105:hover, -.emotion-105:focus-within { +.emotion-97:read-only { color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; +} + +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-105:hover, -.emotion-105:focus-within { - color: #3f4250; +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-97:placeholder-shown~.emotion-99 { + color: #727683; + font-size: 1rem; } -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-97[data-controls='false'] { + text-align: left; } -.emotion-110 { +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; } -.emotion-110 { +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; -} - -.emotion-113 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; -} - -.emotion-113 { + padding: 0.5rem; + height: 2rem; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; } -.emotion-119 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -15302,7 +16510,7 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` min-width: 126px; } -.emotion-119 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -15314,10 +16522,10 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` min-width: 126px; } -.emotion-122 { +.emotion-105 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -15327,10 +16535,10 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` text-align: right; } -.emotion-122 { +.emotion-105 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -15340,29 +16548,29 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` text-align: right; } -.emotion-124 { +.emotion-107 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-124 { +.emotion-107 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-128 { +.emotion-111 { width: 70%; } -.emotion-128 { +.emotion-111 { width: 70%; } -.emotion-130 { +.emotion-113 { padding-left: 16px; padding-right: 16px; position: relative; @@ -15379,7 +16587,7 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` min-width: 126px; } -.emotion-130 { +.emotion-113 { padding-left: 16px; padding-right: 16px; position: relative; @@ -15396,10 +16604,10 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` min-width: 126px; } -.emotion-133 { +.emotion-116 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -15409,10 +16617,10 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` text-align: right; } -.emotion-133 { +.emotion-116 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -15480,14 +16688,11 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` > @@ -15535,14 +16740,11 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` > @@ -15556,132 +16758,82 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` class="emotion-48 emotion-49" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -15690,14 +16842,14 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = `

render with 0 amount 1`] = `
-
- +
-
-

+ GB -

+
-
-
-

€0.00

@@ -15779,7 +16927,7 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = ` @@ -15791,13 +16939,13 @@ exports[`EstimateCost - Unit Item > render with 0 amount 1`] = `

render with 0 amount 1`] = ` `; -exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` - - .emotion-0 { +exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-18 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-18 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; +} + +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; +} + +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; +} + +.emotion-24 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } -.emotion-0 { +.emotion-24 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-31 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; +.emotion-31 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-4 { +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-37>* { + margin-top: 0; +} + +.emotion-37>*+* { + margin-top: 16px; +} + +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-37>* { + margin-top: 0; +} + +.emotion-37>*+* { + margin-top: 16px; +} + +.emotion-39 { + background-color: #ffffff; +} + +.emotion-39 { + background-color: #ffffff; +} + +.emotion-41 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-4 { +.emotion-41 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-8 { +.emotion-46 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; } -.emotion-8 { +.emotion-46 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; } -.emotion-10 { +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-50 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -15996,21 +17651,22 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-10 { +.emotion-50 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -16019,21 +17675,15 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-53 { + display: grid; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -16042,21 +17692,139 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-53 { + display: grid; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -16065,447 +17833,349 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; + border-color: #8c40ef; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-18 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-18 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; } -.emotion-20 { +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - max-width: 500px; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-20 { +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - max-width: 500px; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-24 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-24 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-57::placeholder { + color: #727683; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-26 path { - fill: currentColor; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-26 path { - fill: currentColor; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-37 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-37>* { - margin-top: 0; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-37 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-37>* { - margin-top: 0; +.emotion-57::placeholder { + color: #727683; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-39 { - background-color: #ffffff; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-39 { - background-color: #ffffff; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-41 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-41 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-60 { + width: 100%; + width: 100%; } -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-60 #unit { + border: none; + background: transparent; +} + +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; +} + +.emotion-60 { + width: 100%; + width: 100%; } -.emotion-44 path { - fill: currentColor; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-62 { + display: inherit; } -.emotion-44 path { - fill: currentColor; +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-46 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-62[data-container-full-width="true"] { + width: 100%; } -.emotion-46 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-62 { + display: inherit; } -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-62[data-container-full-height="true"] { + height: 100%; } -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-62[data-container-full-width="true"] { + width: 100%; } -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -16514,11 +18184,21 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -16527,1151 +18207,849 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; -} - -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} - -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-54 { - position: relative; +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-54 { - position: relative; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-56:hover, -.emotion-56:focus { +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-58 { - height: auto; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-58 { - height: auto; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-64:hover, -.emotion-64:focus { +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-64:hover, -.emotion-64:focus { +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; } -.emotion-68 { +.emotion-79 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; } -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-87 { + text-align: right; } -.emotion-68:hover { - border-color: #792dd4; +.emotion-87 { + text-align: right; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-90 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-90 input[type='number'] { + -moz-appearance: textfield; } -.emotion-68:hover { - border-color: #792dd4; +.emotion-90 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-69 label { - display: none; +.emotion-90 input[type='number'] { + -moz-appearance: textfield; } -.emotion-69 { +.emotion-92 { + 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; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-92:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-92[data-error='true'] { + border-color: #b3144d; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-92:hover { + border-color: #792dd4; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; } -.emotion-74 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-92[data-size='small'] { + height: 2rem; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-92[data-size='medium'] { + height: 2.5rem; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-92[data-size='large'] { + height: 3rem; } -.emotion-76 { +.emotion-92 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-76:hover { - color: hsl(0, 0%, 60%); + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-76 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-92:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-92[data-error='true'] { + border-color: #b3144d; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-92:hover { + border-color: #792dd4; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-92[data-size='small'] { + height: 2rem; } -.emotion-87 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-92[data-size='medium'] { + height: 2.5rem; } -.emotion-87 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-92[data-size='large'] { + height: 3rem; } -.emotion-89 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; -} - -.emotion-89 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-97 { - text-align: right; + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; } -.emotion-97 { - text-align: right; +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-99 input[type='number'] { +.emotion-97 { -moz-appearance: textfield; -} - -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-99 input[type='number'] { + -webkit-appearance: textfield; -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); +.emotion-97[data-size='small'] { + height: 2rem; } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-97[data-size='medium'] { + height: 2.5rem; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-97:placeholder-shown~.emotion-99 { + color: #727683; + font-size: 1rem; } -.emotion-103::placeholder { - opacity: 1; +.emotion-97[data-controls='false'] { + text-align: left; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +.emotion-97 { outline: none; - position: relative; + border: none; + padding: 0; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-97 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-97[data-size='small'] { + height: 2rem; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-97[data-size='medium'] { + height: 2.5rem; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-103::placeholder { - opacity: 1; +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-105:hover, -.emotion-105:focus-within { - color: #3f4250; +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; +.emotion-97:placeholder-shown~.emotion-99 { color: #727683; + font-size: 1rem; } -.emotion-105:hover, -.emotion-105:focus-within { - color: #3f4250; -} - -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; -} - -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-97[data-controls='false'] { + text-align: left; } -.emotion-110 { +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; } -.emotion-110 { +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; -} - -.emotion-113 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; -} - -.emotion-113 { + align-items: center; + padding: 0.5rem; + height: 2rem; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; } -.emotion-119 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -17683,7 +19061,7 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` min-width: 126px; } -.emotion-119 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -17695,10 +19073,10 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` min-width: 126px; } -.emotion-122 { +.emotion-105 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -17708,9 +19086,9 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` text-align: right; } -.emotion-125 { +.emotion-108 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -17720,29 +19098,29 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` text-align: right; } -.emotion-127 { +.emotion-110 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-127 { +.emotion-110 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-131 { +.emotion-114 { width: 70%; } -.emotion-131 { +.emotion-114 { width: 70%; } -.emotion-133 { +.emotion-116 { padding-left: 16px; padding-right: 16px; position: relative; @@ -17759,7 +19137,7 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` min-width: 126px; } -.emotion-133 { +.emotion-116 { padding-left: 16px; padding-right: 16px; position: relative; @@ -17776,10 +19154,10 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` min-width: 126px; } -.emotion-136 { +.emotion-119 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -17789,10 +19167,10 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` text-align: right; } -.emotion-136 { +.emotion-119 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -17860,14 +19238,11 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` > @@ -17915,14 +19290,11 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` > @@ -17936,132 +19308,82 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` class="emotion-48 emotion-49" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -18070,14 +19392,14 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = `

render with 10 amount 1`] = `
-
- +
-
-

+ GB -

+
-
-
-

€100.00

€10.00/GB/hour(s)

@@ -18164,7 +19482,7 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = ` @@ -18176,13 +19494,13 @@ exports[`EstimateCost - Unit Item > render with 10 amount 1`] = `

render with 10 amount 1`] = ` `; -exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` - - .emotion-0 { +exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-18 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-18 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; +} + +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; +} + +.emotion-22 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-22:first-of-type, +.emotion-22:last-child { + border: 0; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-26 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-26 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-31 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-0 { +.emotion-31 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-37>* { + margin-top: 0; +} + +.emotion-37>*+* { + margin-top: 16px; +} + +.emotion-37 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-37>* { + margin-top: 0; +} + +.emotion-37>*+* { + margin-top: 16px; +} + +.emotion-39 { background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; +.emotion-39 { background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; } -.emotion-4 { +.emotion-41 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-4 { +.emotion-41 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-44 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-44 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-8 { +.emotion-46 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; } -.emotion-8 { +.emotion-46 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; } -.emotion-10 { +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-48 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-50 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18381,21 +20206,22 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-10 { +.emotion-50 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18404,21 +20230,15 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-53 { + display: grid; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18427,21 +20247,139 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-53[data-size='small'] { + height: 2rem; +} + +.emotion-53[data-size='medium'] { + height: 2.5rem; +} + +.emotion-53[data-size='large'] { + height: 3rem; +} + +.emotion-53[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; +} + +.emotion-53 { + display: grid; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18450,447 +20388,349 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-53:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-56 { + border-right-color: #8c40ef; +} + +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; + border-color: #8c40ef; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-56, +.emotion-53:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-56 { + border-right-color: #8c40ef; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-53[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-18 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-53[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-18 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-53[data-size='small'] { + height: 2rem; } -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; +.emotion-53[data-size='medium'] { + height: 2.5rem; } -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; +.emotion-53[data-size='large'] { + height: 3rem; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-53[data-success='true'] { + border: 1px solid #22674e; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-53[data-success='true']>.emotion-56 { + border-right-color: #22674e; } -.emotion-22 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-53[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-22:first-of-type, -.emotion-22:last-child { - border: 0; +.emotion-53[data-success='true']:active>.emotion-56 { + border-right-color: #22674e; +} + +.emotion-53[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-53[data-error='true']:active>.emotion-56 { + border-right-color: #b3144d; +} + +.emotion-53[data-error='true']:active>.emotion-56:hover { + border-right-color: #b3144d; +} + +.emotion-53[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-53[data-disabled='true']>.emotion-56 { + border-right-color: #e9eaeb; } -.emotion-24 { +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-24 { +.emotion-55 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-26 path { - fill: currentColor; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-26 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-26 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-26 path { - fill: currentColor; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-57::placeholder { + color: #727683; } -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-37 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-37>* { - margin-top: 0; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-37 { +.emotion-57:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-57 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-37>* { - margin-top: 0; +.emotion-57[data-size="small"] { + padding-left: 0.5rem; } -.emotion-37>*+* { - margin-top: 16px; +.emotion-57[data-size="large"] { + font-size: 1rem; } -.emotion-39 { - background-color: #ffffff; +.emotion-57::-webkit-input-placeholder { + color: #727683; } -.emotion-39 { - background-color: #ffffff; +.emotion-57::-moz-placeholder { + color: #727683; } -.emotion-41 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; +.emotion-57:-ms-input-placeholder { + color: #727683; } -.emotion-41 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; +.emotion-57::placeholder { + color: #727683; } -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-57:disabled { + cursor: not-allowed; } -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-44 path { - fill: currentColor; +.emotion-57:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-44 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-57:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-44 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-57:disabled::placeholder { + color: #b5b7bd; } -.emotion-44 path { - fill: currentColor; +.emotion-60 { + width: 100%; + width: 100%; } -.emotion-46 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-60 #unit { + border: none; + background: transparent; } -.emotion-46 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; } -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-60 { + width: 100%; + width: 100%; } -.emotion-48 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-60 #unit { + border: none; + background: transparent; +} + +.emotion-60 #unit:focus, +.emotion-60 #unit:active { + box-shadow: none; +} + +.emotion-62 { + display: inherit; +} + +.emotion-62[data-container-full-height="true"] { + height: 100%; +} + +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-62 { + display: inherit; } -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; +.emotion-62[data-container-full-height="true"] { + height: 100%; +} + +.emotion-62[data-container-full-width="true"] { + width: 100%; +} + +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18899,11 +20739,21 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-50 { - display: grid; - grid-template-columns: 1fr auto; +.emotion-64 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18912,1151 +20762,849 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; -} - -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} - -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-52 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-52 input:hover, -.emotion-52 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-52 input[type='number']::-webkit-inner-spin-button, -.emotion-52 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-52 input[type='number'] { - -moz-appearance: textfield; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-54 { - position: relative; +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-54 { - position: relative; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-56:hover, -.emotion-56:focus { - border-color: #792dd4; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-56:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-56::-webkit-input-placeholder { - opacity: 1; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-56::-moz-placeholder { - opacity: 1; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-56:-ms-input-placeholder { - opacity: 1; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-56 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; +.emotion-66 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-56::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-56::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='medium'] { + height: 2.5rem; } -.emotion-56:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-size='large'] { + height: 3rem; } -.emotion-56::placeholder { - color: #727683; - opacity: 0; +.emotion-66[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-56:hover, -.emotion-56:focus { +.emotion-66[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; -} - -.emotion-56:focus { box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-56::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-56::-moz-placeholder { - opacity: 1; } -.emotion-56:-ms-input-placeholder { - opacity: 1; -} - -.emotion-56::placeholder { - opacity: 1; +.emotion-66[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-58 { - height: auto; +.emotion-66[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-58 { - height: auto; +.emotion-66[data-state='success'] { + border: 1px solid #22674e; } -.emotion-58[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-66[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-60 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-66[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-66[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-64 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-66[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-64:hover, -.emotion-64:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-66[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-64:hover, -.emotion-64:focus { +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; + text-overflow: ellipsis; overflow: hidden; - padding: 0; white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-66 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; +.emotion-69 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; overflow: hidden; - padding: 0; white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-71 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; -} - -.emotion-68 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-68:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-68:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-68:hover { - border-color: #792dd4; -} - -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; } -.emotion-69 { +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-69 label { - display: none; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-70 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-73 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-72 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-73 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; } -.emotion-73 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-73:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-77 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; } -.emotion-74 { +.emotion-79 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-79 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-87 { + text-align: right; +} + +.emotion-87 { + text-align: right; +} + +.emotion-90 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-75 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-90 input[type='number'] { + -moz-appearance: textfield; } -.emotion-76 { +.emotion-90 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); +.emotion-90 input[type='number']::-webkit-inner-spin-button, +.emotion-90 input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-76 { +.emotion-90 input[type='number'] { + -moz-appearance: textfield; +} + +.emotion-92 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-76:hover { - color: hsl(0, 0%, 60%); +.emotion-92:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-92[data-success='true'] { + border-color: #22674e; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-92[data-error='true'] { + border-color: #b3144d; } -.emotion-79 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-92:hover { + border-color: #792dd4; } -.emotion-79 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-83 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; } -.emotion-87 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-92[data-size='small'] { + height: 2rem; } -.emotion-87 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-92[data-size='medium'] { + height: 2.5rem; } -.emotion-89 { +.emotion-92[data-size='large'] { + height: 3rem; +} + +.emotion-92 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-92:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-92[data-success='true'] { + border-color: #22674e; +} + +.emotion-92[data-error='true'] { + border-color: #b3144d; +} + +.emotion-92:hover { + border-color: #792dd4; +} + +.emotion-92[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-92[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-92[data-controls='false']>.emotion-94 { + border-width: 0; +} + +.emotion-92[data-size='small'] { + height: 2rem; +} + +.emotion-92[data-size='medium'] { + height: 2.5rem; +} + +.emotion-92[data-size='large'] { + height: 3rem; +} + +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; -} - -.emotion-89 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-95 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-97 { - text-align: right; + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; } -.emotion-97 { - text-align: right; +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-99 input[type='number'] { +.emotion-97 { -moz-appearance: textfield; -} - -.emotion-99 input[type='number']::-webkit-inner-spin-button, -.emotion-99 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-99 input[type='number'] { + -webkit-appearance: textfield; -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); +.emotion-97[data-size='small'] { + height: 2rem; } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-97[data-size='medium'] { + height: 2.5rem; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-97:placeholder-shown~.emotion-99 { + color: #727683; + font-size: 1rem; } -.emotion-103::placeholder { - opacity: 1; +.emotion-97[data-controls='false'] { + text-align: left; } -.emotion-103 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; +.emotion-97 { outline: none; - position: relative; + border: none; + padding: 0; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 30px; - padding-left: 8px; - padding-right: 8px; - padding-top: 14px; - font-size: 14px; - padding: 4px 8px; - padding-right: calc(2 * 0.5rem + 0.5 * 2rem); + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; } -.emotion-103::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-97[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-103::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-97::-webkit-outer-spin-button, +.emotion-97::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-103:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-97 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-103::placeholder { - color: #727683; - opacity: 0; +.emotion-97[data-size='small'] { + height: 2rem; } -.emotion-103:hover, -.emotion-103:focus { - border-color: #792dd4; +.emotion-97[data-size='medium'] { + height: 2.5rem; } -.emotion-103:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-97[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-103::-webkit-input-placeholder { - opacity: 1; +.emotion-97:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-103::-moz-placeholder { - opacity: 1; +.emotion-97:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-103:-ms-input-placeholder { - opacity: 1; +.emotion-97:-moz-read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-103::placeholder { - opacity: 1; +.emotion-97:read-only~.emotion-99 { + background: #f9f9fa; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; +.emotion-97:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-105:hover, -.emotion-105:focus-within { - color: #3f4250; +.emotion-97:disabled~.emotion-99 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-105 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; +.emotion-97:placeholder-shown~.emotion-99 { color: #727683; + font-size: 1rem; } -.emotion-105:hover, -.emotion-105:focus-within { - color: #3f4250; -} - -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; -} - -.emotion-108 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - margin: 1px 0px; - height: calc(100% - 2px); - background-color: #e9eaeb; +.emotion-97[data-controls='false'] { + text-align: left; } -.emotion-110 { +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; } -.emotion-110 { +.emotion-100 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - min-width: 24px; -} - -.emotion-113 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; -} - -.emotion-113 { + padding: 0.5rem; + height: 2rem; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0.5rem 0; - line-height: 18px; } -.emotion-119 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -20068,7 +21616,7 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` min-width: 126px; } -.emotion-119 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -20080,10 +21628,10 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` min-width: 126px; } -.emotion-122 { +.emotion-105 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -20093,29 +21641,29 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` text-align: right; } -.emotion-124 { +.emotion-107 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-124 { +.emotion-107 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-128 { +.emotion-111 { width: 70%; } -.emotion-128 { +.emotion-111 { width: 70%; } -.emotion-130 { +.emotion-113 { padding-left: 16px; padding-right: 16px; position: relative; @@ -20132,7 +21680,7 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` min-width: 126px; } -.emotion-130 { +.emotion-113 { padding-left: 16px; padding-right: 16px; position: relative; @@ -20149,10 +21697,10 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` min-width: 126px; } -.emotion-133 { +.emotion-116 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -20162,10 +21710,10 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` text-align: right; } -.emotion-133 { +.emotion-116 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -20233,14 +21781,11 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` > @@ -20288,14 +21833,11 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` > @@ -20309,132 +21851,82 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` class="emotion-48 emotion-49" >
-
-
-
-
- - -
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -20443,14 +21935,14 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = `

render with getAmountValue 1`] = `
-
- +
-
-

+ GB -

+
-
-
-

€0.13699

@@ -20532,7 +22020,7 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = ` @@ -20544,13 +22032,13 @@ exports[`EstimateCost - Unit Item > render with getAmountValue 1`] = `

render region component, with animation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -35,10 +35,10 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -60,6 +60,7 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -104,10 +105,10 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -116,10 +117,9 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -127,10 +127,10 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -139,15 +139,14 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -223,10 +222,10 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -235,19 +234,19 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-27 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-27 .fillStroke { @@ -255,10 +254,6 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` fill: none; } -.emotion-27 path { - fill: currentColor; -} - .emotion-29 { height: 48px; display: -webkit-box; @@ -340,10 +335,10 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` .emotion-45 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -352,10 +347,6 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` fill: none; } -.emotion-45 path { - fill: currentColor; -} - .emotion-47 { padding-left: 16px; padding-right: 16px; @@ -381,8 +372,32 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` } .emotion-51 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-54 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -391,417 +406,449 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-53 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-53 input:hover, -.emotion-53 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-57, +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-57 { + border-right-color: #8c40ef; } -.emotion-53 input[type='number']::-webkit-inner-spin-button, -.emotion-53 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-53 input[type='number'] { - -moz-appearance: textfield; +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-57 { + border-right-color: #8c40ef; } -.emotion-55 { - position: relative; +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-57 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-57, +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-57 { + border-right-color: #8c40ef; } -.emotion-57::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-54[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-57::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-54[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-57:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-54[data-size='small'] { + height: 2rem; } -.emotion-57::placeholder { - color: #727683; - opacity: 0; +.emotion-54[data-size='medium'] { + height: 2.5rem; } -.emotion-57:hover, -.emotion-57:focus { - border-color: #792dd4; +.emotion-54[data-size='large'] { + height: 3rem; } -.emotion-57:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-54[data-success='true'] { + border: 1px solid #22674e; } -.emotion-57::-webkit-input-placeholder { - opacity: 1; +.emotion-54[data-success='true']>.emotion-57 { + border-right-color: #22674e; } -.emotion-57::-moz-placeholder { - opacity: 1; +.emotion-54[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-57:-ms-input-placeholder { - opacity: 1; +.emotion-54[data-success='true']:active>.emotion-57 { + border-right-color: #22674e; } -.emotion-57::placeholder { - opacity: 1; +.emotion-54[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-59 { - height: auto; +.emotion-54[data-error='true']>.emotion-57 { + border-right-color: #b3144d; } -.emotion-59[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-54[data-error='true']>.emotion-57:hover { + border-right-color: #b3144d; } -.emotion-61 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-54[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-65 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-54[data-error='true']:active>.emotion-57 { + border-right-color: #b3144d; } -.emotion-65:hover, -.emotion-65:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-54[data-error='true']:active>.emotion-57:hover { + border-right-color: #b3144d; } -.emotion-65:hover, -.emotion-65:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-54[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-67 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-54[data-disabled='true']>.emotion-57 { + border-right-color: #e9eaeb; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-56 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-58 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-69:hover { - border-color: hsl(0, 0%, 70%); +.emotion-58[data-size="small"] { + padding-left: 0.5rem; } -.emotion-69:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-58[data-size="large"] { + font-size: 1rem; } -.emotion-69:hover { - border-color: #792dd4; +.emotion-58::-webkit-input-placeholder { + color: #727683; } -.emotion-70 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-58::-moz-placeholder { + color: #727683; } -.emotion-70 label { - display: none; +.emotion-58:-ms-input-placeholder { + color: #727683; } -.emotion-71 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-58::placeholder { + color: #727683; } -.emotion-73 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-58:disabled { + cursor: not-allowed; } -.emotion-74 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-74:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-58:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-75 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-76 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-77 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-58:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-77:hover { - color: hsl(0, 0%, 60%); +.emotion-58:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-80 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-58:disabled::placeholder { + color: #b5b7bd; } -.emotion-80 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-61 { + width: 100%; + width: 100%; } -.emotion-84 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61 #unit { + border: none; + background: transparent; } -.emotion-88 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61 #unit:focus, +.emotion-61 #unit:active { + box-shadow: none; } -.emotion-90 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-63 { + display: inherit; } -.emotion-98 { - text-align: right; +.emotion-63[data-container-full-height="true"] { + height: 100%; } -.emotion-101 { - display: -webkit-inline-box; +.emotion-63[data-container-full-width="true"] { + width: 100%; +} + +.emotion-65 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-67 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-67[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-67[data-size='medium'] { + height: 2.5rem; +} + +.emotion-67[data-size='large'] { + height: 3rem; +} + +.emotion-67[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-67[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-67[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-67[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-67[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-67[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-67[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-67[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-67[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-67[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-67[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-67:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-67[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-67[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-70 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-72 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-74 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-74 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-78 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-80 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-88 { + text-align: right; +} + +.emotion-91 { + display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; @@ -827,7 +874,7 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` margin-right: 4px; } -.emotion-105 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -839,10 +886,10 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` min-width: 126px; } -.emotion-108 { +.emotion-98 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -852,18 +899,18 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` text-align: right; } -.emotion-110 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -880,10 +927,10 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` min-width: 126px; } -.emotion-119 { +.emotion-109 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -952,14 +999,11 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` > @@ -1007,14 +1051,11 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` > @@ -1028,132 +1069,82 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` class="emotion-49 emotion-50" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -1162,14 +1153,14 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = `

render region component, with animation 1`] = `
nl-ams-1 render region component, with animation 1`] = `

€0.00

@@ -1215,7 +1206,7 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = ` @@ -1227,13 +1218,13 @@ exports[`EstimateCost - Zone > render region component, with animation 1`] = `

render zone component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1270,10 +1261,10 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -1295,6 +1286,7 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -1339,10 +1331,10 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1351,10 +1343,9 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -1362,10 +1353,10 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1374,15 +1365,14 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1456,10 +1446,10 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1468,19 +1458,19 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-27 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-27 .fillStroke { @@ -1488,10 +1478,6 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` fill: none; } -.emotion-27 path { - fill: currentColor; -} - .emotion-29 { height: 48px; display: -webkit-box; @@ -1573,10 +1559,10 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` .emotion-45 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -1585,10 +1571,6 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` fill: none; } -.emotion-45 path { - fill: currentColor; -} - .emotion-47 { padding-left: 16px; padding-right: 16px; @@ -1614,8 +1596,32 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` } .emotion-51 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-54 { + display: grid; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1624,383 +1630,415 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-53 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-53 input:hover, -.emotion-53 input:focus { +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-57, +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-57 { + border-right-color: #8c40ef; +} + +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-54:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-57 { + border-right-color: #8c40ef; +} + +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-53 input[type='number']::-webkit-inner-spin-button, -.emotion-53 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-57, +.emotion-54:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-57 { + border-right-color: #8c40ef; } -.emotion-53 input[type='number'] { - -moz-appearance: textfield; +.emotion-54[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-55 { - position: relative; +.emotion-54[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-57 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-54[data-size='small'] { + height: 2rem; +} + +.emotion-54[data-size='medium'] { + height: 2.5rem; +} + +.emotion-54[data-size='large'] { + height: 3rem; +} + +.emotion-54[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-54[data-success='true']>.emotion-57 { + border-right-color: #22674e; +} + +.emotion-54[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-54[data-success='true']:active>.emotion-57 { + border-right-color: #22674e; +} + +.emotion-54[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-54[data-error='true']>.emotion-57 { + border-right-color: #b3144d; +} + +.emotion-54[data-error='true']>.emotion-57:hover { + border-right-color: #b3144d; +} + +.emotion-54[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-54[data-error='true']:active>.emotion-57 { + border-right-color: #b3144d; +} + +.emotion-54[data-error='true']:active>.emotion-57:hover { + border-right-color: #b3144d; +} + +.emotion-54[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-54[data-disabled='true']>.emotion-57 { + border-right-color: #e9eaeb; +} + +.emotion-56 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; + height: 100%; } -.emotion-57::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-58 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-57::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-58[data-size="small"] { + padding-left: 0.5rem; } -.emotion-57:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-58[data-size="large"] { + font-size: 1rem; } -.emotion-57::placeholder { +.emotion-58::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-57:hover, -.emotion-57:focus { - border-color: #792dd4; +.emotion-58::-moz-placeholder { + color: #727683; } -.emotion-57:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-58:-ms-input-placeholder { + color: #727683; } -.emotion-57::-webkit-input-placeholder { - opacity: 1; +.emotion-58::placeholder { + color: #727683; } -.emotion-57::-moz-placeholder { - opacity: 1; +.emotion-58:disabled { + cursor: not-allowed; } -.emotion-57:-ms-input-placeholder { - opacity: 1; +.emotion-58:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-57::placeholder { - opacity: 1; +.emotion-58:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-59 { - height: auto; +.emotion-58:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-59[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-58:disabled::placeholder { + color: #b5b7bd; } .emotion-61 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + width: 100%; + width: 100%; } -.emotion-65 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-61 #unit { + border: none; + background: transparent; } -.emotion-65:hover, -.emotion-65:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-61 #unit:focus, +.emotion-61 #unit:active { box-shadow: none; } -.emotion-65:hover, -.emotion-65:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-63 { + display: inherit; } -.emotion-67 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-63[data-container-full-height="true"] { + height: 100%; } -.emotion-69 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-63[data-container-full-width="true"] { + width: 100%; +} + +.emotion-65 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-67 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-69:hover { - border-color: hsl(0, 0%, 70%); +.emotion-67[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-69:focus-within { - border-color: #8c40ef; +.emotion-67[data-size='medium'] { + height: 2.5rem; +} + +.emotion-67[data-size='large'] { + height: 3rem; +} + +.emotion-67[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-67[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-69:hover { +.emotion-67[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-70 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-67[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-70 label { - display: none; +.emotion-67[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-71 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-67[data-state='success'] { + border: 1px solid #22674e; } -.emotion-73 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-67[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-74 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-74:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-67[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-75 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-67[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-67[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-67[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-67:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-67[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-67[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-70 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-72 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-76 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-77 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-77:hover { - color: hsl(0, 0%, 60%); } -.emotion-80 { +.emotion-74 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-80 .fillStroke { - stroke: currentColor; +.emotion-74 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-84 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-88 { +.emotion-78 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2008,7 +2046,7 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` min-width: 230px; } -.emotion-90 { +.emotion-80 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -2029,11 +2067,11 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` padding-bottom: 8px; } -.emotion-98 { +.emotion-88 { text-align: right; } -.emotion-101 { +.emotion-91 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2060,7 +2098,7 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` margin-right: 4px; } -.emotion-105 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2072,10 +2110,10 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` min-width: 126px; } -.emotion-108 { +.emotion-98 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2085,18 +2123,18 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` text-align: right; } -.emotion-110 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2113,10 +2151,10 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` min-width: 126px; } -.emotion-119 { +.emotion-109 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -2185,14 +2223,11 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` > @@ -2240,14 +2275,11 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` > @@ -2261,132 +2293,82 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` class="emotion-49 emotion-50" >
-
-
-
- - -
-
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -2395,14 +2377,14 @@ exports[`EstimateCost - Zone > render zone component 1`] = `

render zone component 1`] = `
fr-par-1 render zone component 1`] = `

€0.00

@@ -2448,7 +2430,7 @@ exports[`EstimateCost - Zone > render zone component 1`] = ` @@ -2460,13 +2442,13 @@ exports[`EstimateCost - Zone > render zone component 1`] = `

render isBeta with discount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -44,6 +44,7 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -88,10 +89,10 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -100,10 +101,9 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -111,10 +111,10 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -123,15 +123,14 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -200,10 +199,10 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -212,19 +211,19 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -232,10 +231,6 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -281,7 +276,7 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` .emotion-36 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -357,10 +352,10 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` .emotion-47 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -369,10 +364,6 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` fill: none; } -.emotion-47 path { - fill: currentColor; -} - .emotion-49 { padding-left: 16px; padding-right: 16px; @@ -398,8 +389,32 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` } .emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-56 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -408,397 +423,429 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-57 { - position: relative; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size='small'] { + height: 2rem; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size='medium'] { + height: 2.5rem; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-56[data-size='large'] { + height: 3rem; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-56[data-success='true'] { + border: 1px solid #22674e; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; } -.emotion-59::placeholder { - opacity: 1; +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-61 { - height: auto; +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-58 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); +.emotion-60[data-size="small"] { + padding-left: 0.5rem; } -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-60[data-size="large"] { + font-size: 1rem; } -.emotion-71:hover { - border-color: #792dd4; +.emotion-60::-webkit-input-placeholder { + color: #727683; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-60::-moz-placeholder { + color: #727683; } -.emotion-72 label { - display: none; +.emotion-60:-ms-input-placeholder { + color: #727683; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-60::placeholder { + color: #727683; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-60:disabled { + cursor: not-allowed; } -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-79 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-60:disabled::placeholder { + color: #b5b7bd; } -.emotion-79:hover { - color: hsl(0, 0%, 60%); +.emotion-63 { + width: 100%; + width: 100%; } -.emotion-82 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-63 #unit { + border: none; + background: transparent; } -.emotion-82 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; } -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65 { + display: inherit; } -.emotion-90 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-65[data-container-full-height="true"] { + height: 100%; } -.emotion-92 { +.emotion-65[data-container-full-width="true"] { + width: 100%; +} + +.emotion-67 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-69[data-size='medium'] { + height: 2.5rem; +} + +.emotion-69[data-size='large'] { + height: 3rem; +} + +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-69[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-74 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-76 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-76 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-80 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-82 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: justify; -webkit-box-pack: justify; @@ -813,11 +860,11 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` padding-bottom: 8px; } -.emotion-100 { +.emotion-90 { text-align: right; } -.emotion-103 { +.emotion-93 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -844,7 +891,7 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` margin-right: 4px; } -.emotion-105 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -856,10 +903,10 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` min-width: 126px; } -.emotion-108 { +.emotion-98 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -869,18 +916,18 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` text-align: right; } -.emotion-110 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -897,9 +944,9 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` min-width: 126px; } -.emotion-120 { +.emotion-110 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -935,10 +982,10 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` top: calc(50% - 16px); } -.emotion-123 { +.emotion-113 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -1003,14 +1050,11 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` > @@ -1063,14 +1107,11 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` > @@ -1084,132 +1125,82 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` class="emotion-51 emotion-52" >
-
-
-
-
- - -
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -1218,14 +1209,14 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = `

render isBeta with discount 1`] = `
Test
@@ -1252,10 +1243,10 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = `

€0.06781

@@ -1266,7 +1257,7 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = ` @@ -1278,19 +1269,19 @@ exports[`EstimateCost - index > render isBeta with discount 1`] = `
50 % off during Beta

render isBeta with discount equal to 100% 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1327,10 +1318,10 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -1352,6 +1343,7 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -1396,10 +1388,10 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1408,10 +1400,9 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -1419,10 +1410,10 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1431,15 +1422,14 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1508,10 +1498,10 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1520,19 +1510,19 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -1540,10 +1530,6 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -1589,7 +1575,7 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = .emotion-36 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1665,10 +1651,10 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = .emotion-47 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -1677,10 +1663,6 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = fill: none; } -.emotion-47 path { - fill: currentColor; -} - .emotion-49 { padding-left: 16px; padding-right: 16px; @@ -1706,489 +1688,545 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = } .emotion-53 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-57 { - position: relative; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size='small'] { + height: 2rem; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-56[data-size='medium'] { + height: 2.5rem; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-56[data-size='large'] { + height: 3rem; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-56[data-success='true'] { + border: 1px solid #22674e; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-59::placeholder { - opacity: 1; +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; } -.emotion-61 { - height: auto; +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; +} + +.emotion-58 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-71:hover { - border-color: #792dd4; -} - -.emotion-72 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-72 label { - display: none; +.emotion-60[data-size="small"] { + padding-left: 0.5rem; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-60[data-size="large"] { + font-size: 1rem; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-60::-webkit-input-placeholder { + color: #727683; } -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-60::-moz-placeholder { + color: #727683; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-60:-ms-input-placeholder { + color: #727683; } -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-60::placeholder { + color: #727683; } -.emotion-79 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-60:disabled { + cursor: not-allowed; } -.emotion-79:hover { - color: hsl(0, 0%, 60%); +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-82 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-82 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-60:disabled::placeholder { + color: #b5b7bd; } -.emotion-90 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-63 { + width: 100%; + width: 100%; } -.emotion-92 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-63 #unit { + border: none; + background: transparent; } -.emotion-100 { - text-align: right; +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; } -.emotion-103 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-65 { + display: inherit; } -.emotion-105 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-65[data-container-full-height="true"] { + height: 100%; } -.emotion-108 { - color: #727683; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-65[data-container-full-width="true"] { + width: 100%; } -.emotion-110 { - margin: 0; +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-69[data-size='medium'] { + height: 2.5rem; +} + +.emotion-69[data-size='large'] { + height: 3rem; +} + +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-69[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-74 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-76 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-76 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-80 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-82 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-90 { + text-align: right; +} + +.emotion-93 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-95 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-98 { + color: #727683; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-100 { + margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -2205,9 +2243,9 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = min-width: 126px; } -.emotion-120 { +.emotion-110 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -2243,10 +2281,10 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = top: calc(50% - 16px); } -.emotion-123 { +.emotion-113 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -2257,7 +2295,7 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = margin-left: 1rem; } -.emotion-125 { +.emotion-115 { text-decoration-line: line-through; text-decoration-color: #7c5400; } @@ -2316,14 +2354,11 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = > @@ -2376,14 +2411,11 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = > @@ -2397,132 +2429,82 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = class="emotion-51 emotion-52" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -2531,14 +2513,14 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] =

render isBeta with discount equal to 100% 1`] =
Test
@@ -2565,10 +2547,10 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] =

€0.00

@@ -2579,7 +2561,7 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] = @@ -2591,22 +2573,22 @@ exports[`EstimateCost - index > render isBeta with discount equal to 100% 1`] =
100 % off during Beta

€0.00 @@ -2628,22 +2610,22 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -2665,6 +2647,7 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -2709,10 +2692,10 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2721,10 +2704,9 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -2732,10 +2714,10 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2744,15 +2726,14 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2821,10 +2802,10 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2833,19 +2814,19 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -2853,10 +2834,6 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -2902,7 +2879,7 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = .emotion-36 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -2978,10 +2955,10 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = .emotion-47 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -2990,10 +2967,6 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = fill: none; } -.emotion-47 path { - fill: currentColor; -} - .emotion-49 { padding-left: 16px; padding-right: 16px; @@ -3019,8 +2992,32 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = } .emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-56 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3029,398 +3026,430 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-57 { - position: relative; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size='small'] { + height: 2rem; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size='medium'] { + height: 2.5rem; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-56[data-size='large'] { + height: 3rem; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-56[data-success='true'] { + border: 1px solid #22674e; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; } -.emotion-59::placeholder { - opacity: 1; +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-61 { - height: auto; +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-58 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); +.emotion-60[data-size="small"] { + padding-left: 0.5rem; } -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-60[data-size="large"] { + font-size: 1rem; } -.emotion-71:hover { - border-color: #792dd4; +.emotion-60::-webkit-input-placeholder { + color: #727683; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-60::-moz-placeholder { + color: #727683; } -.emotion-72 label { - display: none; +.emotion-60:-ms-input-placeholder { + color: #727683; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-60::placeholder { + color: #727683; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-60:disabled { + cursor: not-allowed; } -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-79 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-60:disabled::placeholder { + color: #b5b7bd; } -.emotion-79:hover { - color: hsl(0, 0%, 60%); +.emotion-63 { + width: 100%; + width: 100%; } -.emotion-82 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-63 #unit { + border: none; + background: transparent; } -.emotion-82 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; } -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65 { + display: inherit; } -.emotion-90 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-65[data-container-full-height="true"] { + height: 100%; } -.emotion-92 { +.emotion-65[data-container-full-width="true"] { + width: 100%; +} + +.emotion-67 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-69[data-size='medium'] { + height: 2.5rem; +} + +.emotion-69[data-size='large'] { + height: 3rem; +} + +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-69[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-74 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-76 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-76 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-80 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-82 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; -webkit-box-pack: justify; -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -3434,11 +3463,11 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = padding-bottom: 8px; } -.emotion-100 { +.emotion-90 { text-align: right; } -.emotion-103 { +.emotion-93 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3465,7 +3494,7 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = margin-right: 4px; } -.emotion-105 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -3477,10 +3506,10 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = min-width: 126px; } -.emotion-108 { +.emotion-98 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3490,18 +3519,18 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = text-align: right; } -.emotion-110 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -3518,9 +3547,9 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = min-width: 126px; } -.emotion-120 { +.emotion-110 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -3556,10 +3585,10 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = top: calc(50% - 16px); } -.emotion-123 { +.emotion-113 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -3570,7 +3599,7 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = margin-left: 1rem; } -.emotion-125 { +.emotion-115 { text-decoration-line: line-through; text-decoration-color: #7c5400; } @@ -3629,14 +3658,11 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = > @@ -3689,14 +3715,11 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = > @@ -3710,132 +3733,82 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = class="emotion-51 emotion-52" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -3844,14 +3817,14 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] =

render isBeta with discount more than 100% 1`] =
Test
@@ -3878,10 +3851,10 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] =

-€0.13562

@@ -3892,7 +3865,7 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] = @@ -3904,22 +3877,22 @@ exports[`EstimateCost - index > render isBeta with discount more than 100% 1`] =
200 % off during Beta

€0.00 @@ -3941,10 +3914,10 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3953,10 +3926,10 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -3978,6 +3951,7 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -4022,10 +3996,10 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4034,10 +4008,9 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -4045,10 +4018,10 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4057,15 +4030,14 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -4134,10 +4106,10 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4146,19 +4118,19 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -4166,10 +4138,6 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -4220,7 +4188,7 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` .emotion-36 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -4296,10 +4264,10 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` .emotion-47 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -4308,10 +4276,6 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` fill: none; } -.emotion-47 path { - fill: currentColor; -} - .emotion-49 { padding-left: 16px; padding-right: 16px; @@ -4337,489 +4301,545 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` } .emotion-53 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-57 { - position: relative; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size='small'] { + height: 2rem; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-56[data-size='medium'] { + height: 2.5rem; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-56[data-size='large'] { + height: 3rem; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-56[data-success='true'] { + border: 1px solid #22674e; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-59::placeholder { - opacity: 1; +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; } -.emotion-61 { - height: auto; +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; +} + +.emotion-58 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-71:hover { - border-color: #792dd4; -} - -.emotion-72 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-72 label { - display: none; +.emotion-60[data-size="small"] { + padding-left: 0.5rem; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-60[data-size="large"] { + font-size: 1rem; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-60::-webkit-input-placeholder { + color: #727683; } -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-60::-moz-placeholder { + color: #727683; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-60:-ms-input-placeholder { + color: #727683; } -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-60::placeholder { + color: #727683; } -.emotion-79 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-60:disabled { + cursor: not-allowed; } -.emotion-79:hover { - color: hsl(0, 0%, 60%); +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-82 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-82 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-60:disabled::placeholder { + color: #b5b7bd; } -.emotion-90 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-63 { + width: 100%; + width: 100%; } -.emotion-92 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-63 #unit { + border: none; + background: transparent; } -.emotion-100 { - text-align: right; +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; } -.emotion-103 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-65 { + display: inherit; } -.emotion-105 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-65[data-container-full-height="true"] { + height: 100%; } -.emotion-108 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-65[data-container-full-width="true"] { + width: 100%; } -.emotion-110 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-69[data-size='medium'] { + height: 2.5rem; +} + +.emotion-69[data-size='large'] { + height: 3rem; +} + +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-69[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-74 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-76 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-76 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-80 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-82 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-90 { + text-align: right; +} + +.emotion-93 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-95 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-98 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-100 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -4836,9 +4856,9 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` min-width: 126px; } -.emotion-120 { +.emotion-110 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -4874,10 +4894,10 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` top: calc(50% - 16px); } -.emotion-123 { +.emotion-113 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -4942,14 +4962,11 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` > @@ -5002,14 +5019,11 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` > @@ -5023,132 +5037,82 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` class="emotion-51 emotion-52" >
-
-
-
-
- - -
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -5157,14 +5121,14 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = `

render isBeta without discount 1`] = `
Test
@@ -5191,10 +5155,10 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = `

€0.13562

@@ -5205,7 +5169,7 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = ` @@ -5217,19 +5181,19 @@ exports[`EstimateCost - index > render isBeta without discount 1`] = `
Free During Beta

render with all timeUnits values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; -ms-flex-align: normal; align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -5291,6 +5255,7 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -5335,10 +5300,10 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5347,10 +5312,9 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -5358,10 +5322,10 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5370,15 +5334,14 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -5447,10 +5410,10 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5459,19 +5422,19 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -5479,10 +5442,6 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -5564,10 +5523,10 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -5576,10 +5535,6 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-45 { padding-left: 16px; padding-right: 16px; @@ -5605,8 +5560,32 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` } .emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5615,398 +5594,430 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-53 { - position: relative; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-55::placeholder { - opacity: 1; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-57 { - height: auto; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-68 label { - display: none; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56::placeholder { + color: #727683; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61 { + display: inherit; } -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61[data-container-full-height="true"] { + height: 100%; +} + +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-88 { +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; -webkit-box-pack: justify; -webkit-box-pack: justify; -webkit-justify-content: space-between; @@ -6020,11 +6031,11 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` padding-bottom: 8px; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -6051,7 +6062,7 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` margin-right: 4px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6063,10 +6074,10 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` min-width: 126px; } -.emotion-104 { +.emotion-94 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -6076,18 +6087,18 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` text-align: right; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -6104,10 +6115,10 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` min-width: 126px; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -6171,14 +6182,11 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` > @@ -6226,14 +6234,11 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` > @@ -6247,132 +6252,82 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` class="emotion-47 emotion-48" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -6381,14 +6336,14 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = `

render with all timeUnits values 1`] = `
Test
@@ -6415,10 +6370,10 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = `

€0.00

@@ -6429,7 +6384,7 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = ` @@ -6441,13 +6396,13 @@ exports[`EstimateCost - index > render with all timeUnits values 1`] = `

render with commitmentFees 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6484,10 +6439,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -6495,10 +6450,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6507,10 +6462,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -6532,6 +6487,7 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -6553,6 +6509,7 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -6634,10 +6591,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6646,10 +6603,9 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -6657,10 +6613,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6669,10 +6625,9 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -6680,10 +6635,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6692,10 +6647,9 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -6703,10 +6657,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6715,15 +6669,14 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -6734,7 +6687,7 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -6858,10 +6811,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6870,10 +6823,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-23 { @@ -6881,10 +6834,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6893,19 +6846,19 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -6913,17 +6866,13 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -6931,10 +6880,6 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -7080,10 +7025,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -7092,17 +7037,13 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -7111,10 +7052,6 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-45 { padding-left: 16px; padding-right: 16px; @@ -7164,8 +7101,15 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` } .emotion-49 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7174,11 +7118,22 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-49 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7187,969 +7142,1063 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input:hover, -.emotion-51 input:focus { +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-53 { - position: relative; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-53 { - position: relative; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-55::placeholder { - opacity: 1; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { border-color: #792dd4; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55::placeholder { - opacity: 1; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-57 { - height: auto; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-57 { - height: auto; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-67 { +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-54 { + 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; - cursor: pointer; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56::placeholder { + color: #727683; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-68 label { - display: none; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-56 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-68 label { - display: none; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56::placeholder { + color: #727683; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-61 { + display: inherit; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61 { + display: inherit; } -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-88 { +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-88 { +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-96 { - text-align: right; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-96 { - text-align: right; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-65[data-size='large'] { + height: 3rem; } -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-104 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-104 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; letter-spacing: 0; - line-height: 1.5rem; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; - text-align: right; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-107 { - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 2rem; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; - margin-top: 1.5rem; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-109 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px; - margin-top: 16px; +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-109>* { - margin-top: 0; +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-109>*+* { - margin-top: 16px; +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -
-
-
-
    -
  • +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-86 { + text-align: right; +} + +.emotion-86 { + text-align: right; +} + +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-91 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-91 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-94 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-94 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-97 { + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + margin-top: 1.5rem; +} + +.emotion-99 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px; + margin-top: 16px; +} + +.emotion-99>* { + margin-top: 0; +} + +.emotion-99>*+* { + margin-top: 16px; +} + +
    +
    +
    +
      +
    • render with commitmentFees 1`] = ` > @@ -8243,14 +8289,11 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` > @@ -8264,132 +8307,82 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = ` class="emotion-47 emotion-48" >
      -
      -
      -
      -
      - - -
      - -
      - Hour(s) -
      - -
      -
      -
      - -
      - -
      -
      -
      @@ -8398,14 +8391,14 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = `

render with commitmentFees 1`] = `
Test
@@ -8432,10 +8425,10 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = `

€0.13562

@@ -8444,23 +8437,23 @@ exports[`EstimateCost - index > render with commitmentFees 1`] = `

One time fees

render with commitmentFees 1`] = `

€10.00

@@ -8505,10 +8498,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8517,10 +8510,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -8528,10 +8521,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8540,10 +8533,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -8565,6 +8558,7 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -8586,6 +8580,7 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -8667,10 +8662,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8679,10 +8674,9 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -8690,10 +8684,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8702,10 +8696,9 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -8713,10 +8706,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8725,10 +8718,9 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -8736,10 +8728,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8748,15 +8740,14 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -8767,7 +8758,7 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -8891,10 +8882,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8903,10 +8894,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-23 { @@ -8914,10 +8905,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8926,19 +8917,19 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -8946,17 +8937,13 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -8964,10 +8951,6 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -9113,10 +9096,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -9125,17 +9108,13 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -9144,10 +9123,6 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-45 { padding-left: 16px; padding-right: 16px; @@ -9197,8 +9172,15 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC } .emotion-49 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9207,11 +9189,22 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-49 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9220,950 +9213,1044 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input:hover, -.emotion-51 input:focus { +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-53 { - position: relative; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-53 { - position: relative; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-55::placeholder { - opacity: 1; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { border-color: #792dd4; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55::placeholder { - opacity: 1; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-57 { - height: auto; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-57 { - height: auto; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-67 { +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-54 { + 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; - cursor: pointer; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56::placeholder { + color: #727683; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-68 label { - display: none; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-56 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; -} - -.emotion-68 label { - display: none; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56::placeholder { + color: #727683; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-61 { + display: inherit; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61 { + display: inherit; } -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-88 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-88 { +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-96 { - text-align: right; +.emotion-63 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-96 { - text-align: right; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-65[data-size='large'] { + height: 3rem; } -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-104 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-104 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; letter-spacing: 0; - line-height: 1.5rem; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; - text-align: right; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-107 { - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 2rem; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; - margin-top: 1.5rem; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-109 { - width: 100%; +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-86 { + text-align: right; +} + +.emotion-86 { + text-align: right; +} + +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-91 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-91 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-94 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-94 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-97 { + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + margin-top: 1.5rem; +} + +.emotion-99 { + width: 100%; border: 1px solid #d9dadd; border-radius: 4px; margin-top: 16px; } -.emotion-109>* { +.emotion-99>* { margin-top: 0; } -.emotion-109>*+* { +.emotion-99>*+* { margin-top: 16px; } @@ -10221,14 +10308,11 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC > @@ -10276,14 +10360,11 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC > @@ -10297,132 +10378,82 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC class="emotion-47 emotion-48" >
-
-
-
- - -
-
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -10431,14 +10462,14 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC
render with commitmentFees and iscommitmentFeesC
Test
@@ -10465,10 +10496,10 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC

€0.13562

@@ -10477,23 +10508,23 @@ exports[`EstimateCost - index > render with commitmentFees and iscommitmentFeesC

One time fees

render with commitmentFees and iscommitmentFeesC

€10.00

@@ -10538,10 +10569,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10550,10 +10581,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -10561,10 +10592,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10573,10 +10604,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -10598,6 +10629,7 @@ exports[`EstimateCost - index > render with description as node 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -10619,6 +10651,7 @@ exports[`EstimateCost - index > render with description as node 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -10700,10 +10733,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10712,10 +10745,9 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -10723,10 +10755,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10735,10 +10767,9 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -10746,10 +10777,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10758,10 +10789,9 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -10769,10 +10799,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10781,15 +10811,14 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -10800,7 +10829,7 @@ exports[`EstimateCost - index > render with description as node 1`] = ` .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -10924,10 +10953,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -10936,10 +10965,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-23 { @@ -10947,10 +10976,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -10959,19 +10988,19 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -10979,17 +11008,13 @@ exports[`EstimateCost - index > render with description as node 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -10997,10 +11022,6 @@ exports[`EstimateCost - index > render with description as node 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -11160,10 +11181,10 @@ exports[`EstimateCost - index > render with description as node 1`] = ` .emotion-41 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -11172,17 +11193,13 @@ exports[`EstimateCost - index > render with description as node 1`] = ` fill: none; } -.emotion-41 path { - fill: currentColor; -} - .emotion-41 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -11191,10 +11208,6 @@ exports[`EstimateCost - index > render with description as node 1`] = ` fill: none; } -.emotion-41 path { - fill: currentColor; -} - .emotion-43 { padding-left: 16px; padding-right: 16px; @@ -11244,8 +11257,15 @@ exports[`EstimateCost - index > render with description as node 1`] = ` } .emotion-47 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11254,11 +11274,22 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-47 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11267,1038 +11298,1132 @@ exports[`EstimateCost - index > render with description as node 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-49 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-50 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-49 input:hover, -.emotion-49 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-49 input[type='number']::-webkit-inner-spin-button, -.emotion-49 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-53, +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-53 { + border-right-color: #8c40ef; } -.emotion-49 input[type='number'] { - -moz-appearance: textfield; +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-49 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-53 { + border-right-color: #8c40ef; } -.emotion-49 input:hover, -.emotion-49 input:focus { +.emotion-50:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-50:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-49 input[type='number']::-webkit-inner-spin-button, -.emotion-49 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-50:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-53, +.emotion-50:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-53 { + border-right-color: #8c40ef; } -.emotion-49 input[type='number'] { - -moz-appearance: textfield; +.emotion-50[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-51 { - position: relative; +.emotion-50[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-51 { - position: relative; +.emotion-50[data-size='small'] { + height: 2rem; } -.emotion-53 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-50[data-size='medium'] { + height: 2.5rem; } -.emotion-53::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-50[data-size='large'] { + height: 3rem; } -.emotion-53::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-50[data-success='true'] { + border: 1px solid #22674e; } -.emotion-53:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-50[data-success='true']>.emotion-53 { + border-right-color: #22674e; } -.emotion-53::placeholder { - color: #727683; - opacity: 0; +.emotion-50[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-53:hover, -.emotion-53:focus { - border-color: #792dd4; +.emotion-50[data-success='true']:active>.emotion-53 { + border-right-color: #22674e; } -.emotion-53:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-50[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-53::-webkit-input-placeholder { - opacity: 1; +.emotion-50[data-error='true']>.emotion-53 { + border-right-color: #b3144d; } -.emotion-53::-moz-placeholder { - opacity: 1; +.emotion-50[data-error='true']>.emotion-53:hover { + border-right-color: #b3144d; } -.emotion-53:-ms-input-placeholder { - opacity: 1; +.emotion-50[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-53::placeholder { - opacity: 1; +.emotion-50[data-error='true']:active>.emotion-53 { + border-right-color: #b3144d; } -.emotion-53 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-50[data-error='true']:active>.emotion-53:hover { + border-right-color: #b3144d; } -.emotion-53::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-50[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-53::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-50[data-disabled='true']>.emotion-53 { + border-right-color: #e9eaeb; } -.emotion-53:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-50 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-53::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-53:hover, -.emotion-53:focus { - border-color: #792dd4; -} - -.emotion-53:focus { +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { box-shadow: 0px 0px 0px 3px #8c40ef40; border-color: #792dd4; } -.emotion-53::-webkit-input-placeholder { - opacity: 1; +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-53, +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-53 { + border-right-color: #8c40ef; } -.emotion-53::-moz-placeholder { - opacity: 1; +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-53:-ms-input-placeholder { - opacity: 1; +.emotion-50:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-53 { + border-right-color: #8c40ef; } -.emotion-53::placeholder { - opacity: 1; +.emotion-50:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-50:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-55 { - height: auto; +.emotion-50:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-53, +.emotion-50:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-53 { + border-right-color: #8c40ef; } -.emotion-55[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-50[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-55 { - height: auto; +.emotion-50[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-55[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-50[data-size='small'] { + height: 2rem; } -.emotion-57 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-50[data-size='medium'] { + height: 2.5rem; } -.emotion-57 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-50[data-size='large'] { + height: 3rem; } -.emotion-61 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-50[data-success='true'] { + border: 1px solid #22674e; } -.emotion-61:hover, -.emotion-61:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-50[data-success='true']>.emotion-53 { + border-right-color: #22674e; } -.emotion-61:hover, -.emotion-61:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-50[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-61 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-50[data-success='true']:active>.emotion-53 { + border-right-color: #22674e; } -.emotion-61:hover, -.emotion-61:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-50[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-61:hover, -.emotion-61:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-50[data-error='true']>.emotion-53 { + border-right-color: #b3144d; } -.emotion-63 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-50[data-error='true']>.emotion-53:hover { + border-right-color: #b3144d; } -.emotion-63 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-50[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-65 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-50[data-error='true']:active>.emotion-53 { + border-right-color: #b3144d; } -.emotion-65:hover { - border-color: hsl(0, 0%, 70%); +.emotion-50[data-error='true']:active>.emotion-53:hover { + border-right-color: #b3144d; } -.emotion-65:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-50[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-65:hover { - border-color: #792dd4; +.emotion-50[data-disabled='true']>.emotion-53 { + border-right-color: #e9eaeb; } -.emotion-65 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-52 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-65:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-65:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-65:hover { - border-color: #792dd4; -} - -.emotion-66 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; height: 100%; - padding-top: 0; -} - -.emotion-66 label { - display: none; } -.emotion-66 { +.emotion-52 { + 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; - display: grid; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-54 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-66 label { - display: none; +.emotion-54[data-size="small"] { + padding-left: 0.5rem; } -.emotion-67 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-54[data-size="large"] { + font-size: 1rem; } -.emotion-67 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-54::-webkit-input-placeholder { + color: #727683; } -.emotion-69 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-54::-moz-placeholder { + color: #727683; } -.emotion-69 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-54:-ms-input-placeholder { + color: #727683; } -.emotion-70 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-70:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-54::placeholder { + color: #727683; } -.emotion-70 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-70:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-54:disabled { + cursor: not-allowed; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-54:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-54:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-72 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-54:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-72 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-54:disabled::placeholder { + color: #b5b7bd; } -.emotion-73 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-54 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-73:hover { - color: hsl(0, 0%, 60%); +.emotion-54[data-size="small"] { + padding-left: 0.5rem; } -.emotion-73 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-54[data-size="large"] { + font-size: 1rem; } -.emotion-73:hover { - color: hsl(0, 0%, 60%); +.emotion-54::-webkit-input-placeholder { + color: #727683; } -.emotion-76 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-54::-moz-placeholder { + color: #727683; } -.emotion-76 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-54:-ms-input-placeholder { + color: #727683; } -.emotion-76 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-54::placeholder { + color: #727683; } -.emotion-76 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-54:disabled { + cursor: not-allowed; } -.emotion-80 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-54:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-80 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-54:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-84 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-54:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-84 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-54:disabled::placeholder { + color: #b5b7bd; } -.emotion-86 { - display: -webkit-box; +.emotion-57 { + width: 100%; + width: 100%; +} + +.emotion-57 #unit { + border: none; + background: transparent; +} + +.emotion-57 #unit:focus, +.emotion-57 #unit:active { + box-shadow: none; +} + +.emotion-57 { + width: 100%; + width: 100%; +} + +.emotion-57 #unit { + border: none; + background: transparent; +} + +.emotion-57 #unit:focus, +.emotion-57 #unit:active { + box-shadow: none; +} + +.emotion-59 { + display: inherit; +} + +.emotion-59[data-container-full-height="true"] { + height: 100%; +} + +.emotion-59[data-container-full-width="true"] { + width: 100%; +} + +.emotion-59 { + display: inherit; +} + +.emotion-59[data-container-full-height="true"] { + height: 100%; +} + +.emotion-59[data-container-full-width="true"] { + width: 100%; +} + +.emotion-61 { + display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-86 { +.emotion-61 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-94 { - text-align: right; +.emotion-63 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-94 { - text-align: right; +.emotion-63[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-97 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-63[data-size='medium'] { + height: 2.5rem; } -.emotion-97 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-63[data-size='large'] { + height: 3rem; } -.emotion-99 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-63[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-99 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-63[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-102 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-63[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-102 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-63[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-104 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-63[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-104 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-63[data-state='success'] { + border: 1px solid #22674e; } -.emotion-108 { - width: 70%; +.emotion-63[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-108 { - width: 70%; +.emotion-63[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-110 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; +.emotion-63[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-110 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; +.emotion-63[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-113 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; +.emotion-63[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-63:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-63[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-63[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-63 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-63[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-63[data-size='medium'] { + height: 2.5rem; +} + +.emotion-63[data-size='large'] { + height: 3rem; +} + +.emotion-63[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-63[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-63[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-63[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-63[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-63[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-63[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-63[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-63[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-63[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-63[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-63:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-63[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-63[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-66 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 2rem; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; - text-align: right; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-113 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; +.emotion-66 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 2rem; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-68 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-68 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-70 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-70 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-70 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-70 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-74 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-74 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-76 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-76 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-84 { text-align: right; } -
-
-
-
    -
  • -
    -
    -
    -
    -

    +.emotion-84 { + text-align: right; +} + +.emotion-87 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-87 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-89 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-89 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-92 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-92 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-94 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-94 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-98 { + width: 70%; +} + +.emotion-98 { + width: 70%; +} + +.emotion-100 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-100 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-103 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-103 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +

    +
    +
    +
      +
    • +
      +
      +
      +
      +

      Test

      @@ -12323,14 +12448,11 @@ exports[`EstimateCost - index > render with description as node 1`] = ` > @@ -12376,14 +12498,11 @@ exports[`EstimateCost - index > render with description as node 1`] = ` > @@ -12397,132 +12516,82 @@ exports[`EstimateCost - index > render with description as node 1`] = ` class="emotion-45 emotion-46" >
      -
      -
      -
      -
      - - -
      - -
      - Hour(s) -
      - -
      -
      -
      - -
      - -
      -
      -
      @@ -12531,14 +12600,14 @@ exports[`EstimateCost - index > render with description as node 1`] = `
render with description as node 1`] = `
Test
@@ -12565,10 +12634,10 @@ exports[`EstimateCost - index > render with description as node 1`] = `

€0.13562

@@ -12579,7 +12648,7 @@ exports[`EstimateCost - index > render with description as node 1`] = ` @@ -12591,13 +12660,13 @@ exports[`EstimateCost - index > render with description as node 1`] = `

render with discount 0 and defaultTimeUnit month display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12634,10 +12703,10 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -12659,6 +12728,7 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -12703,10 +12773,10 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12715,10 +12785,9 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -12726,10 +12795,10 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12738,15 +12807,14 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -12815,10 +12883,10 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12827,19 +12895,19 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -12847,10 +12915,6 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -12932,10 +12996,10 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -12944,10 +13008,6 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-45 { padding-left: 16px; padding-right: 16px; @@ -12973,8 +13033,32 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month } .emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12983,416 +13067,448 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-53 { - position: relative; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-55::placeholder { - opacity: 1; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-57 { - height: auto; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-68 label { - display: none; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56::placeholder { + color: #727683; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61 { + display: inherit; } -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61[data-container-full-height="true"] { + height: 100%; +} + +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-88 { +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; padding-bottom: 8px; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -13419,7 +13535,7 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month margin-right: 4px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -13431,10 +13547,10 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month min-width: 126px; } -.emotion-104 { +.emotion-94 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -13444,18 +13560,18 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month text-align: right; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -13472,10 +13588,10 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month min-width: 126px; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -13539,14 +13655,11 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month > @@ -13594,14 +13707,11 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month > @@ -13615,132 +13725,82 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month class="emotion-47 emotion-48" >
-
-
-
-
- - -
- -
- Month(s) -
- -
-
-
- -
- -
-
-
@@ -13749,14 +13809,14 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month

render with discount 0 and defaultTimeUnit month
Test
@@ -13783,10 +13843,10 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month

€99.00

@@ -13797,7 +13857,7 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month @@ -13809,13 +13869,13 @@ exports[`EstimateCost - index > render with discount 0 and defaultTimeUnit month @@ -17101,7 +15981,7 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month

render with discount 0.5 and defaultTimeUnit mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -13852,10 +13912,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -13863,10 +13923,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -13875,10 +13935,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -13900,6 +13960,7 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -13921,6 +13982,7 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -14002,10 +14064,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -14014,10 +14076,9 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -14025,10 +14086,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -14037,10 +14098,9 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -14048,11 +14108,11 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; align-items: normal; @@ -14060,10 +14120,9 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -14071,10 +14130,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -14083,15 +14142,14 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -14102,7 +14160,7 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -14226,10 +14284,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -14238,10 +14296,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-23 { @@ -14249,10 +14307,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -14261,19 +14319,19 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -14281,17 +14339,13 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -14299,10 +14353,6 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -14462,10 +14512,10 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -14474,17 +14524,13 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -14493,10 +14539,6 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon fill: none; } -.emotion-43 path { - fill: currentColor; -} - .emotion-45 { padding-left: 16px; padding-right: 16px; @@ -14546,8 +14588,15 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon } .emotion-49 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -14556,11 +14605,22 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-49 { - display: grid; - grid-template-columns: 1fr auto; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -14569,1432 +14629,851 @@ exports[`EstimateCost - index > render with discount 0.5 and defaultTimeUnit mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-51 input:hover, -.emotion-51 input:focus { +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} - -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-51 input[type='number'] { - -moz-appearance: textfield; + border-color: #8c40ef; } -.emotion-53 { - position: relative; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-53 { - position: relative; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-55::placeholder { - opacity: 1; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-55:focus { +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { box-shadow: 0px 0px 0px 3px #8c40ef40; border-color: #792dd4; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55::placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-57 { - height: auto; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-57 { - height: auto; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-67 { +.emotion-54 { + 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; - cursor: pointer; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-56::-moz-placeholder { + color: #727683; +} + +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-68 label { - display: none; +.emotion-56::placeholder { + color: #727683; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; +.emotion-56:disabled { + cursor: not-allowed; +} + +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-56 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-68 label { - display: none; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56::placeholder { + color: #727683; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); +.emotion-59 { + width: 100%; + width: 100%; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-61 { + display: inherit; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-61 { + display: inherit; } -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-88 { +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-88 { +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; -} - -.emotion-96 { - text-align: right; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-96 { - text-align: right; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-65[data-size='large'] { + height: 3rem; } -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-104 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-104 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-106 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-106 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-110 { - width: 70%; +.emotion-65[data-state='success'] { + border: 1px solid #22674e; } -.emotion-110 { - width: 70%; +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-112 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; + cursor: default; } -.emotion-112 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; + cursor: default; } -.emotion-115 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 2rem; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; - text-align: right; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-115 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 2rem; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; - text-align: right; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -
-
-
-
    -
  • -
    -
    -
    -
    -

    - Test -

    -
    -
    -
    -
    - Test -
    -
    -
    -
    -
  • -
  • -
    - - - - Estimated cost -
    -
    -
    - - €0.06781/Hour(s) - -
    -
    -
  • -
-
- - This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. - -
- - - - - - - - - - - - - - - - - -
-

- - - - Estimated cost -

-
-
-
-
-
- -
-
-
-
-
-
- - -
-
- -
- Month(s) -
-
- -
-
-
- - -
-
- -
-
-
-
-
-
-
-
-
-
-

- Test -

-
-
-
-
- Test -
-
-
-
-

- €49.50 -

-
- - - - - - - - - - -
- -

- - €49.50 - -

-
-
-
-
- -`; - -exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit months 1`] = ` - - .emotion-0 { +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; } -.emotion-4 { +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-8 { +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { padding-left: 16px; padding-right: 16px; position: relative; @@ -16002,85 +15481,69 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month min-width: 230px; } -.emotion-10 { +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; } -.emotion-12 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-86 { + text-align: right; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-86 { + text-align: right; } -.emotion-19 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; max-width: 500px; -webkit-align-items: center; -webkit-box-align: center; @@ -16103,79 +15566,11 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month margin-right: 4px; } -.emotion-21 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; -} - -.emotion-21:first-of-type, -.emotion-21:last-child { - border: 0; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-25 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-25 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-25 path { - fill: currentColor; -} - -.emotion-27 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} - -.emotion-30 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; max-width: 500px; -webkit-align-items: center; -webkit-box-align: center; @@ -16192,67 +15587,13 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month -webkit-box-align: center; -ms-flex-align: center; align-items: center; - font-size: 24px; + font-size: 16px; color: #222638; font-weight: 500; margin-right: 4px; } -.emotion-36 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; -} - -.emotion-36>* { - margin-top: 0; -} - -.emotion-36>*+* { - margin-top: 16px; -} - -.emotion-38 { - background-color: #ffffff; -} - -.emotion-40 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; -} - -.emotion-43 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; -} - -.emotion-43 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-43 path { - fill: currentColor; -} - -.emotion-45 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -16262,531 +15603,126 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month background-color: #f9f9fa; width: 30%; min-width: 126px; - padding: 0; -} - -.emotion-47 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; } -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-91 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-94 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; } -.emotion-51 input:hover, -.emotion-51 input:focus { +.emotion-94 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + text-align: right; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; +.emotion-96 { margin: 0; -} - -.emotion-51 input[type='number'] { - -moz-appearance: textfield; -} - -.emotion-53 { - position: relative; -} - -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; -} - -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-55::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-55::-moz-placeholder { - opacity: 1; -} - -.emotion-55:-ms-input-placeholder { - opacity: 1; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; } -.emotion-55::placeholder { - opacity: 1; +.emotion-96 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; } -.emotion-57 { - height: auto; +.emotion-100 { + width: 70%; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-100 { + width: 70%; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-102 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; } -.emotion-63 { - width: 100%; +.emotion-102 { + padding-left: 16px; + padding-right: 16px; position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; } -.emotion-63:hover, -.emotion-63:focus { +.emotion-105 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; + text-align: right; } -.emotion-63:hover, -.emotion-63:focus { +.emotion-105 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; -} - -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-67:hover { - border-color: #792dd4; -} - -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-68 label { - display: none; -} - -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} - -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-75 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-86 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; -} - -.emotion-88 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; -} - -.emotion-96 { - text-align: right; -} - -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; -} - -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; -} - -.emotion-104 { - color: #727683; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; -} - -.emotion-106 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; -} - -.emotion-110 { - width: 70%; -} - -.emotion-112 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; -} - -.emotion-115 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; + text-align: right; }
render with discount 1 and defaultTimeUnit month > @@ -16865,7 +15798,7 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month - €0.00/Hour(s) + €0.06781/Hour(s)
@@ -16898,14 +15831,11 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month > @@ -16919,132 +15849,82 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month class="emotion-47 emotion-48" >
-
-
-
-
- - -
- -
- Month(s) -
- -
-
-
- -
- -
-
-
@@ -17053,14 +15933,14 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month

render with discount 1 and defaultTimeUnit month
Test
@@ -17087,12 +15967,12 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month

- €0.00 + €49.50

@@ -17113,18 +15993,18 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month @@ -17137,17 +16017,17 @@ exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit month `; -exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUnit months 1`] = ` +exports[`EstimateCost - index > render with discount 1 and defaultTimeUnit months 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -17156,10 +16036,10 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -17181,6 +16061,7 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -17225,10 +16106,10 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -17237,10 +16118,9 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -17248,27 +16128,26 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; -ms-flex-align: normal; align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -17337,10 +16216,10 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -17349,19 +16228,19 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -17369,10 +16248,6 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -17417,64 +16292,24 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn } .emotion-36 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - display: inline-block; - height: 24px; - line-height: 18px; - font-size: 12px; - margin-right: 8px; -} - -.emotion-40 { width: 100%; border: 1px solid #d9dadd; border-radius: 4px 4px 0 4px; } -.emotion-40>* { +.emotion-36>* { margin-top: 0; } -.emotion-40>*+* { +.emotion-36>*+* { margin-top: 16px; } -.emotion-42 { +.emotion-38 { background-color: #ffffff; } -.emotion-44 { +.emotion-40 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -17491,26 +16326,22 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn padding: 1rem; } -.emotion-47 { +.emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } -.emotion-47 .fillStroke { +.emotion-43 .fillStroke { stroke: #641cb3; fill: none; } -.emotion-47 path { - fill: currentColor; -} - -.emotion-49 { +.emotion-45 { padding-left: 16px; padding-right: 16px; position: relative; @@ -17523,7 +16354,7 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn padding: 0; } -.emotion-51 { +.emotion-47 { max-width: 200px; padding: 16px; -webkit-align-items: start; @@ -17534,9 +16365,33 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn float: right; } -.emotion-53 { +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -17545,383 +16400,415 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-57 { - position: relative; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-59::placeholder { - opacity: 1; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-61 { - height: auto; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-71:hover { - border-color: #792dd4; -} - -.emotion-72 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-72 label { - display: none; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-56::placeholder { + color: #727683; } -.emotion-79 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-79:hover { - color: hsl(0, 0%, 60%); +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-82 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-82 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-90 { +.emotion-59 { + width: 100%; + width: 100%; +} + +.emotion-59 #unit { + border: none; + background: transparent; +} + +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; +} + +.emotion-61 { + display: inherit; +} + +.emotion-61[data-container-full-height="true"] { + height: 100%; +} + +.emotion-61[data-container-full-width="true"] { + width: 100%; +} + +.emotion-63 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { padding-left: 16px; padding-right: 16px; position: relative; @@ -17929,7 +16816,7 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn min-width: 230px; } -.emotion-92 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -17950,11 +16837,11 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn padding-bottom: 8px; } -.emotion-100 { +.emotion-86 { text-align: right; } -.emotion-103 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -17981,7 +16868,7 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn margin-right: 4px; } -.emotion-105 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -17993,10 +16880,10 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn min-width: 126px; } -.emotion-108 { +.emotion-94 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -18006,18 +16893,18 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn text-align: right; } -.emotion-110 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-100 { width: 70%; } -.emotion-116 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -18034,48 +16921,10 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn min-width: 126px; } -.emotion-120 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - margin-left: -115px; - position: absolute; - top: calc(50% - 16px); -} - -.emotion-123 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -18083,12 +16932,6 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn -webkit-text-decoration: none; text-decoration: none; text-align: right; - margin-left: 1rem; -} - -.emotion-125 { - text-decoration-line: line-through; - text-decoration-color: #7c5400; }
render with discount 1, isBeta and defaultTimeUn > @@ -18170,11 +17010,6 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn €0.00/Hour(s)
- - 100% off during Beta - @@ -18188,31 +17023,28 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn

- €0.00 + €49.50

@@ -18220,138 +17052,88 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn

-
-
-
- - -
-
- -
- Month(s) -
- -
-
-
- -
- -
-
-
@@ -18360,14 +17142,14 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn
render with discount 1, isBeta and defaultTimeUn
Test
@@ -18394,10 +17176,10 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn

€0.00

@@ -18408,34 +17190,28 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn
- - 100 - % off during Beta - -

€0.00 @@ -18450,17 +17226,17 @@ exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUn `; -exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` +exports[`EstimateCost - index > render with discount 1, isBeta and defaultTimeUnit months 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18469,10 +17245,10 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -18494,6 +17270,7 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -18538,10 +17315,10 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18550,10 +17327,9 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -18561,10 +17337,10 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18573,15 +17349,14 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -18650,10 +17425,10 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -18662,19 +17437,19 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -18682,10 +17457,6 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -18730,24 +17501,64 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` } .emotion-36 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + display: inline-block; + height: 24px; + line-height: 18px; + font-size: 12px; + margin-right: 8px; +} + +.emotion-40 { width: 100%; border: 1px solid #d9dadd; border-radius: 4px 4px 0 4px; } -.emotion-36>* { +.emotion-40>* { margin-top: 0; } -.emotion-36>*+* { +.emotion-40>*+* { margin-top: 16px; } -.emotion-38 { +.emotion-42 { background-color: #ffffff; } -.emotion-40 { +.emotion-44 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -18764,26 +17575,22 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` padding: 1rem; } -.emotion-43 { +.emotion-47 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } -.emotion-43 .fillStroke { +.emotion-47 .fillStroke { stroke: #641cb3; fill: none; } -.emotion-43 path { - fill: currentColor; -} - -.emotion-45 { +.emotion-49 { padding-left: 16px; padding-right: 16px; position: relative; @@ -18796,7 +17603,7 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` padding: 0; } -.emotion-47 { +.emotion-51 { max-width: 200px; padding: 16px; -webkit-align-items: start; @@ -18807,9 +17614,33 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` float: right; } -.emotion-49 { +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-56 { display: grid; - grid-template-columns: 1fr auto; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18818,383 +17649,415 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-53 { - position: relative; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size='small'] { + height: 2rem; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-56[data-size='medium'] { + height: 2.5rem; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-56[data-size='large'] { + height: 3rem; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-56[data-success='true'] { + border: 1px solid #22674e; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; } -.emotion-55::placeholder { - opacity: 1; +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-57 { - height: auto; +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-58 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-67:hover { - border-color: #792dd4; -} - -.emotion-68 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-68 label { - display: none; +.emotion-60[data-size="small"] { + padding-left: 0.5rem; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; +.emotion-60[data-size="large"] { + font-size: 1rem; +} + +.emotion-60::-webkit-input-placeholder { + color: #727683; +} + +.emotion-60::-moz-placeholder { + color: #727683; +} + +.emotion-60:-ms-input-placeholder { + color: #727683; +} + +.emotion-60::placeholder { + color: #727683; +} + +.emotion-60:disabled { + cursor: not-allowed; +} + +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-63 { + width: 100%; width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-63 #unit { + border: none; + background: transparent; } -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-65 { + display: inherit; +} + +.emotion-65[data-container-full-height="true"] { + height: 100%; +} + +.emotion-65[data-container-full-width="true"] { + width: 100%; +} + +.emotion-67 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-69[data-size='medium'] { + height: 2.5rem; +} + +.emotion-69[data-size='large'] { + height: 3rem; +} + +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-69[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-75 { +.emotion-74 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); } -.emotion-78 { +.emotion-76 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-78 .fillStroke { - stroke: currentColor; +.emotion-76 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-86 { +.emotion-80 { padding-left: 16px; padding-right: 16px; position: relative; @@ -19202,7 +18065,7 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` min-width: 230px; } -.emotion-88 { +.emotion-82 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -19223,11 +18086,11 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` padding-bottom: 8px; } -.emotion-96 { +.emotion-90 { text-align: right; } -.emotion-99 { +.emotion-93 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -19254,7 +18117,7 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` margin-right: 4px; } -.emotion-101 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -19266,10 +18129,10 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` min-width: 126px; } -.emotion-104 { +.emotion-98 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -19279,18 +18142,18 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` text-align: right; } -.emotion-106 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-104 { width: 70%; } -.emotion-112 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -19307,10 +18170,48 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` min-width: 126px; } -.emotion-115 { +.emotion-110 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + margin-left: -115px; + position: absolute; + top: calc(50% - 16px); +} + +.emotion-113 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -19318,6 +18219,12 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` -webkit-text-decoration: none; text-decoration: none; text-align: right; + margin-left: 1rem; +} + +.emotion-115 { + text-decoration-line: line-through; + text-decoration-color: #7c5400; }
render with discount 100% but no isBeta 1`] = ` > @@ -19399,6 +18303,11 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` €0.00/Hour(s)
+ + 100% off during Beta + @@ -19412,31 +18321,28 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = `

@@ -19444,138 +18350,88 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = `

-
-
-
-
- - -
-
- Hour(s) -
-
- -
-
-
- -
- -
-
-
@@ -19584,14 +18440,14 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = `
render with discount 100% but no isBeta 1`] = `
Test
@@ -19618,10 +18474,10 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = `

€0.00

@@ -19632,28 +18488,34 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = `
+ + 100 + % off during Beta +

€0.00 @@ -19668,40 +18530,17 @@ exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` `; -exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` +exports[`EstimateCost - index > render with discount 100% but no isBeta 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19710,31 +18549,10 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -19756,6 +18574,7 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -19775,35 +18594,6 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` padding: 1.5rem 0; } -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; -} - -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; -} - -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; -} - .emotion-6 { min-width: 200px; padding: 0 24px; @@ -19824,46 +18614,15 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` min-width: 230px; } -.emotion-8 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; -} - .emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19872,10 +18631,9 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -19883,33 +18641,10 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19918,26 +18653,14 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -19963,50 +18686,6 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` justify-content: center; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} - -.emotion-19 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; -} - .emotion-19 { display: -webkit-box; display: -webkit-flex; @@ -20045,26 +18724,15 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` border: 0; } -.emotion-21 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; -} - -.emotion-21:first-of-type, -.emotion-21:last-child { - border: 0; -} - .emotion-23 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -20073,60 +18741,19 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-25 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-25 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-25 path { - fill: currentColor; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -20134,26 +18761,6 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - -.emotion-27 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -20197,47 +18804,6 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` margin-right: 4px; } -.emotion-30 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; -} - -.emotion-36 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; -} - -.emotion-36>* { - margin-top: 0; -} - -.emotion-36>*+* { - margin-top: 16px; -} - .emotion-36 { width: 100%; border: 1px solid #d9dadd; @@ -20256,143 +18822,39 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` background-color: #ffffff; } -.emotion-38 { - background-color: #ffffff; -} - -.emotion-42 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; -} - -.emotion-42 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; -} - -.emotion-44 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; -} - -.emotion-44 { +.emotion-40 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; -} - -.emotion-52 { - text-align: right; -} - -.emotion-52 { - text-align: right; -} - -.emotion-55 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - font-size: 16px; - color: #222638; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; font-weight: 500; - margin-right: 4px; + padding: 1rem; } -.emotion-55 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-43 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-57 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; +.emotion-43 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-57 { +.emotion-45 { padding-left: 16px; padding-right: 16px; position: relative; @@ -20402,499 +18864,296 @@ exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` background-color: #f9f9fa; width: 30%; min-width: 126px; + padding: 0; } -.emotion-60 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-47 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; } -.emotion-60 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-62 { - margin: 0; +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-62 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-66 { - width: 70%; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-66 { - width: 70%; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-68 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52[data-readonly='true'] { + background: #f9f9fa; border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; + cursor: default; } -.emotion-68 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-52[data-readonly='true']:active { border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; } -.emotion-71 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-71 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -
-
-
-
    -
  • -
    -
    -
    -
    -

    - Test -

    -
    -
    -
    -
    - Test -
    -
    -
    -
    -
  • -
  • -
    - - - - Estimated cost -
    -
    -
    - - €0.13562/Hour(s) - -
    -
    -
  • -
-
- - This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. - -
- - - - - - - - - - - -
-
-
-
-

- Test -

-
-
-
-
- Test -
-
-
-
-

- €0.13562 -

-
- - - - - - - - - - -
- -

- - €0.13562 - -

-
-
-
-
-
-`; +.emotion-52[data-size='large'] { + height: 3rem; +} -exports[`EstimateCost - index > render with hideTotal 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-4 { +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-54 { 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-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-8 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-8 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-10 { +.emotion-56::placeholder { + color: #727683; +} + +.emotion-56:disabled { + cursor: not-allowed; +} + +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-59 { + width: 100%; + width: 100%; +} + +.emotion-59 #unit { + border: none; + background: transparent; +} + +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; +} + +.emotion-61 { + display: inherit; +} + +.emotion-61[data-container-full-height="true"] { + height: 100%; +} + +.emotion-61[data-container-full-width="true"] { + width: 100%; +} + +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -20903,146 +19162,203 @@ exports[`EstimateCost - index > render with hideTotal 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 1.5rem; + line-height: 1.25rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-16 { - text-align: initial; - height: 48px; +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} - -.emotion-16 { - text-align: initial; - height: 48px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; } -.emotion-19 { +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - max-width: 500px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-86 { + text-align: right; +} + +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; -} - -.emotion-19 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; max-width: 500px; -webkit-align-items: center; -webkit-box-align: center; @@ -21065,1113 +19381,515 @@ exports[`EstimateCost - index > render with hideTotal 1`] = ` margin-right: 4px; } -.emotion-21 { - min-width: 200px; - padding: 0 24px; +.emotion-91 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; } -.emotion-21:first-of-type, -.emotion-21:last-child { - border: 0; +.emotion-94 { + color: #727683; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; } -.emotion-21 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-96 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; } -.emotion-21:first-of-type, -.emotion-21:last-child { - border: 0; +.emotion-100 { + width: 70%; } -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-25 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-25 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-25 path { - fill: currentColor; -} - -.emotion-25 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-25 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-25 path { - fill: currentColor; -} - -.emotion-27 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} - -.emotion-27 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} - -.emotion-30 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; -} - -.emotion-30 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; -} - -.emotion-36 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-36>* { - margin-top: 0; -} - -.emotion-36>*+* { - margin-top: 16px; -} - -.emotion-38 { - background-color: #ffffff; -} - -.emotion-38 { - background-color: #ffffff; -} - -.emotion-40 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; -} - -.emotion-40 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; -} - -.emotion-43 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; -} - -.emotion-43 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-43 path { - fill: currentColor; -} - -.emotion-43 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; -} - -.emotion-43 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-43 path { - fill: currentColor; -} - -.emotion-45 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; width: 30%; min-width: 126px; - padding: 0; } -.emotion-45 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; -} - -.emotion-47 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; -} - -.emotion-47 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; -} - -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -} - -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -} - -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; -} - -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} - -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-51 input[type='number'] { - -moz-appearance: textfield; -} - -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; -} - -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} - -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-51 input[type='number'] { - -moz-appearance: textfield; -} - -.emotion-53 { - position: relative; -} - -.emotion-53 { - position: relative; -} - -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; -} - -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-55::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-55::-moz-placeholder { - opacity: 1; -} - -.emotion-55:-ms-input-placeholder { - opacity: 1; -} - -.emotion-55::placeholder { - opacity: 1; -} - -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; -} - -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-55::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-55::-moz-placeholder { - opacity: 1; -} - -.emotion-55:-ms-input-placeholder { - opacity: 1; -} - -.emotion-55::placeholder { - opacity: 1; -} - -.emotion-57 { - height: auto; -} - -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-57 { - height: auto; -} - -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; -} - -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; -} - -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-63:hover, -.emotion-63:focus { +.emotion-105 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; -webkit-text-decoration: none; text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; -} - -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; -} - -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); + text-align: right; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-67:hover { - border-color: #792dd4; -} +
+
+
+
    +
  • +
    +
    +
    +
    +

    + Test +

    +
    +
    +
    +
    + Test +
    +
    +
    +
    +
  • +
  • +
    + + + + Estimated cost +
    +
    +
    + + €0.00/Hour(s) + +
    +
    +
  • +
+
+ + This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. + +
+ + + + + + + + + + + + + + + + + +
+

+ + + + Estimated cost +

+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+

+ Test +

+
+
+
+
+ Test +
+
+
+
+

+ €0.00 +

+
+ + + + + + + + + + +
+ +

+ + €0.00 + +

+
+
+
+
+
+`; -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +exports[`EstimateCost - index > render with hideTimeUnit 1`] = ` + + .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-67:hover { - border-color: #792dd4; -} - -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-68 label { - display: none; -} - -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-68 label { - display: none; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; +.emotion-2 { + position: fixed; left: 0; - top: 2px; - opacity: 1; -} - -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} - -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; margin: 0; - outline: 0; - padding: 0; -} - -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } -.emotion-75 { +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; } -.emotion-75 { +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; } -.emotion-78 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; } -.emotion-78 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; } -.emotion-86 { +.emotion-8 { padding-left: 16px; padding-right: 16px; position: relative; @@ -22179,7 +19897,7 @@ exports[`EstimateCost - index > render with hideTotal 1`] = ` min-width: 230px; } -.emotion-86 { +.emotion-8 { padding-left: 16px; padding-right: 16px; position: relative; @@ -22187,61 +19905,155 @@ exports[`EstimateCost - index > render with hideTotal 1`] = ` min-width: 230px; } -.emotion-88 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; -} - -.emotion-88 { +.emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; } -.emotion-96 { - text-align: right; +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } -.emotion-96 { - text-align: right; +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; max-width: 500px; -webkit-align-items: center; -webkit-box-align: center; @@ -22264,11 +20076,11 @@ exports[`EstimateCost - index > render with hideTotal 1`] = ` margin-right: 4px; } -.emotion-99 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; max-width: 500px; -webkit-align-items: center; -webkit-box-align: center; @@ -22291,513 +20103,119 @@ exports[`EstimateCost - index > render with hideTotal 1`] = ` margin-right: 4px; } -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-21 { + min-width: 200px; + padding: 0 24px; border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; } -.emotion-101 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-21:first-of-type, +.emotion-21:last-child { + border: 0; +} + +.emotion-21 { + min-width: 200px; + padding: 0 24px; border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; } -.emotion-104 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-21:first-of-type, +.emotion-21:last-child { + border: 0; } -.emotion-104 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } -
-
-
-
    -
  • -
    -
    -
    -
    -

    - Test -

    -
    -
    -
    -
    - Test -
    -
    -
    -
    -
  • -
  • -
    - - - - Estimated cost -
    -
    -
    - - €0.13562/Hour(s) - -
    -
    -
  • -
-
- - This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. - -
- - - - - - - - - - - - - - - - - -
-

- - - - Estimated cost -

-
-
-
-
-
- -
-
-
-
-
-
- - -
-
- -
- Hour(s) -
-
- -
-
-
- - -
-
- -
-
-
-
-
-
-
-
-
-
-

- Test -

-
-
-
-
- Test -
-
-
-
-

- €0.13562 -

-
-
-
-
-
-`; - -exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = ` - - .emotion-0 { +.emotion-23 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; +.emotion-25 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; - margin: 0; - padding: 1.5rem 0; -} - -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-25 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-25 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } -.emotion-8 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-25 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-10 { +.emotion-27 { + height: 48px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-16 { - text-align: initial; +.emotion-27 { height: 48px; display: -webkit-box; display: -webkit-flex; @@ -22813,7 +20231,7 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = justify-content: center; } -.emotion-19 { +.emotion-30 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -22834,80 +20252,12 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = -webkit-box-align: center; -ms-flex-align: center; align-items: center; - font-size: 16px; + font-size: 24px; color: #222638; font-weight: 500; margin-right: 4px; } -.emotion-21 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; -} - -.emotion-21:first-of-type, -.emotion-21:last-child { - border: 0; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-25 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-25 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-25 path { - fill: currentColor; -} - -.emotion-27 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -} - .emotion-30 { display: -webkit-box; display: -webkit-flex; @@ -22935,525 +20285,80 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = margin-right: 4px; } -.emotion-32 { - text-decoration-line: line-through; - text-decoration-color: #7c5400; -} - .emotion-36 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - display: inline-block; - height: 24px; - line-height: 18px; - font-size: 12px; - margin-right: 8px; -} - -.emotion-40 { width: 100%; border: 1px solid #d9dadd; border-radius: 4px 4px 0 4px; } -.emotion-40>* { +.emotion-36>* { margin-top: 0; } -.emotion-40>*+* { +.emotion-36>*+* { margin-top: 16px; } -.emotion-42 { - background-color: #ffffff; +.emotion-36 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; } -.emotion-44 { - 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; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; +.emotion-36>* { + margin-top: 0; } -.emotion-47 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-36>*+* { + margin-top: 16px; } -.emotion-47 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-38 { + background-color: #ffffff; } -.emotion-47 path { - fill: currentColor; +.emotion-38 { + background-color: #ffffff; } -.emotion-49 { +.emotion-42 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; } -.emotion-51 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; -} - -.emotion-53 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -} - -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; -} - -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; -} - -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-55 input[type='number'] { - -moz-appearance: textfield; -} - -.emotion-57 { - position: relative; -} - -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-59::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; -} - -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-59::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-59::-moz-placeholder { - opacity: 1; -} - -.emotion-59:-ms-input-placeholder { - opacity: 1; -} - -.emotion-59::placeholder { - opacity: 1; -} - -.emotion-61 { - height: auto; -} - -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-67 { - width: 100%; +.emotion-42 { + padding-left: 16px; + padding-right: 16px; position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; -} - -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; -} - -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + width: 70%; + min-width: 230px; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-44 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; -} - -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-71:hover { - border-color: #792dd4; -} - -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-72 label { - display: none; -} - -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; -} - -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} - -.emotion-77 { -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-79 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-79:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-82 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-82 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-90 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; } -.emotion-92 { +.emotion-44 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -23474,11 +20379,15 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = padding-bottom: 8px; } -.emotion-100 { +.emotion-52 { text-align: right; } -.emotion-103 { +.emotion-52 { + text-align: right; +} + +.emotion-55 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -23505,43 +20414,106 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = margin-right: 4px; } -.emotion-105 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; -} - -.emotion-108 { - color: #641cb3; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; -} - -.emotion-110 { +.emotion-55 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-57 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-57 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-60 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-60 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-62 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-62 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-66 { + width: 70%; +} + +.emotion-66 { width: 70%; } -.emotion-116 { +.emotion-68 { padding-left: 16px; padding-right: 16px; position: relative; @@ -23558,48 +20530,40 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = min-width: 126px; } -.emotion-120 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; +.emotion-68 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-71 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 1rem; + line-height: 2rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - margin-left: -115px; - position: absolute; - top: calc(50% - 16px); + text-align: right; } -.emotion-123 { +.emotion-71 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -23607,7 +20571,6 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = -webkit-text-decoration: none; text-decoration: none; text-align: right; - margin-left: 1rem; }
render with isBeta but undefined discount 1`] = > @@ -23689,11 +20649,6 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = €0.13562/Hour(s)
- - Free During Beta - @@ -23707,186 +20662,25 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = - - - - - -
-

- - - - Estimated cost -

-
-
-
-
-
- -
-
-
-
-
-
- - -
-
- -
- Hour(s) -
-
- -
-
-
- - -
-
- -
-
-
-
-
-
-
render with isBeta but undefined discount 1`] =
Test
@@ -23913,10 +20707,10 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] =

€0.13562

@@ -23927,31 +20721,25 @@ exports[`EstimateCost - index > render with isBeta but undefined discount 1`] =
- - - Free During Beta -

render with isBeta but undefined discount 1`] = `; -exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUnit months 1`] = ` +exports[`EstimateCost - index > render with hideTotal 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -23988,10 +20776,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-0 { @@ -23999,10 +20787,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -24011,10 +20799,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -24036,6 +20824,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-2 { @@ -24057,6 +20846,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -24138,10 +20928,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -24150,10 +20940,9 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-10 { @@ -24161,10 +20950,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -24173,10 +20962,9 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -24184,10 +20972,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -24196,10 +20984,9 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-12 { @@ -24207,10 +20994,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -24219,15 +21006,14 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -24238,7 +21024,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -24362,10 +21148,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -24374,10 +21160,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-23 { @@ -24385,10 +21171,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -24397,19 +21183,19 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -24417,17 +21203,13 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -24435,10 +21217,6 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -24525,133 +21303,29 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn margin-right: 4px; } -.emotion-32 { - text-decoration-line: line-through; - text-decoration-color: #7c5400; -} - -.emotion-32 { - text-decoration-line: line-through; - text-decoration-color: #7c5400; -} - -.emotion-36 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - display: inline-block; - height: 24px; - line-height: 18px; - font-size: 12px; - margin-right: 8px; -} - .emotion-36 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - display: inline-block; - height: 24px; - line-height: 18px; - font-size: 12px; - margin-right: 8px; -} - -.emotion-40 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; -} - -.emotion-40>* { - margin-top: 0; -} - -.emotion-40>*+* { - margin-top: 16px; -} - -.emotion-40 { width: 100%; border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; + border-radius: 4px; } -.emotion-40>* { +.emotion-36>* { margin-top: 0; } -.emotion-40>*+* { +.emotion-36>*+* { margin-top: 16px; } -.emotion-42 { +.emotion-38 { background-color: #ffffff; } -.emotion-42 { +.emotion-38 { background-color: #ffffff; } -.emotion-44 { +.emotion-40 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -24668,7 +21342,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn padding: 1rem; } -.emotion-44 { +.emotion-40 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -24685,45 +21359,37 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn padding: 1rem; } -.emotion-47 { +.emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } -.emotion-47 .fillStroke { +.emotion-43 .fillStroke { stroke: #641cb3; fill: none; } -.emotion-47 path { - fill: currentColor; -} - -.emotion-47 { +.emotion-43 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } -.emotion-47 .fillStroke { +.emotion-43 .fillStroke { stroke: #641cb3; fill: none; } -.emotion-47 path { - fill: currentColor; -} - -.emotion-49 { +.emotion-45 { padding-left: 16px; padding-right: 16px; position: relative; @@ -24736,7 +21402,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn padding: 0; } -.emotion-49 { +.emotion-45 { padding-left: 16px; padding-right: 16px; position: relative; @@ -24749,7 +21415,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn padding: 0; } -.emotion-51 { +.emotion-47 { max-width: 200px; padding: 16px; -webkit-align-items: start; @@ -24760,7 +21426,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn float: right; } -.emotion-51 { +.emotion-47 { max-width: 200px; padding: 16px; -webkit-align-items: start; @@ -24771,9 +21437,16 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn float: right; } -.emotion-53 { - display: grid; - grid-template-columns: 1fr auto; +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -24782,11 +21455,22 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-53 { - display: grid; - grid-template-columns: 1fr auto; +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -24795,850 +21479,944 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55 input:hover, -.emotion-55 input:focus { +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; + border-color: #8c40ef; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-57 { - position: relative; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-57 { - position: relative; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-59::placeholder { - opacity: 1; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { border-color: #792dd4; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; } -.emotion-59::placeholder { - opacity: 1; +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-61 { - height: auto; +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-size='small'] { + height: 2rem; } -.emotion-61 { - height: auto; +.emotion-52[data-size='medium'] { + height: 2.5rem; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52[data-size='large'] { + height: 3rem; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-success='true'] { + border: 1px solid #22674e; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-71 { +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-54 { + 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; - cursor: pointer; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; } -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-71:hover { - border-color: #792dd4; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56::placeholder { + color: #727683; } -.emotion-71:hover { - border-color: #792dd4; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-56 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; - padding-top: 0; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-72 label { - display: none; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-72 label { - display: none; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; +.emotion-56::-moz-placeholder { + color: #727683; +} + +.emotion-56:-ms-input-placeholder { + color: #727683; +} + +.emotion-56::placeholder { + color: #727683; +} + +.emotion-56:disabled { + cursor: not-allowed; +} + +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-56:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-59 { + width: 100%; width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; +.emotion-59 #unit { + border: none; + background: transparent; +} + +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; +} + +.emotion-59 { + width: 100%; width: 100%; +} + +.emotion-59 #unit { + border: none; + background: transparent; +} + +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; +} + +.emotion-61 { + display: inherit; +} + +.emotion-61[data-container-full-height="true"] { height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-61 { + display: inherit; } -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-63 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-79 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-79:hover { - color: hsl(0, 0%, 60%); +.emotion-65[data-size='large'] { + height: 3rem; } -.emotion-79 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-79:hover { - color: hsl(0, 0%, 60%); +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-82 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-82 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-82 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-82 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-65[data-state='success'] { + border: 1px solid #22674e; } -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-90 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-90 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-92 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-92 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: justify; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 56px; - padding-top: 8px; - padding-bottom: 8px; +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-100 { - text-align: right; +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-100 { - text-align: right; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-103 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-65[data-size='medium'] { + height: 2.5rem; +} + +.emotion-65[data-size='large'] { + height: 3rem; +} + +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-65[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-72 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-72 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-76 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-78 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-86 { + text-align: right; +} + +.emotion-86 { + text-align: right; +} + +.emotion-89 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; margin-right: 4px; } -.emotion-103 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -25665,7 +22443,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn margin-right: 4px; } -.emotion-105 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -25677,7 +22455,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn min-width: 126px; } -.emotion-105 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -25689,10 +22467,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn min-width: 126px; } -.emotion-108 { +.emotion-94 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -25702,10 +22480,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn text-align: right; } -.emotion-108 { +.emotion-94 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -25715,166 +22493,6 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn text-align: right; } -.emotion-110 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; -} - -.emotion-110 { - margin: 0; - width: 100%; - border-right: 1px solid #d9dadd; - border-radius: 0 0 0.25rem 0.25rem; -} - -.emotion-114 { - width: 70%; -} - -.emotion-114 { - width: 70%; -} - -.emotion-116 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; -} - -.emotion-116 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-color: #d9dadd; - border-style: solid; - border-width: 0 1px 1px 1px; - border-right: none; - border-radius: 0 0 0.25rem 0.25rem; - height: 56px; - background-color: #f1eefc; - width: 30%; - min-width: 126px; -} - -.emotion-120 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - margin-left: -115px; - position: absolute; - top: calc(50% - 16px); -} - -.emotion-120 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - margin-left: -115px; - position: absolute; - top: calc(50% - 16px); -} - -.emotion-123 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; - margin-left: 1rem; -} - -.emotion-123 { - color: #641cb3; - font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: right; - margin-left: 1rem; -} -
@@ -25929,14 +22547,11 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn > @@ -25954,11 +22569,6 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn €0.13562/Hour(s)
- - Free During Beta - @@ -25972,31 +22582,28 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn

@@ -26004,138 +22611,88 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn

-
-
-
-
- - -
- -
- Month(s) -
- -
-
-
- -
- -
-
-
@@ -26144,14 +22701,14 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn
render with isBeta, discount 0 and defaultTimeUn
Test
@@ -26178,258 +22735,4414 @@ exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUn

- €99.00 + €0.13562

- - - - - - - - - - -
- - - - Free During Beta - -

- - €99.00 - -

-
`; -exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTimeUnit months 1`] = ` +exports[`EstimateCost - index > render with isBeta but undefined discount 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-21 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-21:first-of-type, +.emotion-21:last-child { + border: 0; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-25 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-25 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-27 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-30 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-32 { + text-decoration-line: line-through; + text-decoration-color: #7c5400; +} + +.emotion-36 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + display: inline-block; + height: 24px; + line-height: 18px; + font-size: 12px; + margin-right: 8px; +} + +.emotion-40 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-40>* { + margin-top: 0; +} + +.emotion-40>*+* { + margin-top: 16px; +} + +.emotion-42 { + background-color: #ffffff; +} + +.emotion-44 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-47 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-47 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-49 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-51 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-56 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-56[data-size='small'] { + height: 2rem; +} + +.emotion-56[data-size='medium'] { + height: 2.5rem; +} + +.emotion-56[data-size='large'] { + height: 3rem; +} + +.emotion-56[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; +} + +.emotion-58 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-60[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-60[data-size="large"] { + font-size: 1rem; +} + +.emotion-60::-webkit-input-placeholder { + color: #727683; +} + +.emotion-60::-moz-placeholder { + color: #727683; +} + +.emotion-60:-ms-input-placeholder { + color: #727683; +} + +.emotion-60::placeholder { + color: #727683; +} + +.emotion-60:disabled { + cursor: not-allowed; +} + +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-63 { + width: 100%; + width: 100%; +} + +.emotion-63 #unit { + border: none; + background: transparent; +} + +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; +} + +.emotion-65 { + display: inherit; +} + +.emotion-65[data-container-full-height="true"] { + height: 100%; +} + +.emotion-65[data-container-full-width="true"] { + width: 100%; +} + +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-69[data-size='medium'] { + height: 2.5rem; +} + +.emotion-69[data-size='large'] { + height: 3rem; +} + +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-69[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-74 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-76 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-76 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-80 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-82 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-90 { + text-align: right; +} + +.emotion-93 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-95 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-98 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-100 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-104 { + width: 70%; +} + +.emotion-106 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-110 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + margin-left: -115px; + position: absolute; + top: calc(50% - 16px); +} + +.emotion-113 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; + margin-left: 1rem; +} + +
+
+
+
    +
  • +
    +
    +
    +
    +

    + Test +

    +
    +
    +
    +
    + Test +
    +
    +
    +
    +
  • +
  • +
    + + + + Estimated cost +
    +
    +
    + + €0.13562/Hour(s) + +
    + + Free During Beta + +
    +
  • +
+
+ + This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. + +
+ + + + + + + + + + + + + + + + + +
+

+ + + + Estimated cost +

+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+

+ Test +

+
+
+
+
+ Test +
+
+
+
+

+ €0.13562 +

+
+ + + + + + + + + + +
+ + + + Free During Beta + +

+ + €0.13562 + +

+
+
+
+
+
+`; + +exports[`EstimateCost - index > render with isBeta, discount 0 and defaultTimeUnit months 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-21 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-21:first-of-type, +.emotion-21:last-child { + border: 0; +} + +.emotion-21 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-21:first-of-type, +.emotion-21:last-child { + border: 0; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-25 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-25 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-25 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-25 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-27 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-27 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-30 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-30 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-32 { + text-decoration-line: line-through; + text-decoration-color: #7c5400; +} + +.emotion-32 { + text-decoration-line: line-through; + text-decoration-color: #7c5400; +} + +.emotion-36 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + display: inline-block; + height: 24px; + line-height: 18px; + font-size: 12px; + margin-right: 8px; +} + +.emotion-36 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + display: inline-block; + height: 24px; + line-height: 18px; + font-size: 12px; + margin-right: 8px; +} + +.emotion-40 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-40>* { + margin-top: 0; +} + +.emotion-40>*+* { + margin-top: 16px; +} + +.emotion-40 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-40>* { + margin-top: 0; +} + +.emotion-40>*+* { + margin-top: 16px; +} + +.emotion-42 { + background-color: #ffffff; +} + +.emotion-42 { + background-color: #ffffff; +} + +.emotion-44 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-44 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-47 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-47 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-47 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-47 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-49 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-49 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-51 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-51 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-56 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-56[data-size='small'] { + height: 2rem; +} + +.emotion-56[data-size='medium'] { + height: 2.5rem; +} + +.emotion-56[data-size='large'] { + height: 3rem; +} + +.emotion-56[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; +} + +.emotion-56 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-56[data-size='small'] { + height: 2rem; +} + +.emotion-56[data-size='medium'] { + height: 2.5rem; +} + +.emotion-56[data-size='large'] { + height: 3rem; +} + +.emotion-56[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; +} + +.emotion-58 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-58 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-60[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-60[data-size="large"] { + font-size: 1rem; +} + +.emotion-60::-webkit-input-placeholder { + color: #727683; +} + +.emotion-60::-moz-placeholder { + color: #727683; +} + +.emotion-60:-ms-input-placeholder { + color: #727683; +} + +.emotion-60::placeholder { + color: #727683; +} + +.emotion-60:disabled { + cursor: not-allowed; +} + +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-60 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-60[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-60[data-size="large"] { + font-size: 1rem; +} + +.emotion-60::-webkit-input-placeholder { + color: #727683; +} + +.emotion-60::-moz-placeholder { + color: #727683; +} + +.emotion-60:-ms-input-placeholder { + color: #727683; +} + +.emotion-60::placeholder { + color: #727683; +} + +.emotion-60:disabled { + cursor: not-allowed; +} + +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-60:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-63 { + width: 100%; + width: 100%; +} + +.emotion-63 #unit { + border: none; + background: transparent; +} + +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; +} + +.emotion-63 { + width: 100%; + width: 100%; +} + +.emotion-63 #unit { + border: none; + background: transparent; +} + +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; +} + +.emotion-65 { + display: inherit; +} + +.emotion-65[data-container-full-height="true"] { + height: 100%; +} + +.emotion-65[data-container-full-width="true"] { + width: 100%; +} + +.emotion-65 { + display: inherit; +} + +.emotion-65[data-container-full-height="true"] { + height: 100%; +} + +.emotion-65[data-container-full-width="true"] { + width: 100%; +} + +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-69[data-size='medium'] { + height: 2.5rem; +} + +.emotion-69[data-size='large'] { + height: 3rem; +} + +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-69[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-69[data-size='medium'] { + height: 2.5rem; +} + +.emotion-69[data-size='large'] { + height: 3rem; +} + +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-69[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-74 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-74 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-76 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-76 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-76 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-76 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-80 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-80 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-82 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-82 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: justify; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-height: 56px; + padding-top: 8px; + padding-bottom: 8px; +} + +.emotion-90 { + text-align: right; +} + +.emotion-90 { + text-align: right; +} + +.emotion-93 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-93 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-95 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-95 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; +} + +.emotion-98 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-98 { + color: #641cb3; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; +} + +.emotion-100 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-100 { + margin: 0; + width: 100%; + border-right: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-104 { + width: 70%; +} + +.emotion-104 { + width: 70%; +} + +.emotion-106 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-106 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-color: #d9dadd; + border-style: solid; + border-width: 0 1px 1px 1px; + border-right: none; + border-radius: 0 0 0.25rem 0.25rem; + height: 56px; + background-color: #f1eefc; + width: 30%; + min-width: 126px; +} + +.emotion-110 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + margin-left: -115px; + position: absolute; + top: calc(50% - 16px); +} + +.emotion-110 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + margin-left: -115px; + position: absolute; + top: calc(50% - 16px); +} + +.emotion-113 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; + margin-left: 1rem; +} + +.emotion-113 { + color: #641cb3; + font-size: 1.5625rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: right; + margin-left: 1rem; +} + +
+
+
+
    +
  • +
    +
    +
    +
    +

    + Test +

    +
    +
    +
    +
    + Test +
    +
    +
    +
    +
  • +
  • +
    + + + + Estimated cost +
    +
    +
    + + €0.13562/Hour(s) + +
    + + Free During Beta + +
    +
  • +
+
+ + This summary provides a cost estimation based on your configuration, the amount of time you expect to use the resource for, and the scale of your expected usage. For the purposes of this calculation, we consider that 1 month equals to 730 hours. + +
+ + + + + + + + + + + + + + + + + +
+

+ + + + Estimated cost +

+
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+

+ Test +

+
+
+
+
+ Test +
+
+
+
+

+ €99.00 +

+
+ + + + + + + + + + +
+ + + + Free During Beta + +

+ + €99.00 + +

+
+
+
+
+
+`; + +exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTimeUnit months 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-2 { + position: fixed; + left: 0; + right: 0; + bottom: 0px; + height: 120px; + background-color: #ffffff; + margin: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + box-shadow: 0px 0px 8px 2px #d9dadd66; + -webkit-transition: bottom 0.3s,box-shadow 0.3s; + transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + list-style: none; + margin: 0; + padding: 1.5rem 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-6 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; + border: 0; +} + +.emotion-6:first-of-type, +.emotion-6:last-child { + border: 0; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-8 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-14 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-16 { + text-align: initial; + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-19 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-21 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-21:first-of-type, +.emotion-21:last-child { + border: 0; +} + +.emotion-21 { + min-width: 200px; + padding: 0 24px; + border-left: 1px solid #d9dadd; +} + +.emotion-21:first-of-type, +.emotion-21:last-child { + border: 0; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-25 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-25 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-25 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-25 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-27 { + height: 48px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-0 { +.emotion-27 { + height: 48px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-box-pack: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; +.emotion-30 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; } -.emotion-2 { - position: fixed; - left: 0; - right: 0; - bottom: 0px; - height: 120px; - background-color: #ffffff; - margin: 0; +.emotion-30 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; + max-width: 500px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 16px; + color: #222638; + margin-right: 4px; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + font-size: 24px; + color: #222638; + font-weight: 500; + margin-right: 4px; +} + +.emotion-36 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - box-shadow: 0px 0px 8px 2px #d9dadd66; - -webkit-transition: bottom 0.3s,box-shadow 0.3s; - transition: bottom 0.3s,box-shadow 0.3s; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + display: inline-block; + height: 24px; + line-height: 18px; + font-size: 12px; + margin-right: 8px; } -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-36 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - list-style: none; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #222638; + background: #fbc600; + border: 1px solid #fbc600; + display: inline-block; + height: 24px; + line-height: 18px; + font-size: 12px; + margin-right: 8px; +} + +.emotion-40 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-40>* { + margin-top: 0; +} + +.emotion-40>*+* { + margin-top: 16px; +} + +.emotion-40 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-40>* { + margin-top: 0; +} + +.emotion-40>*+* { + margin-top: 16px; +} + +.emotion-42 { + background-color: #ffffff; +} + +.emotion-42 { + background-color: #ffffff; +} + +.emotion-44 { + 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; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-4 { +.emotion-44 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - list-style: none; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding: 0; margin: 0; - padding: 1.5rem 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-47 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-47 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-6 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; - border: 0; +.emotion-47 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; } -.emotion-6:first-of-type, -.emotion-6:last-child { - border: 0; +.emotion-47 .fillStroke { + stroke: #641cb3; + fill: none; } -.emotion-8 { +.emotion-49 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; } -.emotion-8 { +.emotion-49 { padding-left: 16px; padding-right: 16px; position: relative; width: 70%; min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; } -.emotion-10 { +.emotion-51 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-51 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-53 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -26438,21 +27151,22 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-12 { +.emotion-53 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -26461,21 +27175,15 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; +.emotion-56 { + display: grid; + grid-template-columns: auto auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -26484,429 +27192,278 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-14 { - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { -webkit-text-decoration: none; text-decoration: none; + border-color: #8c40ef; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-16 { - text-align: initial; - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-19 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-19 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-56[data-size='small'] { + height: 2rem; +} + +.emotion-56[data-size='medium'] { + height: 2.5rem; +} + +.emotion-56[data-size='large'] { + height: 3rem; +} + +.emotion-56[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; } -.emotion-21 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-21:first-of-type, -.emotion-21:last-child { - border: 0; +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-21 { - min-width: 200px; - padding: 0 24px; - border-left: 1px solid #d9dadd; +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; } -.emotion-21:first-of-type, -.emotion-21:last-child { - border: 0; +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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; +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; +} + +.emotion-56 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-25 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; } -.emotion-25 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-25 path { - fill: currentColor; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; } -.emotion-25 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-25 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; } -.emotion-25 path { - fill: currentColor; +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; } -.emotion-27 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-27 { - height: 48px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; } -.emotion-30 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-56[data-size='small'] { + height: 2rem; } -.emotion-30 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - max-width: 500px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 16px; - color: #222638; - margin-right: 4px; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - font-size: 24px; - color: #222638; - font-weight: 500; - margin-right: 4px; +.emotion-56[data-size='medium'] { + height: 2.5rem; } -.emotion-36 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - display: inline-block; - height: 24px; - line-height: 18px; - font-size: 12px; - margin-right: 8px; +.emotion-56[data-size='large'] { + height: 3rem; } -.emotion-36 { - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 1rem; - padding: 0 0.75rem; - gap: 0.5rem; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 1.5rem; - text-transform: uppercase; - color: #222638; - background: #fbc600; - border: 1px solid #fbc600; - display: inline-block; - height: 24px; - line-height: 18px; - font-size: 12px; - margin-right: 8px; +.emotion-56[data-success='true'] { + border: 1px solid #22674e; } -.emotion-40 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; } -.emotion-40>* { - margin-top: 0; +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-40>*+* { - margin-top: 16px; +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; } -.emotion-40 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; } -.emotion-40>* { - margin-top: 0; +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; } -.emotion-40>*+* { - margin-top: 16px; +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; } -.emotion-42 { - background-color: #ffffff; +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-42 { - background-color: #ffffff; +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; } -.emotion-44 { +.emotion-58 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -26915,15 +27472,16 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; - color: #3f4250; - font-weight: 500; - padding: 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; } -.emotion-44 { +.emotion-58 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -26932,875 +27490,536 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-weight: 500; - padding: 1rem; } -.emotion-47 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-60[data-size="small"] { + padding-left: 0.5rem; } -.emotion-47 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-60[data-size="large"] { + font-size: 1rem; } -.emotion-47 path { - fill: currentColor; +.emotion-60::-webkit-input-placeholder { + color: #727683; } -.emotion-47 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-60::-moz-placeholder { + color: #727683; } -.emotion-47 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-60:-ms-input-placeholder { + color: #727683; } -.emotion-47 path { - fill: currentColor; +.emotion-60::placeholder { + color: #727683; } -.emotion-49 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-60:disabled { + cursor: not-allowed; } -.emotion-49 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-51 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-51 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-53 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-60:disabled::placeholder { + color: #b5b7bd; } -.emotion-53 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-60 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-60[data-size="small"] { + padding-left: 0.5rem; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-60[data-size="large"] { + font-size: 1rem; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-60::-webkit-input-placeholder { + color: #727683; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-60::-moz-placeholder { + color: #727683; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-60:-ms-input-placeholder { + color: #727683; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-60::placeholder { + color: #727683; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-60:disabled { + cursor: not-allowed; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-57 { - position: relative; +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-57 { - position: relative; +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-60:disabled::placeholder { + color: #b5b7bd; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-63 { + width: 100%; + width: 100%; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-63 #unit { + border: none; + background: transparent; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-63 { + width: 100%; + width: 100%; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-63 #unit { + border: none; + background: transparent; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-65 { + display: inherit; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-65[data-container-full-height="true"] { + height: 100%; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-65[data-container-full-width="true"] { + width: 100%; } -.emotion-59::placeholder { - opacity: 1; +.emotion-65 { + display: inherit; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; +.emotion-65[data-container-full-height="true"] { + height: 100%; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-65[data-container-full-width="true"] { + width: 100%; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-69[data-size='medium'] { + height: 2.5rem; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-69[data-size='large'] { + height: 3rem; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-59::placeholder { - opacity: 1; +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-61 { - height: auto; +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-61 { - height: auto; +.emotion-69[data-state='success'] { + border: 1px solid #22674e; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-69[data-size='medium'] { + height: 2.5rem; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-69[data-size='large'] { + height: 3rem; } -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-71:focus-within { - border-color: #8c40ef; +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-71:hover { +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { border-color: #792dd4; + outline: none; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-69[data-state='success'] { + border: 1px solid #22674e; } -.emotion-71:hover { - border-color: #792dd4; +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-72 label { - display: none; +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-72 label { - display: none; +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-74 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-77 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; } -.emotion-79 { +.emotion-74 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-79:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-79 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-79:hover { - color: hsl(0, 0%, 60%); } -.emotion-82 { +.emotion-76 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-82 .fillStroke { - stroke: currentColor; +.emotion-76 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-82 { +.emotion-76 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-82 .fillStroke { - stroke: currentColor; +.emotion-76 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-90 { +.emotion-80 { padding-left: 16px; padding-right: 16px; position: relative; @@ -27808,7 +28027,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime min-width: 230px; } -.emotion-90 { +.emotion-80 { padding-left: 16px; padding-right: 16px; position: relative; @@ -27816,7 +28035,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime min-width: 230px; } -.emotion-92 { +.emotion-82 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -27837,7 +28056,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime padding-bottom: 8px; } -.emotion-92 { +.emotion-82 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -27858,15 +28077,15 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime padding-bottom: 8px; } -.emotion-100 { +.emotion-90 { text-align: right; } -.emotion-100 { +.emotion-90 { text-align: right; } -.emotion-103 { +.emotion-93 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -27893,7 +28112,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime margin-right: 4px; } -.emotion-103 { +.emotion-93 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -27920,7 +28139,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime margin-right: 4px; } -.emotion-105 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -27932,7 +28151,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime min-width: 126px; } -.emotion-105 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -27944,10 +28163,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime min-width: 126px; } -.emotion-108 { +.emotion-98 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -27957,10 +28176,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime text-align: right; } -.emotion-108 { +.emotion-98 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -27970,29 +28189,29 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime text-align: right; } -.emotion-110 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -28009,7 +28228,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime min-width: 126px; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -28026,9 +28245,9 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime min-width: 126px; } -.emotion-120 { +.emotion-110 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -28064,9 +28283,9 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime top: calc(50% - 16px); } -.emotion-120 { +.emotion-110 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -28102,10 +28321,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime top: calc(50% - 16px); } -.emotion-123 { +.emotion-113 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -28116,10 +28335,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime margin-left: 1rem; } -.emotion-123 { +.emotion-113 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -28184,14 +28403,11 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime > @@ -28244,14 +28460,11 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime > @@ -28265,132 +28478,82 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime class="emotion-51 emotion-52" >
-
-
-
-
- - -
-
- Month(s) -
-
- -
-
-
- -
- -
-
-
@@ -28399,14 +28562,14 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime

render with isBeta, discount 0.5 and defaultTime
Test
@@ -28433,10 +28596,10 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime

€49.50

@@ -28447,7 +28610,7 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime @@ -28459,19 +28622,19 @@ exports[`EstimateCost - index > render with isBeta, discount 0.5 and defaultTime
50 % off during Beta

render with isBeta, price, discount 50% 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -28508,10 +28671,10 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -28533,6 +28696,7 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -28577,10 +28741,10 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -28589,10 +28753,9 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -28600,10 +28763,10 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -28612,15 +28775,14 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -28689,10 +28851,10 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -28701,19 +28863,19 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -28721,10 +28883,6 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -28770,7 +28928,7 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` .emotion-36 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -28818,15 +28976,236 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` margin-top: 0; } -.emotion-40>*+* { - margin-top: 16px; +.emotion-40>*+* { + margin-top: 16px; +} + +.emotion-42 { + background-color: #ffffff; +} + +.emotion-44 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-47 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-47 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-49 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-51 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-56 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-56[data-size='small'] { + height: 2rem; +} + +.emotion-56[data-size='medium'] { + height: 2.5rem; +} + +.emotion-56[data-size='large'] { + height: 3rem; +} + +.emotion-56[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-42 { - background-color: #ffffff; +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; } -.emotion-44 { +.emotion-58 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -28835,445 +29214,276 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-weight: 500; - padding: 1rem; } -.emotion-47 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-60[data-size="small"] { + padding-left: 0.5rem; } -.emotion-47 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-60[data-size="large"] { + font-size: 1rem; } -.emotion-47 path { - fill: currentColor; +.emotion-60::-webkit-input-placeholder { + color: #727683; } -.emotion-49 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-60::-moz-placeholder { + color: #727683; } -.emotion-51 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-60:-ms-input-placeholder { + color: #727683; } -.emotion-53 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-60::placeholder { + color: #727683; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-60:disabled { + cursor: not-allowed; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-57 { - position: relative; +.emotion-60:disabled::placeholder { + color: #b5b7bd; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-63 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-63 #unit { + border: none; + background: transparent; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-65 { + display: inherit; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-65[data-container-full-height="true"] { + height: 100%; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-65[data-container-full-width="true"] { + width: 100%; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-69[data-size='medium'] { + height: 2.5rem; } -.emotion-59::placeholder { - opacity: 1; +.emotion-69[data-size='large'] { + height: 3rem; } -.emotion-61 { - height: auto; +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-69[data-state='success'] { + border: 1px solid #22674e; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-71:hover { - border-color: #792dd4; +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-72 label { - display: none; +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-74 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-79 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-79:hover { - color: hsl(0, 0%, 60%); } -.emotion-82 { +.emotion-76 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } - -.emotion-82 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + +.emotion-76 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-90 { +.emotion-80 { padding-left: 16px; padding-right: 16px; position: relative; @@ -29281,7 +29491,7 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` min-width: 230px; } -.emotion-92 { +.emotion-82 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -29302,11 +29512,11 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` padding-bottom: 8px; } -.emotion-100 { +.emotion-90 { text-align: right; } -.emotion-103 { +.emotion-93 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -29333,7 +29543,7 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` margin-right: 4px; } -.emotion-105 { +.emotion-95 { padding-left: 16px; padding-right: 16px; position: relative; @@ -29345,10 +29555,10 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` min-width: 126px; } -.emotion-108 { +.emotion-98 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -29358,18 +29568,18 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` text-align: right; } -.emotion-110 { +.emotion-100 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-114 { +.emotion-104 { width: 70%; } -.emotion-116 { +.emotion-106 { padding-left: 16px; padding-right: 16px; position: relative; @@ -29386,9 +29596,9 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` min-width: 126px; } -.emotion-120 { +.emotion-110 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -29424,10 +29634,10 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` top: calc(50% - 16px); } -.emotion-123 { +.emotion-113 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -29492,14 +29702,11 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` > @@ -29552,14 +29759,11 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` > @@ -29573,132 +29777,82 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` class="emotion-51 emotion-52" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -29707,14 +29861,14 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = `

render with isBeta, price, discount 50% 1`] = `
Test
@@ -29741,10 +29895,10 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = `

€49.50

@@ -29755,7 +29909,7 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = ` @@ -29767,19 +29921,19 @@ exports[`EstimateCost - index > render with isBeta, price, discount 50% 1`] = `
50 % off during Beta

render with item discount 50% 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -29816,10 +29970,10 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -29841,6 +29995,7 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -29885,10 +30040,10 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -29897,10 +30052,9 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -29908,10 +30062,10 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -29920,15 +30074,14 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -29997,10 +30150,10 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -30009,19 +30162,19 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -30029,10 +30182,6 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -30090,11 +30239,232 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` margin-top: 16px; } -.emotion-38 { - background-color: #ffffff; +.emotion-38 { + background-color: #ffffff; +} + +.emotion-40 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-43 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-43 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-45 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-47 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-52[data-size='small'] { + height: 2rem; +} + +.emotion-52[data-size='medium'] { + height: 2.5rem; +} + +.emotion-52[data-size='large'] { + height: 3rem; +} + +.emotion-52[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; } -.emotion-40 { +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -30103,445 +30473,276 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-weight: 500; - padding: 1rem; } -.emotion-43 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-43 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-43 path { - fill: currentColor; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-45 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-47 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-56::placeholder { + color: #727683; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-53 { - position: relative; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-59 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-61 { + display: inherit; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-63 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-55::placeholder { - opacity: 1; +.emotion-65[data-size='large'] { + height: 3rem; } -.emotion-57 { - height: auto; +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='success'] { + border: 1px solid #22674e; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-68 label { - display: none; +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-75 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-75:hover { - color: hsl(0, 0%, 60%); } -.emotion-78 { +.emotion-72 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-78 .fillStroke { - stroke: currentColor; +.emotion-72 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-86 { +.emotion-76 { padding-left: 16px; padding-right: 16px; position: relative; @@ -30549,7 +30750,7 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` min-width: 230px; } -.emotion-88 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -30570,11 +30771,11 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` padding-bottom: 8px; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -30601,7 +30802,7 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` margin-right: 4px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -30613,10 +30814,10 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` min-width: 126px; } -.emotion-104 { +.emotion-94 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -30626,18 +30827,18 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` text-align: right; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -30654,10 +30855,10 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` min-width: 126px; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -30721,14 +30922,11 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` > @@ -30776,14 +30974,11 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` > @@ -30797,132 +30992,82 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` class="emotion-47 emotion-48" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -30931,14 +31076,14 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = `

render with item discount 50% 1`] = `
Test
@@ -30965,10 +31110,10 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = `

€0.06781

@@ -30979,7 +31124,7 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = ` @@ -30991,13 +31136,13 @@ exports[`EstimateCost - index > render with item discount 50% 1`] = `

render with item discount 50% and defaultTimeUni display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -31034,10 +31179,10 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -31059,6 +31204,7 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -31103,10 +31249,10 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -31115,10 +31261,9 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -31126,10 +31271,10 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -31138,15 +31283,14 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -31215,10 +31359,10 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -31227,19 +31371,19 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-25 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-25 .fillStroke { @@ -31247,10 +31391,6 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni fill: none; } -.emotion-25 path { - fill: currentColor; -} - .emotion-27 { height: 48px; display: -webkit-box; @@ -31294,25 +31434,246 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni margin-right: 4px; } -.emotion-36 { - width: 100%; - border: 1px solid #d9dadd; - border-radius: 4px 4px 0 4px; +.emotion-36 { + width: 100%; + border: 1px solid #d9dadd; + border-radius: 4px 4px 0 4px; +} + +.emotion-36>* { + margin-top: 0; +} + +.emotion-36>*+* { + margin-top: 16px; +} + +.emotion-38 { + background-color: #ffffff; +} + +.emotion-40 { + 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; + padding: 0; + margin: 0; + font-size: 18px; + color: #3f4250; + font-weight: 500; + padding: 1rem; +} + +.emotion-43 { + vertical-align: middle; + fill: #641cb3; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; + margin-right: 0.5rem; +} + +.emotion-43 .fillStroke { + stroke: #641cb3; + fill: none; +} + +.emotion-45 { + padding-left: 16px; + padding-right: 16px; + position: relative; + width: 70%; + min-width: 230px; + border-left: 1px solid #d9dadd; + background-color: #f9f9fa; + width: 30%; + min-width: 126px; + padding: 0; +} + +.emotion-47 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-52 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-52:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-55, +.emotion-52:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-55 { + border-right-color: #8c40ef; +} + +.emotion-52[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-52[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-52[data-size='small'] { + height: 2rem; +} + +.emotion-52[data-size='medium'] { + height: 2.5rem; +} + +.emotion-52[data-size='large'] { + height: 3rem; +} + +.emotion-52[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-52[data-success='true']>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-52[data-success='true']:active>.emotion-55 { + border-right-color: #22674e; +} + +.emotion-52[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55 { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']>.emotion-55:hover { + border-right-color: #b3144d; +} + +.emotion-52[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-36>* { - margin-top: 0; +.emotion-52[data-error='true']:active>.emotion-55 { + border-right-color: #b3144d; } -.emotion-36>*+* { - margin-top: 16px; +.emotion-52[data-error='true']:active>.emotion-55:hover { + border-right-color: #b3144d; } -.emotion-38 { - background-color: #ffffff; +.emotion-52[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-40 { +.emotion-52[data-disabled='true']>.emotion-55 { + border-right-color: #e9eaeb; +} + +.emotion-54 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -31321,445 +31682,276 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni -webkit-box-align: center; -ms-flex-align: center; align-items: center; - padding: 0; - margin: 0; - font-size: 18px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-56 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; color: #3f4250; - font-weight: 500; - padding: 1rem; } -.emotion-43 { - vertical-align: middle; - fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; - margin-right: 0.5rem; +.emotion-56[data-size="small"] { + padding-left: 0.5rem; } -.emotion-43 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-56[data-size="large"] { + font-size: 1rem; } -.emotion-43 path { - fill: currentColor; +.emotion-56::-webkit-input-placeholder { + color: #727683; } -.emotion-45 { - padding-left: 16px; - padding-right: 16px; - position: relative; - width: 70%; - min-width: 230px; - border-left: 1px solid #d9dadd; - background-color: #f9f9fa; - width: 30%; - min-width: 126px; - padding: 0; +.emotion-56::-moz-placeholder { + color: #727683; } -.emotion-47 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-56:-ms-input-placeholder { + color: #727683; } -.emotion-49 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-56::placeholder { + color: #727683; } -.emotion-51 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-56:disabled { + cursor: not-allowed; } -.emotion-51 input:hover, -.emotion-51 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-56:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-51 input[type='number']::-webkit-inner-spin-button, -.emotion-51 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-56:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-51 input[type='number'] { - -moz-appearance: textfield; +.emotion-56:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-53 { - position: relative; +.emotion-56:disabled::placeholder { + color: #b5b7bd; } -.emotion-55 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-59 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-55::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-59 #unit { + border: none; + background: transparent; } -.emotion-55::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-59 #unit:focus, +.emotion-59 #unit:active { + box-shadow: none; } -.emotion-55:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-61 { + display: inherit; } -.emotion-55::placeholder { - color: #727683; - opacity: 0; +.emotion-61[data-container-full-height="true"] { + height: 100%; } -.emotion-55:hover, -.emotion-55:focus { - border-color: #792dd4; +.emotion-61[data-container-full-width="true"] { + width: 100%; } -.emotion-55:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-63 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-55::-webkit-input-placeholder { - opacity: 1; +.emotion-65 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-55::-moz-placeholder { - opacity: 1; +.emotion-65[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-55:-ms-input-placeholder { - opacity: 1; +.emotion-65[data-size='medium'] { + height: 2.5rem; } -.emotion-55::placeholder { - opacity: 1; +.emotion-65[data-size='large'] { + height: 3rem; } -.emotion-57 { - height: auto; +.emotion-65[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-57[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-65[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-59 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-65[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-63 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-65[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-63:hover, -.emotion-63:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-65[data-state='success'] { + border: 1px solid #22674e; } -.emotion-65 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-65[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-67 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-65[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-67:hover { - border-color: hsl(0, 0%, 70%); +.emotion-65[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-67:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-65[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-67:hover { - border-color: #792dd4; +.emotion-65[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-68 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-65:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-68 label { - display: none; +.emotion-65[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-69 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-65[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-71 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-72 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-72:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-73 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-70 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-74 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-75 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; } -.emotion-75:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-78 { +.emotion-72 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-78 .fillStroke { - stroke: currentColor; +.emotion-72 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-82 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-86 { +.emotion-76 { padding-left: 16px; padding-right: 16px; position: relative; @@ -31767,7 +31959,7 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni min-width: 230px; } -.emotion-88 { +.emotion-78 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -31788,11 +31980,11 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni padding-bottom: 8px; } -.emotion-96 { +.emotion-86 { text-align: right; } -.emotion-99 { +.emotion-89 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -31819,7 +32011,7 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni margin-right: 4px; } -.emotion-101 { +.emotion-91 { padding-left: 16px; padding-right: 16px; position: relative; @@ -31831,10 +32023,10 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni min-width: 126px; } -.emotion-104 { +.emotion-94 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -31844,18 +32036,18 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni text-align: right; } -.emotion-106 { +.emotion-96 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-110 { +.emotion-100 { width: 70%; } -.emotion-112 { +.emotion-102 { padding-left: 16px; padding-right: 16px; position: relative; @@ -31872,10 +32064,10 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni min-width: 126px; } -.emotion-115 { +.emotion-105 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -31939,14 +32131,11 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni > @@ -31994,14 +32183,11 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni > @@ -32015,132 +32201,82 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni class="emotion-47 emotion-48" >
-
-
-
-
- - -
- -
- Month(s) -
- -
-
-
- -
- -
-
-
@@ -32149,14 +32285,14 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni

render with item discount 50% and defaultTimeUni
Test
@@ -32183,10 +32319,10 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni

€49.50

@@ -32197,7 +32333,7 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni @@ -32209,13 +32345,13 @@ exports[`EstimateCost - index > render with item discount 50% and defaultTimeUni

render with item discount 50% and text 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -32252,10 +32388,10 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-2 { @@ -32277,6 +32413,7 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` box-shadow: 0px 0px 8px 2px #d9dadd66; -webkit-transition: bottom 0.3s,box-shadow 0.3s; transition: bottom 0.3s,box-shadow 0.3s; + z-index: 1; } .emotion-4 { @@ -32321,10 +32458,10 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -32333,10 +32470,9 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-12 { @@ -32344,10 +32480,10 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -32356,15 +32492,14 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-14 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -32375,7 +32510,7 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` .emotion-18 { font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -32472,10 +32607,10 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -32484,19 +32619,19 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-29 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; } .emotion-29 .fillStroke { @@ -32504,10 +32639,6 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` fill: none; } -.emotion-29 path { - fill: currentColor; -} - .emotion-31 { height: 48px; display: -webkit-box; @@ -32589,10 +32720,10 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` .emotion-47 { vertical-align: middle; fill: #641cb3; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; margin-right: 0.5rem; } @@ -32601,10 +32732,6 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` fill: none; } -.emotion-47 path { - fill: currentColor; -} - .emotion-49 { padding-left: 16px; padding-right: 16px; @@ -32618,405 +32745,461 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` padding: 0; } -.emotion-51 { - max-width: 200px; - padding: 16px; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - text-align: left; - float: right; +.emotion-51 { + max-width: 200px; + padding: 16px; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + text-align: left; + float: right; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-56 { + display: grid; + grid-template-columns: auto auto; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-56:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-59, +.emotion-56:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-59 { + border-right-color: #8c40ef; +} + +.emotion-56[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-56[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-56[data-size='small'] { + height: 2rem; +} + +.emotion-56[data-size='medium'] { + height: 2.5rem; +} + +.emotion-56[data-size='large'] { + height: 3rem; +} + +.emotion-56[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-56[data-success='true']>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-56[data-success='true']:active>.emotion-59 { + border-right-color: #22674e; +} + +.emotion-56[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-56[data-error='true']:active>.emotion-59 { + border-right-color: #b3144d; +} + +.emotion-56[data-error='true']:active>.emotion-59:hover { + border-right-color: #b3144d; +} + +.emotion-56[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-56[data-disabled='true']>.emotion-59 { + border-right-color: #e9eaeb; +} + +.emotion-58 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-60 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-60[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-60[data-size="large"] { + font-size: 1rem; +} + +.emotion-60::-webkit-input-placeholder { + color: #727683; +} + +.emotion-60::-moz-placeholder { + color: #727683; +} + +.emotion-60:-ms-input-placeholder { + color: #727683; } -.emotion-53 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; +.emotion-60::placeholder { + color: #727683; } -.emotion-55 input { - border-radius: 0.25rem 0 0 0.25rem; - min-width: 60px; - border-right: 0; +.emotion-60:disabled { + cursor: not-allowed; } -.emotion-55 input:hover, -.emotion-55 input:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-right-width: 1px; - border-right-style: solid; - border-color: #521094; +.emotion-60:disabled::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-55 input[type='number']::-webkit-inner-spin-button, -.emotion-55 input[type='number']::-webkit-outer-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-60:disabled::-moz-placeholder { + color: #b5b7bd; } -.emotion-55 input[type='number'] { - -moz-appearance: textfield; +.emotion-60:disabled:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-57 { - position: relative; +.emotion-60:disabled::placeholder { + color: #b5b7bd; } -.emotion-59 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; +.emotion-63 { + width: 100%; width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; } -.emotion-59::-webkit-input-placeholder { - color: #727683; - opacity: 0; +.emotion-63 #unit { + border: none; + background: transparent; } -.emotion-59::-moz-placeholder { - color: #727683; - opacity: 0; +.emotion-63 #unit:focus, +.emotion-63 #unit:active { + box-shadow: none; } -.emotion-59:-ms-input-placeholder { - color: #727683; - opacity: 0; +.emotion-65 { + display: inherit; } -.emotion-59::placeholder { - color: #727683; - opacity: 0; +.emotion-65[data-container-full-height="true"] { + height: 100%; } -.emotion-59:hover, -.emotion-59:focus { - border-color: #792dd4; +.emotion-65[data-container-full-width="true"] { + width: 100%; } -.emotion-59:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-67 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-59::-webkit-input-placeholder { - opacity: 1; +.emotion-69 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; } -.emotion-59::-moz-placeholder { - opacity: 1; +.emotion-69[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; } -.emotion-59:-ms-input-placeholder { - opacity: 1; +.emotion-69[data-size='medium'] { + height: 2.5rem; } -.emotion-59::placeholder { - opacity: 1; +.emotion-69[data-size='large'] { + height: 3rem; } -.emotion-61 { - height: auto; +.emotion-69[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-61[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-69[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-63 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-69[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; } -.emotion-67 { - width: 100%; - position: relative; - box-sizing: border-box; - height: 40px; - height: 40px; +.emotion-69[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-69[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-67:hover, -.emotion-67:focus { - -webkit-text-decoration: none; - text-decoration: none; - border-color: #521094; - box-shadow: none; +.emotion-69[data-state='success'] { + border: 1px solid #22674e; } -.emotion-69 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-69[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-71 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 40px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - border-bottom-left-radius: 0; - border-top-left-radius: 0; - height: 40px; - -webkit-animation: none; - animation: none; +.emotion-69[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-71:hover { - border-color: hsl(0, 0%, 70%); +.emotion-69[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-71:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-69[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-71:hover { - border-color: #792dd4; +.emotion-69[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-72 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-69:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-72 label { - display: none; +.emotion-69[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-73 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-69[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-75 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; +.emotion-72 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; text-overflow: ellipsis; + overflow: hidden; white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 0; - padding-left: 0; -} - -.emotion-76 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 0; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; - margin-left: 0px; - caret-color: transparent; -} - -.emotion-76:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } -.emotion-77 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-74 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-78 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; -} - -.emotion-79 { + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; } -.emotion-79:hover { - color: hsl(0, 0%, 60%); -} - -.emotion-82 { +.emotion-76 { vertical-align: middle; - fill: currentColor; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; min-height: 1rem; } -.emotion-82 .fillStroke { - stroke: currentColor; +.emotion-76 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-86 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-90 { +.emotion-80 { padding-left: 16px; padding-right: 16px; position: relative; @@ -33024,7 +33207,7 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` min-width: 230px; } -.emotion-92 { +.emotion-82 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -33045,11 +33228,11 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` padding-bottom: 8px; } -.emotion-104 { +.emotion-94 { text-align: right; } -.emotion-107 { +.emotion-97 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -33076,7 +33259,7 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` margin-right: 4px; } -.emotion-109 { +.emotion-99 { padding-left: 16px; padding-right: 16px; position: relative; @@ -33088,10 +33271,10 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` min-width: 126px; } -.emotion-112 { +.emotion-102 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -33101,18 +33284,18 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` text-align: right; } -.emotion-114 { +.emotion-104 { margin: 0; width: 100%; border-right: 1px solid #d9dadd; border-radius: 0 0 0.25rem 0.25rem; } -.emotion-118 { +.emotion-108 { width: 70%; } -.emotion-120 { +.emotion-110 { padding-left: 16px; padding-right: 16px; position: relative; @@ -33129,10 +33312,10 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` min-width: 126px; } -.emotion-123 { +.emotion-113 { color: #641cb3; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -33201,14 +33384,11 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` > @@ -33256,14 +33436,11 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` > @@ -33277,132 +33454,82 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` class="emotion-51 emotion-52" >
-
-
-
-
- - -
- -
- Hour(s) -
- -
-
-
- -
- -
-
-
@@ -33411,14 +33538,14 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = `

render with item discount 50% and text 1`] = `
Test
@@ -33450,10 +33577,10 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = `

€0.06781

@@ -33464,7 +33591,7 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` @@ -33476,13 +33603,13 @@ exports[`EstimateCost - index > render with item discount 50% and text 1`] = ` + + + {!hideFeatureText ? ( + + {locales['plans.features']} + + ) : null} + + {plans.map(plan => { + const computedDisabled = !!(plan.outOfStock || plan.disabled) + const selectable = hasCardBehavior && !computedDisabled + + return ( + onChange(plan.value) : undefined} + onMouseOver={ + selectable ? () => setHoveredPlan(plan.value) : undefined + } + onMouseOut={ + selectable ? () => setHoveredPlan(undefined) : undefined + } + > + {plan.outOfStock ? ( + + {locales['plans.outOfStock']} + + ) : null} + {plan.header.quotas ? ( + + {plan.header.quotas} + + ) : null} + + + ) + })} + + + + {features.map(feature => { + if ('group' in feature) { + return ( + + + + + {feature.group} + + {feature.hint ? : null} + + + {plans.map(plan => ( + + ))} + + ) + } + + const featureKey = feature.key ?? '' + + return ( + + + + + + {feature.text} + + + + {feature.description ? ( + + {feature.description} + + ) : null} + + + {plans.map(plan => { + const computedDisabled = plan.outOfStock || plan.disabled + const selectable = hasCardBehavior && !computedDisabled + + return ( + onChange(plan.value) : undefined + } + data-active={value === plan.value} + data-focus={focusedPlan === plan.value} + data-hover={hoveredPlan === plan.value} + onMouseOver={ + selectable + ? () => { + setHoveredPlan(plan.value) + } + : undefined + } + onMouseOut={ + selectable + ? () => { + setHoveredPlan(undefined) + } + : undefined + } + data-testid={`${plan.value}-${feature.key}`} + > + {plan.data[featureKey] === false ? ( + + ) : null} + {plan.data[featureKey] === true ? ( + + ) : null} + {typeof plan.data[featureKey] !== 'boolean' ? ( + + {plan.data[featureKey]} + + ) : null} + + ) + })} + + ) + })} + + + ) +} diff --git a/packages/plus/src/components/Plans/locales/en.ts b/packages/plus/src/components/Plans/locales/en.ts new file mode 100644 index 0000000000..0bd61f4714 --- /dev/null +++ b/packages/plus/src/components/Plans/locales/en.ts @@ -0,0 +1,5 @@ +export default { + 'plans.features': 'Features', + 'plans.outOfStock': 'Out of stock', + 'plans.currentPlan': 'Current plan', +} diff --git a/packages/plus/src/components/Plans/types.ts b/packages/plus/src/components/Plans/types.ts new file mode 100644 index 0000000000..de8f537f19 --- /dev/null +++ b/packages/plus/src/components/Plans/types.ts @@ -0,0 +1,41 @@ +import type { Text } from '@ultraviolet/ui' +import type { ComponentProps, ReactNode } from 'react' + +export type Hint = + | { + type: 'tooltip' + text: string + } + | { + type: 'popover' + title: string + content: ReactNode + } + +export type PlanType = { + value: string + title: string + titleHeader?: ReactNode + sentiment?: ComponentProps['sentiment'] + header: { + description?: ReactNode + price: string + quotas?: string + priceDescription?: string + cta?: ReactNode + separator?: ReactNode + } + outOfStock?: boolean + disabled?: boolean + data: Record +} + +export type Feature = + | { + key: T + text: string + description?: string + spaceAfter?: boolean + hint?: Hint + } + | { group: string; hint?: Hint } diff --git a/packages/plus/src/components/SteppedListCard/Step.tsx b/packages/plus/src/components/SteppedListCard/Step.tsx index ec0ee00d74..ec61aadc08 100644 --- a/packages/plus/src/components/SteppedListCard/Step.tsx +++ b/packages/plus/src/components/SteppedListCard/Step.tsx @@ -1,6 +1,7 @@ 'use client' import styled from '@emotion/styled' +import { CheckIcon } from '@ultraviolet/icons' import { StepList, Text } from '@ultraviolet/ui' import { useContext } from 'react' import { Data } from './helper' @@ -53,7 +54,7 @@ export const SteppedList = ({ return completed ? ( } prominence={active ? 'strong' : 'default'} sentiment="primary" onClick={() => containerData.setCurrentStep(stepNumber)} @@ -65,7 +66,7 @@ export const SteppedList = ({ ) : ( containerData.setCurrentStep(stepNumber)} diff --git a/packages/plus/src/components/SteppedListCard/SteppedListContent.tsx b/packages/plus/src/components/SteppedListCard/SteppedListContent.tsx index 5a7253265c..8e6f5fdc1f 100644 --- a/packages/plus/src/components/SteppedListCard/SteppedListContent.tsx +++ b/packages/plus/src/components/SteppedListCard/SteppedListContent.tsx @@ -7,6 +7,7 @@ import { useContext, useEffect } from 'react' import { Data, nextStep } from './helper' const StyledContent = styled(Stack)` + min-width: 0; padding: ${({ theme }) => theme.space['3']}; padding-top: ${({ theme }) => theme.space['4']}; ` diff --git a/packages/plus/src/components/SteppedListCard/__stories__/OnClickHide.stories.tsx b/packages/plus/src/components/SteppedListCard/__stories__/OnClickHide.stories.tsx index 170ea8a0fd..5ec6a08ab2 100644 --- a/packages/plus/src/components/SteppedListCard/__stories__/OnClickHide.stories.tsx +++ b/packages/plus/src/components/SteppedListCard/__stories__/OnClickHide.stories.tsx @@ -1,6 +1,7 @@ import { useTheme } from '@emotion/react' import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { MinusIcon, PlusIcon } from '@ultraviolet/icons' import { blockStorageWire } from '@ultraviolet/illustrations/products/blockStorage' import { Button, Expandable, Stack, Text } from '@ultraviolet/ui' import type { ComponentProps } from 'react' @@ -26,10 +27,8 @@ export const OnClickHide: StoryFn< return ( <> - diff --git a/packages/plus/src/components/SteppedListCard/__stories__/Template.stories.tsx b/packages/plus/src/components/SteppedListCard/__stories__/Template.stories.tsx index fa4bb69f1b..73ba6a5f6e 100644 --- a/packages/plus/src/components/SteppedListCard/__stories__/Template.stories.tsx +++ b/packages/plus/src/components/SteppedListCard/__stories__/Template.stories.tsx @@ -1,8 +1,8 @@ import { useTheme } from '@emotion/react' import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { blockStorageWire } from '@ultraviolet/illustrations/products/blockStorage' -import { Button, Stack, Text } from '@ultraviolet/ui' +import { Button, Snippet, Stack, Text } from '@ultraviolet/ui' import type { ComponentProps } from 'react' import { SteppedListCard } from '../SteppedListCard' @@ -37,6 +37,10 @@ export const Template: StoryFn< > {nextStep => ( + + pnpm add @ultraviolet/ui; pnpm install; pnpm start; pnpm build; + pnpm test:unit; pnpm test:visual; pnpm build:storybook; + We are thrilled to count you as a Scaleway user! We are looking forward to providing you with the very best experience. To order diff --git a/packages/plus/src/components/SteppedListCard/__stories__/WithoutToggleButton.stories.tsx b/packages/plus/src/components/SteppedListCard/__stories__/WithoutToggleButton.stories.tsx index 54c8ce711f..772ec3aa9c 100644 --- a/packages/plus/src/components/SteppedListCard/__stories__/WithoutToggleButton.stories.tsx +++ b/packages/plus/src/components/SteppedListCard/__stories__/WithoutToggleButton.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack, Text } from '@ultraviolet/ui' import type { ComponentProps } from 'react' import { SteppedListCard } from '../SteppedListCard' diff --git a/packages/plus/src/components/SteppedListCard/__stories__/index.stories.tsx b/packages/plus/src/components/SteppedListCard/__stories__/index.stories.tsx index 065754c46d..15af860f74 100644 --- a/packages/plus/src/components/SteppedListCard/__stories__/index.stories.tsx +++ b/packages/plus/src/components/SteppedListCard/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { SteppedListCard } from '..' export default { diff --git a/packages/plus/src/components/SteppedListCard/__tests__/__snapshots__/index.test.tsx.snap b/packages/plus/src/components/SteppedListCard/__tests__/__snapshots__/index.test.tsx.snap index 8b87c56f11..8dc8fb1e39 100644 --- a/packages/plus/src/components/SteppedListCard/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/plus/src/components/SteppedListCard/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`SteppedListCard > should hide the toggle button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`SteppedListCard > should hide the toggle button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; } .emotion-2 { @@ -74,10 +74,10 @@ exports[`SteppedListCard > should hide the toggle button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 2rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -86,10 +86,10 @@ exports[`SteppedListCard > should hide the toggle button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 2rem; padding: 1.5rem; border-right: solid #d9dadd 1px; } @@ -106,7 +106,7 @@ exports[`SteppedListCard > should hide the toggle button 1`] = ` -ms-flex-direction: column; flex-direction: column; gap: 1.5rem; - font-size:font-family: Inter,Asap,sans-serif; + font-size:font-family: Inter,sans-serif; font-size: 1rem; font-weight: Regular; letter-spacing: 0; @@ -168,11 +168,12 @@ exports[`SteppedListCard > should hide the toggle button 1`] = ` margin: auto; line-height: 32px; font-size: 24px; + min-width: 0; } .emotion-21 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -223,7 +224,7 @@ exports[`SteppedListCard > should hide the toggle button 1`] = ` .emotion-31 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -255,10 +256,10 @@ exports[`SteppedListCard > should hide the toggle button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -267,10 +268,10 @@ exports[`SteppedListCard > should hide the toggle button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; padding: 1.5rem; padding-top: 2rem; } @@ -403,10 +404,10 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -415,10 +416,10 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; } .emotion-2 { @@ -436,7 +437,7 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` .emotion-4 { font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -474,7 +475,7 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -494,6 +495,10 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-6:hover, .emotion-6:active { background: #e9eaeb; @@ -536,10 +541,10 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 2rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -548,10 +553,10 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 2rem; padding: 1.5rem; border-right: solid #d9dadd 1px; } @@ -568,7 +573,7 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` -ms-flex-direction: column; flex-direction: column; gap: 1.5rem; - font-size:font-family: Inter,Asap,sans-serif; + font-size:font-family: Inter,sans-serif; font-size: 1rem; font-weight: Regular; letter-spacing: 0; @@ -630,11 +635,12 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` margin: auto; line-height: 32px; font-size: 24px; + min-width: 0; } .emotion-25 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -685,7 +691,7 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` .emotion-35 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -717,10 +723,10 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -729,10 +735,10 @@ exports[`SteppedListCard > should work with custom hide action 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; padding: 1.5rem; padding-top: 2rem; } @@ -860,10 +866,10 @@ exports[`SteppedListCard > should work with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -872,10 +878,10 @@ exports[`SteppedListCard > should work with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; } .emotion-2 { @@ -932,7 +938,7 @@ exports[`SteppedListCard > should work with default props 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -952,6 +958,10 @@ exports[`SteppedListCard > should work with default props 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-6:hover, .emotion-6:active { background: #e9eaeb; @@ -994,10 +1004,10 @@ exports[`SteppedListCard > should work with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 2rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1006,10 +1016,10 @@ exports[`SteppedListCard > should work with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 2rem; padding: 1.5rem; border-right: solid #d9dadd 1px; } @@ -1026,7 +1036,7 @@ exports[`SteppedListCard > should work with default props 1`] = ` -ms-flex-direction: column; flex-direction: column; gap: 1.5rem; - font-size:font-family: Inter,Asap,sans-serif; + font-size:font-family: Inter,sans-serif; font-size: 1rem; font-weight: Regular; letter-spacing: 0; @@ -1088,11 +1098,12 @@ exports[`SteppedListCard > should work with default props 1`] = ` margin: auto; line-height: 32px; font-size: 24px; + min-width: 0; } .emotion-25 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1143,7 +1154,7 @@ exports[`SteppedListCard > should work with default props 1`] = ` .emotion-35 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1175,10 +1186,10 @@ exports[`SteppedListCard > should work with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1187,10 +1198,10 @@ exports[`SteppedListCard > should work with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; padding: 1.5rem; padding-top: 2rem; } @@ -1337,10 +1348,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1349,10 +1360,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; } .emotion-0 { @@ -1360,10 +1371,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1372,10 +1383,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; } .emotion-2 { @@ -1433,7 +1444,7 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1453,6 +1464,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-4 .e1y1n78x0 { + stroke: transparent; +} + .emotion-4:hover, .emotion-4:active { background: #e9eaeb; @@ -1488,7 +1503,7 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1508,6 +1523,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-4 .e1y1n78x0 { + stroke: transparent; +} + .emotion-4:hover, .emotion-4:active { background: #e9eaeb; @@ -1581,10 +1600,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 2rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1593,10 +1612,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 2rem; padding: 1.5rem; border-right: solid #d9dadd 1px; } @@ -1606,10 +1625,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 2rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1618,10 +1637,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 2rem; padding: 1.5rem; border-right: solid #d9dadd 1px; } @@ -1638,7 +1657,7 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -ms-flex-direction: column; flex-direction: column; gap: 1.5rem; - font-size:font-family: Inter,Asap,sans-serif; + font-size:font-family: Inter,sans-serif; font-size: 1rem; font-weight: Regular; letter-spacing: 0; @@ -1662,7 +1681,7 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -ms-flex-direction: column; flex-direction: column; gap: 1.5rem; - font-size:font-family: Inter,Asap,sans-serif; + font-size:font-family: Inter,sans-serif; font-size: 1rem; font-weight: Regular; letter-spacing: 0; @@ -1767,6 +1786,7 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` margin: auto; line-height: 32px; font-size: 24px; + min-width: 0; } .emotion-20 { @@ -1776,11 +1796,12 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` margin: auto; line-height: 32px; font-size: 24px; + min-width: 0; } .emotion-23 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1809,7 +1830,7 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` .emotion-23 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1883,10 +1904,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` .emotion-30 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-30 .fillStroke { @@ -1894,17 +1915,13 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` fill: none; } -.emotion-30 path { - fill: currentColor; -} - .emotion-30 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-30 .fillStroke { @@ -1912,13 +1929,9 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` fill: none; } -.emotion-30 path { - fill: currentColor; -} - .emotion-35 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1947,7 +1960,7 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` .emotion-35 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1979,10 +1992,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1991,10 +2004,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; padding: 1.5rem; padding-top: 2rem; } @@ -2004,10 +2017,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2016,10 +2029,10 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + min-width: 0; padding: 1.5rem; padding-top: 2rem; } @@ -2135,9 +2148,7 @@ exports[`SteppedListCard > should work with pre-completed step 1`] = ` > `theme.breakpoints.xsmall` + - `theme.screens.small` -> `breakpoints.small` + - `theme.screens.medium` -> `theme.breakpoints.medium` + - `theme.screens.large` -> `theme.breakpoints.large` + - `theme.screens.xlarge` -> `theme.breakpoints.xlarge` + + #### Colors + + Some colors tokens have been removed. Here are the following tokens that are now removed: + + **Danger** + + - `theme.colors.danger.backgroundWeak` + - `theme.colors.danger.backgroundWeakDisabled` + - `theme.colors.danger.backgroundWeakHover` + - `theme.colors.danger.borderWeak` + - `theme.colors.danger.borderWeakDisabled` + - `theme.colors.danger.borderWeakHover` + - `theme.colors.danger.iconWeak` + - `theme.colors.danger.iconWeakDisabled` + - `theme.colors.danger.iconWeakHover` + - `theme.colors.danger.textWeak` + - `theme.colors.danger.textWeakDisabled` + - `theme.colors.danger.textWeakHover` + + **Info** + + - `theme.colors.info.backgroundWeak` + - `theme.colors.info.backgroundWeakDisabled` + - `theme.colors.info.backgroundWeakHover` + - `theme.colors.info.borderWeak` + - `theme.colors.info.borderWeakDisabled` + - `theme.colors.info.borderWeakHover` + - `theme.colors.info.iconWeak` + - `theme.colors.info.iconWeakDisabled` + - `theme.colors.info.iconWeakHover` + - `theme.colors.info.textWeak` + - `theme.colors.info.textWeakDisabled` + - `theme.colors.info.textWeakHover` + + **Primary** + + - `theme.colors.primary.backgroundWeak` + - `theme.colors.primary.backgroundWeakDisabled` + - `theme.colors.primary.backgroundWeakHover` + - `theme.colors.primary.borderWeak` + - `theme.colors.primary.borderWeakDisabled` + - `theme.colors.primary.borderWeakHover` + - `theme.colors.primary.iconWeak` + - `theme.colors.primary.iconWeakDisabled` + - `theme.colors.primary.iconWeakHover` + - `theme.colors.primary.textWeak` + - `theme.colors.primary.textWeakDisabled` + - `theme.colors.primary.textWeakHover` + + **Secondary** + + - `theme.colors.secondary.backgroundWeak` + - `theme.colors.secondary.backgroundWeakDisabled` + - `theme.colors.secondary.backgroundWeakHover` + - `theme.colors.secondary.borderWeak` + - `theme.colors.secondary.borderWeakDisabled` + - `theme.colors.secondary.borderWeakHover` + - `theme.colors.secondary.iconWeak` + - `theme.colors.secondary.iconWeakDisabled` + - `theme.colors.secondary.iconWeakHover` + - `theme.colors.secondary.textWeak` + - `theme.colors.secondary.textWeakDisabled` + - `theme.colors.secondary.textWeakHover` + + **Success** + + - `theme.colors.success.backgroundWeak` + - `theme.colors.success.backgroundWeakDisabled` + - `theme.colors.success.backgroundWeakHover` + - `theme.colors.success.borderWeak` + - `theme.colors.success.borderWeakDisabled` + - `theme.colors.success.borderWeakHover` + - `theme.colors.success.iconWeak` + - `theme.colors.success.iconWeakDisabled` + - `theme.colors.success.iconWeakHover` + - `theme.colors.success.textWeak` + - `theme.colors.success.textWeakDisabled` + - `theme.colors.success.textWeakHover` + + **Warning** + + - `theme.colors.warning.backgroundWeak` + - `theme.colors.warning.backgroundWeakDisabled` + - `theme.colors.warning.backgroundWeakHover` + - `theme.colors.warning.borderWeak` + - `theme.colors.warning.borderWeakDisabled` + - `theme.colors.warning.borderWeakHover` + - `theme.colors.warning.iconWeak` + - `theme.colors.warning.iconWeakDisabled` + - `theme.colors.warning.iconWeakHover` + - `theme.colors.warning.textWeak` + - `theme.colors.warning.textWeakDisabled` + - `theme.colors.warning.textWeakHover` + + **Other Gradients** + + - `theme.colors.other.gradients.background.gold` + - `theme.colors.other.gradients.background.purple` + - `theme.colors.other.gradients.background.strong` + - `theme.colors.other.gradients.background.accent` + - `theme.colors.other.gradients.background.aqua` + - `theme.colors.other.gradients.background.blue` + - `theme.colors.other.gradients.background.emerald` + - `theme.colors.other.gradients.background.fuschia` + - `theme.colors.other.gradients.background.magenta` + - `theme.colors.other.gradients.background.primary` + + #### Typography + + There is a change in the typography font family. We now use `Inter`, `JetBrains` and `Space Grotesk` as the default font. + In order to be always up to date we recommend you installing `@ultraviolet/fonts` package and import it in your App entry point. + + ```tsx + import "@ultraviolet/fonts/fonts.css"; + ``` + +## 2.0.0-beta.0 + +### Major Changes + +- [#5112](https://github.com/scaleway/ultraviolet/pull/5112) [`37a7d63`](https://github.com/scaleway/ultraviolet/commit/37a7d632cd1e61d7615e5356fc179ec08f3bec09) Thanks [@matthprost](https://github.com/matthprost)! - Beta release + ## 1.17.0 ### Minor Changes diff --git a/packages/themes/package.json b/packages/themes/package.json index edfcd03a7d..4e1c6a7309 100644 --- a/packages/themes/package.json +++ b/packages/themes/package.json @@ -1,6 +1,6 @@ { "name": "@ultraviolet/themes", - "version": "1.17.0", + "version": "2.0.0-beta.3", "description": "Ultraviolet Themes", "homepage": "https://github.com/scaleway/ultraviolet#readme", "repository": { @@ -52,8 +52,5 @@ "require": "./dist/themes/console/*/index.cjs", "import": "./dist/themes/console/*/index.js" } - }, - "dependencies": { - "deepmerge": "4.3.1" } } diff --git a/packages/themes/public/style/dark.css b/packages/themes/public/style/dark.css index 19513d93ec..9b689ccd71 100644 --- a/packages/themes/public/style/dark.css +++ b/packages/themes/public/style/dark.css @@ -1,9 +1,4 @@ :root.dark-theme { - --screen-xsmall: 0; - --screen-small: 576; - --screen-medium: 768; - --screen-large: 992; - --screen-xlarge: 1200; --color-danger-background: #4e0921; --color-danger-background-disabled: #47081e; --color-danger-background-hover: #650b2b; diff --git a/packages/themes/public/style/darker.css b/packages/themes/public/style/darker.css index 1bbdc57af8..a1fa3bb83e 100644 --- a/packages/themes/public/style/darker.css +++ b/packages/themes/public/style/darker.css @@ -1,9 +1,4 @@ :root.darker-theme { - --screen-xsmall: 0; - --screen-small: 576; - --screen-medium: 768; - --screen-large: 992; - --screen-xlarge: 1200; --color-danger-background: #2e0514; --color-danger-background-disabled: #20040e; --color-danger-background-hover: #49081f; diff --git a/packages/themes/public/style/light.css b/packages/themes/public/style/light.css index 56c107988e..5555c775d3 100644 --- a/packages/themes/public/style/light.css +++ b/packages/themes/public/style/light.css @@ -1,9 +1,4 @@ :root.light-theme { - --screen-xsmall: 0; - --screen-small: 576; - --screen-medium: 768; - --screen-large: 992; - --screen-xlarge: 1200; --color-danger-background: #ffebf2; --color-danger-background-disabled: #fff3f7; --color-danger-background-hover: #ffd3e3; diff --git a/packages/themes/src/themes/console/dark/index.ts b/packages/themes/src/themes/console/dark/index.ts deleted file mode 100644 index 28f4bb746f..0000000000 --- a/packages/themes/src/themes/console/dark/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import deepmerge from 'deepmerge' -import { deprecatedDarkTokens } from '../deprecated/dark' -import { darkTheme } from './__generated__' - -export const consoleDarkTheme: typeof darkTheme & typeof deprecatedDarkTokens = - deepmerge(darkTheme, deprecatedDarkTokens) diff --git a/packages/themes/src/themes/console/darker/index.ts b/packages/themes/src/themes/console/darker/index.ts deleted file mode 100644 index eea0d2a338..0000000000 --- a/packages/themes/src/themes/console/darker/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import deepmerge from 'deepmerge' -import { deprecatedDarkerTokens } from '../deprecated/darker' -import { darkerTheme } from './__generated__' - -export const consoleDarkerTheme: typeof darkerTheme & - typeof deprecatedDarkerTokens = deepmerge(darkerTheme, deprecatedDarkerTokens) diff --git a/packages/themes/src/themes/console/deprecated/dark.ts b/packages/themes/src/themes/console/deprecated/dark.ts deleted file mode 100644 index e98f50e097..0000000000 --- a/packages/themes/src/themes/console/deprecated/dark.ts +++ /dev/null @@ -1,166 +0,0 @@ -/** - * @deprecated Those are old tokens usages and will be removed in the next major version. - */ -export const deprecatedDarkTokens = { - screens: { - xsmall: 0, - small: 576, - medium: 768, - large: 992, - xlarge: 1200, - }, - colors: { - danger: { - backgroundWeak: '#151a2d', - backgroundWeakDisabled: '#47081e', - backgroundWeakHover: '#650b2b', - borderWeak: '#ff72a5', - borderWeakDisabled: '#790d34', - borderWeakHover: '#ffc0d7', - iconWeak: '#ff72a5', - iconWeakDisabled: '#790d34', - iconWeakHover: '#ff72a5', - textWeak: '#ff72a5', - textWeakDisabled: '#790d34', - textWeakHover: '#ffc0d7', - }, - info: { - backgroundWeak: '#151a2d', - backgroundWeakDisabled: '#00243f', - backgroundWeakHover: '#003359', - borderWeak: '#34a8ff', - borderWeakDisabled: '#003f6e', - borderWeakHover: '#6fc2ff', - iconWeak: '#34a8ff', - iconWeakDisabled: '#003f6e', - iconWeakHover: '#6fc2ff', - textWeak: '#34a8ff', - textWeakDisabled: '#003f6e', - textWeakHover: '#6fc2ff', - }, - primary: { - backgroundWeak: '#151a2d', - backgroundWeakDisabled: '#251b47', - backgroundWeakHover: '#3d206f', - borderWeak: '#b07af8', - borderWeakDisabled: '#4f1c89', - borderWeakHover: '#bf96f8', - iconWeak: '#b07af8', - iconWeakDisabled: '#4f1c89', - iconWeakHover: '#bf96f8', - textWeak: '#b07af8', - textWeakDisabled: '#4f1c89', - textWeakHover: '#bf96f8', - }, - secondary: { - backgroundWeak: '#151a2d', - backgroundWeakDisabled: '#370b4b', - backgroundWeakHover: '#50106b', - borderWeak: '#d77bff', - borderWeakDisabled: '#611383', - borderWeakHover: '#e2a1ff', - iconWeak: '#d77bff', - iconWeakDisabled: '#611383', - iconWeakHover: '#e2a1ff', - textWeak: '#d77bff', - textWeakDisabled: '#611383', - textWeakHover: '#e2a1ff', - }, - success: { - backgroundWeak: '#151a2d', - backgroundWeakDisabled: '#0d261d', - backgroundWeakHover: '#12382a', - borderWeak: '#3cb589', - borderWeakDisabled: '#174535', - borderWeakHover: '#44d09e', - iconWeak: '#3cb589', - iconWeakDisabled: '#174535', - iconWeakHover: '#44d09e', - textWeak: '#3cb589', - textWeakDisabled: '#174535', - textWeakHover: '#44d09e', - }, - warning: { - backgroundWeak: '#151a2d', - backgroundWeakDisabled: '#553600', - backgroundWeakHover: '#472c00', - borderWeak: '#d39700', - borderWeakDisabled: '#472c00', - borderWeakHover: '#ebb000', - iconWeak: '#d39700', - iconWeakDisabled: '#553600', - iconWeakHover: '#d39700', - textWeak: '#d39700', - textWeakDisabled: '#553600', - textWeakHover: '#ebb000', - }, - other: { - gradients: { - background: { - gold: 'linear-gradient(180deg, #fbc600 0%, #521094 88.87%)', - purple: 'linear-gradient(180deg, #c43bff 0%, #521094 88.87%)', - strong: 'linear-gradient(180deg, #521094 0%, #151a2d 100%)', - accent: - 'linear-gradient(151deg, #ff602e 0%, #3d1862 28.91%, #151a2d 75.01%);', - aqua: 'linear-gradient(151deg, #03cfda 0%, #3d1862 28.91%, #151a2d 75.01%);', - blue: 'linear-gradient(151deg, #47b0ff 0%, #3d1862 28.91%, #151a2d 75.01%);', - emerald: - 'linear-gradient(151deg, #45d19f 0%, #3d1862 28.91%, #151a2d 75.01%);', - fuschia: - 'linear-gradient(151deg, #f91b6c 0%, #3d1862 28.91%, #151a2d 75.01%);', - magenta: - 'linear-gradient(151deg, #ec0bc3 0%, #3d1862 28.91%, #151a2d 75.01%);', - primary: - 'linear-gradient(151deg, #792dd4 0%, #3d1862 28.91%, #151a2d 75.01%);', - }, - }, - }, - }, - typography: { - body: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodySmall: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodySmallStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodySmallStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodyStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodyStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - caption: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionSmall: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionSmallStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionSmallStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - heading: { - fontFamily: 'Space Grotesk, Inter, Asap, sans-serif', - }, - headingLarge: { - fontFamily: 'Space Grotesk, Inter, Asap, sans-serif', - }, - headingSmall: { - fontFamily: 'Space Grotesk, Inter, Asap, sans-serif', - }, - }, -} diff --git a/packages/themes/src/themes/console/deprecated/darker.ts b/packages/themes/src/themes/console/deprecated/darker.ts deleted file mode 100644 index f022cb9329..0000000000 --- a/packages/themes/src/themes/console/deprecated/darker.ts +++ /dev/null @@ -1,166 +0,0 @@ -/** - * @deprecated Those are old tokens usages and will be removed in the next major version. - */ -export const deprecatedDarkerTokens = { - screens: { - xsmall: 0, - small: 576, - medium: 768, - large: 992, - xlarge: 1200, - }, - colors: { - danger: { - backgroundWeak: '#000000', - backgroundWeakDisabled: '#20040e', - backgroundWeakHover: '#49081f', - borderWeak: '#ff4e8e', - borderWeakDisabled: '#610b2a', - borderWeakHover: '#ff7ead', - iconWeak: '#ff4e8e', - iconWeakDisabled: '#610b2a', - iconWeakHover: '#ff7ead', - textWeak: '#ff4e8e', - textWeakDisabled: '#49081f', - textWeakHover: '#ff7ead', - }, - info: { - backgroundWeak: '#000000', - backgroundWeakDisabled: '#000e19', - backgroundWeakHover: '#002541', - borderWeak: '#0695ff', - borderWeakDisabled: '#003257', - borderWeakHover: '#45afff', - iconWeak: '#0695ff', - iconWeakDisabled: '#003257', - iconWeakHover: '#45afff', - textWeak: '#0695ff', - textWeakDisabled: '#003257', - textWeakHover: '#45afff', - }, - primary: { - backgroundWeak: '#000000', - backgroundWeakDisabled: '#110b1e', - backgroundWeakHover: '#2c184e', - borderWeak: '#b07af8', - borderWeakDisabled: '#3f1b6b', - borderWeakHover: '#bf95fd', - iconWeak: '#b07af8', - iconWeakDisabled: '#3f1b6b', - iconWeakHover: '#bf95fd', - textWeak: '#b07af8', - textWeakDisabled: '#3f1b6b', - textWeakHover: '#bf95fd', - }, - secondary: { - backgroundWeak: '#000000', - backgroundWeakDisabled: '#180521', - backgroundWeakHover: '#390b4d', - borderWeak: '#c02eff', - borderWeakDisabled: '#4d0f68', - borderWeakHover: '#cf5fff', - iconWeak: '#c02eff', - iconWeakDisabled: '#4d0f68', - iconWeakHover: '#cf5fff', - textWeak: '#c02eff', - textWeakDisabled: '#4d0f68', - textWeakHover: '#cf5fff', - }, - success: { - backgroundWeak: '#000000', - backgroundWeakDisabled: '#050f0b', - backgroundWeakHover: '#0d281e', - borderWeak: '#36a37c', - borderWeakDisabled: '#123629', - borderWeakHover: '#3ebd8f', - iconWeak: '#36a37c', - iconWeakDisabled: '#123629', - iconWeakHover: '#3ebd8f', - textWeak: '#36a37c', - textWeakDisabled: '#123629', - textWeakHover: '#3ebd8f', - }, - warning: { - backgroundWeak: '#000000', - backgroundWeakDisabled: '#341f00', - backgroundWeakHover: '#341f00', - borderWeak: '#be8900', - borderWeakDisabled: '#553600', - borderWeakHover: '#d89d00', - iconWeak: '#be8900', - iconWeakDisabled: '#553600', - iconWeakHover: '#d89d00', - textWeak: '#be8900', - textWeakDisabled: '#553600', - textWeakHover: '#d89d00', - }, - other: { - gradients: { - background: { - gold: 'linear-gradient(180deg, #fbc600 0%, #521094 88.87%)', - purple: 'linear-gradient(180deg, #c43bff 0%, #521094 88.87%)', - strong: 'linear-gradient(180deg, #521094 0%, #151a2d 100%)', - accent: - 'linear-gradient(151deg, #ff602e 0%, #3d1862 28.91%, #151a2d 75.01%);', - aqua: 'linear-gradient(151deg, #03cfda 0%, #3d1862 28.91%, #151a2d 75.01%);', - blue: 'linear-gradient(151deg, #47b0ff 0%, #3d1862 28.91%, #151a2d 75.01%);', - emerald: - 'linear-gradient(151deg, #45d19f 0%, #3d1862 28.91%, #151a2d 75.01%);', - fuschia: - 'linear-gradient(151deg, #f91b6c 0%, #3d1862 28.91%, #151a2d 75.01%);', - magenta: - 'linear-gradient(151deg, #ec0bc3 0%, #3d1862 28.91%, #151a2d 75.01%);', - primary: - 'linear-gradient(151deg, #792dd4 0%, #3d1862 28.91%, #151a2d 75.01%);', - }, - }, - }, - }, - typography: { - body: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodySmall: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodySmallStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodySmallStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodyStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodyStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - caption: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionSmall: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionSmallStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionSmallStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - heading: { - fontFamily: 'Space Grotesk, Inter, Asap, sans-serif', - }, - headingLarge: { - fontFamily: 'Space Grotesk, Inter, Asap, sans-serif', - }, - headingSmall: { - fontFamily: 'Space Grotesk, Inter, Asap, sans-serif', - }, - }, -} diff --git a/packages/themes/src/themes/console/deprecated/light.ts b/packages/themes/src/themes/console/deprecated/light.ts deleted file mode 100644 index 3ae15263b1..0000000000 --- a/packages/themes/src/themes/console/deprecated/light.ts +++ /dev/null @@ -1,166 +0,0 @@ -/** - * @deprecated Those are old tokens usages and will be removed in the next major version. - */ -export const deprecatedLightTokens = { - screens: { - xsmall: 0, - small: 576, - medium: 768, - large: 992, - xlarge: 1200, - }, - colors: { - danger: { - backgroundWeak: '#ffffff', - backgroundWeakDisabled: '#fff3f7', - backgroundWeakHover: '#ffd3e3', - borderWeak: '#b3144d', - borderWeakDisabled: '#ffbbd3', - borderWeakHover: '#92103f', - iconWeak: '#b3144d', - iconWeakDisabled: '#ffbbd3', - iconWeakHover: '#92103f', - textWeak: '#b3144d', - textWeakDisabled: '#ffd3e3', - textWeakHover: '#92103f', - }, - info: { - backgroundWeak: '#ffffff', - backgroundWeakDisabled: '#ecf7ff', - backgroundWeakHover: '#e0f2ff', - borderWeak: '#005da3', - borderWeakDisabled: '#9ad4ff', - borderWeakHover: '#004c85', - iconWeak: '#005da3', - iconWeakDisabled: '#9ad4ff', - iconWeakHover: '#004c85', - textWeak: '#005da3', - textWeakDisabled: '#9ad4ff', - textWeakHover: '#004c85', - }, - primary: { - backgroundWeak: '#ffffff', - backgroundWeakDisabled: '#f6f5fd', - backgroundWeakHover: '#e5dbfd', - borderWeak: '#521094', - borderWeakDisabled: '#d8c5fc', - borderWeakHover: '#3b1a61', - iconWeak: '#521094', - iconWeakDisabled: '#d8c5fc', - iconWeakHover: '#3b1a61', - textWeak: '#521094', - textWeakDisabled: '#d8c5fc', - textWeakHover: '#3b1a61', - }, - secondary: { - backgroundWeak: '#ffffff', - backgroundWeakDisabled: '#fbf3ff', - backgroundWeakHover: '#f2d5ff', - borderWeak: '#ac22e7', - borderWeakDisabled: '#ebbcff', - borderWeakHover: '#8f1cc2', - iconWeak: '#ac22e7', - iconWeakDisabled: '#ebbcff', - iconWeakHover: '#8f1cc2', - textWeak: '#ac22e7', - textWeakDisabled: '#ebbcff', - textWeakHover: '#8f1cc2', - }, - success: { - backgroundWeak: '#ffffff', - backgroundWeakDisabled: '#eafaf4', - backgroundWeakHover: '#adebd5', - borderWeak: '#22674e', - borderWeakDisabled: '#7ee0bc', - borderWeakHover: '#1b533f', - iconWeak: '#22674e', - iconWeakDisabled: '#7ee0bc', - iconWeakHover: '#1b533f', - textWeak: '#22674e', - textWeakDisabled: '#7ee0bc', - textWeakHover: '#1b533f', - }, - warning: { - backgroundWeak: '#ffffff', - backgroundWeakDisabled: '#fff5d0', - backgroundWeakHover: '#ffeccc', - borderWeak: '#7c5400', - borderWeakDisabled: '#ffdd5f', - borderWeakHover: '#664300', - iconWeak: '#7c5400', - iconWeakDisabled: '#ffdd5f', - iconWeakHover: '#664300', - textWeak: '#7c5400', - textWeakDisabled: '#ffdd5f', - textWeakHover: '#664300', - }, - other: { - gradients: { - background: { - gold: 'linear-gradient(180deg, #fbc600 0%, #521094 88.87%)', - purple: 'linear-gradient(180deg, #c43bff 0%, #521094 88.87%)', - strong: 'linear-gradient(180deg, #521094 0%, #151a2d 100%)', - accent: - 'linear-gradient(151deg, #ff602e 0%, #3d1862 28.91%, #151a2d 75.01%);', - aqua: 'linear-gradient(151deg, #03cfda 0%, #3d1862 28.91%, #151a2d 75.01%);', - blue: 'linear-gradient(151deg, #47b0ff 0%, #3d1862 28.91%, #151a2d 75.01%);', - emerald: - 'linear-gradient(151deg, #45d19f 0%, #3d1862 28.91%, #151a2d 75.01%);', - fuschia: - 'linear-gradient(151deg, #f91b6c 0%, #3d1862 28.91%, #151a2d 75.01%);', - magenta: - 'linear-gradient(151deg, #ec0bc3 0%, #3d1862 28.91%, #151a2d 75.01%);', - primary: - 'linear-gradient(151deg, #792dd4 0%, #3d1862 28.91%, #151a2d 75.01%);', - }, - }, - }, - }, - typography: { - body: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodySmall: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodySmallStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodySmallStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodyStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - bodyStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - caption: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionSmall: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionSmallStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionSmallStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionStrong: { - fontFamily: 'Inter, Asap, sans-serif', - }, - captionStronger: { - fontFamily: 'Inter, Asap, sans-serif', - }, - heading: { - fontFamily: 'Space Grotesk, Inter, Asap, sans-serif', - }, - headingLarge: { - fontFamily: 'Space Grotesk, Inter, Asap, sans-serif', - }, - headingSmall: { - fontFamily: 'Space Grotesk, Inter, Asap, sans-serif', - }, - }, -} diff --git a/packages/themes/src/themes/console/light/index.ts b/packages/themes/src/themes/console/light/index.ts deleted file mode 100644 index 0e037f4e35..0000000000 --- a/packages/themes/src/themes/console/light/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import deepmerge from 'deepmerge' -import { deprecatedLightTokens } from '../deprecated/light' -import { lightTheme } from './__generated__' - -export const consoleLightTheme: typeof lightTheme & - typeof deprecatedLightTokens = deepmerge(lightTheme, deprecatedLightTokens) diff --git a/packages/themes/src/themes/index.ts b/packages/themes/src/themes/index.ts index fb9fb210eb..845f343c1e 100644 --- a/packages/themes/src/themes/index.ts +++ b/packages/themes/src/themes/index.ts @@ -1,3 +1,3 @@ -export { consoleLightTheme } from './console/light' -export { consoleDarkTheme } from './console/dark' -export { consoleDarkerTheme } from './console/darker' +export { lightTheme as consoleLightTheme } from './console/light/__generated__' +export { darkTheme as consoleDarkTheme } from './console/dark/__generated__' +export { darkerTheme as consoleDarkerTheme } from './console/darker/__generated__' diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index eec61145aa..ee6ef84ef4 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,472 @@ # Change Log +## 2.0.0-beta.19 + +### Major Changes + +- [#5366](https://github.com/scaleway/ultraviolet/pull/5366) [`f791286`](https://github.com/scaleway/ultraviolet/commit/f791286dc4e5dad0f4cbf14c53801d7890e0ee63) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ Breaking changes: + + `SCWUITheme` no longer exists, use `UltravioletUITheme`. The type is the same. + +### Patch Changes + +- [#5324](https://github.com/scaleway/ultraviolet/pull/5324) [`2169048`](https://github.com/scaleway/ultraviolet/commit/2169048055c37b870c57f2a56ee8a628b36af6c6) Thanks [@lisalupi](https://github.com/lisalupi)! - `DateInput`: value changes onBlur instead of onChange to avoid wrong dates while the user is typing + +## 2.0.0-beta.18 + +### Patch Changes + +- [#5335](https://github.com/scaleway/ultraviolet/pull/5335) [`ec7c55a`](https://github.com/scaleway/ultraviolet/commit/ec7c55a7bdad9e5f49a2b8aaf2aca2e228bb725e) Thanks [@lisalupi](https://github.com/lisalupi)! - `SwitchButton`: update size when children changes + +- [#5353](https://github.com/scaleway/ultraviolet/pull/5353) [`706bfaa`](https://github.com/scaleway/ultraviolet/commit/706bfaabf558ab751c7dbcd1c3bf5e84dde8f529) Thanks [@lisalupi](https://github.com/lisalupi)! - `TextArea`: height should adapt even without prop value + +- [#5351](https://github.com/scaleway/ultraviolet/pull/5351) [`ea55dea`](https://github.com/scaleway/ultraviolet/commit/ea55dea228d3e634f13e1de358d2738de210e7b2) Thanks [@lisalupi](https://github.com/lisalupi)! - `UnitInput`: new prop "templateColumns" to chose sizes of the input and the select input more precisely + +- [#5255](https://github.com/scaleway/ultraviolet/pull/5255) [`2ddbbf9`](https://github.com/scaleway/ultraviolet/commit/2ddbbf9a785f40cb79a06b6ba1bfb89e5a22cf6b) Thanks [@lisalupi](https://github.com/lisalupi)! - ``: focus on disclosure when closing menu and can use arrow keys to navigate in menu : + + - Arrow Up/Down: browse the items + - Arrow Right: open nested menu and focus on the first item + - Arrow Left : close nested menu + +- [#5365](https://github.com/scaleway/ultraviolet/pull/5365) [`996f5b9`](https://github.com/scaleway/ultraviolet/commit/996f5b98db88ca0ca7c7eac08535697ff36f7365) Thanks [@matthprost](https://github.com/matthprost)! - Fix add missing `tooltip` prop on `CheckboxGroup.Checkbox` + +- Updated dependencies [[`f921df0`](https://github.com/scaleway/ultraviolet/commit/f921df0aea3ea46e014311f6008b3d44f95e16cf)]: + - @ultraviolet/icons@4.0.0-beta.9 + +## 2.0.0-beta.17 + +### Major Changes + +- [`d25d9d8`](https://github.com/scaleway/ultraviolet/commit/d25d9d8c71ffdc922f033daaf4ec6252f8382992) Thanks [@lisalupi](https://github.com/lisalupi)! - **BREAKING CHANGES** + + Deprecated props removed: + + - `TagInput`: + + - props "manualInput" and "onChangeError" removed: the props used to have no effect + - prop "variant" removed: only one variant possible now + - prop "tags" removed -> use "value" instead + + - `Toaster`: variant "info" removed + +- [#5335](https://github.com/scaleway/ultraviolet/pull/5335) [`40e189c`](https://github.com/scaleway/ultraviolet/commit/40e189cb6af270ea830b9d7faeee20d15817425a) Thanks [@lisalupi](https://github.com/lisalupi)! - **BREAKING CHANGES** + + Deprecated props removed: + + - `CodeEditor`: prop "title" removed -> use "label" instead + - `Icon`: prop "color" removed -> use "sentiment" instead + - `Icon`: prop "size" can only be "xsmall", "small", "medium", "large", "xlarge" or "xxlarge" + - `Bullet`: prop "text" removed -> use "children" instead + +### Minor Changes + +- [#5335](https://github.com/scaleway/ultraviolet/pull/5335) [`f95c6d2`](https://github.com/scaleway/ultraviolet/commit/f95c6d2b5e1e4402822dc6c1362ca280d513e1dd) Thanks [@lisalupi](https://github.com/lisalupi)! - Implement responsive capacities on component `` and `` + +### Patch Changes + +- [#5325](https://github.com/scaleway/ultraviolet/pull/5325) [`faaccb7`](https://github.com/scaleway/ultraviolet/commit/faaccb764e48cc9d517c0da1212a9ba77eec3d7a) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@babel/core` to `7.27.7`. + +- [#5315](https://github.com/scaleway/ultraviolet/pull/5315) [`029f2bc`](https://github.com/scaleway/ultraviolet/commit/029f2bcc6fb11d24ea2c46cd0a3f5546cffa30fb) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@emotion/styled` to `11.14.1`. + +- [#5317](https://github.com/scaleway/ultraviolet/pull/5317) [`c453a01`](https://github.com/scaleway/ultraviolet/commit/c453a01967a64eeec644a2193b145572b6ed1569) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@scaleway/use-media` to `3.0.4`. + +- Updated dependencies [[`faaccb7`](https://github.com/scaleway/ultraviolet/commit/faaccb764e48cc9d517c0da1212a9ba77eec3d7a), [`029f2bc`](https://github.com/scaleway/ultraviolet/commit/029f2bcc6fb11d24ea2c46cd0a3f5546cffa30fb), [`f95c6d2`](https://github.com/scaleway/ultraviolet/commit/f95c6d2b5e1e4402822dc6c1362ca280d513e1dd), [`40e189c`](https://github.com/scaleway/ultraviolet/commit/40e189cb6af270ea830b9d7faeee20d15817425a)]: + - @ultraviolet/icons@4.0.0-beta.8 + - @ultraviolet/themes@2.0.0-beta.3 + +## 2.0.0-beta.16 + +### Major Changes + +- [#5311](https://github.com/scaleway/ultraviolet/pull/5311) [`b8fa3f6`](https://github.com/scaleway/ultraviolet/commit/b8fa3f6542b0b99bd2887b07ac4db0487e9371a1) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ Breaking changes: + + `ThemeRegistry` is no longer available in this package. You can import it by adding `@ultraviolet/nextjs` package to your project. The component is the same only the import changes. + +## 2.0.0-beta.15 + +### Major Changes + +- [#5308](https://github.com/scaleway/ultraviolet/pull/5308) [`288eec8`](https://github.com/scaleway/ultraviolet/commit/288eec8554bec97892574f598cf6193331e1fb7a) Thanks [@lisalupi](https://github.com/lisalupi)! - **BREAKING CHANGES** + + Deprecated props removed: + + - `Link`: prop "sentiment" can only by "primary" or "info" (default value) now + - `List.Cell`: prop "preventClick" removed (it is now default behavior) + - `Menu`: prop "size" and "maxWidth" removed, the size is now automatic + +- [#5310](https://github.com/scaleway/ultraviolet/pull/5310) [`7ce2d34`](https://github.com/scaleway/ultraviolet/commit/7ce2d34977de7731e873106d5ccdc3dcbca7b92b) Thanks [@lisalupi](https://github.com/lisalupi)! - **BREAKING CHANGES** + + Deprecated props removed: + + - `Modal`: + - prop "customDialogBackdropStyles" removed -> use "backdropClassName" instead to style the backdrop + - prop "customDialogStyles" removed -> use "customDialogStyles" instead to style the dialog + - prop "width" removed -> use "size" instead (same possible values) + - prop "opened" removed -> use "open" instead + - prop "onOpen" removed -> use "show" instead (ModalState) + - prop "onClose" removed -> use "close" instead (ModalState) + - prop "hide" removed -> use "close" instead (ModalState) + - `RadioGroup.Radio`: prop "name" removed, it is automatically passed from the parent `RadioGroup` + - `Separator`: prop "color" removed -> use "sentiment" instead + - `Text`: prop "color" removed -> use "sentiment" instead + +### Patch Changes + +- Updated dependencies [[`35780ff`](https://github.com/scaleway/ultraviolet/commit/35780fffd11eb7218dfd7d7134f1376758c871ed)]: + - @ultraviolet/icons@4.0.0-beta.7 + +## 2.0.0-beta.14 + +### Major Changes + +- [#5306](https://github.com/scaleway/ultraviolet/pull/5306) [`80e0af3`](https://github.com/scaleway/ultraviolet/commit/80e0af3b006b51bf83e49581d84eab9eb94bc4c7) Thanks [@lisalupi](https://github.com/lisalupi)! - **BREAKING CHANGES** + + Deprecated props removed: + + - `Card`: prop "isActive" removed -> use "active" instead + - `Checkbox`: props "progress" and "size" removed + - `CopyButton`: prop "noBorder" removed -> use "bordered" instead + +### Minor Changes + +- [#5271](https://github.com/scaleway/ultraviolet/pull/5271) [`a3f9b52`](https://github.com/scaleway/ultraviolet/commit/a3f9b520dce181d481e8230b271cda7e0b730e86) Thanks [@fabienhebert](https://github.com/fabienhebert)! - `SelectInput`: add a `onOpen` prop + +### Patch Changes + +- [#5323](https://github.com/scaleway/ultraviolet/pull/5323) [`fe3e1c1`](https://github.com/scaleway/ultraviolet/commit/fe3e1c1aae01dd0af0f6b9f10a5d9dbcb591cc29) Thanks [@matthprost](https://github.com/matthprost)! - Add `aria-current` to `` component + +- [#5313](https://github.com/scaleway/ultraviolet/pull/5313) [`a8108ff`](https://github.com/scaleway/ultraviolet/commit/a8108ff2c2fad133172d30db5aa3dcb0e9e42e17) Thanks [@matthprost](https://github.com/matthprost)! - Add `disabled` on `` + +## 2.0.0-beta.13 + +### Major Changes + +- [#5285](https://github.com/scaleway/ultraviolet/pull/5285) [`b3873c7`](https://github.com/scaleway/ultraviolet/commit/b3873c7a0f9e77ed9b075735e0e444c1d33d21b3) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ Breaking changes: + + - Removal of `` component => replaced by `` + - Dialog no long experimental + +### Minor Changes + +- [#5284](https://github.com/scaleway/ultraviolet/pull/5284) [`dac6d07`](https://github.com/scaleway/ultraviolet/commit/dac6d07a5823b6ae12b98ee9c656fab7105ccfe7) Thanks [@fabienhebert](https://github.com/fabienhebert)! - `Drawer`: new prop `noPadding` which allow to have a non padded content + +### Patch Changes + +- [#5288](https://github.com/scaleway/ultraviolet/pull/5288) [`bcb7243`](https://github.com/scaleway/ultraviolet/commit/bcb7243c8d2c6112bcc1353d052ba230323c3f34) Thanks [@matthprost](https://github.com/matthprost)! - Fix `` to display footer when there are values and hide on empty state + +- [#5312](https://github.com/scaleway/ultraviolet/pull/5312) [`99eb24a`](https://github.com/scaleway/ultraviolet/commit/99eb24a498e1ac2c270272fa771f0eaa1b2d4fea) Thanks [@lisalupi](https://github.com/lisalupi)! - `Modal`: disclosure onClick should work even when it changes + +- [#5289](https://github.com/scaleway/ultraviolet/pull/5289) [`e3570d8`](https://github.com/scaleway/ultraviolet/commit/e3570d88c8f66e89c532f545c727eccd06d5664c) Thanks [@lisalupi](https://github.com/lisalupi)! - Allow DND kit to work with `List` and `Button` : + + - `List.Row` now supports "style" and "data-dragging" props ; + - For Security group we don't display header but the List component add to much spaces ; + - List.Row do not allow data-dragging prop + - `Button` can have props "aria-describedby", "aria-disabled", "aria-pressed", "aria-roledescription", "onPointerDown" and "onKeyDown" to work with DND kit + +- [#5294](https://github.com/scaleway/ultraviolet/pull/5294) [`fac72c0`](https://github.com/scaleway/ultraviolet/commit/fac72c03508fe71cb020837975b14e5dabccbfe2) Thanks [@lisalupi](https://github.com/lisalupi)! - `Expandable`: no animation on first render + +## 2.0.0-beta.12 + +### Patch Changes + +- [#5290](https://github.com/scaleway/ultraviolet/pull/5290) [`52e9bf4`](https://github.com/scaleway/ultraviolet/commit/52e9bf49d5c17e0e64bf88eaf12e5815eb304e94) Thanks [@lisalupi](https://github.com/lisalupi)! - `List` and `Table`: fix info icon style + +- [#5304](https://github.com/scaleway/ultraviolet/pull/5304) [`a0398de`](https://github.com/scaleway/ultraviolet/commit/a0398debe9d06372fb8888755673fec10ee93f34) Thanks [@lisalupi](https://github.com/lisalupi)! - `UnitInput`: fix id of input + +- Updated dependencies [[`a2ac9c4`](https://github.com/scaleway/ultraviolet/commit/a2ac9c492f673c5395dabfd6d97fd3051e58d6ec)]: + - @ultraviolet/icons@4.0.0-beta.6 + +## 2.0.0-beta.11 + +### Patch Changes + +- [#5281](https://github.com/scaleway/ultraviolet/pull/5281) [`5870ea6`](https://github.com/scaleway/ultraviolet/commit/5870ea62864ba881ffc888a924bcf731387636ba) Thanks [@scaleway-bot](https://github.com/scaleway-bot)! - `StepList`: fix width + +- [#5281](https://github.com/scaleway/ultraviolet/pull/5281) [`b03ed1b`](https://github.com/scaleway/ultraviolet/commit/b03ed1b50e7807eb72f8ae392bcd34f42772ca02) Thanks [@scaleway-bot](https://github.com/scaleway-bot)! - Fix border on `` component in Safari + +- [#5281](https://github.com/scaleway/ultraviolet/pull/5281) [`1275792`](https://github.com/scaleway/ultraviolet/commit/12757925af5c4fd08b857f165027b1cd6dee8b08) Thanks [@scaleway-bot](https://github.com/scaleway-bot)! - `: nested menus +``: new position "nested-menu", that is right by default and left when there is no available space on the right of the element + +- [#5281](https://github.com/scaleway/ultraviolet/pull/5281) [`f41150e`](https://github.com/scaleway/ultraviolet/commit/f41150ebb2d97a95c074080f3db8fcd91c2b5d93) Thanks [@scaleway-bot](https://github.com/scaleway-bot)! - `Modal`: returns focus to disclosure element when closing the modal + +- [#5277](https://github.com/scaleway/ultraviolet/pull/5277) [`40d4066`](https://github.com/scaleway/ultraviolet/commit/40d40662d7305712b0ca23d08759b37590a677a0) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `next` to `15.3.4`. + Updated dependency `eslint-config-next` to `15.3.4`. + +- [#5287](https://github.com/scaleway/ultraviolet/pull/5287) [`80d5c50`](https://github.com/scaleway/ultraviolet/commit/80d5c50e294efdc5fe714a55ef985ff142c07b6e) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@scaleway/random-name` to `5.1.2`. + +## 2.0.0-beta.10 + +### Major Changes + +- [#5228](https://github.com/scaleway/ultraviolet/pull/5228) [`0040779`](https://github.com/scaleway/ultraviolet/commit/00407792bf0cd64eee0c02db107f3c43d42fa1a4) Thanks [@matthprost](https://github.com/matthprost)! - ⚠️ BREAKING CHANGES + + We removed all old components and renamed the V2 components to remove that suffix. Thus, the followng components have changed: + + TextInputV2 -> TextInput [Migration Documentation](https://storybook.ultraviolet.scaleway.com/?path=/docs/migrations-textinput-to-textinputv2--docs) + SelectInputV2 -> SelectInput [Migration Documentation](https://storybook.ultraviolet.scaleway.com/?path=/docs/migrations-selectinput-to-selectinputv2--docs) + AvatarV2 -> Avatar [Migration Documentation](https://storybook.ultraviolet.scaleway.com/?path=/docs/migrations-avatar-to-avatarv2--docs) + MenuV2 -> Menu [Migration Documentation](https://storybook.ultraviolet.scaleway.com/?path=/docs/migrations-menu-to-menuv2--docs) + DateInputV2 -> DateInput + TimeInputV2 -> TimeInput + NumberInputV2 -> NumberInput + +## 2.0.0-beta.9 + +### Minor Changes + +- [`0608206`](https://github.com/scaleway/ultraviolet/commit/0608206affcae3630ef6d373ca260c43f30fd036) Thanks [@lisalupi](https://github.com/lisalupi)! - **Breaking changes** + `SwitchButton`: New version of the component: + - props `leftButton` and `rightButton` removed + - Use `SwitchButton.Option` to add buttons/options + - More than 2 options possible now ! + - New sizes + - New prop `sentiment` + +### Patch Changes + +- [`b4279e4`](https://github.com/scaleway/ultraviolet/commit/b4279e441718dfc00ecfe271c9744d51f2dcacf9) Thanks [@matthprost](https://github.com/matthprost)! - Improve search system on `` + +- [`0cf10d4`](https://github.com/scaleway/ultraviolet/commit/0cf10d4b48b8a09992b0e8b92552b2d26357b173) Thanks [@lisalupi](https://github.com/lisalupi)! - `: hide footer when empty state + +- [`edc91f5`](https://github.com/scaleway/ultraviolet/commit/edc91f508667d221d616616f782a79579a516156) Thanks [@matthprost](https://github.com/matthprost)! - Fix stepper small size with label on right + +## 2.0.0-beta.8 + +### Patch Changes + +- Updated dependencies [[`f8df4dd`](https://github.com/scaleway/ultraviolet/commit/f8df4ddce45073537a4ae9a334030d472b9f0d96)]: + - @ultraviolet/icons@4.0.0-beta.5 + +## 2.0.0-beta.7 + +### Patch Changes + +- [`cfe5bbe`](https://github.com/scaleway/ultraviolet/commit/cfe5bbed94318b75a6643cd8fb11b761f7aa3e48) Thanks [@lisalupi](https://github.com/lisalupi)! - ``: improve overflow + +- [`08e0353`](https://github.com/scaleway/ultraviolet/commit/08e03530fcd28a1c478fda9ddca41a63d5124581) Thanks [@lisalupi](https://github.com/lisalupi)! - ``: improve search + +- Updated dependencies [[`15fd34a`](https://github.com/scaleway/ultraviolet/commit/15fd34ad677dfaf551a4e6884ca9ecee18280654)]: + - @ultraviolet/icons@4.0.0-beta.4 + +## 2.0.0-beta.6 + +### Patch Changes + +- [`5d0a970`](https://github.com/scaleway/ultraviolet/commit/5d0a9702142eb4de78f4511e38004b60e2264634) Thanks [@lisalupi](https://github.com/lisalupi)! - ``: size "large" by default instead of "medium" and fix width of AM/PM input when large. + +## 2.0.0-beta.5 + +### Patch Changes + +- [`bb47261`](https://github.com/scaleway/ultraviolet/commit/bb472611b711cb3988c186d6d384c29f3c9037e2) Thanks [@lisalupi](https://github.com/lisalupi)! - ``: copiable now works + +- [#5206](https://github.com/scaleway/ultraviolet/pull/5206) [`be22eef`](https://github.com/scaleway/ultraviolet/commit/be22eef5335a4a6b96378547b70053a086476107) Thanks [@JulienSaguez](https://github.com/JulienSaguez)! - : sentiment white for text in background primary + +- [`cc10503`](https://github.com/scaleway/ultraviolet/commit/cc1050379db613d13c921a3af172128aa4cf225b) Thanks [@lisalupi](https://github.com/lisalupi)! - Fix visited state of link to match promience + +- [`53fcf41`](https://github.com/scaleway/ultraviolet/commit/53fcf415f169f61b4593f72fdacd7de3ebbd9387) Thanks [@lisalupi](https://github.com/lisalupi)! - ``: **breaking changes** + + - align size on system icons : now size can only be "xsmall" (0.75rem/12px), "small" (1rem/16px), "medium" (1.25rem/20px), "large" (1.5rem/24px), "xlarge" (2rem/32px), or "_xxlarge_" (3.5rem/56px). By default, `size = "xlarge"` to match the old size. + - remove prop `color`, use `sentiment` instead. By default, `sentiment = primary`. + - remove props `trailColor`, `text`and `strokeWidth`. + +- [`6752ec1`](https://github.com/scaleway/ultraviolet/commit/6752ec1b60483e1f882bb6448a82dce62a03a0a7) Thanks [@lisalupi](https://github.com/lisalupi)! - ``: reduce space between link and icon + +- [`c5b82c2`](https://github.com/scaleway/ultraviolet/commit/c5b82c2674ba8189ee4432178b358f1a4ee05b02) Thanks [@lisalupi](https://github.com/lisalupi)! - ``: drag & drop + +- Updated dependencies [[`6b0565d`](https://github.com/scaleway/ultraviolet/commit/6b0565d2991db0510067d91b2140274dcde2ea21)]: + - @ultraviolet/themes@2.0.0-beta.2 + - @ultraviolet/icons@4.0.0-beta.3 + +## 2.0.0-beta.4 + +### Patch Changes + +- [#5190](https://github.com/scaleway/ultraviolet/pull/5190) [`b1c9952`](https://github.com/scaleway/ultraviolet/commit/b1c99521313cf8c2a2b3f58090a577084060ed56) Thanks [@matthprost](https://github.com/matthprost)! - Fix `` within `

should work with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -38,15 +38,15 @@ exports[`FAQ > should work with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-5 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -57,7 +57,7 @@ exports[`FAQ > should work with default props 1`] = ` .emotion-7 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -122,10 +122,10 @@ exports[`FAQ > should work with illustrationTest 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -134,10 +134,10 @@ exports[`FAQ > should work with illustrationTest 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-5 { @@ -164,7 +164,7 @@ exports[`FAQ > should work with illustrationTest 1`] = ` .emotion-7 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -175,7 +175,7 @@ exports[`FAQ > should work with illustrationTest 1`] = ` .emotion-9 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -246,10 +246,10 @@ exports[`FAQ > should work with notes 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -258,15 +258,15 @@ exports[`FAQ > should work with notes 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-5 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -277,7 +277,7 @@ exports[`FAQ > should work with notes 1`] = ` .emotion-7 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -288,7 +288,7 @@ exports[`FAQ > should work with notes 1`] = ` .emotion-9 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -359,10 +359,10 @@ exports[`FAQ > should work with productIconName 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -371,10 +371,10 @@ exports[`FAQ > should work with productIconName 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-5 { @@ -403,7 +403,7 @@ exports[`FAQ > should work with productIconName 1`] = ` .emotion-7 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -414,7 +414,7 @@ exports[`FAQ > should work with productIconName 1`] = ` .emotion-9 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -440,47 +440,64 @@ exports[`FAQ > should work with productIconName 1`] = ` viewBox="0 0 64 64" > - - - + + + + + + + + + + +
diff --git a/packages/plus/src/components/FAQ/index.tsx b/packages/plus/src/components/FAQ/index.tsx index a7c51f49be..809ae5536e 100644 --- a/packages/plus/src/components/FAQ/index.tsx +++ b/packages/plus/src/components/FAQ/index.tsx @@ -41,7 +41,7 @@ export const FAQ = ({
{!productIconName && illustrationText ? ( - + {illustrationText.toString()} ) : null} {ProductIconUsed ? : null}
diff --git a/packages/plus/src/components/InfoTable/InfoTable.tsx b/packages/plus/src/components/InfoTable/InfoTable.tsx new file mode 100644 index 0000000000..8e7dd5a364 --- /dev/null +++ b/packages/plus/src/components/InfoTable/InfoTable.tsx @@ -0,0 +1,38 @@ +'use client' + +import styled from '@emotion/styled' +import type { ReactNode } from 'react' +import { InfoTableCell } from './components/Cell' +import { InfoTableRow, StyledRow } from './components/Row' + +const StyledDl = styled('dl', { + shouldForwardProp: prop => !['width'].includes(prop), +})<{ width?: string }>` + display: flex; + font-size: ${({ theme }) => theme.typography.body.fontSize}; + line-height: ${({ theme }) => theme.typography.body.lineHeight}; + flex-direction: column; + align-items: start; + margin: 0; + width: 100%; + + ${StyledRow} { + width: ${({ width }) => width ?? '100%'}; + } +` + +type InfoTableProps = { + children: ReactNode + width?: string +} + +/** + * Use this component to display offers. + * Create rows with `InfoTable.Row` and place cells within each row using `InfoTable.Cell`. + */ +export const InfoTable = ({ children, width }: InfoTableProps) => ( + {children} +) + +InfoTable.Row = InfoTableRow +InfoTable.Cell = InfoTableCell diff --git a/packages/plus/src/components/InfoTable/__stories__/ComplexExample.stories.tsx b/packages/plus/src/components/InfoTable/__stories__/ComplexExample.stories.tsx new file mode 100644 index 0000000000..4a855e8bbe --- /dev/null +++ b/packages/plus/src/components/InfoTable/__stories__/ComplexExample.stories.tsx @@ -0,0 +1,82 @@ +import type { StoryFn } from '@storybook/react-vite' +import { InformationOutlineIcon, LockIcon } from '@ultraviolet/icons' +import { + Button, + Card, + CopyButton, + Stack, + Status, + Tooltip, +} from '@ultraviolet/ui' +import type { ComponentProps } from 'react' +import { InfoTable } from '../InfoTable' + +export const ComplexExample: StoryFn< + ComponentProps +> = props => ( + + + + + + + Ready + + + + GP1-S{' '} + + + + Ubuntu 20.04 Focal Fossa + + PAR 2 + + + + Cores + + + +
+ } + > + 8 + + 32 GB + + Block / Local + + 800 Mbps + + + + + 4f6be74f-84c1-4ffb-ac80-39befzef808bdd0 + + + + + {' '} + + 4f6be74f-84c1-4ffb-ac80-39bezefzef7808bdd0 + + + + + + EM-RF23R-DEZZ + 12.123.12.13 + + + + Enabled + + + + +) diff --git a/packages/plus/src/components/InfoTable/__stories__/MultiLine.stories.tsx b/packages/plus/src/components/InfoTable/__stories__/MultiLine.stories.tsx new file mode 100644 index 0000000000..b117d73ad5 --- /dev/null +++ b/packages/plus/src/components/InfoTable/__stories__/MultiLine.stories.tsx @@ -0,0 +1,31 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { InfoTable } from '../InfoTable' + +export const MultiLine: StoryFn> = props => ( + + + + cell cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell + + + cell cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell + + + +) + +MultiLine.parameters = { + docs: { + description: { + story: + 'Setting `multiLine` to true ensures the content is displayed on a multiple lines. Otherwise, there is an ellipsis and a tooltip for overflowed text.', + }, + }, +} diff --git a/packages/form/src/components/TimeField/__stories__/Playground.stories.tsx b/packages/plus/src/components/InfoTable/__stories__/Playground.stories.tsx similarity index 70% rename from packages/form/src/components/TimeField/__stories__/Playground.stories.tsx rename to packages/plus/src/components/InfoTable/__stories__/Playground.stories.tsx index 5aac6c886f..365b5253d0 100644 --- a/packages/form/src/components/TimeField/__stories__/Playground.stories.tsx +++ b/packages/plus/src/components/InfoTable/__stories__/Playground.stories.tsx @@ -2,6 +2,4 @@ import { Template } from './Template.stories' export const Playground = Template.bind({}) -Playground.args = { - name: 'time', -} +Playground.args = { ...Template.args } diff --git a/packages/plus/src/components/InfoTable/__stories__/Template.stories.tsx b/packages/plus/src/components/InfoTable/__stories__/Template.stories.tsx new file mode 100644 index 0000000000..16fe3a4c26 --- /dev/null +++ b/packages/plus/src/components/InfoTable/__stories__/Template.stories.tsx @@ -0,0 +1,29 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { InfoTable } from '../InfoTable' + +export const Template: StoryFn> = props => ( + + + cell + cell + cell + + + cell with more text + cell + + + cell + + + + cell cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell + + cell + cell + + +) diff --git a/packages/plus/src/components/InfoTable/__stories__/index.stories.tsx b/packages/plus/src/components/InfoTable/__stories__/index.stories.tsx new file mode 100644 index 0000000000..d80db1fc35 --- /dev/null +++ b/packages/plus/src/components/InfoTable/__stories__/index.stories.tsx @@ -0,0 +1,16 @@ +import type { Meta } from '@storybook/react-vite' +import { InfoTable } from '..' + +export default { + component: InfoTable, + title: 'Plus/Compositions/InfoTable', + subcomponents: { + InfoTable, + 'InfoTable.Row': InfoTable.Row, + 'InfoTable.Cell': InfoTable.Cell, + }, +} satisfies Meta + +export { Playground } from './Playground.stories' +export { MultiLine } from './MultiLine.stories' +export { ComplexExample } from './ComplexExample.stories' diff --git a/packages/plus/src/components/InfoTable/__tests__/__snapshots__/index.test.tsx.snap b/packages/plus/src/components/InfoTable/__tests__/__snapshots__/index.test.tsx.snap new file mode 100644 index 0000000000..24bb799307 --- /dev/null +++ b/packages/plus/src/components/InfoTable/__tests__/__snapshots__/index.test.tsx.snap @@ -0,0 +1,1291 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`InfoTable > should work with default props 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + font-size: 1rem; + line-height: 1.5rem; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + margin: 0; + width: 100%; +} + +.emotion-0 .emotion-2 { + width: 100%; +} + +.emotion-3 { + display: grid; + grid-template-columns: repeat(3, 1fr); + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + border-bottom: 1px #d9dadd solid; + padding-block: 1rem; +} + +.emotion-3:first-of-type { + padding-top: 0; +} + +.emotion-3:last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; +} + +.emotion-3>*:not(:last-child) { + padding-right: 1rem; +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + min-width: 0; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-7 { + font-weight: 500; + color: #222638; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-width: 0; +} + +.emotion-9 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-11 { + color: #3f4250; + margin: 0; + min-width: 0; + width: 100%; +} + +.emotion-14 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + display: block; + min-width: 0; + width: 100%; +} + +.emotion-14>* { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-right: 0.5rem; +} + +.emotion-39 { + display: grid; + grid-template-columns: 2fr 1fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + border-bottom: 1px #d9dadd solid; + padding-block: 1rem; +} + +.emotion-39:first-of-type { + padding-top: 0; +} + +.emotion-39:last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; +} + +.emotion-39>*:not(:last-child) { + padding-right: 1rem; +} + +.emotion-64 { + display: grid; + grid-template-columns: 1fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + border-bottom: 1px #d9dadd solid; + padding-block: 1rem; +} + +.emotion-64:first-of-type { + padding-top: 0; +} + +.emotion-64:last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; +} + +.emotion-64>*:not(:last-child) { + padding-right: 1rem; +} + +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+
+ title +
+
+
+
+ cell with more text +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+
+ title +
+
+
+
+ cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+`; + +exports[`InfoTable > should work with multiLine 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + font-size: 1rem; + line-height: 1.5rem; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + margin: 0; + width: 100%; +} + +.emotion-0 .emotion-2 { + width: 100%; +} + +.emotion-3 { + display: grid; + grid-template-columns: repeat(3, 1fr); + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + border-bottom: 1px #d9dadd solid; + padding-block: 1rem; +} + +.emotion-3:first-of-type { + padding-top: 0; +} + +.emotion-3:last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; +} + +.emotion-3>*:not(:last-child) { + padding-right: 1rem; +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + min-width: 0; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-7 { + font-weight: 500; + color: #222638; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-width: 0; +} + +.emotion-9 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-11 { + color: #3f4250; + margin: 0; + min-width: 0; + width: 100%; +} + +.emotion-14 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + display: block; + min-width: 0; + width: 100%; +} + +.emotion-14>* { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-right: 0.5rem; +} + +.emotion-39 { + display: grid; + grid-template-columns: 2fr 1fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + border-bottom: 1px #d9dadd solid; + padding-block: 1rem; +} + +.emotion-39:first-of-type { + padding-top: 0; +} + +.emotion-39:last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; +} + +.emotion-39>*:not(:last-child) { + padding-right: 1rem; +} + +.emotion-64 { + display: grid; + grid-template-columns: 1fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + border-bottom: 1px #d9dadd solid; + padding-block: 1rem; +} + +.emotion-64:first-of-type { + padding-top: 0; +} + +.emotion-64:last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; +} + +.emotion-64>*:not(:last-child) { + padding-right: 1rem; +} + +.emotion-89 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: block; + min-width: 0; + width: 100%; +} + +.emotion-89>* { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-right: 0.5rem; +} + +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+
+ title +
+
+
+
+ cell with more text +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+
+ title +
+
+
+
+ cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+`; + +exports[`InfoTable > should work with width 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + font-size: 1rem; + line-height: 1.5rem; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + margin: 0; + width: 100%; +} + +.emotion-0 .emotion-2 { + width: 30%; +} + +.emotion-3 { + display: grid; + grid-template-columns: repeat(3, 1fr); + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + border-bottom: 1px #d9dadd solid; + padding-block: 1rem; +} + +.emotion-3:first-of-type { + padding-top: 0; +} + +.emotion-3:last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; +} + +.emotion-3>*:not(:last-child) { + padding-right: 1rem; +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + min-width: 0; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-7 { + font-weight: 500; + color: #222638; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + min-width: 0; +} + +.emotion-9 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-11 { + color: #3f4250; + margin: 0; + min-width: 0; + width: 100%; +} + +.emotion-14 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + display: block; + min-width: 0; + width: 100%; +} + +.emotion-14>* { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin-right: 0.5rem; +} + +.emotion-39 { + display: grid; + grid-template-columns: 2fr 1fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + border-bottom: 1px #d9dadd solid; + padding-block: 1rem; +} + +.emotion-39:first-of-type { + padding-top: 0; +} + +.emotion-39:last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; +} + +.emotion-39>*:not(:last-child) { + padding-right: 1rem; +} + +.emotion-64 { + display: grid; + grid-template-columns: 1fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + border-bottom: 1px #d9dadd solid; + padding-block: 1rem; +} + +.emotion-64:first-of-type { + padding-top: 0; +} + +.emotion-64:last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; +} + +.emotion-64>*:not(:last-child) { + padding-right: 1rem; +} + +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+
+ title +
+
+
+
+ cell with more text +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+
+ title +
+
+
+
+ cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+ title +
+
+
+
+ cell +
+
+
+
+
+
+
+`; diff --git a/packages/plus/src/components/InfoTable/__tests__/index.test.tsx b/packages/plus/src/components/InfoTable/__tests__/index.test.tsx new file mode 100644 index 0000000000..8df93c9cd6 --- /dev/null +++ b/packages/plus/src/components/InfoTable/__tests__/index.test.tsx @@ -0,0 +1,86 @@ +import { shouldMatchEmotionSnapshot } from '@utils/test' +import { describe, it } from 'vitest' +import { InfoTable } from '..' + +describe('InfoTable', () => { + it('should work with default props', () => + shouldMatchEmotionSnapshot( + + + cell + cell + cell + + + cell with more text + cell + + + cell + + + + cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell + + cell + cell + + , + )) + + it('should work with multiLine', () => + shouldMatchEmotionSnapshot( + + + cell + cell + cell + + + cell with more text + cell + + + cell + + + + cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell + + cell + cell + + , + )) + + it('should work with width', () => + shouldMatchEmotionSnapshot( + + + cell + cell + cell + + + cell with more text + cell + + + cell + + + + cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell cell cell cell cell cell cell cell cell cell + cell cell cell cell + + cell + cell + + , + )) +}) diff --git a/packages/plus/src/components/InfoTable/components/Cell.tsx b/packages/plus/src/components/InfoTable/components/Cell.tsx new file mode 100644 index 0000000000..a590c7f047 --- /dev/null +++ b/packages/plus/src/components/InfoTable/components/Cell.tsx @@ -0,0 +1,68 @@ +'use client' + +import styled from '@emotion/styled' +import { Stack, Text } from '@ultraviolet/ui' +import type { ReactNode } from 'react' + +export const Term = styled.dt` + font-weight: ${({ theme }) => theme.typography.bodyStrong.weight}; + color: ${({ theme }) => theme.colors.neutral.textStrong}; + display: inline-flex; + align-items: center; + min-width: 0; +` + +const Desc = styled.dd` + color: ${({ theme }) => theme.colors.neutral.text}; + margin: 0; + min-width: 0; + width: 100%; +` + +type CellProps = { + children: ReactNode + title: ReactNode + multiline?: boolean +} + +const StyledText = styled(Text)` + display: block; // To work with ellipsis (multiLine = false) + min-width: 0; + width: 100%; + + & > * { + display: inline-flex; // Children should be inline + align-items: center; + margin-right: ${({ theme }) => theme.space[1]}; // Replaces gap + } +` + +export const InfoTableCell = ({ + children, + title, + multiline = false, +}: CellProps) => ( + + + + {title} + + + + + {children} + + + +) diff --git a/packages/plus/src/components/InfoTable/components/Row.tsx b/packages/plus/src/components/InfoTable/components/Row.tsx new file mode 100644 index 0000000000..2880cd8204 --- /dev/null +++ b/packages/plus/src/components/InfoTable/components/Row.tsx @@ -0,0 +1,33 @@ +'use client' + +import styled from '@emotion/styled' +import { Row } from '@ultraviolet/ui' +import type { ReactNode } from 'react' + +export const StyledRow = styled(Row)` + border-bottom: 1px ${({ theme }) => theme.colors.neutral.border} solid; + padding-block: ${({ theme }) => theme.space[2]}; + + :first-of-type { + padding-top: 0; + } + + :last-of-type { + padding-bottom: 0; + border-bottom-color: transparent; + + } + + & > *:not(:last-child) { + padding-right: ${({ theme }) => theme.space[2]}; // Use this instead of gap so that elements can be aligned even if there is not the same number of columns + + } +` +type RowProps = { + children: ReactNode + templateColumns: string +} + +export const InfoTableRow = ({ children, templateColumns }: RowProps) => ( + {children} +) diff --git a/packages/plus/src/components/InfoTable/index.ts b/packages/plus/src/components/InfoTable/index.ts new file mode 100644 index 0000000000..931882b5ea --- /dev/null +++ b/packages/plus/src/components/InfoTable/index.ts @@ -0,0 +1 @@ +export { InfoTable } from './InfoTable' diff --git a/packages/plus/src/components/Navigation/__stories__/Playground.stories.tsx b/packages/plus/src/components/Navigation/__stories__/Playground.stories.tsx index 7cf6050a0a..ce36284c80 100644 --- a/packages/plus/src/components/Navigation/__stories__/Playground.stories.tsx +++ b/packages/plus/src/components/Navigation/__stories__/Playground.stories.tsx @@ -1,16 +1,16 @@ import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { BaremetalCategoryIcon, - ConsoleCategoryIcon, + DataAndAnalyticsCategoryIcon, DatabaseCategoryIcon, - ManagedServicesCategoryIcon, + MonitoringCategoryIcon, NetworkCategoryIcon, - ObservabilityCategoryIcon, + OrganizationDashboardCategoryIcon, SecurityCategoryIcon, UseCaseCategoryIcon, } from '@ultraviolet/icons/category' -import { Stack, fadeIn, fadeOut } from '@ultraviolet/ui' +import { Stack, Tooltip, fadeIn, fadeOut } from '@ultraviolet/ui' import type { ComponentProps } from 'react' import { useCallback, useEffect, useState } from 'react' import { Navigation, NavigationProvider, useNavigation } from '..' @@ -81,7 +81,7 @@ const PlaygroundContent = ({ ...props }: ComponentProps) => { } + categoryIcon={} noPinButton active={active === 'Organization Dashboard'} onClickPinUnpin={onClickPinUnpin} @@ -101,6 +101,11 @@ const PlaygroundContent = ({ ...props }: ComponentProps) => { setPinnedItemsExpanded(!!toggle)} + itemWrapper={(item, id) => ( + + {item} + + )} /> @@ -174,7 +179,7 @@ const PlaygroundContent = ({ ...props }: ComponentProps) => { } + categoryIcon={} > ) => { } + categoryIcon={} > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -253,10 +253,9 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -268,10 +267,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -280,10 +279,9 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -325,10 +323,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -337,10 +335,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -367,10 +365,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -379,10 +377,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -409,10 +407,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -420,10 +418,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -502,12 +500,12 @@ exports[`Navigation > click on expand / collapse button 1`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -554,10 +552,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -565,10 +563,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -647,12 +645,12 @@ exports[`Navigation > click on expand / collapse button 1`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -699,10 +697,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -711,10 +709,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-14 { @@ -722,10 +720,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -734,10 +732,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-16 { @@ -745,10 +743,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -757,10 +755,9 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -769,10 +766,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -781,10 +778,9 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -809,10 +805,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -821,10 +817,9 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-20 { @@ -832,10 +827,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -844,16 +839,15 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -871,7 +865,7 @@ exports[`Navigation > click on expand / collapse button 1`] = ` .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -891,10 +885,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -903,10 +897,9 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-25 { @@ -914,10 +907,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -926,10 +919,9 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-27 { @@ -937,10 +929,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -949,10 +941,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } @@ -961,10 +953,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -973,16 +965,16 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -996,7 +988,7 @@ exports[`Navigation > click on expand / collapse button 1`] = ` .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -1029,7 +1021,7 @@ exports[`Navigation > click on expand / collapse button 1`] = ` .emotion-35 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1041,7 +1033,7 @@ exports[`Navigation > click on expand / collapse button 1`] = ` .emotion-35 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1153,10 +1145,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1165,10 +1157,9 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } @@ -1177,10 +1168,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1189,17 +1180,16 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } .emotion-49 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1216,7 +1206,7 @@ exports[`Navigation > click on expand / collapse button 1`] = ` .emotion-49 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1233,7 +1223,7 @@ exports[`Navigation > click on expand / collapse button 1`] = ` .emotion-62 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1251,7 +1241,7 @@ exports[`Navigation > click on expand / collapse button 1`] = ` .emotion-62 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1473,7 +1463,7 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1493,6 +1483,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-94 .e1y1n78x0 { + stroke: transparent; +} + .emotion-94:hover, .emotion-94:active { background: #e9eaeb; @@ -1528,7 +1522,7 @@ exports[`Navigation > click on expand / collapse button 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1548,6 +1542,10 @@ exports[`Navigation > click on expand / collapse button 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-94 .e1y1n78x0 { + stroke: transparent; +} + .emotion-94:hover, .emotion-94:active { background: #e9eaeb; @@ -2119,10 +2117,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -2131,10 +2129,9 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -2176,10 +2173,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2188,10 +2185,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -2218,10 +2215,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2230,10 +2227,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -2260,10 +2257,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -2272,10 +2269,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -ms-flex-pack: start; -webkit-justify-content: start; justify-content: start; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; padding: 0 1rem; margin-top: 0.125rem; } @@ -2333,7 +2330,7 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2353,6 +2350,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-16 .e1y1n78x0 { + stroke: transparent; +} + .emotion-16:hover, .emotion-16:active { background: #e9eaeb; @@ -2388,7 +2389,7 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2408,6 +2409,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-16 .e1y1n78x0 { + stroke: transparent; +} + .emotion-16:hover, .emotion-16:active { background: #e9eaeb; @@ -2419,10 +2424,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2431,10 +2436,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-20 .fill { @@ -2502,10 +2507,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2514,10 +2519,9 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } @@ -2526,10 +2530,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2538,10 +2542,9 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } @@ -2574,7 +2577,7 @@ exports[`Navigation > click on expand / collapse button 2`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2594,6 +2597,10 @@ exports[`Navigation > click on expand / collapse button 2`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-33 .e1y1n78x0 { + stroke: transparent; +} + .emotion-33:hover, .emotion-33:active { background: #d9dadd; @@ -3248,10 +3255,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -3260,10 +3267,9 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -3275,10 +3281,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -3287,10 +3293,9 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -3332,10 +3337,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3344,10 +3349,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -3374,10 +3379,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3386,10 +3391,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -3416,10 +3421,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -3427,10 +3432,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -3509,12 +3514,12 @@ exports[`Navigation > pin and unpin an item 1`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -3561,10 +3566,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -3572,10 +3577,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -3654,12 +3659,12 @@ exports[`Navigation > pin and unpin an item 1`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -3706,10 +3711,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -3718,10 +3723,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-14 { @@ -3729,10 +3734,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -3741,10 +3746,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-16 { @@ -3752,10 +3757,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3764,10 +3769,9 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -3776,10 +3780,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3788,10 +3792,9 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -3816,10 +3819,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3828,10 +3831,9 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-20 { @@ -3839,10 +3841,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3851,16 +3853,15 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3878,7 +3879,7 @@ exports[`Navigation > pin and unpin an item 1`] = ` .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3898,10 +3899,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3910,10 +3911,9 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-25 { @@ -3921,10 +3921,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3933,10 +3933,9 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-27 { @@ -3944,10 +3943,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3956,10 +3955,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } @@ -3968,10 +3967,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3980,16 +3979,16 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -4003,7 +4002,7 @@ exports[`Navigation > pin and unpin an item 1`] = ` .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -4074,10 +4073,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4085,10 +4084,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -4167,12 +4166,12 @@ exports[`Navigation > pin and unpin an item 1`] = ` background-color: #e9eaeb; } -.emotion-37[data-is-active="true"][data-is-pinnable="true"], +.emotion-37[data-is-active="true"], .emotion-37:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-37[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-37[data-is-active="true"]:hover, .emotion-37:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -4219,10 +4218,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4231,15 +4230,15 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-42 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -4258,7 +4257,7 @@ exports[`Navigation > pin and unpin an item 1`] = ` .emotion-47 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4410,10 +4409,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4422,10 +4421,9 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } @@ -4434,10 +4432,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4446,17 +4444,16 @@ exports[`Navigation > pin and unpin an item 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } .emotion-72 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4473,7 +4470,7 @@ exports[`Navigation > pin and unpin an item 1`] = ` .emotion-72 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4490,7 +4487,7 @@ exports[`Navigation > pin and unpin an item 1`] = ` .emotion-85 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4508,7 +4505,7 @@ exports[`Navigation > pin and unpin an item 1`] = ` .emotion-85 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4618,7 +4615,7 @@ exports[`Navigation > pin and unpin an item 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4638,6 +4635,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-117 .e1y1n78x0 { + stroke: transparent; +} + .emotion-117:hover, .emotion-117:active { background: #e9eaeb; @@ -4673,7 +4674,7 @@ exports[`Navigation > pin and unpin an item 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4693,6 +4694,10 @@ exports[`Navigation > pin and unpin an item 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-117 .e1y1n78x0 { + stroke: transparent; +} + .emotion-117:hover, .emotion-117:active { background: #e9eaeb; @@ -5444,10 +5449,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -5456,10 +5461,9 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -5471,10 +5475,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -5483,10 +5487,9 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -5528,10 +5531,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5540,10 +5543,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -5570,10 +5573,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5582,10 +5585,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -5612,10 +5615,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -5623,10 +5626,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -5705,12 +5708,12 @@ exports[`Navigation > pin and unpin an item 2`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -5757,10 +5760,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -5768,10 +5771,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -5850,12 +5853,12 @@ exports[`Navigation > pin and unpin an item 2`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -5900,12 +5903,12 @@ exports[`Navigation > pin and unpin an item 2`] = ` .emotion-14 { display: -webkit-box; display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -5914,10 +5917,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-14 { @@ -5925,10 +5928,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -5937,10 +5940,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-16 { @@ -5948,10 +5951,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5960,10 +5963,9 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -5972,10 +5974,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5984,10 +5986,9 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -6012,10 +6013,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6024,10 +6025,9 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-20 { @@ -6035,10 +6035,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6047,16 +6047,15 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6074,7 +6073,7 @@ exports[`Navigation > pin and unpin an item 2`] = ` .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6094,10 +6093,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6106,10 +6105,9 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-25 { @@ -6117,10 +6115,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6129,10 +6127,9 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-27 { @@ -6140,10 +6137,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6152,10 +6149,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } @@ -6164,10 +6161,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6176,16 +6173,16 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -6199,7 +6196,7 @@ exports[`Navigation > pin and unpin an item 2`] = ` .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -6270,10 +6267,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6281,10 +6278,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -6363,12 +6360,12 @@ exports[`Navigation > pin and unpin an item 2`] = ` background-color: #e9eaeb; } -.emotion-37[data-is-active="true"][data-is-pinnable="true"], +.emotion-37[data-is-active="true"], .emotion-37:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-37[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-37[data-is-active="true"]:hover, .emotion-37:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -6415,10 +6412,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6427,15 +6424,15 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-42 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -6454,7 +6451,7 @@ exports[`Navigation > pin and unpin an item 2`] = ` .emotion-47 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6606,10 +6603,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6618,10 +6615,9 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } @@ -6630,10 +6626,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6642,17 +6638,16 @@ exports[`Navigation > pin and unpin an item 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } .emotion-72 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6669,7 +6664,7 @@ exports[`Navigation > pin and unpin an item 2`] = ` .emotion-72 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6686,7 +6681,7 @@ exports[`Navigation > pin and unpin an item 2`] = ` .emotion-85 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6704,7 +6699,7 @@ exports[`Navigation > pin and unpin an item 2`] = ` .emotion-85 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6814,7 +6809,7 @@ exports[`Navigation > pin and unpin an item 2`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6834,6 +6829,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-117 .e1y1n78x0 { + stroke: transparent; +} + .emotion-117:hover, .emotion-117:active { background: #e9eaeb; @@ -6869,7 +6868,7 @@ exports[`Navigation > pin and unpin an item 2`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6889,6 +6888,10 @@ exports[`Navigation > pin and unpin an item 2`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-117 .e1y1n78x0 { + stroke: transparent; +} + .emotion-117:hover, .emotion-117:active { background: #e9eaeb; @@ -7642,10 +7645,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -7654,10 +7657,9 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -7669,10 +7671,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -7681,10 +7683,9 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -7726,22 +7727,22 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; align-items: normal; -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -7768,10 +7769,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7780,10 +7781,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -7810,10 +7811,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -7821,10 +7822,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -7903,12 +7904,12 @@ exports[`Navigation > pin and unpin an item 3`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -7955,10 +7956,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -7966,10 +7967,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -8048,12 +8049,12 @@ exports[`Navigation > pin and unpin an item 3`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -8100,10 +8101,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -8112,10 +8113,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-14 { @@ -8123,10 +8124,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -8135,10 +8136,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-16 { @@ -8146,10 +8147,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8158,10 +8159,9 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -8170,10 +8170,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8182,10 +8182,9 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -8210,10 +8209,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8222,10 +8221,9 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-20 { @@ -8233,10 +8231,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8245,16 +8243,15 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8272,7 +8269,7 @@ exports[`Navigation > pin and unpin an item 3`] = ` .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8292,10 +8289,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8304,10 +8301,9 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-25 { @@ -8315,10 +8311,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8327,10 +8323,9 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-27 { @@ -8338,10 +8333,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8350,10 +8345,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } @@ -8362,10 +8357,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8374,16 +8369,16 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -8397,7 +8392,7 @@ exports[`Navigation > pin and unpin an item 3`] = ` .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -8430,7 +8425,7 @@ exports[`Navigation > pin and unpin an item 3`] = ` .emotion-35 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -8442,7 +8437,7 @@ exports[`Navigation > pin and unpin an item 3`] = ` .emotion-35 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -8554,10 +8549,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8566,10 +8561,9 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } @@ -8578,10 +8572,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8590,17 +8584,16 @@ exports[`Navigation > pin and unpin an item 3`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } .emotion-49 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8617,7 +8610,7 @@ exports[`Navigation > pin and unpin an item 3`] = ` .emotion-49 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8634,7 +8627,7 @@ exports[`Navigation > pin and unpin an item 3`] = ` .emotion-62 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8652,7 +8645,7 @@ exports[`Navigation > pin and unpin an item 3`] = ` .emotion-62 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8874,7 +8867,7 @@ exports[`Navigation > pin and unpin an item 3`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8894,6 +8887,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-94 .e1y1n78x0 { + stroke: transparent; +} + .emotion-94:hover, .emotion-94:active { background: #e9eaeb; @@ -8929,7 +8926,7 @@ exports[`Navigation > pin and unpin an item 3`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8949,6 +8946,10 @@ exports[`Navigation > pin and unpin an item 3`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-94 .e1y1n78x0 { + stroke: transparent; +} + .emotion-94:hover, .emotion-94:active { background: #e9eaeb; @@ -9485,10 +9486,10 @@ exports[`Navigation > render with basic content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -9497,10 +9498,9 @@ exports[`Navigation > render with basic content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -9527,10 +9527,10 @@ exports[`Navigation > render with basic content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9539,10 +9539,10 @@ exports[`Navigation > render with basic content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -9569,10 +9569,10 @@ exports[`Navigation > render with basic content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -9580,10 +9580,10 @@ exports[`Navigation > render with basic content 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -9662,12 +9662,12 @@ exports[`Navigation > render with basic content 1`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -9714,10 +9714,10 @@ exports[`Navigation > render with basic content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -9726,10 +9726,10 @@ exports[`Navigation > render with basic content 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-16 { @@ -9737,10 +9737,10 @@ exports[`Navigation > render with basic content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -9749,10 +9749,9 @@ exports[`Navigation > render with basic content 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -9769,10 +9768,10 @@ exports[`Navigation > render with basic content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9781,16 +9780,15 @@ exports[`Navigation > render with basic content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -9810,10 +9808,10 @@ exports[`Navigation > render with basic content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -9822,10 +9820,9 @@ exports[`Navigation > render with basic content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-27 { @@ -9833,10 +9830,10 @@ exports[`Navigation > render with basic content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -9845,16 +9842,16 @@ exports[`Navigation > render with basic content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -9878,7 +9875,7 @@ exports[`Navigation > render with basic content 1`] = ` .emotion-35 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -9941,10 +9938,10 @@ exports[`Navigation > render with basic content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9953,17 +9950,16 @@ exports[`Navigation > render with basic content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } .emotion-49 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -9980,7 +9976,7 @@ exports[`Navigation > render with basic content 1`] = ` .emotion-62 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -10113,7 +10109,7 @@ exports[`Navigation > render with basic content 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -10133,6 +10129,10 @@ exports[`Navigation > render with basic content 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-94 .e1y1n78x0 { + stroke: transparent; +} + .emotion-94:hover, .emotion-94:active { background: #e9eaeb; @@ -10634,10 +10634,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -10646,10 +10646,9 @@ exports[`Navigation > render without pinnedFeature 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -10676,10 +10675,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10688,10 +10687,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -10740,10 +10739,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10752,17 +10751,16 @@ exports[`Navigation > render without pinnedFeature 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } .emotion-20 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -10781,10 +10779,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -10792,10 +10790,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -10874,12 +10872,12 @@ exports[`Navigation > render without pinnedFeature 1`] = ` background-color: #e9eaeb; } -.emotion-22[data-is-active="true"][data-is-pinnable="true"], +.emotion-22[data-is-active="true"], .emotion-22:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-22[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-22[data-is-active="true"]:hover, .emotion-22:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -10926,10 +10924,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -10938,10 +10936,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -10949,10 +10947,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -10961,10 +10959,9 @@ exports[`Navigation > render without pinnedFeature 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -10981,10 +10978,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10993,16 +10990,15 @@ exports[`Navigation > render without pinnedFeature 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-33 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -11022,10 +11018,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -11034,10 +11030,9 @@ exports[`Navigation > render without pinnedFeature 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-43 .fill { @@ -11051,7 +11046,7 @@ exports[`Navigation > render without pinnedFeature 1`] = ` .emotion-48 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -11132,7 +11127,7 @@ exports[`Navigation > render without pinnedFeature 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -11152,6 +11147,10 @@ exports[`Navigation > render without pinnedFeature 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-56 .e1y1n78x0 { + stroke: transparent; +} + .emotion-56:hover, .emotion-56:active { background: #e9eaeb; @@ -11646,10 +11645,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -11658,10 +11657,9 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -11673,10 +11671,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -11685,10 +11683,9 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; margin: 1.5rem 1.5rem 1rem 1.5rem; max-width: 220px; height: 22px; @@ -11730,10 +11727,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11742,10 +11739,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -11772,10 +11769,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.125rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -11784,10 +11781,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.125rem; overflow-y: auto; overflow-x: hidden; -webkit-box-flex: 1; @@ -11814,10 +11811,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -11825,10 +11822,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -11907,12 +11904,12 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -11959,10 +11956,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -11970,10 +11967,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; color: inherit; -webkit-text-decoration: none; text-decoration: none; @@ -12052,12 +12049,12 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` background-color: #e9eaeb; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"], +.emotion-12[data-is-active="true"], .emotion-12:hover[data-has-active="true"] { background-color: #f1eefc; } -.emotion-12[data-is-active="true"][data-is-pinnable="true"]:hover, +.emotion-12[data-is-active="true"]:hover, .emotion-12:hover[data-has-active="true"]:hover { background-color: #e5dbfd; } @@ -12104,10 +12101,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -12116,10 +12113,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-14 { @@ -12127,10 +12124,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: flex-start; -webkit-box-align: flex-start; -ms-flex-align: flex-start; @@ -12139,10 +12136,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-16 { @@ -12150,10 +12147,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12162,10 +12159,9 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -12174,10 +12170,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12186,10 +12182,9 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; min-width: 20px; } @@ -12214,10 +12209,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12226,10 +12221,9 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-20 { @@ -12237,10 +12231,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12249,16 +12243,15 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -12276,7 +12269,7 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` .emotion-23 { color: #222638; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -12296,10 +12289,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12308,10 +12301,9 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-25 { @@ -12319,10 +12311,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12331,10 +12323,9 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-27 { @@ -12342,10 +12333,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12354,10 +12345,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } @@ -12366,10 +12357,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12378,16 +12369,16 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-top: 0.25rem; } .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -12401,7 +12392,7 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` .emotion-29 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; @@ -12434,7 +12425,7 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` .emotion-35 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -12446,7 +12437,7 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` .emotion-35 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -12558,10 +12549,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12570,10 +12561,9 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } @@ -12582,10 +12572,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -12594,17 +12584,16 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding-top: 0.5rem; } .emotion-49 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -12621,7 +12610,7 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` .emotion-49 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -12638,7 +12627,7 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` .emotion-62 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -12656,7 +12645,7 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` .emotion-62 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -12878,7 +12867,7 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -12898,6 +12887,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-94 .e1y1n78x0 { + stroke: transparent; +} + .emotion-94:hover, .emotion-94:active { background: #e9eaeb; @@ -12933,7 +12926,7 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -12953,6 +12946,10 @@ exports[`Navigation > resize manually the navigation using slider 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-94 .e1y1n78x0 { + stroke: transparent; +} + .emotion-94:hover, .emotion-94:active { background: #e9eaeb; diff --git a/packages/plus/src/components/Navigation/components/Item.tsx b/packages/plus/src/components/Navigation/components/Item.tsx index 8aa85e9acb..bcdd96dd3e 100644 --- a/packages/plus/src/components/Navigation/components/Item.tsx +++ b/packages/plus/src/components/Navigation/components/Item.tsx @@ -10,12 +10,12 @@ import { PinOutlineIcon, UnpinIcon, } from '@ultraviolet/icons' -import { ConsoleCategoryIcon } from '@ultraviolet/icons/category' +import { OrganizationDashboardCategoryIcon } from '@ultraviolet/icons/category' import { Badge, Button, Expandable, - MenuV2, + Menu, Stack, Text, Tooltip, @@ -101,7 +101,7 @@ const GrabIcon = styled(DragIcon)` const StyledBadge = styled(Badge)`` -const StyledMenuItem = styled(MenuV2.Item, { +const StyledMenuItem = styled(Menu.Item, { shouldForwardProp: prop => !['isPinnable', 'pinnedFeature'].includes(prop), })<{ isPinnable?: boolean @@ -116,12 +116,13 @@ const StyledMenuItem = styled(MenuV2.Item, { } ${StyledBadge} { - opacity: ${({ isPinnable, pinnedFeature }) => (isPinnable && pinnedFeature ? 0 : 1)}; + opacity: ${({ isPinnable, pinnedFeature }) => + isPinnable && pinnedFeature ? 0 : 1}; } } ` -const StyledMenu = styled(MenuV2)` +const StyledMenu = styled(Menu)` width: 180px; ` @@ -213,7 +214,7 @@ const StyledContainer = styled(Stack)` background-color: ${({ theme }) => theme.colors.neutral.backgroundHover}; } - &[data-is-active="true"][data-is-pinnable="true"], + &[data-is-active="true"], &:hover[data-has-active="true"] { background-color: ${({ theme }) => theme.colors.primary.background}; @@ -265,6 +266,10 @@ const ContainerCategoryIcon = styled(Stack)` type ItemType = 'default' | 'pinned' | 'pinnedGroup' +type LinkProps = { + to: string + children?: { props: ItemProps } +} type ItemProps = { children?: ReactNode /** @@ -434,9 +439,18 @@ export const Item = memo( if (!children) return false return ( - Children.map(children, child => - isValidElement(child) ? child.props?.active : false, - ) as boolean[] + Children.map(children, child => { + if (isValidElement(child)) { + // In case the Item is wrapped in a link + if ('to' in child.props) { + return child.props.children?.props.active + } + + return child.props.active + } + + return null + }) as boolean[] ).includes(true) }, [children]) @@ -720,7 +734,6 @@ export const Item = memo( sentiment="neutral" variant={hasActiveChildren ? 'filled' : 'ghost'} size="small" - icon={!categoryIcon ? 'dots-horizontal' : undefined} aria-label={label} > {categoryIcon ? ( @@ -754,7 +767,7 @@ export const Item = memo( justifyContent="center" > {categoryIcon || ( - )} diff --git a/packages/plus/src/components/Navigation/components/PinnedItems.tsx b/packages/plus/src/components/Navigation/components/PinnedItems.tsx index 6e7e0ff098..973f2cec30 100644 --- a/packages/plus/src/components/Navigation/components/PinnedItems.tsx +++ b/packages/plus/src/components/Navigation/components/PinnedItems.tsx @@ -4,7 +4,7 @@ import { useTheme } from '@emotion/react' import styled from '@emotion/styled' import { PinCategoryIcon } from '@ultraviolet/icons/category' import { Text } from '@ultraviolet/ui' -import type { DragEvent } from 'react' +import type { DragEvent, ReactElement } from 'react' import { useCallback } from 'react' import { useNavigation } from '../NavigationProvider' import type { DragNDropData } from '../types' @@ -60,12 +60,17 @@ type PinnedItemsProps = { * This function will be called when the user reorder the pinned items */ onReorder?: (pinnedItems: string[]) => void + /** + * Use this prop if it is needed to wrap each PinnedItem component into another component (eg NavLink) + */ + itemWrapper?: (item: ReactElement, itemId: string) => ReactElement } export const PinnedItems = ({ toggle = true, onReorder, onToggle, + itemWrapper, }: PinnedItemsProps) => { const context = useNavigation() @@ -132,7 +137,7 @@ export const PinnedItems = ({
+ categoryIcon={} type="pinnedGroup" id="pinned-group" data-testid="pinned-group" @@ -140,14 +145,9 @@ export const PinnedItems = ({ onToggle={onToggle} > {pinnedItems.length > 0 ? ( - pinnedItems.map((itemId, index) => - items[itemId]?.label ? ( - - onDrop(event, index)} - /> + pinnedItems.map((itemId, index) => { + if (items[itemId]?.label) { + const itemElement = ( - - ) : null, - ) + ) + + return ( + + onDrop(event, index)} + /> + {itemWrapper + ? itemWrapper(itemElement, itemId) + : itemElement} + + ) + } + + return null + }) ) : ( theme.sizing[700]}; + min-width: ${({ theme }) => theme.sizing[700]}; + max-width: ${({ theme }) => theme.sizing[700]}; + } +` + +type OfferListProps = Omit< + ComponentProps, + 'selectable' | 'onSelectedChange' +> & { + /** + * Make offerList selectable by choosing its type + */ + type?: 'radio' | 'checkbox' + onChangeSelect?: (selected: string | string[]) => void +} + +export const OfferList = ({ + expandable, + type = 'radio', + columns, + children, + loading, + autoCollapse, + onChangeSelect, +}: OfferListProps) => { + const [selectedRows, setSelectedRows] = useState([]) + const computedColumns = [ + { + label: '', + }, + expandable ? { label: '' } : null, + ...columns, + ].filter(element => !!element) + + useEffect( + () => onChangeSelect?.(selectedRows), + [selectedRows, onChangeSelect], + ) + + return ( + + + {children} + + + ) +} + +OfferList.Row = Row +OfferList.Cell = Cell diff --git a/packages/plus/src/components/OfferList/OfferListProvider.tsx b/packages/plus/src/components/OfferList/OfferListProvider.tsx new file mode 100644 index 0000000000..9d2adff799 --- /dev/null +++ b/packages/plus/src/components/OfferList/OfferListProvider.tsx @@ -0,0 +1,76 @@ +import { createContext, useContext, useState } from 'react' +import type { Dispatch, ReactNode, SetStateAction } from 'react' + +type OfferListContextValue = { + selectable: 'radio' | 'checkbox' + radioSelectedRow: string | undefined + setRadioSelectedRow: Dispatch> + expandable?: boolean + disabled?: boolean + loading?: boolean + onChangeSelect?: (selected: string | string[]) => void + autoCollapse?: boolean + checkboxSelectedRows: Record + setCheckboxSelectedRows: Dispatch< + SetStateAction> + > +} +const OfferListContext = createContext( + undefined, +) + +type OfferListProviderProps = { + selectable: 'radio' | 'checkbox' + children: ReactNode + expandable?: boolean + disabled?: boolean + loading?: boolean + onChangeSelect?: (selected: string | string[]) => void + autoCollapse?: boolean +} + +export const OfferListProvider = ({ + selectable, + children, + expandable, + disabled, + loading, + onChangeSelect, + autoCollapse, +}: OfferListProviderProps) => { + const [radioSelectedRow, setRadioSelectedRow] = useState() + const [checkboxSelectedRows, setCheckboxSelectedRows] = useState< + Record + >({}) + + return ( + + {children} + + ) +} + +export const useOfferListContext = () => { + const context = useContext(OfferListContext) + + if (!context) { + throw new Error( + 'useOfferListContext should be used inside a OfferList component', + ) + } + + return context +} diff --git a/packages/plus/src/components/OfferList/__stories__/Badge.stories.tsx b/packages/plus/src/components/OfferList/__stories__/Badge.stories.tsx new file mode 100644 index 0000000000..b5b2540205 --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/Badge.stories.tsx @@ -0,0 +1,41 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { OfferList } from '../OfferList' +import { columns, data } from './resources' + +export const Badge: StoryFn> = props => ( + + {data.map((planet, index) => + index < 3 ? ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ) : null, + )} + +) + +Badge.args = { + columns, +} + +Badge.parameters = { + docs: { + description: { + story: + 'Use props `badge` to add a badge to the row. When a row is disabled, its badge is also disabled.', + }, + }, +} diff --git a/packages/plus/src/components/OfferList/__stories__/Banner.stories.tsx b/packages/plus/src/components/OfferList/__stories__/Banner.stories.tsx new file mode 100644 index 0000000000..f44eb04edc --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/Banner.stories.tsx @@ -0,0 +1,44 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { OfferList } from '../OfferList' +import { columns, data } from './resources' + +export const Banner: StoryFn> = props => ( + + {data.map((planet, index) => + index < 3 ? ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ) : null, + )} + +) + +Banner.args = { + columns, +} + +Banner.parameters = { + docs: { + description: { + story: + 'Use props `banner` to add a banner. When a row is disabled, its banner is also disabled.', + }, + }, +} diff --git a/packages/plus/src/components/OfferList/__stories__/Example.stories.tsx b/packages/plus/src/components/OfferList/__stories__/Example.stories.tsx new file mode 100644 index 0000000000..8fc4e33742 --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/Example.stories.tsx @@ -0,0 +1,155 @@ +import type { StoryFn } from '@storybook/react-vite' +import { LeafIcon } from '@ultraviolet/icons' +import { Stack } from '@ultraviolet/ui' +import { useMemo, useState } from 'react' +import type { ComponentProps } from 'react' +import { OfferList } from '../OfferList' + +const data = [ + { + id: 'EM-A115X-SSD', + cpu: '1x Intel Xeon E3 1220\n4C/4T 3.1 GHz', + memory: '32 GB', + disks: '2 x 1.02 TB SSD', + bandwidth: '500 Mpbs public\n1 Gpbs private', + price: '€0.091/hour', + score: 2, + }, + { + id: 'EM-A215R-HDD', + cpu: '1x AMD Ryzen PRO 3600\n6C/12T 3.G GHz', + memory: '16 GB', + disks: '2 x 1 TB HDD', + bandwidth: '500 Mpbs public\n1 Gpbs private', + price: '€0.101/hour', + score: 2, + }, + { + id: 'EM-610R-NVMe', + cpu: '1x AMD Ryzen PRO 3600\n6C/12T 3.6 GHz', + memory: '32 GB', + disks: '2 x 1.02 TB NVMe', + bandwidth: '500 Mpbs public\n1 Gpbs private', + price: '€0.11/hour', + score: 2, + }, + { + id: 'EM-A315X-SSD', + cpu: '1x Intel Xeon E3 1410 v2\n4C/8T 2.8 GHz', + memory: '64 GB', + disks: '2 x 1.02 TB SSD', + bandwidth: '1 Gbps public\n1 Gpbs private', + price: '€0.153/hour', + score: 1, + }, + { + id: 'EM-A410X-SSD', + cpu: '1x Intel Xeon E3 1650\n6C/8T 3.2 GHz', + memory: '64 GB', + disks: '2 x 1.02 TB SSD', + bandwidth: '1 Gbps public\n1Gpbs private', + price: '€0.153/hour', + score: 2, + }, +] + +export const Example: StoryFn> = props => { + const [currentOrder, setCurrentOrder] = useState<{ + columnId: 'id' | 'memory' + order: 'asc' | 'desc' + }>({ columnId: 'id', order: 'asc' }) + + const sortedData = useMemo(() => { + const orderMultiplicator = currentOrder.order === 'asc' ? 1 : -1 + + return [...data].sort((a, b) => { + if (a[currentOrder.columnId] < b[currentOrder.columnId]) { + return -1 * orderMultiplicator + } + if (a[currentOrder.columnId] > b[currentOrder.columnId]) { + return orderMultiplicator + } + + return 0 + }) + }, [currentOrder]) + + return ( + + setCurrentOrder({ columnId: 'id', order: newOrder }), + }, + { + label: 'CPU(s)', + }, + { + label: 'Memory', + isOrdered: currentOrder.columnId === 'memory', + orderDirection: currentOrder.order, + onOrder: newOrder => + setCurrentOrder({ columnId: 'memory', order: newOrder }), + }, + { label: 'Disks' }, + { label: 'Bandwidth' }, + { label: 'Price (excl.tax)' }, + ]} + > + {sortedData.map(offer => ( + + + + {offer.id} + + {Array.from({ length: offer.score }).map((_, i) => ( + + ))} + {Array.from({ length: 3 - offer.score }).map((_, i) => ( + + ))} + + + + {offer.cpu} + {offer.memory} + {offer.disks} + {offer.bandwidth} + {offer.price} + + ))} + + ) +} + +Example.args = { + expandable: true, + type: 'radio', +} + +Example.parameters = { + docs: { + description: { + story: 'A more advanced example demonstrating how to use the component.', + }, + }, +} diff --git a/packages/plus/src/components/OfferList/__stories__/Expandable.stories.tsx b/packages/plus/src/components/OfferList/__stories__/Expandable.stories.tsx new file mode 100644 index 0000000000..9a32bec810 --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/Expandable.stories.tsx @@ -0,0 +1,34 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { OfferList } from '../OfferList' +import { columns, data } from './resources' + +export const Expandable: StoryFn> = props => ( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + +) + +Expandable.args = { + columns, + type: 'radio', +} + +Expandable.parameters = { + docs: { + description: { + story: 'A row can be expandable.', + }, + }, +} diff --git a/packages/plus/src/components/OfferList/__stories__/Loading.stories.tsx b/packages/plus/src/components/OfferList/__stories__/Loading.stories.tsx new file mode 100644 index 0000000000..ebc97b68d4 --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/Loading.stories.tsx @@ -0,0 +1,10 @@ +import { Template } from './Template.stories' + +export const Loading = Template.bind({}) + +Loading.args = { + ...Template.args, + loading: true, + type: 'radio', + expandable: true, +} diff --git a/packages/plus/src/components/OfferList/__stories__/OnChangeSelect.stories.tsx b/packages/plus/src/components/OfferList/__stories__/OnChangeSelect.stories.tsx new file mode 100644 index 0000000000..4eafa92b01 --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/OnChangeSelect.stories.tsx @@ -0,0 +1,57 @@ +import type { StoryFn } from '@storybook/react-vite' +import { Button, Stack } from '@ultraviolet/ui' +import { useState } from 'react' +import type { ComponentProps } from 'react' +import { OfferList } from '../OfferList' +import { columns, data } from './resources' + +export const OnChange: StoryFn> = props => { + const [selectedRow, setSelectedRow] = useState() + const [selectable, setSelectable] = useState<'checkbox' | 'radio'>('radio') + + return ( + + + Selected row + {Array.isArray(selectedRow) && selectedRow.length > 1 ? 's' : ''}:{' '} + {Array.isArray(selectedRow) + ? selectedRow.map((value, index) => `${index > 0 ? ', ' : ''}${value}`) + : selectedRow} + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + + + ) +} + +OnChange.args = { + columns, +} + +OnChange.parameters = { + docs: { + description: { + story: + 'Use prop `onChangeSelect` to get the selected element(s). Selected row is a string (row id) when `selectable="radio"` and a string[] when `selectable="checkbox"`', + }, + }, +} diff --git a/packages/form/src/components/TimeInputFieldV2/__stories__/Playground.stories.tsx b/packages/plus/src/components/OfferList/__stories__/Playground.stories.tsx similarity index 70% rename from packages/form/src/components/TimeInputFieldV2/__stories__/Playground.stories.tsx rename to packages/plus/src/components/OfferList/__stories__/Playground.stories.tsx index 5fd6bef5ce..365b5253d0 100644 --- a/packages/form/src/components/TimeInputFieldV2/__stories__/Playground.stories.tsx +++ b/packages/plus/src/components/OfferList/__stories__/Playground.stories.tsx @@ -2,4 +2,4 @@ import { Template } from './Template.stories' export const Playground = Template.bind({}) -Playground.args = Template.args +Playground.args = { ...Template.args } diff --git a/packages/plus/src/components/OfferList/__stories__/Template.stories.tsx b/packages/plus/src/components/OfferList/__stories__/Template.stories.tsx new file mode 100644 index 0000000000..ac0ceb832c --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/Template.stories.tsx @@ -0,0 +1,20 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { OfferList } from '../OfferList' +import { columns, data } from './resources' + +export const Template: StoryFn> = props => ( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + +) + +Template.args = { + columns, +} diff --git a/packages/plus/src/components/OfferList/__stories__/Type.stories.tsx b/packages/plus/src/components/OfferList/__stories__/Type.stories.tsx new file mode 100644 index 0000000000..aa7759861c --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/Type.stories.tsx @@ -0,0 +1,75 @@ +import type { StoryFn } from '@storybook/react-vite' +import { Stack, Text } from '@ultraviolet/ui' +import type { ComponentProps } from 'react' +import { OfferList } from '../OfferList' +import { columns, data } from './resources' + +export const Type: StoryFn> = props => ( + + + + Single-select ( + + selectable="radio" + + ): + + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + + + + + Single-select ( + + selectable="checkbox" + + ): + + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + + + +) + +Type.args = { + columns, +} + +Type.parameters = { + docs: { + description: { + story: + 'Offers are selectable. For multi select, set prop `type` to `checkbox`, for single select, set it to `radio`. By default, `type = "radio"`. Use prop `selectDisabled` to disable selection on a row, without disabling the whole row.', + }, + }, +} diff --git a/packages/plus/src/components/OfferList/__stories__/index.stories.tsx b/packages/plus/src/components/OfferList/__stories__/index.stories.tsx new file mode 100644 index 0000000000..0307a64c4b --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/index.stories.tsx @@ -0,0 +1,21 @@ +import type { Meta } from '@storybook/react-vite' +import { OfferList } from '..' + +export default { + component: OfferList, + title: 'Plus/Compositions/OfferList', + subcomponents: { + OfferList, + 'OfferList.Row': OfferList.Row, + 'OfferList.Cell': OfferList.Cell, + }, +} satisfies Meta + +export { Playground } from './Playground.stories' +export { Type } from './Type.stories' +export { Expandable } from './Expandable.stories' +export { Loading } from './Loading.stories' +export { Banner } from './Banner.stories' +export { Badge } from './Badge.stories' +export { OnChange } from './OnChangeSelect.stories' +export { Example } from './Example.stories' diff --git a/packages/plus/src/components/OfferList/__stories__/resources.ts b/packages/plus/src/components/OfferList/__stories__/resources.ts new file mode 100644 index 0000000000..3436f29cc2 --- /dev/null +++ b/packages/plus/src/components/OfferList/__stories__/resources.ts @@ -0,0 +1,60 @@ +import type { ComponentProps } from 'react' +import type { OfferList } from '../OfferList' + +export const data = [ + { + id: 'mercury', + name: 'Mercury', + perihelion: 0.307, + aphelion: 0.467, + }, + { + id: 'venus', + name: 'Venus', + perihelion: 0.718, + aphelion: 0.728, + }, + { + id: 'home-sweet-home', + name: 'Earth', + perihelion: 0.983, + aphelion: 1.017, + }, + { + id: 'mars', + name: 'Mars', + perihelion: 1.381, + aphelion: 1.666, + }, + { + id: 'jupiter', + name: 'Jupiter', + perihelion: 4.951, + aphelion: 5.457, + }, + { + id: 'saturn', + name: 'Saturn', + perihelion: 9.041, + aphelion: 10.124, + }, + { + id: 'uranus', + name: 'Uranus', + perihelion: 18.286, + aphelion: 20.097, + }, + { + id: 'id-neptune', + name: 'Neptune', + perihelion: 29.81, + aphelion: 30.33, + }, +] + +export const columns: NonNullable['columns']> = + [ + { label: 'Solar system Planet' }, + { label: 'Perihelion', width: '200px' }, + { label: 'Aphelion', width: '200px' }, + ] diff --git a/packages/plus/src/components/OfferList/__tests__/__snapshots__/index.test.tsx.snap b/packages/plus/src/components/OfferList/__tests__/__snapshots__/index.test.tsx.snap new file mode 100644 index 0000000000..018998c4ae --- /dev/null +++ b/packages/plus/src/components/OfferList/__tests__/__snapshots__/index.test.tsx.snap @@ -0,0 +1,12738 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`OfferList > should work loading 1`] = ` + + @keyframes animation-0 { + from { + left: -25%; + } + + to { + left: 100%; + } +} + +.emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-15 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-15[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-15[aria-sort] { + color: #641cb3; +} + +.emotion-24 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-24[role='button row'] { + cursor: pointer; +} + +.emotion-24 td, +.emotion-24 td:first-child, +.emotion-24 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-24 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-24 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-24 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-24:not([aria-disabled='true']):hover td, +.emotion-24:not([aria-disabled='true']):hover td:first-child, +.emotion-24:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-24:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-24[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-24[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-24 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-24:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] td, +.emotion-24[data-highlight='true'] td:first-child, +.emotion-24[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-24[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-24 td:nth-of-type(3) { + width: 200px; +} + +.emotion-24 td:nth-of-type(4) { + width: 200px; +} + +.emotion-24[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-27 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-27:first-of-type { + padding-left: 1rem; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-33 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-33[aria-disabled='false'], +.emotion-33[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 { + fill: #8c40ef; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 .emotion-40 { + fill: #e5dbfd; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 { + fill: #b3144d; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 .emotion-40 { + fill: #ffd3e3; +} + +.emotion-33[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-33[aria-disabled='true']>label, +.emotion-33[aria-disabled='true'] .emotion-36 { + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 .emotion-40 { + fill: #f3f3f4; +} + +.emotion-35 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-35+.emotion-38 .emotion-42 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-35:checked+svg .emotion-42 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-35:checked[aria-disabled='false'][aria-invalid='false']+.emotion-38 { + fill: #8c40ef; +} + +.emotion-35:checked[aria-disabled='true'][aria-invalid='false']+.emotion-38 { + fill: #d8c5fc; +} + +.emotion-35[aria-invalid='true']:not([aria-disabled='true'])+.emotion-38 { + fill: #e51963; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 .emotion-40 { + fill: #f1eefc; +} + +.emotion-35[aria-disabled='false']:focus-visible+.emotion-38 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 .emotion-40 { + fill: #ffebf2; +} + +.emotion-37 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-37 .emotion-40 { + fill: #ffffff; +} + +.emotion-44 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + height: 100%; +} + +.emotion-46 { + position: relative; + width: 100%; + overflow: hidden; + cursor: progress; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-flow: column; + -webkit-flex-flow: column; + -ms-flex-flow: column; + flex-flow: column; + height: 100%; +} + +.emotion-48 { + height: 0.75rem; + width: 7.5rem; + max-width: 100%; + border-radius: 0.5rem; + background-color: #e9eaeb; +} + +.emotion-50 { + position: absolute; + top: 0; + height: 100%; + width: 25%; + opacity: 0.8; + background: linear-gradient( + 90deg, + #f9f9fa00, + #f9f9fa4D, + #f9f9fa66, + #f9f9fa4D, + #f9f9fa00 + ); + -webkit-animation: animation-0 1s linear infinite; + animation: animation-0 1s linear infinite; + -webkit-animation-direction: alternate; + animation-direction: alternate; +} + +@media (prefers-reduced-motion: reduce) { + .emotion-50 { + -webkit-animation: unset; + animation: unset; + } +} + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ Solar system Planet +
+
+
+ Perihelion +
+
+
+ Aphelion +
+
+
+
+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+`; + +exports[`OfferList > should work with badge 1`] = ` + + .emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-19 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-19[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-19[aria-sort] { + color: #641cb3; +} + +.emotion-28 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-28[role='button row'] { + cursor: pointer; +} + +.emotion-28 td, +.emotion-28 td:first-child, +.emotion-28 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-28 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-28 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-28 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-28:not([aria-disabled='true']):hover td, +.emotion-28:not([aria-disabled='true']):hover td:first-child, +.emotion-28:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-28:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-28[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-28[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-28 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-28:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] td, +.emotion-28[data-highlight='true'] td:first-child, +.emotion-28[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-28[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-28 td:nth-of-type(4) { + width: 200px; +} + +.emotion-28 td:nth-of-type(5) { + width: 200px; +} + +.emotion-28[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-31 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-31:first-of-type { + padding-left: 1rem; +} + +.emotion-33 { + position: absolute; + top: 1rem; +} + +.emotion-37 { + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.5rem; + gap: 0.25rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1rem; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; + position: absolute; + left: 0.5rem; + -webkit-transform: translateY(-150%); + -moz-transform: translateY(-150%); + -ms-transform: translateY(-150%); + transform: translateY(-150%); + top: 0; + left: 1.5rem; +} + +.emotion-39 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-43 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-43[aria-disabled='false'], +.emotion-43[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-43:hover[aria-disabled='false'] .emotion-46+.emotion-48 { + fill: #8c40ef; +} + +.emotion-43:hover[aria-disabled='false'] .emotion-46+.emotion-48 .emotion-50 { + fill: #e5dbfd; +} + +.emotion-43:hover[aria-disabled='false'] .emotion-46[aria-invalid='true']+.emotion-48 { + fill: #b3144d; +} + +.emotion-43:hover[aria-disabled='false'] .emotion-46[aria-invalid='true']+.emotion-48 .emotion-50 { + fill: #ffd3e3; +} + +.emotion-43[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-43[aria-disabled='true']>label, +.emotion-43[aria-disabled='true'] .emotion-46 { + cursor: not-allowed; +} + +.emotion-43[aria-disabled='true'] .emotion-48 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-43[aria-disabled='true'] .emotion-48 .emotion-50 { + fill: #f3f3f4; +} + +.emotion-45 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-45+.emotion-48 .emotion-52 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-45:checked+svg .emotion-52 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-45:checked[aria-disabled='false'][aria-invalid='false']+.emotion-48 { + fill: #8c40ef; +} + +.emotion-45:checked[aria-disabled='true'][aria-invalid='false']+.emotion-48 { + fill: #d8c5fc; +} + +.emotion-45[aria-invalid='true']:not([aria-disabled='true'])+.emotion-48 { + fill: #e51963; +} + +.emotion-45[aria-disabled='false']:active+.emotion-48 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-45[aria-disabled='false']:active+.emotion-48 .emotion-50 { + fill: #f1eefc; +} + +.emotion-45[aria-disabled='false']:focus-visible+.emotion-48 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-45[aria-invalid='true']:focus+.emotion-48 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-45[aria-invalid='true']:focus+.emotion-48 .emotion-50 { + fill: #ffebf2; +} + +.emotion-47 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-47 .emotion-50 { + fill: #ffffff; +} + +.emotion-56 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2rem; + padding: 0 0.5rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: none; + border: none; + color: #3f4250; +} + +.emotion-56:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-56:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; +} + +.emotion-56 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-56:hover, +.emotion-56:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-58 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-58 .fillStroke { + stroke: currentColor; + fill: none; +} + +.emotion-61 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ Solar system Planet +
+
+
+ Perihelion +
+
+
+ Aphelion +
+
+
+
+
+`; + +exports[`OfferList > should work with banner 1`] = ` + + .emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-19 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-19[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-19[aria-sort] { + color: #641cb3; +} + +.emotion-28 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-28[role='button row'] { + cursor: pointer; +} + +.emotion-28 td, +.emotion-28 td:first-child, +.emotion-28 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-28 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-28 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-28 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-28:not([aria-disabled='true']):hover td, +.emotion-28:not([aria-disabled='true']):hover td:first-child, +.emotion-28:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-28:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-28[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-28[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-28 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-28:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] td, +.emotion-28[data-highlight='true'] td:first-child, +.emotion-28[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-28[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-28 td:nth-of-type(4) { + width: 200px; +} + +.emotion-28 td:nth-of-type(5) { + width: 200px; +} + +.emotion-28[aria-disabled='false']:hover+.emotion-64 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true']+.emotion-64 td { + border-color: #8c40ef; +} + +.emotion-28 td, +.emotion-28 td:first-child { + border-bottom-left-radius: 0; +} + +.emotion-28 td, +.emotion-28 td:last-child { + border-bottom-right-radius: 0; +} + +.emotion-31 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-31:first-of-type { + padding-left: 1rem; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-37 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-37[aria-disabled='false'], +.emotion-37[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40+.emotion-42 { + fill: #8c40ef; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40+.emotion-42 .emotion-44 { + fill: #e5dbfd; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40[aria-invalid='true']+.emotion-42 { + fill: #b3144d; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40[aria-invalid='true']+.emotion-42 .emotion-44 { + fill: #ffd3e3; +} + +.emotion-37[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-37[aria-disabled='true']>label, +.emotion-37[aria-disabled='true'] .emotion-40 { + cursor: not-allowed; +} + +.emotion-37[aria-disabled='true'] .emotion-42 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-37[aria-disabled='true'] .emotion-42 .emotion-44 { + fill: #f3f3f4; +} + +.emotion-39 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-39+.emotion-42 .emotion-46 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-39:checked+svg .emotion-46 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-39:checked[aria-disabled='false'][aria-invalid='false']+.emotion-42 { + fill: #8c40ef; +} + +.emotion-39:checked[aria-disabled='true'][aria-invalid='false']+.emotion-42 { + fill: #d8c5fc; +} + +.emotion-39[aria-invalid='true']:not([aria-disabled='true'])+.emotion-42 { + fill: #e51963; +} + +.emotion-39[aria-disabled='false']:active+.emotion-42 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-39[aria-disabled='false']:active+.emotion-42 .emotion-44 { + fill: #f1eefc; +} + +.emotion-39[aria-disabled='false']:focus-visible+.emotion-42 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-39[aria-invalid='true']:focus+.emotion-42 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-39[aria-invalid='true']:focus+.emotion-42 .emotion-44 { + fill: #ffebf2; +} + +.emotion-41 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-41 .emotion-44 { + fill: #ffffff; +} + +.emotion-50 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2rem; + padding: 0 0.5rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: none; + border: none; + color: #3f4250; +} + +.emotion-50:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-50:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; +} + +.emotion-50 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-50:hover, +.emotion-50:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-52 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-52 .fillStroke { + stroke: currentColor; + fill: none; +} + +.emotion-55 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +.emotion-63 { + width: 100%; + display: table-row; + vertical-align: middle; + cursor: auto; + background: #f9f9fa; + border-radius: 0 0 0.25rem 0.25rem; + -webkit-transform: translate3d(0, -1rem, 0); + -moz-transform: translate3d(0, -1rem, 0); + -ms-transform: translate3d(0, -1rem, 0); + transform: translate3d(0, -1rem, 0); + position: relative; +} + +.emotion-63 td, +.emotion-63 td:first-child, +.emotion-63 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-63 td { + border: 1px solid #d9dadd; + border-top: none; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-66 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + border-top-left-radius: 0; + border-top-right-radius: 0; + background-color: #f9f9fa; + width: 100%; + padding-block: 0.25rem; + padding-inline: 0.5rem; + border-bottom: 1px solid #d9dadd; +} + +.emotion-66[aria-disabled="true"] { + background-color: #f3f3f4; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ Solar system Planet +
+
+
+ Perihelion +
+
+
+ Aphelion +
+
+

+ text +

+
+

+ text +

+
+

+ text +

+
+

+ text +

+
+

+ text +

+
+

+ text +

+
+

+ text +

+
+

+ text +

+
+
+
+
+`; + +exports[`OfferList > should work with banner open 1`] = ` + + .emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-19 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-19[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-19[aria-sort] { + color: #641cb3; +} + +.emotion-28 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-28[role='button row'] { + cursor: pointer; +} + +.emotion-28 td, +.emotion-28 td:first-child, +.emotion-28 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-28 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-28 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-28 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-28:not([aria-disabled='true']):hover td, +.emotion-28:not([aria-disabled='true']):hover td:first-child, +.emotion-28:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-28:not([aria-disabled='true']):hover+.emotion-64 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-28[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-28[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-28 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-28:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] td, +.emotion-28[data-highlight='true'] td:first-child, +.emotion-28[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-28[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-28 td:nth-of-type(4) { + width: 200px; +} + +.emotion-28 td:nth-of-type(5) { + width: 200px; +} + +.emotion-28[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-28 td, +.emotion-28 td:first-child { + border-bottom-left-radius: 0; +} + +.emotion-28 td, +.emotion-28 td:last-child { + border-bottom-right-radius: 0; +} + +.emotion-31 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-31:first-of-type { + padding-left: 1rem; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-37 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-37[aria-disabled='false'], +.emotion-37[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40+.emotion-42 { + fill: #8c40ef; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40+.emotion-42 .emotion-44 { + fill: #e5dbfd; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40[aria-invalid='true']+.emotion-42 { + fill: #b3144d; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40[aria-invalid='true']+.emotion-42 .emotion-44 { + fill: #ffd3e3; +} + +.emotion-37[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-37[aria-disabled='true']>label, +.emotion-37[aria-disabled='true'] .emotion-40 { + cursor: not-allowed; +} + +.emotion-37[aria-disabled='true'] .emotion-42 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-37[aria-disabled='true'] .emotion-42 .emotion-44 { + fill: #f3f3f4; +} + +.emotion-39 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-39+.emotion-42 .emotion-46 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-39:checked+svg .emotion-46 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-39:checked[aria-disabled='false'][aria-invalid='false']+.emotion-42 { + fill: #8c40ef; +} + +.emotion-39:checked[aria-disabled='true'][aria-invalid='false']+.emotion-42 { + fill: #d8c5fc; +} + +.emotion-39[aria-invalid='true']:not([aria-disabled='true'])+.emotion-42 { + fill: #e51963; +} + +.emotion-39[aria-disabled='false']:active+.emotion-42 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-39[aria-disabled='false']:active+.emotion-42 .emotion-44 { + fill: #f1eefc; +} + +.emotion-39[aria-disabled='false']:focus-visible+.emotion-42 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-39[aria-invalid='true']:focus+.emotion-42 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-39[aria-invalid='true']:focus+.emotion-42 .emotion-44 { + fill: #ffebf2; +} + +.emotion-41 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-41 .emotion-44 { + fill: #ffffff; +} + +.emotion-50 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2rem; + padding: 0 0.5rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: none; + border: none; + color: #3f4250; +} + +.emotion-50:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-50:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; +} + +.emotion-50 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-50:hover, +.emotion-50:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-52 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-52 .fillStroke { + stroke: currentColor; + fill: none; +} + +.emotion-55 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +.emotion-63 { + width: 100%; + display: table-row; + vertical-align: middle; + cursor: auto; + background: #f9f9fa; + border-radius: 0 0 0.25rem 0.25rem; + -webkit-transform: translate3d(0, -1rem, 0); + -moz-transform: translate3d(0, -1rem, 0); + -ms-transform: translate3d(0, -1rem, 0); + transform: translate3d(0, -1rem, 0); + position: relative; +} + +.emotion-63 td, +.emotion-63 td:first-child, +.emotion-63 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-63 td { + border: 1px solid #d9dadd; + border-top: none; + border-radius: 0 0 0.25rem 0.25rem; +} + +.emotion-63[data-highlight="true"] td { + border-color: #8c40ef; +} + +.emotion-66 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0rem; +} + +.emotion-68 { + padding: 1.5rem; +} + +.emotion-70 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + border-top: 1px solid #d9dadd; + border-radius: 0 0 0.25rem 0.25rem; + background-color: #ffebf2; + width: 100%; + padding-block: 0.25rem; + padding-inline: 0.5rem; +} + +.emotion-70[aria-disabled="true"] { + background-color: #f3f3f4; +} + +.emotion-72 { + color: #b3144d; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ Solar system Planet +
+
+
+ Perihelion +
+
+
+ Aphelion +
+
+
+
+
+ + + + + + + + +
+
+
+
+ + + Mercury + + 0.307AU + + 0.467AU +
+
+ text +
+
+

+ text +

+
+
+
+
+
+ + + + + + + + +
+
+
+
+ + + Venus + + 0.718AU + + 0.728AU +
+
+ text +
+
+

+ text +

+
+
+
+
+
+ + + + + + + + +
+
+
+
+ + + Earth + + 0.983AU + + 1.017AU +
+
+ text +
+
+

+ text +

+
+
+
+
+
+ + + + + + + + +
+
+
+
+ + + Mars + + 1.381AU + + 1.666AU +
+
+ text +
+
+

+ text +

+
+
+
+
+
+ + + + + + + + +
+
+
+
+ + + Jupiter + + 4.951AU + + 5.457AU +
+
+ text +
+
+

+ text +

+
+
+
+
+
+ + + + + + + + +
+
+
+
+ + + Saturn + + 9.041AU + + 10.124AU +
+
+ text +
+
+

+ text +

+
+
+
+
+
+ + + + + + + + +
+
+
+
+ + + Uranus + + 18.286AU + + 20.097AU +
+
+ text +
+
+

+ text +

+
+
+
+
+
+ + + + + + + + +
+
+
+
+ + + Neptune + + 29.81AU + + 30.33AU +
+
+ text +
+
+

+ text +

+
+
+
+
+
+`; + +exports[`OfferList > should work with default props 1`] = ` + + .emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-15 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-15[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-15[aria-sort] { + color: #641cb3; +} + +.emotion-24 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-24[role='button row'] { + cursor: pointer; +} + +.emotion-24 td, +.emotion-24 td:first-child, +.emotion-24 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-24 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-24 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-24 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-24:not([aria-disabled='true']):hover td, +.emotion-24:not([aria-disabled='true']):hover td:first-child, +.emotion-24:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-24:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-24[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-24[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-24 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-24:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] td, +.emotion-24[data-highlight='true'] td:first-child, +.emotion-24[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-24[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-24 td:nth-of-type(3) { + width: 200px; +} + +.emotion-24 td:nth-of-type(4) { + width: 200px; +} + +.emotion-24[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-27 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-27:first-of-type { + padding-left: 1rem; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-33 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-33[aria-disabled='false'], +.emotion-33[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 { + fill: #8c40ef; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 .emotion-40 { + fill: #e5dbfd; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 { + fill: #b3144d; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 .emotion-40 { + fill: #ffd3e3; +} + +.emotion-33[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-33[aria-disabled='true']>label, +.emotion-33[aria-disabled='true'] .emotion-36 { + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 .emotion-40 { + fill: #f3f3f4; +} + +.emotion-35 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-35+.emotion-38 .emotion-42 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-35:checked+svg .emotion-42 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-35:checked[aria-disabled='false'][aria-invalid='false']+.emotion-38 { + fill: #8c40ef; +} + +.emotion-35:checked[aria-disabled='true'][aria-invalid='false']+.emotion-38 { + fill: #d8c5fc; +} + +.emotion-35[aria-invalid='true']:not([aria-disabled='true'])+.emotion-38 { + fill: #e51963; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 .emotion-40 { + fill: #f1eefc; +} + +.emotion-35[aria-disabled='false']:focus-visible+.emotion-38 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 .emotion-40 { + fill: #ffebf2; +} + +.emotion-37 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-37 .emotion-40 { + fill: #ffffff; +} + +.emotion-44 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ Solar system Planet +
+
+
+ Perihelion +
+
+
+ Aphelion +
+
+
+
+
+ + + + + + + + +
+
+
+
+ Mercury + + 0.307AU + + 0.467AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Venus + + 0.718AU + + 0.728AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Earth + + 0.983AU + + 1.017AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Mars + + 1.381AU + + 1.666AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Jupiter + + 4.951AU + + 5.457AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Saturn + + 9.041AU + + 10.124AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Uranus + + 18.286AU + + 20.097AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Neptune + + 29.81AU + + 30.33AU +
+
+
+
+`; + +exports[`OfferList > should work with expandable 1`] = ` + + .emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-19 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-19[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-19[aria-sort] { + color: #641cb3; +} + +.emotion-19 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-19[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-19[aria-sort] { + color: #641cb3; +} + +.emotion-28 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-28[role='button row'] { + cursor: pointer; +} + +.emotion-28 td, +.emotion-28 td:first-child, +.emotion-28 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-28 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-28 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-28 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-28:not([aria-disabled='true']):hover td, +.emotion-28:not([aria-disabled='true']):hover td:first-child, +.emotion-28:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-28:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-28[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-28[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-28 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-28:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] td, +.emotion-28[data-highlight='true'] td:first-child, +.emotion-28[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-28[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-28 td:nth-of-type(4) { + width: 200px; +} + +.emotion-28 td:nth-of-type(5) { + width: 200px; +} + +.emotion-28[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-28 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-28[role='button row'] { + cursor: pointer; +} + +.emotion-28 td, +.emotion-28 td:first-child, +.emotion-28 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-28 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-28 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-28 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-28:not([aria-disabled='true']):hover td, +.emotion-28:not([aria-disabled='true']):hover td:first-child, +.emotion-28:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-28:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-28[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-28[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-28 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-28:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-28[data-highlight='true'] td, +.emotion-28[data-highlight='true'] td:first-child, +.emotion-28[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-28[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-28 td:nth-of-type(4) { + width: 200px; +} + +.emotion-28 td:nth-of-type(5) { + width: 200px; +} + +.emotion-28[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-28[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-31 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-31:first-of-type { + padding-left: 1rem; +} + +.emotion-31 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-31:first-of-type { + padding-left: 1rem; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-37 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-37[aria-disabled='false'], +.emotion-37[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40+.emotion-42 { + fill: #8c40ef; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40+.emotion-42 .emotion-44 { + fill: #e5dbfd; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40[aria-invalid='true']+.emotion-42 { + fill: #b3144d; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40[aria-invalid='true']+.emotion-42 .emotion-44 { + fill: #ffd3e3; +} + +.emotion-37[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-37[aria-disabled='true']>label, +.emotion-37[aria-disabled='true'] .emotion-40 { + cursor: not-allowed; +} + +.emotion-37[aria-disabled='true'] .emotion-42 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-37[aria-disabled='true'] .emotion-42 .emotion-44 { + fill: #f3f3f4; +} + +.emotion-37 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-37[aria-disabled='false'], +.emotion-37[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40+.emotion-42 { + fill: #8c40ef; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40+.emotion-42 .emotion-44 { + fill: #e5dbfd; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40[aria-invalid='true']+.emotion-42 { + fill: #b3144d; +} + +.emotion-37:hover[aria-disabled='false'] .emotion-40[aria-invalid='true']+.emotion-42 .emotion-44 { + fill: #ffd3e3; +} + +.emotion-37[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-37[aria-disabled='true']>label, +.emotion-37[aria-disabled='true'] .emotion-40 { + cursor: not-allowed; +} + +.emotion-37[aria-disabled='true'] .emotion-42 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-37[aria-disabled='true'] .emotion-42 .emotion-44 { + fill: #f3f3f4; +} + +.emotion-39 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-39+.emotion-42 .emotion-46 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-39:checked+svg .emotion-46 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-39:checked[aria-disabled='false'][aria-invalid='false']+.emotion-42 { + fill: #8c40ef; +} + +.emotion-39:checked[aria-disabled='true'][aria-invalid='false']+.emotion-42 { + fill: #d8c5fc; +} + +.emotion-39[aria-invalid='true']:not([aria-disabled='true'])+.emotion-42 { + fill: #e51963; +} + +.emotion-39[aria-disabled='false']:active+.emotion-42 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-39[aria-disabled='false']:active+.emotion-42 .emotion-44 { + fill: #f1eefc; +} + +.emotion-39[aria-disabled='false']:focus-visible+.emotion-42 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-39[aria-invalid='true']:focus+.emotion-42 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-39[aria-invalid='true']:focus+.emotion-42 .emotion-44 { + fill: #ffebf2; +} + +.emotion-39 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-39+.emotion-42 .emotion-46 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-39:checked+svg .emotion-46 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-39:checked[aria-disabled='false'][aria-invalid='false']+.emotion-42 { + fill: #8c40ef; +} + +.emotion-39:checked[aria-disabled='true'][aria-invalid='false']+.emotion-42 { + fill: #d8c5fc; +} + +.emotion-39[aria-invalid='true']:not([aria-disabled='true'])+.emotion-42 { + fill: #e51963; +} + +.emotion-39[aria-disabled='false']:active+.emotion-42 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-39[aria-disabled='false']:active+.emotion-42 .emotion-44 { + fill: #f1eefc; +} + +.emotion-39[aria-disabled='false']:focus-visible+.emotion-42 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-39[aria-invalid='true']:focus+.emotion-42 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-39[aria-invalid='true']:focus+.emotion-42 .emotion-44 { + fill: #ffebf2; +} + +.emotion-41 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-41 .emotion-44 { + fill: #ffffff; +} + +.emotion-41 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-41 .emotion-44 { + fill: #ffffff; +} + +.emotion-50 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2rem; + padding: 0 0.5rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: none; + border: none; + color: #3f4250; +} + +.emotion-50:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-50:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; +} + +.emotion-50 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-50:hover, +.emotion-50:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-50 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2rem; + padding: 0 0.5rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: none; + border: none; + color: #3f4250; +} + +.emotion-50:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-50:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; +} + +.emotion-50 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-50:hover, +.emotion-50:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-52 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-52 .fillStroke { + stroke: currentColor; + fill: none; +} + +.emotion-52 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-52 .fillStroke { + stroke: currentColor; + fill: none; +} + +.emotion-55 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +.emotion-55 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ Solar system Planet +
+
+
+ Perihelion +
+
+
+ Aphelion +
+
+
+
+
+`; + +exports[`OfferList > should work with selectable - checkbox 1`] = ` + + .emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-15 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-15[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-15[aria-sort] { + color: #641cb3; +} + +.emotion-15 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-15[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-15[aria-sort] { + color: #641cb3; +} + +.emotion-24 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-24[role='button row'] { + cursor: pointer; +} + +.emotion-24 td, +.emotion-24 td:first-child, +.emotion-24 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-24 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-24 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-24 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-24:not([aria-disabled='true']):hover td, +.emotion-24:not([aria-disabled='true']):hover td:first-child, +.emotion-24:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-24:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-24[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-24[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-24 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-24:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] td, +.emotion-24[data-highlight='true'] td:first-child, +.emotion-24[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-24[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-24 td:nth-of-type(3) { + width: 200px; +} + +.emotion-24 td:nth-of-type(4) { + width: 200px; +} + +.emotion-24[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-24 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-24[role='button row'] { + cursor: pointer; +} + +.emotion-24 td, +.emotion-24 td:first-child, +.emotion-24 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-24 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-24 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-24 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-24:not([aria-disabled='true']):hover td, +.emotion-24:not([aria-disabled='true']):hover td:first-child, +.emotion-24:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-24:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-24[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-24[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-24 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-24:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] td, +.emotion-24[data-highlight='true'] td:first-child, +.emotion-24[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-24[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-24 td:nth-of-type(3) { + width: 200px; +} + +.emotion-24 td:nth-of-type(4) { + width: 200px; +} + +.emotion-24[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-27 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-27:first-of-type { + padding-left: 1rem; +} + +.emotion-27 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-27:first-of-type { + padding-left: 1rem; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + gap: 0.5rem; +} + +.emotion-31 .eqr7bqq3 { + cursor: pointer; +} + +.emotion-31[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-31[aria-disabled='true'] .eqr7bqq3 { + cursor: not-allowed; +} + +.emotion-31[aria-disabled='true'] .emotion-36 { + fill: #e9eaeb; +} + +.emotion-31[aria-disabled='true'] .emotion-36 .emotion-38 { + stroke: #d9dadd; + fill: #f3f3f4; +} + +.emotion-31[aria-disabled='true'] .emotion-34[aria-invalid="true"]:checked+.emotion-36 { + fill: #ffd3e3; +} + +.emotion-31[aria-disabled='true'] .emotion-34[aria-invalid="true"]:checked+.emotion-36 .emotion-38 { + stroke: #ffd3e3; + fill: #ffd3e3; +} + +.emotion-31[aria-disabled='true'] .emotion-34[aria-invalid="true"]+.emotion-36 { + fill: #ffebf2; +} + +.emotion-31[aria-disabled='true'] .emotion-34[aria-invalid="true"]+.emotion-36 .emotion-38 { + stroke: #ffbbd3; + fill: #ffebf2; +} + +.emotion-31[aria-disabled='true'] .emotion-34:checked+.emotion-36 { + fill: #e5dbfd; +} + +.emotion-31[aria-disabled='true'] .emotion-34:checked+.emotion-36 .emotion-38 { + stroke: #d8c5fc; + fill: #d8c5fc; +} + +.emotion-31[aria-disabled='true'] .emotion-34[aria-checked="mixed"]+.emotion-36 { + fill: #e5dbfd; +} + +.emotion-31[aria-disabled='true'] .emotion-34[aria-checked="mixed"]+.emotion-36 .emotion-38 { + stroke: #e5dbfd; + fill: #e5dbfd; +} + +.emotion-31 .emotion-34:checked+.emotion-36 path { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + -webkit-transform: translate(2px, 2px); + -moz-transform: translate(2px, 2px); + -ms-transform: translate(2px, 2px); + transform: translate(2px, 2px); +} + +.emotion-31 .emotion-34:checked+.emotion-36 .emotion-38 { + fill: #8c40ef; + stroke: #8c40ef; +} + +.emotion-31 .emotion-34[aria-invalid="true"]:checked+.emotion-36 .emotion-38 { + fill: #e51963; + stroke: #e51963; +} + +.emotion-31 .emotion-34[aria-checked="mixed"]+.emotion-36 .eqr7bqq5 { + fill: #ffffff; +} + +.emotion-31 .emotion-34[aria-checked="mixed"]+.emotion-36 .emotion-38 { + fill: #8c40ef; + stroke: #8c40ef; +} + +.emotion-31:hover[aria-disabled='false'] .emotion-34[aria-invalid='false'][aria-checked='false']+.emotion-36 .emotion-38 { + stroke: #792dd4; + fill: #e5dbfd; +} + +.emotion-31:hover[aria-disabled='false'] .emotion-34[aria-invalid='false'][aria-checked='true']+.emotion-36 .emotion-38 { + stroke: #792dd4; + fill: #792dd4; +} + +.emotion-31:hover[aria-disabled='false'] .emotion-34[aria-invalid='false'][aria-checked='mixed']+.emotion-36 .emotion-38 { + stroke: #792dd4; + fill: #792dd4; +} + +.emotion-31:hover[aria-disabled='false'] .emotion-34[aria-invalid='true'][aria-checked='false']+.emotion-36 .emotion-38 { + stroke: #92103f; + fill: #ffd3e3; +} + +.emotion-31:hover[aria-disabled='false'] .emotion-34[aria-invalid='true'][aria-checked='true']+.emotion-36 .emotion-38 { + stroke: #d6175c; + fill: #d6175c; +} + +.emotion-31 .emotion-34[aria-invalid="true"]+.emotion-36 { + fill: #e51963; +} + +.emotion-31 .emotion-34[aria-invalid="true"]+.emotion-36 .emotion-38 { + stroke: #e51963; + fill: #ffebf2; +} + +.emotion-33 { + position: absolute; + white-space: nowrap; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + border-width: 0; +} + +.emotion-33:not(:disabled) { + cursor: pointer; +} + +.emotion-33:disabled { + cursor: not-allowed; +} + +.emotion-33:not(:disabled):checked+.emotion-36, +.emotion-33:not(:disabled)[aria-checked='mixed']+.emotion-36 { + fill: #8c40ef; +} + +.emotion-33:not(:disabled):checked+.emotion-36 .emotion-38, +.emotion-33:not(:disabled)[aria-checked='mixed']+.emotion-36 .emotion-38 { + stroke: #8c40ef; +} + +.emotion-33:not(:disabled)[aria-invalid='true']+.emotion-36, +.emotion-33:not(:disabled)[aria-invalid='mixed']+.emotion-36 { + fill: #ffebf2; +} + +.emotion-33:not(:disabled)[aria-invalid='true']+.emotion-36 .emotion-38, +.emotion-33:not(:disabled)[aria-invalid='mixed']+.emotion-36 .emotion-38 { + stroke: #b3144d; +} + +.emotion-33:focus+.emotion-36 { + background-color: #f1eefc; + fill: #ffebf2; + outline: 1px solid 0px 0px 0px 3px #8c40ef40; +} + +.emotion-33:focus+.emotion-36 .emotion-38 { + stroke: #792dd4; + fill: #e5dbfd; +} + +.emotion-33[aria-invalid='true']:focus+.emotion-36 { + background-color: #ffebf2; + fill: #ffebf2; + outline: 1px solid 0px 0px 0px 3px #f91b6c40; +} + +.emotion-33[aria-invalid='true']:focus+.emotion-36 .emotion-38 { + stroke: #92103f; + fill: #ffd3e3; +} + +.emotion-35 { + border-radius: 0.25rem; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-35 path { + fill: #ffffff; + -webkit-transform: translate(2px, 2px); + -moz-transform: translate(2px, 2px); + -ms-transform: translate(2px, 2px); + transform: translate(2px, 2px); + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-37 { + fill: #ffffff; + stroke: #d9dadd; +} + +.emotion-40 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +.emotion-40 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +.emotion-49 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-49[role='button row'] { + cursor: pointer; +} + +.emotion-49 td, +.emotion-49 td:first-child, +.emotion-49 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-49 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-49 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-49 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-49:not([aria-disabled='true']):hover td, +.emotion-49:not([aria-disabled='true']):hover td:first-child, +.emotion-49:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-49:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-49[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-49[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-49[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-49 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-49:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-49[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-49[data-highlight='true'] td, +.emotion-49[data-highlight='true'] td:first-child, +.emotion-49[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-49[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-49 td:nth-of-type(3) { + width: 200px; +} + +.emotion-49 td:nth-of-type(4) { + width: 200px; +} + +.emotion-49 td, +.emotion-49 td:first-child, +.emotion-49 td:last-child { + border-color: #8c40ef; +} + +.emotion-49[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-49[aria-disabled='false']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-49[aria-expanded='true'] td, +.emotion-49[aria-expanded='true'] td:first-child, +.emotion-49[aria-expanded='true'] td:last-child, +.emotion-49[aria-expanded='true']+tr td { + border-color: #8c40ef; +} + +.emotion-49[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ Solar system Planet +
+
+
+ Perihelion +
+
+
+ Aphelion +
+
+
+
+ + + + + + + +
+
+
+ Mercury + + 0.307AU + + 0.467AU +
+
+
+ + + + + + + +
+
+
+ Venus + + 0.718AU + + 0.728AU +
+
+
+ + + + + + + +
+
+
+ Earth + + 0.983AU + + 1.017AU +
+
+
+ + + + + + + +
+
+
+ Mars + + 1.381AU + + 1.666AU +
+
+
+ + + + + + + +
+
+
+ Jupiter + + 4.951AU + + 5.457AU +
+
+
+ + + + + + + +
+
+
+ Saturn + + 9.041AU + + 10.124AU +
+
+
+ + + + + + + +
+
+
+ Uranus + + 18.286AU + + 20.097AU +
+
+
+ + + + + + + +
+
+
+ Neptune + + 29.81AU + + 30.33AU +
+
+
+
+`; + +exports[`OfferList > should work with selectable - radio 1`] = ` + + .emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-15 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-15[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-15[aria-sort] { + color: #641cb3; +} + +.emotion-15 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-15[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-15[aria-sort] { + color: #641cb3; +} + +.emotion-24 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-24[role='button row'] { + cursor: pointer; +} + +.emotion-24 td, +.emotion-24 td:first-child, +.emotion-24 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-24 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-24 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-24 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-24:not([aria-disabled='true']):hover td, +.emotion-24:not([aria-disabled='true']):hover td:first-child, +.emotion-24:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-24:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-24[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-24[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-24 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-24:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] td, +.emotion-24[data-highlight='true'] td:first-child, +.emotion-24[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-24[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-24 td:nth-of-type(3) { + width: 200px; +} + +.emotion-24 td:nth-of-type(4) { + width: 200px; +} + +.emotion-24[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-24 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-24[role='button row'] { + cursor: pointer; +} + +.emotion-24 td, +.emotion-24 td:first-child, +.emotion-24 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-24 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-24 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-24 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-24:not([aria-disabled='true']):hover td, +.emotion-24:not([aria-disabled='true']):hover td:first-child, +.emotion-24:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-24:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-24[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-24[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-24 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-24:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] td, +.emotion-24[data-highlight='true'] td:first-child, +.emotion-24[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-24[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-24 td:nth-of-type(3) { + width: 200px; +} + +.emotion-24 td:nth-of-type(4) { + width: 200px; +} + +.emotion-24[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-27 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-27:first-of-type { + padding-left: 1rem; +} + +.emotion-27 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-27:first-of-type { + padding-left: 1rem; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-33 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-33[aria-disabled='false'], +.emotion-33[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 { + fill: #8c40ef; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 .emotion-40 { + fill: #e5dbfd; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 { + fill: #b3144d; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 .emotion-40 { + fill: #ffd3e3; +} + +.emotion-33[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-33[aria-disabled='true']>label, +.emotion-33[aria-disabled='true'] .emotion-36 { + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 .emotion-40 { + fill: #f3f3f4; +} + +.emotion-33 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-33[aria-disabled='false'], +.emotion-33[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 { + fill: #8c40ef; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 .emotion-40 { + fill: #e5dbfd; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 { + fill: #b3144d; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 .emotion-40 { + fill: #ffd3e3; +} + +.emotion-33[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-33[aria-disabled='true']>label, +.emotion-33[aria-disabled='true'] .emotion-36 { + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 .emotion-40 { + fill: #f3f3f4; +} + +.emotion-35 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-35+.emotion-38 .emotion-42 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-35:checked+svg .emotion-42 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-35:checked[aria-disabled='false'][aria-invalid='false']+.emotion-38 { + fill: #8c40ef; +} + +.emotion-35:checked[aria-disabled='true'][aria-invalid='false']+.emotion-38 { + fill: #d8c5fc; +} + +.emotion-35[aria-invalid='true']:not([aria-disabled='true'])+.emotion-38 { + fill: #e51963; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 .emotion-40 { + fill: #f1eefc; +} + +.emotion-35[aria-disabled='false']:focus-visible+.emotion-38 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 .emotion-40 { + fill: #ffebf2; +} + +.emotion-35 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-35+.emotion-38 .emotion-42 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-35:checked+svg .emotion-42 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-35:checked[aria-disabled='false'][aria-invalid='false']+.emotion-38 { + fill: #8c40ef; +} + +.emotion-35:checked[aria-disabled='true'][aria-invalid='false']+.emotion-38 { + fill: #d8c5fc; +} + +.emotion-35[aria-invalid='true']:not([aria-disabled='true'])+.emotion-38 { + fill: #e51963; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 .emotion-40 { + fill: #f1eefc; +} + +.emotion-35[aria-disabled='false']:focus-visible+.emotion-38 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 .emotion-40 { + fill: #ffebf2; +} + +.emotion-37 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-37 .emotion-40 { + fill: #ffffff; +} + +.emotion-37 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-37 .emotion-40 { + fill: #ffffff; +} + +.emotion-44 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +.emotion-44 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +.emotion-53 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-53[role='button row'] { + cursor: pointer; +} + +.emotion-53 td, +.emotion-53 td:first-child, +.emotion-53 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-53 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-53 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-53 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-53:not([aria-disabled='true']):hover td, +.emotion-53:not([aria-disabled='true']):hover td:first-child, +.emotion-53:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-53:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-53[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-53[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-53[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-53 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-53:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-53[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-53[data-highlight='true'] td, +.emotion-53[data-highlight='true'] td:first-child, +.emotion-53[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-53[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-53 td:nth-of-type(3) { + width: 200px; +} + +.emotion-53 td:nth-of-type(4) { + width: 200px; +} + +.emotion-53 td, +.emotion-53 td:first-child, +.emotion-53 td:last-child { + border-color: #8c40ef; +} + +.emotion-53[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-53[aria-disabled='false']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-53[aria-expanded='true'] td, +.emotion-53[aria-expanded='true'] td:first-child, +.emotion-53[aria-expanded='true'] td:last-child, +.emotion-53[aria-expanded='true']+tr td { + border-color: #8c40ef; +} + +.emotion-53[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ Solar system Planet +
+
+
+ Perihelion +
+
+
+ Aphelion +
+
+
+
+
+ + + + + + + + +
+
+
+
+ Mercury + + 0.307AU + + 0.467AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Venus + + 0.718AU + + 0.728AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Earth + + 0.983AU + + 1.017AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Mars + + 1.381AU + + 1.666AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Jupiter + + 4.951AU + + 5.457AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Saturn + + 9.041AU + + 10.124AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Uranus + + 18.286AU + + 20.097AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Neptune + + 29.81AU + + 30.33AU +
+
+
+
+`; + +exports[`OfferList > should work with sentiment 1`] = ` + + .emotion-0 { + min-width: 100%; + width: 100%; + overflow-x: auto; +} + +.emotion-3 { + width: 100%; + box-sizing: content-box; + gap: 0.5rem; + border-spacing: 0 1rem; + position: relative; +} + +.emotion-3 td:first-child, +.emotion-3 th:first-child { + width: 3.5rem; + min-width: 3.5rem; + max-width: 3.5rem; +} + +.emotion-5 { + display: table-row; + vertical-align: middle; + padding: 0 1rem; +} + +.emotion-7 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; +} + +.emotion-7[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-7[aria-sort] { + color: #641cb3; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-15 { + display: table-cell; + text-align: left; + vertical-align: middle; + font-size: 0.875rem; + font-weight: 400; + font-family: Inter,sans-serif; + color: #3f4250; + gap: 0.5rem; + padding: 0 1rem; + width: 200px; +} + +.emotion-15[role*='button'] { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-15[aria-sort] { + color: #641cb3; +} + +.emotion-24 { + display: table-row; + vertical-align: middle; + position: relative; + box-shadow: none; + background-color: #ffffff; + font-size: 0.875rem; + -webkit-column-gap: 1rem; + column-gap: 1rem; + position: relative; + color: #3f4250; + border-color: #d9dadd; + background-color: #ffffff; + -webkit-animation: 3s linear; + animation: 3s linear; +} + +.emotion-24[role='button row'] { + cursor: pointer; +} + +.emotion-24 td, +.emotion-24 td:first-child, +.emotion-24 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-24 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-24 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-24 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-24:not([aria-disabled='true']):hover td, +.emotion-24:not([aria-disabled='true']):hover td:first-child, +.emotion-24:not([aria-disabled='true']):hover td:last-child { + border-color: #8c40ef; +} + +.emotion-24:not([aria-disabled='true']):hover+.ei4uyz15 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true'] td { + border-bottom-color: #d9dadd; +} + +.emotion-24[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-24[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + +.emotion-24 [data-expandable-content] { + border-color: #d9dadd; +} + +.emotion-24:not([aria-disabled='true']):hover { + border-color: #8c40ef; + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] { + box-shadow: 0px 4px 16px 4px #f6f3ffcc; +} + +.emotion-24[data-highlight='true'] td, +.emotion-24[data-highlight='true'] td:first-child, +.emotion-24[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + +.emotion-24[aria-disabled='true'] { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; +} + +.emotion-24 td:nth-of-type(3) { + width: 200px; +} + +.emotion-24 td:nth-of-type(4) { + width: 200px; +} + +.emotion-24[aria-disabled='false']:hover+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-24[aria-expanded='true']+.edd5t9g2 td { + border-color: #8c40ef; +} + +.emotion-27 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + padding: 0; + width: 32px; +} + +.emotion-27:first-of-type { + padding-left: 1rem; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-33 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + -webkit-align-items: flex-start; + -webkit-box-align: flex-start; + -ms-flex-align: flex-start; + align-items: flex-start; + gap: 0.5rem; +} + +.emotion-33[aria-disabled='false'], +.emotion-33[aria-disabled='false']>label { + cursor: pointer; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 { + fill: #8c40ef; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36+.emotion-38 .emotion-40 { + fill: #e5dbfd; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 { + fill: #b3144d; +} + +.emotion-33:hover[aria-disabled='false'] .emotion-36[aria-invalid='true']+.emotion-38 .emotion-40 { + fill: #ffd3e3; +} + +.emotion-33[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; +} + +.emotion-33[aria-disabled='true']>label, +.emotion-33[aria-disabled='true'] .emotion-36 { + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 { + fill: #e9eaeb; + cursor: not-allowed; +} + +.emotion-33[aria-disabled='true'] .emotion-38 .emotion-40 { + fill: #f3f3f4; +} + +.emotion-35 { + cursor: pointer; + position: absolute; + height: 1.5rem; + width: 1.5rem; + opacity: 0; + white-space: nowrap; + border-width: 0; +} + +.emotion-35+.emotion-38 .emotion-42 { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-35:checked+svg .emotion-42 { + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); +} + +.emotion-35:checked[aria-disabled='false'][aria-invalid='false']+.emotion-38 { + fill: #8c40ef; +} + +.emotion-35:checked[aria-disabled='true'][aria-invalid='false']+.emotion-38 { + fill: #d8c5fc; +} + +.emotion-35[aria-invalid='true']:not([aria-disabled='true'])+.emotion-38 { + fill: #e51963; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 { + background-color: #5e127e40; + fill: #8c40ef; +} + +.emotion-35[aria-disabled='false']:active+.emotion-38 .emotion-40 { + fill: #f1eefc; +} + +.emotion-35[aria-disabled='false']:focus-visible+.emotion-38 { + outline: -webkit-focus-ring-color auto 1px; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 { + background-color: #f91b6c40; + fill: #e51963; +} + +.emotion-35[aria-invalid='true']:focus+.emotion-38 .emotion-40 { + fill: #ffebf2; +} + +.emotion-37 { + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; + border-radius: 100%; + fill: #d9dadd; +} + +.emotion-37 .emotion-40 { + fill: #ffffff; +} + +.emotion-44 { + display: table-cell; + vertical-align: middle; + height: 3.75rem; + padding: 0 1rem; + white-space: pre-line; +} + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ Solar system Planet +
+
+
+ Perihelion +
+
+
+ Aphelion +
+
+
+
+
+ + + + + + + + +
+
+
+
+ Mercury + + 0.307AU + + 0.467AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Venus + + 0.718AU + + 0.728AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Earth + + 0.983AU + + 1.017AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Mars + + 1.381AU + + 1.666AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Jupiter + + 4.951AU + + 5.457AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Saturn + + 9.041AU + + 10.124AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Uranus + + 18.286AU + + 20.097AU +
+
+
+
+ + + + + + + + +
+
+
+
+ Neptune + + 29.81AU + + 30.33AU +
+
+
+
+`; diff --git a/packages/plus/src/components/OfferList/__tests__/index.test.tsx b/packages/plus/src/components/OfferList/__tests__/index.test.tsx new file mode 100644 index 0000000000..0503da52ae --- /dev/null +++ b/packages/plus/src/components/OfferList/__tests__/index.test.tsx @@ -0,0 +1,188 @@ +import { screen } from '@testing-library/react' +import { userEvent } from '@testing-library/user-event' +import { renderWithTheme, shouldMatchEmotionSnapshot } from '@utils/test' +import { describe, expect, it, vi } from 'vitest' +import { OfferList } from '..' +import { columns, data } from './resources' + +describe('OfferList', () => { + it('should work with default props', () => + shouldMatchEmotionSnapshot( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + , + )) + + it('should work with sentiment', () => + shouldMatchEmotionSnapshot( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + , + )) + + it('should work with banner', () => + shouldMatchEmotionSnapshot( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + , + )) + + it('should work with banner open', () => + shouldMatchEmotionSnapshot( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + , + )) + + it('should work with badge', () => + shouldMatchEmotionSnapshot( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + , + )) + + it('should work loading', () => + shouldMatchEmotionSnapshot( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + , + )) + it('should work with selectable - radio', async () => { + const onChange = vi.fn() + const { asFragment } = renderWithTheme( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + , + ) + + const radioVenus = screen.getByDisplayValue('venus') + await userEvent.click(radioVenus) + expect(onChange).toHaveBeenCalled() + expect(radioVenus).toBeChecked() + expect(asFragment()).toMatchSnapshot() + }) + + it('should work with selectable - checkbox', async () => { + const onChange = vi.fn() + const { asFragment } = renderWithTheme( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + , + ) + + const radioVenus = screen.getByDisplayValue('venus') + await userEvent.click(radioVenus) + expect(onChange).toHaveBeenCalled() + expect(radioVenus).toBeChecked() + expect(asFragment()).toMatchSnapshot() + }) + + it('should work with expandable', async () => { + const { asFragment } = renderWithTheme( + + {data.map(planet => ( + + {planet.name} + {planet.perihelion}AU + {planet.aphelion}AU + + ))} + , + ) + + const expandButton = screen.getAllByTestId('list-expand-button')[0] + await userEvent.click(expandButton) + + const expandText = screen.getByText('expandable content') + expect(expandText).toBeVisible() + + await userEvent.click(expandButton) + expect(expandText).not.toBeVisible() + expect(asFragment()).toMatchSnapshot() + }) + + it('should throw an error when using OfferList.Row outside OfferList', () => { + expect(() => + shouldMatchEmotionSnapshot( + + a cell + , + ), + ).toThrowError( + 'useOfferListContext should be used inside a OfferList component', + ) + }) +}) diff --git a/packages/plus/src/components/OfferList/__tests__/resources.ts b/packages/plus/src/components/OfferList/__tests__/resources.ts new file mode 100644 index 0000000000..3436f29cc2 --- /dev/null +++ b/packages/plus/src/components/OfferList/__tests__/resources.ts @@ -0,0 +1,60 @@ +import type { ComponentProps } from 'react' +import type { OfferList } from '../OfferList' + +export const data = [ + { + id: 'mercury', + name: 'Mercury', + perihelion: 0.307, + aphelion: 0.467, + }, + { + id: 'venus', + name: 'Venus', + perihelion: 0.718, + aphelion: 0.728, + }, + { + id: 'home-sweet-home', + name: 'Earth', + perihelion: 0.983, + aphelion: 1.017, + }, + { + id: 'mars', + name: 'Mars', + perihelion: 1.381, + aphelion: 1.666, + }, + { + id: 'jupiter', + name: 'Jupiter', + perihelion: 4.951, + aphelion: 5.457, + }, + { + id: 'saturn', + name: 'Saturn', + perihelion: 9.041, + aphelion: 10.124, + }, + { + id: 'uranus', + name: 'Uranus', + perihelion: 18.286, + aphelion: 20.097, + }, + { + id: 'id-neptune', + name: 'Neptune', + perihelion: 29.81, + aphelion: 30.33, + }, +] + +export const columns: NonNullable['columns']> = + [ + { label: 'Solar system Planet' }, + { label: 'Perihelion', width: '200px' }, + { label: 'Aphelion', width: '200px' }, + ] diff --git a/packages/plus/src/components/OfferList/components/Banner.tsx b/packages/plus/src/components/OfferList/components/Banner.tsx new file mode 100644 index 0000000000..4cbd55d0d6 --- /dev/null +++ b/packages/plus/src/components/OfferList/components/Banner.tsx @@ -0,0 +1,117 @@ +'use client' + +import styled from '@emotion/styled' +import { List, Stack, Text } from '@ultraviolet/ui' +import type { ComponentProps, ReactNode } from 'react' + +export const BannerWrapper = styled.tr` + width: 100%; + display: table-row; + vertical-align: middle; + cursor: auto; + background: ${({ theme }) => theme.colors.neutral.backgroundWeak}; + border-radius: 0 0 ${({ theme }) => theme.radii.default} ${({ theme }) => + theme.radii.default}; + transform: translate3d(0, -${({ theme }) => theme.space['2']}, 0); + position: relative; + + td, td:first-child, td:last-child { + transition: + box-shadow 200ms ease, + border-color 200ms ease; + } + + td { + border: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-top: none; + border-radius: 0 0 ${({ theme }) => theme.radii.default} ${({ theme }) => + theme.radii.default}; + } +` + +const StyledCell = styled(List.Cell, { + shouldForwardProp: prop => !['sentiment'].includes(prop), +})<{ sentiment: ComponentProps['sentiment'] }>` + height: fit-content; + border-top-left-radius: 0; + border-top-right-radius: 0; + background-color: ${({ theme, sentiment }) => { + if (sentiment && sentiment !== 'neutral') { + return theme.colors[sentiment].background + } + + return theme.colors.neutral.backgroundWeak + }}; + width: 100%; + padding-block: ${({ theme }) => theme.space['0.5']}; + padding-inline: ${({ theme }) => theme.space['1']}; + border-bottom: 1px solid ${({ theme }) => theme.colors.neutral.border}; + + &[aria-disabled="true"] { + background-color: ${({ theme }) => theme.colors.neutral.backgroundDisabled}; + } +` + +const StyledStack = styled(Stack, { + shouldForwardProp: prop => !['sentiment'].includes(prop), +})<{ sentiment: ComponentProps['sentiment'] }>` + height: fit-content; + border-top: 1px solid ${({ theme }) => theme.colors.neutral.border}; + + border-radius: 0 0 ${({ theme }) => theme.radii.default} ${({ theme }) => + theme.radii.default}; + background-color: ${({ theme, sentiment }) => { + if (sentiment && sentiment !== 'neutral') { + return theme.colors[sentiment].background + } + + return theme.colors.neutral.backgroundWeak + }}; + width: 100%; + padding-block: ${({ theme }) => theme.space['0.5']}; + padding-inline: ${({ theme }) => theme.space['1']}; + + &[aria-disabled="true"] { + background-color: ${({ theme }) => theme.colors.neutral.backgroundDisabled}; + } +` + +type BannerProps = { + children: ReactNode + sentiment?: ComponentProps['sentiment'] + disabled?: boolean + colSpan?: number + type?: 'cell' | 'div' +} + +export const Banner = ({ + children, + sentiment = 'neutral', + disabled, + colSpan = 1000, + type = 'div', +}: BannerProps) => + type === 'div' ? ( + + + {children} + + + ) : ( + + + + {children} + + + + ) diff --git a/packages/plus/src/components/OfferList/components/Cell.tsx b/packages/plus/src/components/OfferList/components/Cell.tsx new file mode 100644 index 0000000000..1362fb43ba --- /dev/null +++ b/packages/plus/src/components/OfferList/components/Cell.tsx @@ -0,0 +1,36 @@ +'use client' + +import styled from '@emotion/styled' +import { List, Skeleton } from '@ultraviolet/ui' +import type { ComponentProps } from 'react' +import { useOfferListContext } from '../OfferListProvider' + +const StyledCell = styled(List.Cell)` + white-space: pre-line; +` + +const LoadingCell = styled(List.Cell)` + height: 100%; +` +export const Cell = ({ + children, + className, + 'data-testid': dataTestId, + colSpan, +}: ComponentProps) => { + const { loading } = useOfferListContext() + + return loading ? ( + + + + ) : ( + + {children} + + ) +} diff --git a/packages/plus/src/components/OfferList/components/Row.tsx b/packages/plus/src/components/OfferList/components/Row.tsx new file mode 100644 index 0000000000..febc3ffbfc --- /dev/null +++ b/packages/plus/src/components/OfferList/components/Row.tsx @@ -0,0 +1,294 @@ +'use client' + +import styled from '@emotion/styled' +import { ArrowDownIcon, ArrowUpIcon } from '@ultraviolet/icons' +import { + Badge as BadgeUV, + Button, + Checkbox, + List, + Radio, + Tooltip, +} from '@ultraviolet/ui' +import { Children, useCallback, useMemo } from 'react' +import type { ComponentProps, ReactNode } from 'react' +import { useOfferListContext } from '../OfferListProvider' +import { Banner, BannerWrapper } from './Banner' + +const StyledBadge = styled(BadgeUV)` + position: absolute; + left: ${({ theme }) => theme.space[1]}; + transform: translateY(-150%); + top: 0; + left: ${({ theme }) => theme.space[3]}; +` + +const BadgeContainer = styled.div` +position: absolute; +top: ${({ theme }) => theme.space[2]}; +` + +const NoPaddingCell = styled(List.Cell)` + padding: 0; + width: 32px; + + &:first-of-type { + padding-left: ${({ theme }) => theme.space['2']}; + } + +` +const StyledRow = styled(List.Row, { + shouldForwardProp: prop => !['selected', 'hasBanner'].includes(prop), +})<{ selected: boolean; hasBanner: boolean }>` + + ${({ theme, selected }) => + selected + ? `td, td:first-child, td:last-child { + border-color: ${theme.colors.primary.border}; + }` + : null} + + &[aria-disabled='false']:hover + ${BannerWrapper} td { + border-color: ${({ theme }) => theme.colors.primary.border}; + } + + &[aria-disabled='false'] + ${BannerWrapper} td { + ${({ selected, theme }) => (selected ? `border-color: ${theme.colors.primary.border}` : '')} + } + + &[aria-expanded='true'] { + & + ${BannerWrapper} td { + border-color: ${({ theme }) => theme.colors.primary.border}; + } + ${({ theme, selected }) => + selected + ? ` + td, td:first-child, td:last-child, & + tr td { + border-color: ${theme.colors.primary.border}; + } + ` + : null} + } + + ${({ hasBanner }) => + hasBanner + ? `td, td:first-child { + border-bottom-left-radius: 0; + } + + td, td:last-child { + border-bottom-right-radius: 0; + } + ` + : null} +` + +const SelectableContainer = styled.div` + display: flex; +` + +const CustomExpandable = styled('div', { + shouldForwardProp: prop => !['padding'].includes(prop), +})<{ padding?: ComponentProps['expandablePadding'] }>` + padding: ${({ theme, padding }) => + padding ? theme.space[padding] : theme.space['2']}; +` + +type RowProps = ComponentProps & { + banner?: { + text: ReactNode + sentiment?: 'neutral' | 'primary' | 'warning' | 'danger' + } + offerName: string + badge?: { + text: string + sentiment?: ComponentProps['sentiment'] + } +} +export const Row = ({ + children, + disabled, + id, + banner, + expandablePadding, + offerName, + expandable: expandableContent, + selectDisabled, + highlightAnimation, + expanded, + className, + 'data-dragging': dataDragging, + 'data-testid': dataTestId, + style, + badge, +}: RowProps) => { + const { + selectable, + radioSelectedRow, + setRadioSelectedRow, + checkboxSelectedRows, + setCheckboxSelectedRows, + expandable, + loading, + onChangeSelect, + autoCollapse, + } = useOfferListContext() + const { expandedRowIds, collapseRow, expandRow } = List.useListContext() + + const childrenNumber = + Children.count(children) + (selectable ? 1 : 0) + (expandable ? 1 : 0) + + const toggleRowExpand = useCallback(() => { + if (!loading) { + if (expandedRowIds[id]) { + collapseRow(id) + } else { + expandRow(id) + } + } + }, [collapseRow, expandRow, expandedRowIds, id, loading]) + + const computedExpandableContent = useMemo(() => { + if (expandable && !loading && expandedRowIds[id] && banner) { + return ( + <> + + {expandableContent} + + + {banner.text} + + + ) + } + if (expandable && !loading) return expandableContent + + return undefined + }, [ + expandable, + loading, + expandedRowIds, + banner, + expandablePadding, + id, + expandableContent, + disabled, + ]) + + return ( + <> + + + {badge ? ( + + + {badge.text} + + + ) : null} + + + {selectable === 'checkbox' ? ( + { + const newSelectedRows = { + ...checkboxSelectedRows, + [id]: checkboxSelectedRows[id] + ? !checkboxSelectedRows[id] + : true, + } + setCheckboxSelectedRows(newSelectedRows) + onChangeSelect?.( + Object.keys(newSelectedRows).filter( + key => newSelectedRows[key], + ), + ) + if (expandedRowIds[id]) { + expandRow(id) + } else if (!autoCollapse) { + collapseRow(id) + } + }} + /> + ) : ( + { + setRadioSelectedRow(event.currentTarget.id) + onChangeSelect?.(offerName) + if (expandedRowIds[id]) { + expandRow(id) + } else if (!autoCollapse) { + collapseRow(id) + } + }} + /> + )} + + + + {expandable ? ( + + + + ) : null} + {children} + + {banner && !expandedRowIds[id] ? ( + + {banner.text} + + ) : null} + + ) +} diff --git a/packages/plus/src/components/OfferList/constants.ts b/packages/plus/src/components/OfferList/constants.ts new file mode 100644 index 0000000000..0774aee955 --- /dev/null +++ b/packages/plus/src/components/OfferList/constants.ts @@ -0,0 +1,2 @@ +export const SELECTABLE_RADIO_SIZE = '500' // sizing token from theme +export const EXPANDABLE_COLUMN_SIZE = '500' diff --git a/packages/plus/src/components/OfferList/index.ts b/packages/plus/src/components/OfferList/index.ts new file mode 100644 index 0000000000..2330ceedbc --- /dev/null +++ b/packages/plus/src/components/OfferList/index.ts @@ -0,0 +1 @@ +export { OfferList } from './OfferList' diff --git a/packages/plus/src/components/OrderSummary/NonScrollableContent.tsx b/packages/plus/src/components/OrderSummary/NonScrollableContent.tsx new file mode 100644 index 0000000000..6836685468 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/NonScrollableContent.tsx @@ -0,0 +1,109 @@ +import styled from '@emotion/styled' +import { Stack, Text } from '@ultraviolet/ui' +import { useContext } from 'react' +import type { ReactNode } from 'react' +import { OrderSummaryContext } from './Provider' +import { DisplayPrice } from './helpers' +import type { PriceTypeSingle, TimeUnit } from './types' + +const NonScrollableContainer = styled(Stack)` +padding: ${({ theme }) => theme.space[3]}; +border-top: 1px solid ${({ theme }) => theme.colors.neutral.border}; +` + +type NonScrollableContentProps = { + discount: number + totalPrice: PriceTypeSingle + footer: ReactNode + children: ReactNode + totalPriceInfo?: ReactNode + totalPriceDescription?: ReactNode + additionalInfo?: string + hideDetails: boolean + unit: TimeUnit +} + +export const NonScrollableContent = ({ + totalPrice, + footer, + children, + totalPriceInfo, + hideDetails, + unit, + totalPriceDescription, + additionalInfo, +}: NonScrollableContentProps) => { + const { locales } = useContext(OrderSummaryContext) + + return ( + + {children} + + {totalPriceInfo ? ( + + + + {locales['order.summary.total']}: + + {totalPriceDescription} + + {totalPriceInfo} + + ) : ( + + + {locales['order.summary.total']} + {additionalInfo ? ` ${additionalInfo}` : null}: + + {totalPriceDescription} + + )} + {totalPrice.totalPrice === totalPrice.totalPriceWithDiscount ? ( + + + {hideDetails ? `/${unit}` : null} + + ) : ( + + + + + + + {hideDetails ? `/${unit}` : null} + + + )} + + {footer} + + ) +} diff --git a/packages/plus/src/components/OrderSummary/Provider.tsx b/packages/plus/src/components/OrderSummary/Provider.tsx new file mode 100644 index 0000000000..4dfacb3dc5 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/Provider.tsx @@ -0,0 +1,32 @@ +import { createContext } from 'react' +import orderSummaryLocales from './locales/en' +import type { + CurrencyType, + ItemsType, + LocalesFormatType, + PriceType, + TimeUnit, +} from './types' + +export type ContextProps = { + currency: CurrencyType + localeFormat: LocalesFormatType + items: ItemsType[] + categoriesPrice: PriceType + hideTimeUnit: boolean + timePeriodUnit: TimeUnit + timePeriodAmount: number + locales: Record + fractionDigits?: number +} + +export const OrderSummaryContext = createContext({ + currency: 'EUR', + localeFormat: 'en-US', + items: [{ category: '', subCategories: [] }], + hideTimeUnit: false, + timePeriodUnit: 'hours', + timePeriodAmount: 1, + locales: orderSummaryLocales, + categoriesPrice: {}, +}) diff --git a/packages/plus/src/components/OrderSummary/ScrollableContent.tsx b/packages/plus/src/components/OrderSummary/ScrollableContent.tsx new file mode 100644 index 0000000000..d0a8e01888 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/ScrollableContent.tsx @@ -0,0 +1,242 @@ +import styled from '@emotion/styled' +import { NumberInput, Stack, Text } from '@ultraviolet/ui' +import { useContext } from 'react' +import { OrderSummaryContext } from './Provider' +import { + DisplayPrice, + calculateSubCategoryPrice, + formatNumber, +} from './helpers' +import type { ItemsType, SubCategoryType } from './types' + +const StyledNumberInputV2 = styled(NumberInput)` +max-width: 12.5rem; +background-color: ${({ theme }) => theme.colors.neutral.background}; +` +const ContainerScrollable = styled(Stack)` +overflow-y: scroll; +padding: ${({ theme }) => theme.space[3]}; +height: 100%; +` + +const DetailsStack = styled(Stack)` +padding-left: ${({ theme }) => theme.space[1]}; +` +const CategoryStack = styled(Stack)` + :not(:last-child){ + border-bottom: 1px solid ${({ theme }) => theme.colors.neutral.border}; + padding-bottom: ${({ theme }) => theme.space[3]}; + } +` +const CategoryName = ({ category }: { category: ItemsType }) => { + const { categoriesPrice } = useContext(OrderSummaryContext) + + const categoryPrice = categoriesPrice[category.category] ?? { + totalPrice: 0, + totalPriceWithDiscount: 0, + maxPrice: 0, + maxPriceWithDiscount: 0, + timeUnit: 'hours', + } + + return category.category ? ( + + {category.additionalInfo ? ( + + + {category.category} + + + {category.additionalInfo} + + + ) : ( + + {category.category} + + )} + {category.customContent} + {category.numberInput ? ( + + ) : null} + {!category.customContent && + !category.numberInput && + categoryPrice.totalPrice === categoryPrice.totalPriceWithDiscount ? ( + + + + ) : null} + + {!category.customContent && + !category.numberInput && + categoryPrice.totalPrice !== categoryPrice.totalPriceWithDiscount ? ( + + + + + + + + + ) : null} + + ) : null +} + +const SubCategory = ({ subCategory }: { subCategory: SubCategoryType }) => { + const { + currency, + localeFormat, + hideTimeUnit, + timePeriodAmount, + timePeriodUnit, + fractionDigits, + } = useContext(OrderSummaryContext) + const subCategoryPrice = calculateSubCategoryPrice( + subCategory, + hideTimeUnit, + timePeriodAmount, + timePeriodUnit, + ) + + return ( + + + {subCategory.title ? ( + + {subCategory.title} + + ) : null} + {subCategory.customContent ? ( + + {subCategory.customContent} + + ) : null} + {subCategory.numberInput ? ( + + ) : null} + {subCategory.price !== undefined && !subCategory.hidePrice ? ( + + {subCategoryPrice[0] === subCategoryPrice[1] || + subCategory.priceUnit + ? formatNumber( + subCategory.priceUnit + ? subCategory.price + : subCategoryPrice[0], + localeFormat, + currency, + fractionDigits, + ) + : `${formatNumber( + subCategoryPrice[0], + localeFormat, + currency, + fractionDigits, + )} - ${formatNumber( + subCategoryPrice[1], + localeFormat, + currency, + fractionDigits, + )}`} + {subCategory.priceUnit ? ` /${subCategory.priceUnit}` : ''} + + ) : null} + + + + {subCategory.details?.map(detail => + detail ? ( + + {detail} + + ) : null, + )} + + + ) +} + +export const ScrollableContent = () => { + const { items } = useContext(OrderSummaryContext) + + return ( + + {items.map(category => + Object.keys(category).length > 0 && category.category ? ( + + + {category.subCategories && + Object.keys(category.subCategories).length > 0 ? ( + + {category.subCategories.map((subCategory, index) => ( + + ))} + + ) : null} + + ) : null, + )} + + ) +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/Children.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/Children.stories.tsx new file mode 100644 index 0000000000..3753cdc4fc --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/Children.stories.tsx @@ -0,0 +1,87 @@ +import type { StoryFn } from '@storybook/react-vite' +import { Badge, RadioGroup, SelectInput, Stack } from '@ultraviolet/ui' +import { useState } from 'react' +import type { ComponentProps } from 'react' +import { OrderSummary } from '..' +import { categoryAZ, categoryM2, categoryOptions } from './productsExample' + +const mockItems = [categoryAZ, categoryM2, categoryOptions] + +const selectInputOptions = [ + { + label: ( + + Monthly Save 7% + + ), + value: 'monthly', + searchText: 'monthly', + }, + { + label: ( + + Yearly Save 10% + + ), + value: 'yearly', + searchText: 'yearly', + }, +] + +export const Children: StoryFn> = props => { + const [commitment, setCommitment] = useState<'false' | 'true'>('false') + const [commitmentChoice, setCommitmentChoice] = useState('monthly') + const [discount, setDiscount] = useState(0) + + const onChangeCommitment = (value: string) => { + if (value === 'monthly') { + setDiscount(0.07) + setCommitmentChoice('monthly') + } + if (value === 'yearly') { + setDiscount(0.1) + setCommitmentChoice('yearly') + } + } + + return ( + + ) => { + setCommitment(event.target.value === 'false' ? 'false' : 'true') + if (event.target.value === 'false') { + setDiscount(0) + } else setDiscount(commitmentChoice === 'monthly' ? 0.07 : 0.1) + }} + legend="Commitment terms" + > + + + + + + ) +} + +Children.args = { + items: mockItems, + header: 'Summary', +} + +Children.parameters = { + docs: { + description: { + story: + 'The `children` prop can be used to add information in the non-scrollable area, before the final price.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/CustomContent.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/CustomContent.stories.tsx new file mode 100644 index 0000000000..2716bd47c9 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/CustomContent.stories.tsx @@ -0,0 +1,23 @@ +import { Template } from './Template.stories' +import { + categoryAZ, + categoryCustomContent, + categoryOptions, +} from './productsExample' + +export const CustomContent = Template.bind({}) + +CustomContent.args = { + ...Template.args, + hideTimeUnit: false, + items: [categoryAZ, categoryCustomContent, categoryOptions], +} + +CustomContent.parameters = { + docs: { + description: { + story: + 'It is possible to dislpay custom content instead of the price for each category or subcategory using the `customContent` prop. This is useful when the price is not relevant or when the price is calculated in a different way. Note that for subcategory, the total price is still calculated and displayed, if provided.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/DefaultLocales.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/DefaultLocales.stories.tsx new file mode 100644 index 0000000000..53b14ce786 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/DefaultLocales.stories.tsx @@ -0,0 +1,17 @@ +import { Snippet } from '@ultraviolet/ui' +import locales from '../locales/en' + +export const DefaultLocales = () => ( + + {JSON.stringify(locales, null, 4)} + +) + +DefaultLocales.parameters = { + docs: { + description: { + story: + 'Those are the default locales for the `OrderSummary` for the props `locales`. If you want to change them, to another language for example, you can copy those in a file and you can use the `locales` prop.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/Example.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/Example.stories.tsx new file mode 100644 index 0000000000..1c9646ed29 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/Example.stories.tsx @@ -0,0 +1,89 @@ +import type { StoryFn } from '@storybook/react-vite' +import { Button, Checkbox, Link, Stack, Text } from '@ultraviolet/ui' +import type { ComponentProps, Dispatch } from 'react' +import { useState } from 'react' +import { OrderSummary } from '..' +import { + categoryM2, + categoryOptions, + categoryStorage, + negativeItem, +} from './productsExample' + +const mockItems = ( + requestsAmount: number | null, + setRequestsAmount: Dispatch>, +) => { + const categoryNumberOfRequests = { + category: 'Numers of requests', + numberInput: true, + numberInputValue: requestsAmount, + onChangeInput: setRequestsAmount, + } + const categoryRequests = { + category: 'Requests cost', + subCategories: [ + { + title: `${requestsAmount} requests`, + price: 0.00000015, + amount: requestsAmount ?? 0, + priceUnit: 'request', + fixedPrice: true, + }, + ], + } + + return [ + categoryNumberOfRequests, + categoryRequests, + categoryM2, + categoryOptions, + categoryStorage, + negativeItem, + ] +} + +export const Example: StoryFn> = () => { + const [checked, setChecked] = useState(false) + const [requestsAmount, setRequestsAmount] = useState(200000) + + return ( + + setChecked(!checked)}> + I have read and accept Bare Metal specific conditions and macOS + License Agreement + + + + *For this estimation, 1 month is considered 730 hours.  + + Understand Apple Silicon billing + + + + } + items={mockItems(requestsAmount, setRequestsAmount)} + currency="EUR" + localeFormat="en-US" + header="Summary" + /> + ) +} + +Example.parameters = { + docs: { + description: { + story: 'Example with footer and children and custom content.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/FixedPrice.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/FixedPrice.stories.tsx new file mode 100644 index 0000000000..64f8c96684 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/FixedPrice.stories.tsx @@ -0,0 +1,19 @@ +import { Template } from './Template.stories' +import { categoryAZ, fixePrice } from './productsExample' + +export const FixedPrice = Template.bind({}) + +FixedPrice.args = { + ...Template.args, + hideTimeUnit: false, + items: [categoryAZ, fixePrice], +} + +FixedPrice.parameters = { + docs: { + description: { + story: + 'For each subcategory, it is possible to set a fixed price, i.e. a price independent of time. This is useful, for example for a one-time fee.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/Footer.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/Footer.stories.tsx new file mode 100644 index 0000000000..87f910aa68 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/Footer.stories.tsx @@ -0,0 +1,25 @@ +import { Alert } from '@ultraviolet/ui' +import { Template } from './Template.stories' + +const alert = ( + + Apple requires you to keep a Mac mini for at least 24 hours. If you no + longer need it after that period, you can manually delete it to avoid + further billing. + +) +export const Footer = Template.bind({}) + +Footer.args = { + ...Template.args, + footer: alert, +} + +Footer.parameters = { + docs: { + description: { + story: + 'Similarly to the `children` prop, the `footer` prop allows you to pass any ReactNode to the footer of the component, right below the total price of the order.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/FractionDigits.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/FractionDigits.stories.tsx new file mode 100644 index 0000000000..e3c1cdfbbd --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/FractionDigits.stories.tsx @@ -0,0 +1,19 @@ +import { Template } from './Template.stories' + +export const FractionDigits = Template.bind({}) + +FractionDigits.args = { + ...Template.args, + fractionDigits: 10, + unitUnitInput: 'seconds', + hideTimeUnit: false, +} + +FractionDigits.parameters = { + docs: { + description: { + story: + 'Specify the number of decimal digits to display in the estimated prices. By default, 2 for the total cost and 5 for the details', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/HideDetails.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/HideDetails.stories.tsx new file mode 100644 index 0000000000..aec766afb0 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/HideDetails.stories.tsx @@ -0,0 +1,25 @@ +import { Template } from './Template.stories' +import { + categoryAZ, + categoryDefault, + categoryM2, + categoryOptions, +} from './productsExample' + +export const HideDetails = Template.bind({}) + +HideDetails.args = { + hideDetails: true, + hideTimeUnit: true, + header: 'Summary', + items: [categoryAZ, categoryM2, categoryOptions, categoryDefault], +} + +HideDetails.parameters = { + docs: { + description: { + story: + 'It is possible to only display the overall price using prop `hideDetails`', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/NumberInput.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/NumberInput.stories.tsx new file mode 100644 index 0000000000..be4e2354f6 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/NumberInput.stories.tsx @@ -0,0 +1,83 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { useState } from 'react' +import { OrderSummary } from '..' + +const mockItems = ( + requestsAmount: number, + setRequestsAmount: (value: number | null) => void, + requestsAmount2: number, + setRequestsAmount2: (value: number | null) => void, +) => { + const categoryNumberOfRequests = { + category: 'Numers of requests', + numberInput: true, + numberInputValue: requestsAmount, + onChangeInput: setRequestsAmount, + } + const categoryRequests = { + category: 'Requests cost', + subCategories: [ + { + title: `${requestsAmount} requests`, + price: 0.00000015, + amount: requestsAmount, + priceUnit: 'request', + fixedPrice: true, + }, + ], + } + + const categoryDuration = { + category: 'Duration', + subCategories: [ + { + title: 'Choose a duration', + numberInput: true, + numberInputValue: requestsAmount2, + onChangeInput: setRequestsAmount2, + hidePrice: true, + numberInputControls: false, + numberInputUnit: 'ms', + }, + { + title: `Duration: ${requestsAmount2}ms`, + price: 100, + amount: requestsAmount2, + fixePrice: true, + }, + ], + } + + return [categoryNumberOfRequests, categoryRequests, categoryDuration] +} + +export const NumberInput: StoryFn> = () => { + const [requestsAmount, setRequestsAmount] = useState(200000) + const [requestsAmount2, setRequestsAmount2] = useState(10) + + const onChange = (value: number | null) => { + setRequestsAmount(value ?? 0) + } + + const onChange2 = (value: number | null) => { + setRequestsAmount2(value ?? 0) + } + + return ( + + ) +} + +NumberInput.parameters = { + docs: { + description: { + story: + 'Instead of displaying the price of the category, it is possible to add a number input to choose quantities/amount using prop `numberInput` and `onChangeInput`, for both categories and subcategories', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/OnChange.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/OnChange.stories.tsx new file mode 100644 index 0000000000..7db05079ff --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/OnChange.stories.tsx @@ -0,0 +1,49 @@ +import type { StoryFn } from '@storybook/react-vite' +import { Button, Stack } from '@ultraviolet/ui' +import type { ComponentProps } from 'react' +import { useState } from 'react' +import { OrderSummary } from '..' +import type { PriceType } from '../types' +import { categoryAZ, categoryDefault } from './productsExample' + +export const OnChange: StoryFn> = () => { + const [prices, setPrices] = useState({}) + const [elements, setElements] = useState([categoryAZ, categoryDefault]) + + const onClick = () => + elements.length === 2 + ? setElements([categoryDefault]) + : setElements([categoryAZ, categoryDefault]) + + return ( + + + +
    + Prices: + {prices + ? Object.keys(prices).map(category => ( +
  • + {category}: {prices?.[category].totalPriceWithDiscount ?? 0}€ +
  • + )) + : null} +
+
+ ) +} + +OnChange.parameters = { + docs: { + description: { + story: + 'Using prop `onChange` it is possible to get the price of each category', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/Playground.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/Playground.stories.tsx new file mode 100644 index 0000000000..a53b38da9b --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/Playground.stories.tsx @@ -0,0 +1,37 @@ +import { Template } from './Template.stories' + +export const Playground = Template.bind({}) + +Playground.args = { ...Template.args } + +Playground.parameters = { + docs: { + description: { + story: `Use prop \`item\` to define the element to add in the order summary. Items are defined by categories, and each category have a few prop +- \`category\` (**required**): name of the category (*string*) +- \`additionalInfo\`: data to add right next to the category title (*ReactNode*) +- \`discount\`: discount to apply to the whole category (if <1, in %, else absolute value). The price without discount is displayed struck through next to the discounted price (*number*) +- \`customContent\`: hide the price of the category and display this content instead (*ReactNode*) +- \`allowNegative\`: set to \`true\` if the category price can be < 0 (e.g coupons) (*boolean*) +- \`subCategories\`: list of the sub-categories in the category. A sub-category consists of : + - \`title\`: title of the sub-category (*string*) + - \`price\`: price of the sub-category. When a price is defined as a range, the final cost will be displayed as a range too (*number* for a fixed price, *[number, number]* for a range). + - \`details\`: list of elements to be displayed in the subCategory (*string[]*) + - \`amount\`: quantity. The price is computed taking into account the amount : \`finalPrice = amount * price\` (*number*) + - \`amountFree\`: quantity free: \`finalPrice = (amount - amountFree) * price\` (*number*) + - \`fixedPrice\`: when set to \`true\`, the final price does not depend on the time (*boolean*) + - \`priceUnit\`: Suffix to be displayed after the price (generally, the unit). Be careful, when \`priceUnit\` is defined, the overall price displayed next to the **sub-category** does not taking into account the amount - see Story \`Price Unit\` for an example (*string*) + - \`hidePrice\`: set to \`true\` to hide the price of the sub-category (*boolean*) + - \`customContent\`: content to display next to the price (*ReactNode*) + - \`numberInput\`: set to \`true\` to display a number input (*boolean*) + - \`numberInputValue\`: value of the number input (*number*) + - \`numberInputUnit\`: unit of the number input (*string*) + - \`numberInputControls\`: set to \`true\` to display controls for the number input (*boolean*) + - \`onChangeInput\`: function to call when the number input changes (*function*) + + +The price of the category is computed automatically. For a category without sub-category, set the price like so: \`{ category: "categoryName", subCategories: {[ price: 10, hidePrice: true ]}}\` + `, + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/PriceUnit.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/PriceUnit.stories.tsx new file mode 100644 index 0000000000..38dc3e8755 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/PriceUnit.stories.tsx @@ -0,0 +1,20 @@ +import { Template } from './Template.stories' +import { categoryAZ, categoryRequest } from './productsExample' + +export const PriceUnit = Template.bind({}) + +PriceUnit.args = { + ...Template.args, + hideTimeUnit: false, + items: [categoryAZ, categoryRequest], + fractionDigits: 10, +} + +PriceUnit.parameters = { + docs: { + description: { + story: + 'You can specify a unit to display next to the price for each subcategory using the `unitPrice` prop. This helps users understand how the price is calculated. The unit appears after the price. When `unitPrice` is set, the total price for the subcategory is shown without considering the subcategory amount.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/RangeAmount.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/RangeAmount.stories.tsx new file mode 100644 index 0000000000..3db32c405b --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/RangeAmount.stories.tsx @@ -0,0 +1,21 @@ +import { Template } from './Template.stories' +import { categoryAZ, rangePriceContent } from './productsExample' + +export const RangeAmount = Template.bind({}) + +RangeAmount.args = { + ...Template.args, + hideTimeUnit: false, + items: [categoryAZ, rangePriceContent], + fractionDigits: 10, + periodOptions: ['minutes', 'hours', 'days'], +} + +RangeAmount.parameters = { + docs: { + description: { + story: + 'You can give a range for the `subCategory.amount`. In that case, the subCategoryPrice and the total price will be shown as a range.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/Template.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/Template.stories.tsx new file mode 100644 index 0000000000..98a06d2182 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/Template.stories.tsx @@ -0,0 +1,20 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { OrderSummary } from '..' +import { + categoryAZ, + categoryDefault, + categoryM2, + categoryOptions, +} from './productsExample' + +const mockItems = [categoryAZ, categoryM2, categoryOptions, categoryDefault] + +export const Template: StoryFn> = props => ( + +) + +Template.args = { + items: mockItems, + header: 'Summary', +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/TimeUnit.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/TimeUnit.stories.tsx new file mode 100644 index 0000000000..254556f547 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/TimeUnit.stories.tsx @@ -0,0 +1,20 @@ +import { Template } from './Template.stories' + +export const TimeUnit = Template.bind({}) + +TimeUnit.args = { + ...Template.args, + periodOptions: ['minutes', 'hours', 'days', 'months'], + hideTimeUnit: false, + valueUnitInput: 1, + unitUnitInput: 'hours', +} + +TimeUnit.parameters = { + docs: { + description: { + story: + 'It is possible to customise the time unit by defining what periods to display in the dropdown and the default value. It also is possible to hide the time unit with prop `hideTimeUnit`.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/TotalPriceInfo.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/TotalPriceInfo.stories.tsx new file mode 100644 index 0000000000..368d03a541 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/TotalPriceInfo.stories.tsx @@ -0,0 +1,23 @@ +import { Badge } from '@ultraviolet/ui' +import { Template } from './Template.stories' + +export const TotalPriceInfo = Template.bind({}) + +TotalPriceInfo.args = { + ...Template.args, + discount: 0.5, + totalPriceInfo: ( + + 50% OFF DURING BETA + + ), + hideTimeUnit: false, +} + +TotalPriceInfo.parameters = { + docs: { + description: { + story: 'Add information right beneath the total price.', + }, + }, +} diff --git a/packages/plus/src/components/OrderSummary/__stories__/index.stories.tsx b/packages/plus/src/components/OrderSummary/__stories__/index.stories.tsx new file mode 100644 index 0000000000..720415d979 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/index.stories.tsx @@ -0,0 +1,23 @@ +import type { Meta } from '@storybook/react-vite' +import { OrderSummary } from '..' + +export default { + component: OrderSummary, + title: 'Plus/Compositions/OrderSummary', +} satisfies Meta + +export { Playground } from './Playground.stories' +export { DefaultLocales } from './DefaultLocales.stories' +export { TimeUnit } from './TimeUnit.stories' +export { FractionDigits } from './FractionDigits.stories' +export { Children } from './Children.stories' +export { TotalPriceInfo } from './TotalPriceInfo.stories' +export { Footer } from './Footer.stories' +export { HideDetails } from './HideDetails.stories' +export { PriceUnit } from './PriceUnit.stories' +export { FixedPrice } from './FixedPrice.stories' +export { CustomContent } from './CustomContent.stories' +export { NumberInput } from './NumberInput.stories' +export { RangeAmount } from './RangeAmount.stories' +export { OnChange } from './OnChange.stories' +export { Example } from './Example.stories' diff --git a/packages/plus/src/components/OrderSummary/__stories__/productsExample.tsx b/packages/plus/src/components/OrderSummary/__stories__/productsExample.tsx new file mode 100644 index 0000000000..d670fea074 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__stories__/productsExample.tsx @@ -0,0 +1,116 @@ +import { InformationOutlineIcon } from '@ultraviolet/icons' +import { Stack, Tooltip } from '@ultraviolet/ui' + +const AdditionalInfo = () => ( + + + + + 7 days of free backup + +) + +export const categoryDefault = { + category: 'Category', + total: 0, + subCategories: [ + { title: 'SubCategory', price: 12.2, details: ['Detail 1', 'Detail 2'] }, + ], + additionalInfo: , +} + +export const categoryAZ = { + category: 'Availability Zone', + subCategories: [{ title: 'PARIS 1', price: 5 }], + discount: 0.5, +} + +export const categoryM2 = { + category: 'Configuration', + subCategories: [ + { + title: 'M2-M', + price: 124.1, + details: [ + 'Apple M2 Chip', + '8 Cores CPU 8 cores GPU', + '256 GB SSD storage', + '16 GB memory', + '1 GB bandwidth', + ], + }, + { + title: 'macOs Sonoma', + price: 10, + }, + ], +} + +export const categoryOptions = { + category: 'Options', + subCategories: [ + { customContent: 'Included', title: '0.5 Gbps public bandwidth' }, + ], +} + +export const negativeItem = { + category: 'Coupon', + subCategories: [{ title: 'PROMO2025', price: -10, fixedPrice: true }], + allowNegative: true, +} + +export const fixePrice = { + category: 'One time fees', + subCategories: [ + { title: 'Setup', price: 200, fixedPrice: true }, + { title: 'Shipping', price: 50, fixedPrice: true }, + ], +} + +export const categoryRequest = { + category: 'Requests cost', + subCategories: [ + { + title: '200000 requests', + price: 0.00000015, + amount: 200000, + priceUnit: 'request', + fixedPrice: true, + }, + ], +} + +export const categoryStorage = { + category: 'Storage', + additionalInfo: ( + + + 75GB free on public images + + ), + subCategories: [ + { + title: '100 GB of storage', + price: 0.003425, + amount: 100, + priceUnit: 'GB/hours', + amountFree: 75, + }, + ], +} + +export const categoryCustomContent = { + category: 'Custom content', + customContent: 'FREE', +} + +export const rangePriceContent = { + category: 'Nodes', + subCategories: [ + { + title: '20-30 nodes', + price: 10, + amount: [20, 30], + }, + ], +} diff --git a/packages/plus/src/components/OrderSummary/__tests__/__snapshots__/index.test.tsx.snap b/packages/plus/src/components/OrderSummary/__tests__/__snapshots__/index.test.tsx.snap new file mode 100644 index 0000000000..5185b61669 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__tests__/__snapshots__/index.test.tsx.snap @@ -0,0 +1,21421 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`OrderSummary > should work with additionalInfo 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-73 { + color: #641cb3; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; +} + +.emotion-93 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-253 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-253 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + Availability Zone + +
+ + €5.00 + + + €2.50 + +
+
+
+
+
+ + PARIS 1 + + + €5.00 + +
+
+
+
+
+
+
+ + Custom content + + FREE +
+
+
+
+
+ + Category + + +
+ + + + 7 days of free backup +
+
+
+ + €12.20 + +
+
+
+
+ + SubCategory + + + €12.20 + +
+
+ + Detail 1 + + + Detail 2 + +
+
+
+
+
+
+ + Configuration + + + €129.10 + +
+
+
+
+ + M2-M + + + €119.10 + +
+
+ + Apple M2 Chip + + + 8 Cores CPU 8 cores GPU + + + 256 GB SSD storage + + + 16 GB memory + + + 1 GB bandwidth + +
+
+
+
+ + macOs Sonoma + + + €10.00 + +
+
+
+
+
+
+
+ + Options + + + €0.00 + +
+
+
+
+ + 0.5 Gbps public bandwidth + + + Included + +
+
+
+
+
+
+
+ + Coupon + + + -€10.00 + +
+
+
+
+ + PROMO2025 + + + -€10.00 + +
+
+
+
+
+
+
+ + One time fees + + + €250.00 + +
+
+
+
+ + Setup + + + €200.00 + +
+
+
+
+
+ + Shipping + + + €50.00 + +
+
+
+
+
+
+
+ + Requests cost + + + €0.03 + +
+
+
+
+ + 200000 requests + + + €0.00000015 /request + +
+
+
+
+
+
+
+
+ + Storage + + + + + + 75GB free on public images + +
+ + €0.00 + +
+
+
+
+ + 100 GB of storage + + + €0.00003425 /GB/hours + +
+
+
+
+
+
+
+ children +
+
+ + Estimated cost additional info: + +
+ + €383.83 + +
+
+
+
+ +`; + +exports[`OrderSummary > should work with an empty list of item 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-10 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-12 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+
+
+
+ + Estimated cost: + +
+ + €0.00 + +
+
+
+
+ +`; + +exports[`OrderSummary > should work with children 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-73 { + color: #641cb3; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; +} + +.emotion-93 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-253 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-253 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + Availability Zone + +
+ + €5.00 + + + €2.50 + +
+
+
+
+
+ + PARIS 1 + + + €5.00 + +
+
+
+
+
+
+
+ + Custom content + + FREE +
+
+
+
+
+ + Category + + +
+ + + + 7 days of free backup +
+
+
+ + €12.20 + +
+
+
+
+ + SubCategory + + + €12.20 + +
+
+ + Detail 1 + + + Detail 2 + +
+
+
+
+
+
+ + Configuration + + + €129.10 + +
+
+
+
+ + M2-M + + + €119.10 + +
+
+ + Apple M2 Chip + + + 8 Cores CPU 8 cores GPU + + + 256 GB SSD storage + + + 16 GB memory + + + 1 GB bandwidth + +
+
+
+
+ + macOs Sonoma + + + €10.00 + +
+
+
+
+
+
+
+ + Options + + + €0.00 + +
+
+
+
+ + 0.5 Gbps public bandwidth + + + Included + +
+
+
+
+
+
+
+ + Coupon + + + -€10.00 + +
+
+
+
+ + PROMO2025 + + + -€10.00 + +
+
+
+
+
+
+
+ + One time fees + + + €250.00 + +
+
+
+
+ + Setup + + + €200.00 + +
+
+
+
+
+ + Shipping + + + €50.00 + +
+
+
+
+
+
+
+ + Requests cost + + + €0.03 + +
+
+
+
+ + 200000 requests + + + €0.00000015 /request + +
+
+
+
+
+
+
+
+ + Storage + + + + + + 75GB free on public images + +
+ + €0.00 + +
+
+
+
+ + 100 GB of storage + + + €0.00003425 /GB/hours + +
+
+
+
+
+
+
+ children +
+
+ + Estimated cost: + +
+ + €383.83 + +
+
+
+
+ +`; + +exports[`OrderSummary > should work with default props 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-4:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-8 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-12 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-22 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-26 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-42 { + color: #641cb3; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; +} + +.emotion-44 { + display: inherit; +} + +.emotion-44[data-container-full-height="true"] { + height: 100%; +} + +.emotion-44[data-container-full-width="true"] { + width: 100%; +} + +.emotion-46 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-46 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-62 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-222 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-230 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+
+
+ + Availability Zone + +
+ + €5.00 + + + €2.50 + +
+
+
+
+
+ + PARIS 1 + + + €5.00 + +
+
+
+
+
+
+
+ + Custom content + + FREE +
+
+
+
+
+ + Category + + +
+ + + + 7 days of free backup +
+
+
+ + €12.20 + +
+
+
+
+ + SubCategory + + + €12.20 + +
+
+ + Detail 1 + + + Detail 2 + +
+
+
+
+
+
+ + Configuration + + + €129.10 + +
+
+
+
+ + M2-M + + + €119.10 + +
+
+ + Apple M2 Chip + + + 8 Cores CPU 8 cores GPU + + + 256 GB SSD storage + + + 16 GB memory + + + 1 GB bandwidth + +
+
+
+
+ + macOs Sonoma + + + €10.00 + +
+
+
+
+
+
+
+ + Options + + + €0.00 + +
+
+
+
+ + 0.5 Gbps public bandwidth + + + Included + +
+
+
+
+
+
+
+ + Coupon + + + -€10.00 + +
+
+
+
+ + PROMO2025 + + + -€10.00 + +
+
+
+
+
+
+
+ + One time fees + + + €250.00 + +
+
+
+
+ + Setup + + + €200.00 + +
+
+
+
+
+ + Shipping + + + €50.00 + +
+
+
+
+
+
+
+ + Requests cost + + + €0.03 + +
+
+
+
+ + 200000 requests + + + €0.00000015 /request + +
+
+
+
+
+
+
+
+ + Storage + + + + + + 75GB free on public images + +
+ + €0.00 + +
+
+
+
+ + 100 GB of storage + + + €0.00003425 /GB/hours + +
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+ + €383.83 + +
+
+
+
+ +`; + +exports[`OrderSummary > should work with discount 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-43 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-43 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-49 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-49 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-59 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-59 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-65 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-65 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + SimpleCategory + + + €5.00 + +
+
+
+
+ + subcategory + + + €5.00 + +
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+
+ + €5.00 + + + €0.00 + +
+
+
+
+
+ +`; + +exports[`OrderSummary > should work with discount in % 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-43 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-43 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-49 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-49 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-59 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-59 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-65 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-65 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + SimpleCategory + + + €5.00 + +
+
+
+
+ + subcategory + + + €5.00 + +
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+
+ + €5.00 + + + €2.50 + +
+
+
+
+
+ +`; + +exports[`OrderSummary > should work with footer 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-73 { + color: #641cb3; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; +} + +.emotion-93 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-253 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-253 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + Availability Zone + +
+ + €5.00 + + + €2.50 + +
+
+
+
+
+ + PARIS 1 + + + €5.00 + +
+
+
+
+
+
+
+ + Custom content + + FREE +
+
+
+
+
+ + Category + + +
+ + + + 7 days of free backup +
+
+
+ + €12.20 + +
+
+
+
+ + SubCategory + + + €12.20 + +
+
+ + Detail 1 + + + Detail 2 + +
+
+
+
+
+
+ + Configuration + + + €129.10 + +
+
+
+
+ + M2-M + + + €119.10 + +
+
+ + Apple M2 Chip + + + 8 Cores CPU 8 cores GPU + + + 256 GB SSD storage + + + 16 GB memory + + + 1 GB bandwidth + +
+
+
+
+ + macOs Sonoma + + + €10.00 + +
+
+
+
+
+
+
+ + Options + + + €0.00 + +
+
+
+
+ + 0.5 Gbps public bandwidth + + + Included + +
+
+
+
+
+
+
+ + Coupon + + + -€10.00 + +
+
+
+
+ + PROMO2025 + + + -€10.00 + +
+
+
+
+
+
+
+ + One time fees + + + €250.00 + +
+
+
+
+ + Setup + + + €200.00 + +
+
+
+
+
+ + Shipping + + + €50.00 + +
+
+
+
+
+
+
+ + Requests cost + + + €0.03 + +
+
+
+
+ + 200000 requests + + + €0.00000015 /request + +
+
+
+
+
+
+
+
+ + Storage + + + + + + 75GB free on public images + +
+ + €0.00 + +
+
+
+
+ + 100 GB of storage + + + €0.00003425 /GB/hours + +
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+ + €383.83 + +
+ footer +
+
+
+ +`; + +exports[`OrderSummary > should work with fractionDigits 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-43 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-43 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-49 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-49 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-59 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-59 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-65 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-65 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + SimpleCategory + + + €5 + +
+
+
+
+ + subcategory + + + €5 + +
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+
+ + €5 + + + €3 + +
+
+
+
+
+ +`; + +exports[`OrderSummary > should work with numberInputs 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-42 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + max-width: 12.5rem; + background-color: #ffffff; +} + +.emotion-44 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-44:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-44[data-success='true'] { + border-color: #22674e; +} + +.emotion-44[data-error='true'] { + border-color: #b3144d; +} + +.emotion-44:hover { + border-color: #792dd4; +} + +.emotion-44[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-44[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-44[data-controls='false']>.emotion-52 { + border-width: 0; +} + +.emotion-44[data-size='small'] { + height: 2rem; +} + +.emotion-44[data-size='medium'] { + height: 2.5rem; +} + +.emotion-44[data-size='large'] { + height: 3rem; +} + +.emotion-46 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; +} + +.emotion-46[data-size='small'] { + height: 2rem; +} + +.emotion-46[data-size='medium'] { + height: 2.5rem; +} + +.emotion-46[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-48 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 1.5rem; + padding: 0 0.25rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: none; + border: none; + color: #3f4250; +} + +.emotion-48:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-48:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; +} + +.emotion-48 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-48:hover, +.emotion-48:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-50 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-50 .fillStroke { + stroke: currentColor; + fill: none; +} + +.emotion-53 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-55 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-55[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-55::-webkit-outer-spin-button, +.emotion-55::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-55 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-55[data-size='small'] { + height: 2rem; +} + +.emotion-55[data-size='medium'] { + height: 2.5rem; +} + +.emotion-55[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-55:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-55:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-55:-moz-read-only~.emotion-89 { + background: #f9f9fa; +} + +.emotion-55:read-only~.emotion-89 { + background: #f9f9fa; +} + +.emotion-55:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-55:disabled~.emotion-89 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-55:placeholder-shown~.emotion-89 { + color: #727683; + font-size: 1rem; +} + +.emotion-55[data-controls='false'] { + text-align: left; +} + +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-71 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-77 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-77 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-90 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + 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; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; +} + +.emotion-92 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-92 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-110 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-110 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-114 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-114 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-116 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-116 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + Numers of requests + +
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+
+
+ + Duration + + + €1.00 + +
+
+
+
+ + Choose a duration + +
+
+
+
+ + + ms + +
+
+
+
+
+
+
+
+
+ + duration + +
+
+
+
+
+ + €1.00 + +
+
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+ total price info +
+ + €1.00 + +
+
+
+
+ +`; + +exports[`OrderSummary > should work with price as a range 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-43 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-43 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-49 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-49 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-53 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-55 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-59 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-59 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + Nodes + + + €200.00 - €300.00 + +
+
+
+
+ + 20-30 nodes + + + €200.00 - €300.00 + +
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+ + €200.00 - €300.00 + +
+ footer +
+
+
+ +`; + +exports[`OrderSummary > should work with totalPriceInfo 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-73 { + color: #641cb3; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; +} + +.emotion-93 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-253 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-253 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-257 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-257 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + Availability Zone + +
+ + €5.00 + + + €2.50 + +
+
+
+
+
+ + PARIS 1 + + + €5.00 + +
+
+
+
+
+
+
+ + Custom content + + FREE +
+
+
+
+
+ + Category + + +
+ + + + 7 days of free backup +
+
+
+ + €12.20 + +
+
+
+
+ + SubCategory + + + €12.20 + +
+
+ + Detail 1 + + + Detail 2 + +
+
+
+
+
+
+ + Configuration + + + €129.10 + +
+
+
+
+ + M2-M + + + €119.10 + +
+
+ + Apple M2 Chip + + + 8 Cores CPU 8 cores GPU + + + 256 GB SSD storage + + + 16 GB memory + + + 1 GB bandwidth + +
+
+
+
+ + macOs Sonoma + + + €10.00 + +
+
+
+
+
+
+
+ + Options + + + €0.00 + +
+
+
+
+ + 0.5 Gbps public bandwidth + + + Included + +
+
+
+
+
+
+
+ + Coupon + + + -€10.00 + +
+
+
+
+ + PROMO2025 + + + -€10.00 + +
+
+
+
+
+
+
+ + One time fees + + + €250.00 + +
+
+
+
+ + Setup + + + €200.00 + +
+
+
+
+
+ + Shipping + + + €50.00 + +
+
+
+
+
+
+
+ + Requests cost + + + €0.03 + +
+
+
+
+ + 200000 requests + + + €0.00000015 /request + +
+
+
+
+
+
+
+
+ + Storage + + + + + + 75GB free on public images + +
+ + €0.00 + +
+
+
+
+ + 100 GB of storage + + + €0.00003425 /GB/hours + +
+
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+ total price info +
+ + €383.83 + +
+
+
+
+ +`; + +exports[`OrderSummary > should work without unitInput 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-8:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-12 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-14 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-16 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-26 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-30 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-46 { + color: #641cb3; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; +} + +.emotion-48 { + display: inherit; +} + +.emotion-48[data-container-full-height="true"] { + height: 100%; +} + +.emotion-48[data-container-full-width="true"] { + width: 100%; +} + +.emotion-50 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-50 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-66 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-226 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +
+
+
+

+ summary +

+
+
+
+
+ + Availability Zone + +
+ + €5.00 + + + €2.50 + +
+
+
+
+
+ + PARIS 1 + + + €5.00 + +
+
+
+
+
+
+
+ + Custom content + + FREE +
+
+
+
+
+ + Category + + +
+ + + + 7 days of free backup +
+
+
+ + €12.20 + +
+
+
+
+ + SubCategory + + + €12.20 + +
+
+ + Detail 1 + + + Detail 2 + +
+
+
+
+
+
+ + Configuration + + + €129.10 + +
+
+
+
+ + M2-M + + + €119.10 + +
+
+ + Apple M2 Chip + + + 8 Cores CPU 8 cores GPU + + + 256 GB SSD storage + + + 16 GB memory + + + 1 GB bandwidth + +
+
+
+
+ + macOs Sonoma + + + €10.00 + +
+
+
+
+
+
+
+ + Options + + + €0.00 + +
+
+
+
+ + 0.5 Gbps public bandwidth + + + Included + +
+
+
+
+
+
+
+ + Coupon + + + -€10.00 + +
+
+
+
+ + PROMO2025 + + + -€10.00 + +
+
+
+
+
+
+
+ + One time fees + + + €250.00 + +
+
+
+
+ + Setup + + + €200.00 + +
+
+
+
+
+ + Shipping + + + €50.00 + +
+
+
+
+
+
+
+ + Requests cost + + + €0.03 + +
+
+
+
+ + 200000 requests + + + €0.00000015 /request + +
+
+
+
+
+
+
+
+ + Storage + + + + + + 75GB free on public images + +
+ + €0.00 + +
+
+
+
+ + 100 GB of storage + + + €0.00003425 /GB/hours + +
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+ + €383.83 + +
+
+
+
+ +`; + +exports[`OrderSummary > works with hideDetails 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: start; + -ms-flex-pack: start; + -webkit-justify-content: flex-start; + justify-content: flex-start; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-12 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-12 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-32 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-32 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +
+
+
+

+ summary +

+
+
+
+
+ + Estimated cost: + +
+ + €2.50/hours + +
+
+
+
+
+

+ summary +

+
+
+
+
+ + Estimated cost: + +
+
+ + €2.50 + + + €1.25/hours + +
+
+
+
+
+
+`; + +exports[`OrderSummary > works with negative category price 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #f9f9fa; + height: 100%; + width: 20rem; +} + +@media (min-width: 1440px) { + .emotion-0 { + width: 27.5rem; + } +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 4.5rem; + padding: 1.5rem; + padding-bottom: 1rem; +} + +.emotion-2[data-hidedetails="false"] { + border-bottom: 1px solid #d9dadd; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + background-color: #ffffff; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 155px; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-11 { + display: grid; + grid-template-columns: 2fr 3fr; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + width: 100%; + border: 1px solid #d9dadd; + border-radius: 0.25rem; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active { + box-shadow: 0px 0px 0px 3px #8c40ef40; + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):active>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within { + border-color: #792dd4; +} + +.emotion-11:not([data-disabled='true']):not([data-readonly='true']):not( + [data-success='true'] + ):not([data-error='true']):focus-within>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus { + -webkit-text-decoration: none; + text-decoration: none; + border-color: #8c40ef; +} + +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):not([data-readonly='true']):hover>.emotion-14, +.emotion-11:not([data-disabled='true']):not([data-error='true']):not( + [data-success='true'] + ):focus>.emotion-14 { + border-right-color: #8c40ef; +} + +.emotion-11[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-11[data-readonly='true']:active { + border-color: #d9dadd; +} + +.emotion-11[data-size='small'] { + height: 2rem; +} + +.emotion-11[data-size='medium'] { + height: 2.5rem; +} + +.emotion-11[data-size='large'] { + height: 3rem; +} + +.emotion-11[data-success='true'] { + border: 1px solid #22674e; +} + +.emotion-11[data-success='true']>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-success='true']:active { + border: 1px solid #22674e; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-11[data-success='true']:active>.emotion-14 { + border-right-color: #22674e; +} + +.emotion-11[data-error='true'] { + border: 1px solid #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active { + border: 1px solid #b3144d; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-11[data-error='true']:active>.emotion-14 { + border-right-color: #b3144d; +} + +.emotion-11[data-error='true']:active>.emotion-14:hover { + border-right-color: #b3144d; +} + +.emotion-11[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-11[data-disabled='true']>.emotion-14 { + border-right-color: #e9eaeb; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-13 { + 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-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + padding-right: 1rem; + border-right: 1px solid #d9dadd; + width: 100%; + height: 100%; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-15 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + color: #3f4250; +} + +.emotion-15[data-size="small"] { + padding-left: 0.5rem; +} + +.emotion-15[data-size="large"] { + font-size: 1rem; +} + +.emotion-15::-webkit-input-placeholder { + color: #727683; +} + +.emotion-15::-moz-placeholder { + color: #727683; +} + +.emotion-15:-ms-input-placeholder { + color: #727683; +} + +.emotion-15::placeholder { + color: #727683; +} + +.emotion-15:disabled { + cursor: not-allowed; +} + +.emotion-15:disabled::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-15:disabled::placeholder { + color: #b5b7bd; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-18 { + width: 100%; + width: 100%; +} + +.emotion-18 #unit { + border: none; + background: transparent; +} + +.emotion-18 #unit:focus, +.emotion-18 #unit:active { + box-shadow: none; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-20 { + display: inherit; +} + +.emotion-20[data-container-full-height="true"] { + height: 100%; +} + +.emotion-20[data-container-full-width="true"] { + width: 100%; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-24 { + display: grid; + width: 100%; + gap: 0.5rem; + grid-template-columns: 1fr auto; + padding: 0.5rem; + padding-right: 0; + padding-left: 1rem; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 0.25rem; + width: 100%; +} + +.emotion-24[data-size='small'] { + height: 2rem; + padding-left: 0.5rem; +} + +.emotion-24[data-size='medium'] { + height: 2.5rem; +} + +.emotion-24[data-size='large'] { + height: 3rem; +} + +.emotion-24[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-24[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):hover { + border-color: #792dd4; + outline: none; +} + +.emotion-24[data-state='neutral']:not([data-disabled='true']):focus-visible { + outline: 5px auto Highlight; + outline: 5px auto -webkit-focus-ring-color; +} + +.emotion-24[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-24[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-24[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-24[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-24[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-24[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-24[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-24:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-24[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-24[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-27 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding-right: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-31 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-31 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + overflow-y: scroll; + padding: 1.5rem; + height: 100%; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; +} + +.emotion-35:not(:last-child) { + border-bottom: 1px solid #d9dadd; + padding-bottom: 1.5rem; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-39 { + color: #222638; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-43 { + color: #727683; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-text-decoration: line-through; + text-decoration: line-through; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-57 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; + padding-left: 0.5rem; +} + +.emotion-79 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +.emotion-79 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; + padding: 1.5rem; + border-top: 1px solid #d9dadd; +} + +
+
+
+

+ summary +

+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+ + Availability Zone + +
+ + €5.00 + + + €2.50 + +
+
+
+
+
+ + PARIS 1 + + + €5.00 + +
+
+
+
+
+
+
+ + Coupon + + + -€10.00 + +
+
+
+
+ + PROMO2025 + + + -€10.00 + +
+
+
+
+
+
+
+
+
+ + Estimated cost: + +
+ + €0.00 + +
+
+
+
+ +`; diff --git a/packages/plus/src/components/OrderSummary/__tests__/index.test.tsx b/packages/plus/src/components/OrderSummary/__tests__/index.test.tsx new file mode 100644 index 0000000000..7f45adcbb3 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__tests__/index.test.tsx @@ -0,0 +1,220 @@ +import { screen } from '@testing-library/react' +import { userEvent } from '@testing-library/user-event' +import { renderWithTheme, shouldMatchEmotionSnapshot } from '@utils/test' +import { describe, expect, test } from 'vitest' +import { OrderSummary } from '..' +import { + categoryAZ, + categoryCustomContent, + categoryDefault, + categoryM2, + categoryOptions, + categoryRequest, + categoryStorage, + fixePrice, + negativeItem, + numberInputCategory, + numberInputSubCategory, + rangePriceContent, + simpleCategory, +} from './resources' + +const mockItems = [ + categoryAZ, + categoryCustomContent, + categoryDefault, + categoryM2, + categoryOptions, + negativeItem, + fixePrice, + categoryRequest, + categoryStorage, +] + +describe('OrderSummary', () => { + test('should work with default props', () => + shouldMatchEmotionSnapshot()) + + test('should work with an empty list of item', () => + shouldMatchEmotionSnapshot()) + + test('should work without unitInput', () => + shouldMatchEmotionSnapshot( + , + )) + + test('should work with custom timeUnit', async () => { + renderWithTheme( + , + ) + const unitInput = screen.getByTestId('unit-input') + expect(screen.getByTestId('total-price').textContent).toBe('€120.00') + + await userEvent.type(unitInput, '[Backspace]1') + expect(screen.getByTestId('total-price').textContent).toBe('€60.00') + + const unitInputUnit = screen.getByTestId('select-input--unit') + await userEvent.click(unitInputUnit) + + const hours = screen.getByTestId('option-hours') + await userEvent.click(hours) + expect(screen.getByTestId('total-price').textContent).toBe('€2.50') + }) + + test('should work with children', () => + shouldMatchEmotionSnapshot( + + children + , + )) + + test('should work with footer', () => + shouldMatchEmotionSnapshot( + , + )) + + test('should work with price as a range', () => + shouldMatchEmotionSnapshot( + , + )) + + test('should work with totalPriceInfo', () => + shouldMatchEmotionSnapshot( + , + )) + + test('should work with additionalInfo', () => + shouldMatchEmotionSnapshot( + + children + , + )) + test('should work with numberInputs', () => + shouldMatchEmotionSnapshot( + , + )) + + test('should work with discount in %', () => { + const { asFragment } = renderWithTheme( + , + ) + + const price = screen.getByTestId('total-price').textContent + expect(price).toBe('€2.50') + + expect(asFragment()).toMatchSnapshot() + }) + + test('should work with discount', () => { + const { asFragment } = renderWithTheme( + , + ) + + const price = screen.getByTestId('total-price').textContent + expect(price).toBe('€0.00') + + expect(asFragment()).toMatchSnapshot() + }) + + test('should work with fractionDigits', () => { + const { asFragment } = renderWithTheme( + , + ) + + const price = screen.getByTestId('total-price').textContent + expect(price).toBe('€3') + + expect(asFragment()).toMatchSnapshot() + }) + + test('works with hideDetails', () => + shouldMatchEmotionSnapshot( + <> + + + , + )) + + test('works with negative category price', () => { + const { asFragment } = renderWithTheme( + , + ) + const price = screen.getByTestId('total-price').textContent + expect(price).toBe('€0.00') + + expect(asFragment()).toMatchSnapshot() + }) +}) diff --git a/packages/plus/src/components/OrderSummary/__tests__/resources.tsx b/packages/plus/src/components/OrderSummary/__tests__/resources.tsx new file mode 100644 index 0000000000..efad91809c --- /dev/null +++ b/packages/plus/src/components/OrderSummary/__tests__/resources.tsx @@ -0,0 +1,146 @@ +import { InformationOutlineIcon } from '@ultraviolet/icons' +import { Tooltip } from '@ultraviolet/ui' + +export const categoryDefault = { + category: 'Category', + total: 0, + subCategories: [ + { title: 'SubCategory', price: 12.2, details: ['Detail 1', 'Detail 2'] }, + ], + additionalInfo: ( + + 7 days of free + backup + + ), +} +export const simpleCategory = { + category: 'SimpleCategory', + subCategories: [{ title: 'subcategory', price: 5 }], +} + +export const categoryAZ = { + category: 'Availability Zone', + subCategories: [{ title: 'PARIS 1', price: 5 }], + discount: 0.5, +} + +export const categoryM2 = { + category: 'Configuration', + subCategories: [ + { + title: 'M2-M', + price: 124.1, + discount: 5, + details: [ + 'Apple M2 Chip', + '8 Cores CPU 8 cores GPU', + '256 GB SSD storage', + '16 GB memory', + '1 GB bandwidth', + ], + }, + { + title: 'macOs Sonoma', + price: 10, + }, + ], +} + +export const categoryOptions = { + category: 'Options', + subCategories: [ + { customContent: 'Included', title: '0.5 Gbps public bandwidth' }, + ], +} + +export const negativeItem = { + category: 'Coupon', + subCategories: [{ title: 'PROMO2025', price: -10, fixedPrice: true }], + allowNegative: true, +} + +export const fixePrice = { + category: 'One time fees', + subCategories: [ + { title: 'Setup', price: 200, fixedPrice: true }, + { title: 'Shipping', price: 50, fixedPrice: true }, + ], +} + +export const categoryRequest = { + category: 'Requests cost', + subCategories: [ + { + title: '200000 requests', + price: 0.00000015, + amount: 200000, + priceUnit: 'request', + fixedPrice: true, + }, + ], +} + +export const categoryStorage = { + category: 'Storage', + additionalInfo: ( + <> + + 75GB free on public images + + ), + subCategories: [ + { + title: '100 GB of storage', + price: 0.00003425, + amount: 100, + priceUnit: 'GB/hours', + amountFree: 75, + }, + ], +} + +export const categoryCustomContent = { + category: 'Custom content', + customContent: 'FREE', +} + +export const numberInputCategory = { + category: 'Numers of requests', + numberInput: true, + numberInputValue: 2, + onChangeInput: () => {}, +} + +export const numberInputSubCategory = { + category: 'Duration', + subCategories: [ + { + title: 'Choose a duration', + numberInput: true, + numberInputValue: 2, + onChangeInput: () => {}, + hidePrice: true, + numberInputControls: false, + numberInputUnit: 'ms', + }, + + { + title: 'duration', + }, + { + price: 1, + }, + ], +} + +export const rangePriceContent = { + category: 'Nodes', + subCategories: [ + { + title: '20-30 nodes', + price: 10, + amount: [20, 30], + }, + ], +} diff --git a/packages/plus/src/components/OrderSummary/constants.ts b/packages/plus/src/components/OrderSummary/constants.ts new file mode 100644 index 0000000000..c8ad183821 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/constants.ts @@ -0,0 +1,19 @@ +import type { TimeUnit } from './types' + +export const Units = [ + 'seconds', + 'minutes', + 'hours', + 'days', + 'months', +] satisfies TimeUnit[] + +// As we base ou calculation on hours we need to multiply them by a multiplier +// 1 month = 730 hours +export const multiplier: Record<(typeof Units)[number], number> = { + seconds: 1 / 60 / 60, + minutes: 1 / 60, + hours: 1, + days: 24, + months: 730, +} as const diff --git a/packages/plus/src/components/OrderSummary/helpers.tsx b/packages/plus/src/components/OrderSummary/helpers.tsx new file mode 100644 index 0000000000..4659374588 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/helpers.tsx @@ -0,0 +1,182 @@ +import { useContext } from 'react' +import { OrderSummaryContext } from './Provider' +import { multiplier } from './constants' +import type { + CurrencyType, + ItemsType, + LocalesFormatType, + PriceTypeSingle, + SubCategoryType, + TimeUnit, +} from './types' + +export const formatNumber = ( + number: number, + locale: LocalesFormatType, + currency: CurrencyType, + fractionDigits = 10, +) => { + const numberFormat = new Intl.NumberFormat(locale, { + style: 'currency', + currency, + maximumFractionDigits: fractionDigits, + }) + + return numberFormat.format(number) +} + +type CalculatePriceProps = { + price: number + amount: number + amountFree?: number + timeUnit: TimeUnit + timeAmount: number + discount?: number + fixedPrice?: boolean +} + +// time unit = hours, days, months +// timeAmount = number of hours / days / months +// discount < 1: computed in % (price = price*discount) +// discount >= 1: computed in absolute value (price = price - discount) +export const calculatePrice = ({ + price, + amount, + amountFree = 0, + timeUnit, + timeAmount, + discount = 0, + fixedPrice = false, +}: CalculatePriceProps) => { + const nonNanTimeAmount = Number.isNaN(timeAmount) ? 1 : timeAmount + const valueBeforeDiscount = + price * + (fixedPrice ? 1 : nonNanTimeAmount * multiplier[`${timeUnit}`]) * + Math.max(amount - amountFree, 0) + + const finalValue = + valueBeforeDiscount * (1 - (discount < 1 ? discount : 0)) - + (discount >= 1 ? Math.abs(discount) : 0) + + return finalValue +} + +export const calculateSubCategoryPrice = ( + subCategory: SubCategoryType, + hideTimeUnit: boolean, + timePeriodAmount: number, + timePeriodUnit: TimeUnit, +): [number, number] => { + if (Array.isArray(subCategory.amount)) { + const minPrice = + calculatePrice({ + price: subCategory.price ?? 0, + amount: subCategory.amount?.[0] ?? 1, + amountFree: subCategory.amountFree, + timeUnit: hideTimeUnit ? 'hours' : timePeriodUnit, + timeAmount: hideTimeUnit ? 1 : timePeriodAmount, + discount: subCategory.discount, + fixedPrice: subCategory.fixedPrice, + }) || 0 + const maxPrice = + calculatePrice({ + price: subCategory.price ?? 0, + amount: subCategory.amount?.[1] ?? 1, + amountFree: subCategory.amountFree, + timeUnit: hideTimeUnit ? 'hours' : timePeriodUnit, + timeAmount: hideTimeUnit ? 1 : timePeriodAmount, + discount: subCategory.discount, + fixedPrice: subCategory.fixedPrice, + }) || 0 + + return [minPrice, maxPrice] + } + const price = + calculatePrice({ + price: subCategory.price ?? 0, + amount: subCategory.amount ?? 1, + amountFree: subCategory.amountFree, + timeUnit: hideTimeUnit ? 'hours' : timePeriodUnit, + timeAmount: hideTimeUnit ? 1 : timePeriodAmount, + discount: subCategory.discount, + fixedPrice: subCategory.fixedPrice, + }) || 0 + + return [price, price] +} + +export const calculateCategoryPrice = ( + category: ItemsType, + hideTimeUnit: boolean, + timePeriodAmount: number, + timePeriodUnit: TimeUnit, +): { categoryPrice: [number, number]; discountedPrice: [number, number] } => { + const categoryPrice: [number, number] = category.subCategories?.reduce( + (acc, subCategory) => { + const computedPrices = calculateSubCategoryPrice( + subCategory, + hideTimeUnit, + timePeriodAmount, + timePeriodUnit, + ) + + return [acc[0] + computedPrices[0], acc[1] + computedPrices[1]] + }, + [0, 0], + ) || [0, 0] + + const discountedPriceMin = + category.discount && category.discount < 1 + ? categoryPrice[0] * category.discount + : categoryPrice[0] - (category.discount ?? 0) + + const discountedPriceMax = + category.discount && category.discount < 1 + ? categoryPrice[1] * category.discount + : categoryPrice[1] - (category.discount ?? 0) + + const discountedPrice: [number, number] = category.allowNegative + ? [discountedPriceMin, discountedPriceMax] + : [Math.max(discountedPriceMin, 0), Math.max(discountedPriceMax, 0)] + + categoryPrice.map(price => + Math.max( + category.discount && category.discount < 1 + ? price * category.discount + : price - (category.discount ?? 0), + 0, + ), + ) + + return { categoryPrice, discountedPrice } +} + +type DisplayPriceProps = { + price: PriceTypeSingle + beforeOrAfter: 'before' | 'after' +} + +export const DisplayPrice = ({ price, beforeOrAfter }: DisplayPriceProps) => { + const { localeFormat, currency, fractionDigits } = + useContext(OrderSummaryContext) + const withDiscount = beforeOrAfter === 'after' ? 'WithDiscount' : '' + + return price.totalPrice === price.maxPrice + ? formatNumber( + price[`totalPrice${withDiscount}`], + localeFormat, + currency, + fractionDigits ?? 2, + ) + : `${formatNumber( + price[`totalPrice${withDiscount}`], + localeFormat, + currency, + fractionDigits ?? 2, + )} - ${formatNumber( + price[`maxPrice${withDiscount}`], + localeFormat, + currency, + fractionDigits ?? 2, + )}` +} diff --git a/packages/plus/src/components/OrderSummary/index.tsx b/packages/plus/src/components/OrderSummary/index.tsx new file mode 100644 index 0000000000..29bddc3615 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/index.tsx @@ -0,0 +1,209 @@ +import styled from '@emotion/styled' +import { Stack, Text, UnitInput } from '@ultraviolet/ui' +import { useEffect, useMemo, useState } from 'react' +import { NonScrollableContent } from './NonScrollableContent' +import { OrderSummaryContext } from './Provider' +import { ScrollableContent } from './ScrollableContent' +import { Units } from './constants' +import { calculateCategoryPrice } from './helpers' +import orderSummaryLocales from './locales/en' +import type { OrderSummaryProps, PriceType, TimeUnit } from './types' + +const Container = styled(Stack)` + background-color: ${({ theme }) => theme.colors.neutral.backgroundWeak}; + height: 100%; + width: 20rem; + + @media (min-width: ${({ theme }) => theme.breakpoints.large}) { + width: 27.5rem; + } +` + +const HeaderContainer = styled(Stack)<{ 'data-hidedetails': boolean }>` + height: ${({ theme }) => theme.sizing[900]}; + padding: ${({ theme }) => theme.space[3]}; + padding-bottom: ${({ theme }) => theme.space[2]}; + + &[data-hidedetails="false"] { + border-bottom: 1px solid ${({ theme }) => theme.colors.neutral.border}; + } +` +const StyledStack = styled(Stack)` + background-color: ${({ theme }) => theme.colors.neutral.background}; +` + +export const OrderSummary = ({ + header, + hideTimeUnit = false, + periodOptions = Units, + valueUnitInput = 1, + unitUnitInput = 'hours', + items, + locales = orderSummaryLocales, + currency = 'EUR', + localeFormat = 'en-US', + footer, + children, + discount = 0, + totalPriceInfo, + fractionDigits, + hideDetails = false, + onChange, + onChangeUnitInput, + totalPriceDescription, + additionalInfo, +}: OrderSummaryProps) => { + const [timePeriodUnit, setTimePeriodUnit] = useState(unitUnitInput) + const [timePeriodAmount, setTimePeriodAmount] = useState(valueUnitInput) + + const categoriesPrice = useMemo( + () => + items.reduce((acc, category) => { + const { categoryPrice, discountedPrice } = calculateCategoryPrice( + category, + hideTimeUnit, + timePeriodAmount, + timePeriodUnit, + ) + + return { + ...acc, + [category.category]: { + maxPrice: categoryPrice[1], + maxPriceWithDiscount: discountedPrice[1], + totalPrice: categoryPrice[0], + totalPriceWithDiscount: discountedPrice[0], + timeUnit: unitUnitInput, + }, + } + }, {}), + [hideTimeUnit, items, timePeriodAmount, timePeriodUnit, unitUnitInput], + ) + + const totalPrice = useMemo(() => { + const price = Object.values(categoriesPrice).reduce<[number, number]>( + (acc, categoryPrice) => [ + acc[0] + categoryPrice.totalPriceWithDiscount, + acc[1] + categoryPrice.maxPriceWithDiscount, + ], + [0, 0], + ) + + const computedPrice = { + maxPrice: Math.max(price[1], 0), + maxPriceWithDiscount: Math.max( + price[1] * (discount < 1 ? 1 - discount : 1) - + (discount >= 1 ? Math.abs(discount) : 0), + 0, + ), + totalPrice: Math.max(price[0], 0), + totalPriceWithDiscount: Math.max( + price[0] * (discount < 1 ? 1 - discount : 1) - + (discount >= 1 ? Math.abs(discount) : 0), + 0, + ), + timeUnit: unitUnitInput, + } + + return computedPrice + }, [categoriesPrice, discount, unitUnitInput]) + + const valueContext = useMemo( + () => ({ + currency, + localeFormat, + items, + categoriesPrice, + hideTimeUnit, + timePeriodUnit, + timePeriodAmount, + locales, + fractionDigits, + }), + [ + currency, + localeFormat, + items, + categoriesPrice, + hideTimeUnit, + timePeriodUnit, + timePeriodAmount, + locales, + fractionDigits, + ], + ) + + const computePeriodOptions = useMemo(() => { + const computedPeriodOptions: { label: string; value: string }[] = [] + + periodOptions.forEach(option => + computedPeriodOptions.push({ + value: option, + label: locales[`order.summary.units.${option}.label` as const], + }), + ) + + return computedPeriodOptions + }, [periodOptions, locales]) + + useEffect(() => { + onChange?.(categoriesPrice, totalPrice) + }, [categoriesPrice, totalPrice, onChange]) + + return ( + + + {header ? ( + + + {header} + + {!hideTimeUnit && !hideDetails ? ( + + { + setTimePeriodAmount(value) + }} + onChangeUnitValue={(val: string) => { + setTimePeriodUnit(val as TimeUnit) + onChangeUnitInput?.(val) + }} + value={valueUnitInput} + unitValue={unitUnitInput} + size="small" + dropdownAlign="center" + /> + + ) : null} + + ) : null} + {!hideDetails ? : null} + + {children} + + + + ) +} diff --git a/packages/plus/src/components/OrderSummary/locales/en.ts b/packages/plus/src/components/OrderSummary/locales/en.ts new file mode 100644 index 0000000000..c41f5ec854 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/locales/en.ts @@ -0,0 +1,9 @@ +export default { + 'order.summary.total': 'Estimated cost', + 'order.summary.units.seconds.label': 'Second(s)', + 'order.summary.units.minutes.label': 'Minute(s)', + 'order.summary.units.hours.label': 'Hour(s)', + 'order.summary.units.days.label': 'Day(s)', + 'order.summary.units.months.label': 'Month(s)', + 'order.summary.units.years.label': 'Year(s)', +} as const diff --git a/packages/plus/src/components/OrderSummary/types.ts b/packages/plus/src/components/OrderSummary/types.ts new file mode 100644 index 0000000000..33e4343016 --- /dev/null +++ b/packages/plus/src/components/OrderSummary/types.ts @@ -0,0 +1,122 @@ +import type { UnitInput } from '@ultraviolet/ui' +import type { ComponentProps, ReactNode } from 'react' +import type orderSummaryLocales from './locales/en' + +export type TimeUnit = 'seconds' | 'minutes' | 'hours' | 'days' | 'months' + +type PeriodProps = + | { + hideTimeUnit: true + periodOptions?: never + valueUnitInput?: never + unitUnitInput?: TimeUnit + onChangeUnitInput?: never + } + | { + /** + * Optional time input allowing the user to estimate their cost on different time horizon. + * Pass the options to be displayed in the dropdown. + */ + hideTimeUnit?: false + periodOptions?: TimeUnit[] + valueUnitInput?: ComponentProps['value'] + unitUnitInput?: TimeUnit + onChangeUnitInput?: ComponentProps['onChangeUnitValue'] + } +type NumberInputType = { + /** + * Display a number input instead of the price + */ + numberInput?: boolean + numberInputValue?: number | null + numberInputUnit?: string + numberInputControls?: boolean + onChangeInput?: (value: number | null) => void +} + +export type PriceTypeSingle = { + maxPrice: number + maxPriceWithDiscount: number + totalPrice: number + totalPriceWithDiscount: number + timeUnit: TimeUnit +} + +export type PriceType = Record + +export type SubCategoryType = { + title?: string + price?: number + /** + * List of elements to be displayed in the subcategory + */ + details?: string[] + discount?: number + amount?: number[] | number + amountFree?: number + /** + * Set to true if the price does not depend on the time + */ + fixedPrice?: boolean + /** + * Suffix to be displayed after the price - this will trigger to not display the overall price taking into account the amount for the subcategory. + */ + priceUnit?: string + /** + * Hide the price for the line (it will still be counted in the general price) + */ + hidePrice?: boolean + /** + * Custom content to display next to the price + */ + customContent?: ReactNode +} & NumberInputType + +export type ItemsType = { + category: string + additionalInfo?: ReactNode + subCategories?: SubCategoryType[] + discount?: number + /** + * Hide the price of the category and display the custom content instead + */ + customContent?: ReactNode + /** + * Whether the category price can be < 0 (e.g coupons) + */ + allowNegative?: boolean +} & NumberInputType + +export type CurrencyType = 'EUR' + +export type LocalesFormatType = Intl.LocalesArgument + +export type OrderSummaryProps = { + items: ItemsType[] + header?: string + locales?: Record + currency?: CurrencyType + /** + * Locale to format the numbers (prices) + */ + localeFormat?: LocalesFormatType + /** + *Total applied to the final cost (due to commitment, beta...) + */ + discount?: number + footer?: ReactNode + children?: ReactNode + totalPriceInfo?: ReactNode + totalPriceDescription?: ReactNode + additionalInfo?: string + /** + * Number of fraction digit to display in the price details + */ + fractionDigits?: number + /** + * Get the computed price for each category. + * `price.category = { before: [total, totalMax], after: [totalWithDiscount, totalMaxWithDiscount]}` + */ + onChange?: (price: PriceType, totalPrice: PriceTypeSingle) => void + hideDetails?: boolean +} & PeriodProps diff --git a/packages/plus/src/components/Plans/FeatureHint.tsx b/packages/plus/src/components/Plans/FeatureHint.tsx new file mode 100644 index 0000000000..4ed2947b94 --- /dev/null +++ b/packages/plus/src/components/Plans/FeatureHint.tsx @@ -0,0 +1,52 @@ +import styled from '@emotion/styled' +import { InformationOutlineIcon } from '@ultraviolet/icons' +import { Popover, Tooltip } from '@ultraviolet/ui' +import { useState } from 'react' +import type { Hint } from './types' + +type FeatureHintProps = { + hint?: Hint +} + +const IconWrapper = styled.div` + cursor: pointer; +` + +export const FeatureHint = ({ hint }: FeatureHintProps) => { + const [visible, setVisible] = useState(false) + + if (!hint) { + return
+ } + + if (hint.type === 'tooltip') { + return ( + + + + ) + } + + return ( + setVisible(false)} + > + { + if (event.key === 'Space' || event.key === 'Enter') { + setVisible(true) + } + }} + onClick={() => setVisible(true)} + tabIndex={0} + data-testid="hint-popover" + > + + + + ) +} diff --git a/packages/plus/src/components/Plans/PlanHeader.tsx b/packages/plus/src/components/Plans/PlanHeader.tsx new file mode 100644 index 0000000000..cc5e537eb9 --- /dev/null +++ b/packages/plus/src/components/Plans/PlanHeader.tsx @@ -0,0 +1,136 @@ +import styled from '@emotion/styled' +import { Badge, Separator, Stack, Text } from '@ultraviolet/ui' +import PlansLocales from './locales/en' +import type { PlanType } from './types' + +const StyledInput = styled.input` + position: absolute; + opacity: 0; + top: 0; + left: 0; +` + +const FullHeightStack = styled(Stack)` + height: 100%; +` + +const PlanDescription = styled.div` + padding: ${({ theme }) => theme.space['1']}; + width: 100%; +` + +const FullSizeSeparator = styled(Separator)` + width: 100%; +` + +const CurrentPlanWrapper = styled.div` + /* Same as button */ + height: ${({ theme }) => theme.sizing['600']}; + display: flex; + align-items: center; +` + +type PlanHeaderProps = { + fieldName?: string + setFocusedPlan: (planValue?: string) => void + onChange?: (newPlanValue?: string) => void + currentPlanValue?: string + plan: PlanType + disabled: boolean + locales?: Record +} + +export const PlanHeader = ({ + fieldName, + setFocusedPlan, + onChange, + currentPlanValue, + plan, + disabled, + locales = PlansLocales, +}: PlanHeaderProps) => ( + <> + {fieldName && onChange && !disabled ? ( + onChange(plan.value)} + onFocus={() => { + setFocusedPlan(plan.value) + }} + onBlur={() => { + setFocusedPlan(undefined) + }} + data-testid={plan.value} + /> + ) : null} + + + + + + + {plan.titleHeader} + + + {plan.header.price} + + + {plan.header.priceDescription ? ( + + {plan.header.priceDescription} + + ) : null} + + + + {plan.header.description ? ( + + + {plan.header.description} + + + ) : null} + + + {plan.header.cta && currentPlanValue !== plan.value + ? plan.header.cta + : null} + {plan.header.cta && currentPlanValue === plan.value ? ( + + + {locales['plans.currentPlan']} + + + ) : null} + {plan.header.separator ? : null} + + + +) diff --git a/packages/plus/src/components/Plans/__stories__/HideLabels.stories.tsx b/packages/plus/src/components/Plans/__stories__/HideLabels.stories.tsx new file mode 100644 index 0000000000..c27ed140c4 --- /dev/null +++ b/packages/plus/src/components/Plans/__stories__/HideLabels.stories.tsx @@ -0,0 +1,128 @@ +import { CheckCircleIcon } from '@ultraviolet/icons' +import { Button, Text } from '@ultraviolet/ui' +import type { ComponentProps } from 'react' +import { Template } from './Template.stories' +import { domain, fees, gb, pipeline, ssl } from './features' + +const ContentPlan = ({ + description, + title, + iconAlign, +}: { description?: string; title: string; iconAlign?: 'center' | 'top' }) => ( +
+ +
+ + {title} + + {description ? ( + + {description} + + ) : null} +
+
+) + +const planStarter = { + value: 'starter', + title: 'Starter', + sentiment: 'primary' as ComponentProps['sentiment'], + header: { + selectPlanButton: 'Select Plan', + price: '€0.99', + priceDescription: '/month', + separator: true, + cta: ( + + ), + }, + data: { + gb: , + pipeline: ( + + ), + domain: , + ssl: , + fees: , + }, +} + +const planProfessional = { + value: 'professional', + title: 'professional', + sentiment: 'primary' as ComponentProps['sentiment'], + header: { + selectPlanButton: 'Select Plan', + price: '€12.99', + priceDescription: '/month', + separator: true, + cta: ( + + ), + }, + data: { + gb: , + pipeline: ( + + ), + domain: , + ssl: , + fees: , + }, +} + +const planAdvanced = { + value: 'advanced', + title: 'Advanced', + sentiment: 'primary' as ComponentProps['sentiment'], + header: { + cta: ( + + ), + price: '€109.99', + priceDescription: '/month', + separator: true, + }, + data: { + gb: ( + + ), + pipeline: ( + + ), + domain: , + ssl: , + fees: , + }, +} + +export const HideLabels = Template.bind({}) + +HideLabels.args = { + plans: [planStarter, planProfessional, planAdvanced], + features: [gb, pipeline, domain, ssl, fees], + hideLabels: true, + value: 'professional', +} diff --git a/packages/plus/src/components/Plans/__stories__/Playground.stories.tsx b/packages/plus/src/components/Plans/__stories__/Playground.stories.tsx new file mode 100644 index 0000000000..65d01d1745 --- /dev/null +++ b/packages/plus/src/components/Plans/__stories__/Playground.stories.tsx @@ -0,0 +1,82 @@ +import { Button } from '@ultraviolet/ui' +import type { Text } from '@ultraviolet/ui' +import type { ComponentProps } from 'react' +import { Template } from './Template.stories' +import { domain, fees, gb, pipeline, ssl } from './features' + +const planStarter = { + value: 'starter', + title: 'Starter', + sentiment: 'primary' as ComponentProps['sentiment'], + header: { + cta: ( + + ), + price: '€0.99', + priceDescription: '/month', + separator: true, + }, + data: { + gb: '100 GB', + pipeline: '1 pipeline', + domain: true, + ssl: true, + fees: true, + }, +} + +const planProfessional = { + value: 'professional', + title: 'professional', + sentiment: 'primary' as ComponentProps['sentiment'], + header: { + cta: ( + + ), + price: '€12.99', + priceDescription: '/month', + separator: true, + }, + data: { + gb: '1 TB', + pipeline: '10 pipelines', + domain: true, + ssl: true, + fees: true, + }, +} + +const planAdvanced = { + value: 'advanced', + title: 'Advanced', + sentiment: 'primary' as ComponentProps['sentiment'], + header: { + cta: ( + + ), + price: '€109.99', + priceDescription: '/month', + separator: true, + }, + data: { + gb: '10 TB', + pipeline: '100 pipelines', + domain: true, + ssl: true, + fees: false, + }, +} + +export const Playground = Template.bind({}) + +Playground.args = { + plans: [planStarter, planProfessional, planAdvanced], + features: [gb, pipeline, domain, ssl, fees], + value: 'professional', +} diff --git a/packages/plus/src/components/Plans/__stories__/Selectable.stories.tsx b/packages/plus/src/components/Plans/__stories__/Selectable.stories.tsx new file mode 100644 index 0000000000..ece47f46c9 --- /dev/null +++ b/packages/plus/src/components/Plans/__stories__/Selectable.stories.tsx @@ -0,0 +1,92 @@ +import type { StoryFn } from '@storybook/react-vite' +import { Button } from '@ultraviolet/ui' +import type { Text } from '@ultraviolet/ui' +import { useState } from 'react' +import type { ComponentProps } from 'react' +import { Plans } from '..' +import { domain, fees, gb, pipeline, ssl } from './features' + +const planStarter = { + value: 'starter', + title: 'Starter', + sentiment: 'primary' as ComponentProps['sentiment'], + header: { + cta: ( + + ), + price: '€0.99', + priceDescription: '/month', + separator: true, + }, + data: { + gb: '100 GB', + pipeline: '1 pipeline', + domain: true, + ssl: true, + fees: true, + }, +} + +const planProfessional = { + value: 'professional', + title: 'professional', + sentiment: 'primary' as ComponentProps['sentiment'], + header: { + cta: ( + + ), + price: '€12.99', + priceDescription: '/month', + separator: true, + }, + data: { + gb: '1 TB', + pipeline: '10 pipelines', + domain: true, + ssl: true, + fees: true, + }, +} + +const planAdvanced = { + value: 'advanced', + title: 'Advanced', + sentiment: 'primary' as ComponentProps['sentiment'], + header: { + cta: ( + + ), + price: '€109.99', + priceDescription: '/month', + separator: true, + }, + data: { + gb: '10 TB', + pipeline: '100 pipelines', + domain: true, + ssl: true, + fees: false, + }, +} + +export const Selectable: StoryFn> = ({ + ...props +}) => { + const [value, setValue] = useState('advanced') + const onChange = (newValue?: string) => setValue(newValue ?? 'advanced') + + return ( + + ) +} + +Selectable.args = { + plans: [planStarter, planProfessional, planAdvanced], + features: [gb, pipeline, domain, ssl, fees], +} diff --git a/packages/plus/src/components/Plans/__stories__/Template.stories.tsx b/packages/plus/src/components/Plans/__stories__/Template.stories.tsx new file mode 100644 index 0000000000..e05acfed63 --- /dev/null +++ b/packages/plus/src/components/Plans/__stories__/Template.stories.tsx @@ -0,0 +1,7 @@ +import type { StoryFn } from '@storybook/react-vite' +import type { ComponentProps } from 'react' +import { Plans } from '..' + +export const Template: StoryFn> = ({ + ...props +}) => diff --git a/packages/plus/src/components/Plans/__stories__/WithIcon.stories.tsx b/packages/plus/src/components/Plans/__stories__/WithIcon.stories.tsx new file mode 100644 index 0000000000..e9c8a92a69 --- /dev/null +++ b/packages/plus/src/components/Plans/__stories__/WithIcon.stories.tsx @@ -0,0 +1,130 @@ +import { + AdvancedSupportProductIcon, + BasicSupportProductIcon, + EntrepriseSupportProductIcon, +} from '@ultraviolet/icons/product' +import { Button, Separator } from '@ultraviolet/ui' +import type { Text } from '@ultraviolet/ui' +import type { ComponentProps, ReactNode } from 'react' +import { Template } from './Template.stories' +import { domain, fees, gb, pipeline, ssl } from './features' + +const StyledDiv = ({ children }: { children: ReactNode }) => ( +
+ {children} +
+) +const planStarter = { + value: 'starter', + title: 'Starter', + sentiment: 'primary' as ComponentProps['sentiment'], + titleHeader: , + + header: { + cta: ( + + ), + description: ( + + + +

+ For developers & non mission-critical projects +

+ +
+ ), + price: '€0.99', + priceDescription: '/month', + }, + data: { + gb: '100 GB', + pipeline: '1 pipeline', + domain: true, + ssl: true, + fees: true, + }, +} + +const planProfessional = { + value: 'professional', + title: 'professional', + sentiment: 'primary' as ComponentProps['sentiment'], + titleHeader: , + header: { + cta: ( + + ), + description: ( + + +

For small businesses & startups

+ + +
+ ), + price: '€12.99', + priceDescription: '/month', + }, + data: { + gb: '1 TB', + pipeline: '10 pipelines', + domain: true, + ssl: true, + fees: true, + }, +} + +const planAdvanced = { + value: 'advanced', + title: 'Advanced', + sentiment: 'primary' as ComponentProps['sentiment'], + titleHeader: , + + header: { + cta: ( + + ), + description: ( + + + +

+ For fast-growing starups & mission-critical infrastructure +

+ +
+ ), + price: '€109.99', + priceDescription: '/month', + }, + data: { + gb: '10 TB', + pipeline: '100 pipelines', + domain: true, + ssl: true, + fees: true, + }, +} + +export const WithIcon = Template.bind({}) + +WithIcon.args = { + plans: [planStarter, planProfessional, planAdvanced], + features: [gb, pipeline, domain, ssl, fees], + value: 'professional', +} diff --git a/packages/plus/src/components/Plans/__stories__/features.tsx b/packages/plus/src/components/Plans/__stories__/features.tsx new file mode 100644 index 0000000000..a4bfbe81c4 --- /dev/null +++ b/packages/plus/src/components/Plans/__stories__/features.tsx @@ -0,0 +1,39 @@ +export const gb = { + key: 'gb', + text: 'Cache', + description: '€0.0135 per GB additionnal', + hint: { + type: 'tooltip' as const, + text: 'tooltip', + }, +} + +export const pipeline = { + key: 'pipeline', + text: 'Pipeline', + description: '€4.00 per additional', + hint: { + type: 'tooltip' as const, + text: 'tooltip', + }, +} + +export const domain = { + key: 'domain', + text: 'Custom domaine', + description: '', +} + +export const ssl = { + key: 'ssl', + text: 'SSL Certificate', + hint: { + type: 'tootlip' as const, + content: 'tooltip', + }, +} + +export const fees = { + key: 'fees', + text: 'Egress fees', +} diff --git a/packages/plus/src/components/Plans/__stories__/index.stories.tsx b/packages/plus/src/components/Plans/__stories__/index.stories.tsx new file mode 100644 index 0000000000..5cbf341663 --- /dev/null +++ b/packages/plus/src/components/Plans/__stories__/index.stories.tsx @@ -0,0 +1,12 @@ +import type { Meta } from '@storybook/react-vite' +import { Plans } from '..' + +export default { + component: Plans, + title: 'Plus/Compositions/Plans', +} as Meta + +export { Playground } from './Playground.stories' +export { HideLabels } from './HideLabels.stories' +export { WithIcon } from './WithIcon.stories' +export { Selectable } from './Selectable.stories' diff --git a/packages/plus/src/components/Plans/__tests__/__snapshots__/index.test.tsx.snap b/packages/plus/src/components/Plans/__tests__/__snapshots__/index.test.tsx.snap new file mode 100644 index 0000000000..2e783e46b3 --- /dev/null +++ b/packages/plus/src/components/Plans/__tests__/__snapshots__/index.test.tsx.snap @@ -0,0 +1,5209 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`Plans > should work with default props 1`] = ` + + .emotion-0 { + table-layout: fixed; + border-collapse: separate; + border-spacing: 1rem 0; + margin: 0 -1rem; + width: calc(100% + 2rem); + height: 1px; +} + +.emotion-0 thead tr { + height: 100%; +} + +.emotion-0 td { + outline: none; + padding: 0.5rem; + text-align: center; +} + +.emotion-0 td[data-selectable='true'] { + cursor: pointer; +} + +.emotion-0[data-hide-labels="true"] td { + text-align: start; + padding-left: 1.5rem; +} + +.emotion-0 td:first-child { + text-align: left; +} + +.emotion-0 thead td { + height: 100%; + vertical-align: top; + position: relative; + padding-top: 2rem; + padding-bottom: 1.5rem; +} + +.emotion-0 thead td:first-child { + vertical-align: bottom; +} + +.emotion-0 thead td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0.5rem 0.5rem 0 0; + border-width: 1px 1px 0 1px; +} + +.emotion-0 thead td:not(:first-child)[data-hover='true'], +.emotion-0 thead td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 thead td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 2px 2px 0 2px; +} + +.emotion-0 tbody td[data-space-after='true'] { + padding-bottom: 3rem; +} + +.emotion-0 tbody td:not(:first-child) { + border: 1px solid #d9dadd; + border-width: 0px 1px; +} + +.emotion-0 tbody td:not(:first-child)[data-hover='true'], +.emotion-0 tbody td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px; +} + +.emotion-0 tbody tr:last-child td { + padding-bottom: 2rem; +} + +.emotion-0 tbody tr:last-child td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0 0 0.5rem 0.5rem; + border-width: 0 1px 1px 1px; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-hover='true'], +.emotion-0 tbody tr:last-child td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px 2px 2px; +} + +.emotion-0 tr[data-hide="true"] { + display: none; +} + +.emotion-2 { + background-color: transparent; +} + +.emotion-2[data-disabled="true"] { + background-color: #f3f3f4; +} + +.emotion-2[data-hide="true"] { + display: none; +} + +.emotion-4 { + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-10 { + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.5rem; + gap: 0.25rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1rem; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; + position: absolute; + bottom: 100%; + left: 50%; + -webkit-transform: translateX(-50%) translateY(50%); + -moz-transform: translateX(-50%) translateY(50%); + -ms-transform: translateX(-50%) translateY(50%); + transform: translateX(-50%) translateY(50%); +} + +.emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; + height: 100%; +} + +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-23 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #727683; + background: #e9eaeb; + border: none; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-27 { + color: #d8c5fc; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-31 { + color: #d8c5fc; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-33 { + padding: 0.5rem; + width: 100%; +} + +.emotion-35 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-37 { + margin: 0; + border: 0; + width: auto; + height: 1px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + background-color: #e9eaeb; +} + +.emotion-43 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2.5rem; + padding: 0 0.75rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; +} + +.emotion-43:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-43:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-43 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-43:hover, +.emotion-43:active { + background: #792dd4; + color: #f9f9fa; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-51 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + display: inherit; +} + +.emotion-53[data-container-full-height="true"] { + height: 100%; +} + +.emotion-53[data-container-full-width="true"] { + width: 100%; +} + +.emotion-55 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-55 .fillStroke { + stroke: #727683; + fill: none; +} + +.emotion-57 { + color: #727683; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: start; +} + +.emotion-61 { + color: #b5b7bd; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-73 { + cursor: pointer; +} + +.emotion-93 { + vertical-align: middle; + fill: #b5b7bd; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-93 .fillStroke { + stroke: #b5b7bd; + fill: none; +} + +.emotion-109 { + vertical-align: middle; + fill: #7ee0bc; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-109 .fillStroke { + stroke: #7ee0bc; + fill: none; +} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Features + + + + Out of stock + + + quotas + +
+
+
+ + + +
+ + €0.99 + +
+ + /month + +
+
+
+
+
+
+ +

+ For developers & non mission-critical projects +

+ +
+
+
+
+
+ +
+
+
+
+
+

+ Cache +

+
+ + + +
+
+
+ €0.0135 per GB additionnal +
+
+
+ + 100 GB + +
+
+
+

+ Pipeline +

+
+
+ + + +
+
+
+
+ €4.00 per additional +
+
+
+ + 1 pipeline + +
+
+
+

+ Custom domaine +

+
+
+
+
+ + + +
+
+
+

+ SSL Certificate +

+
+ + + +
+
+
+
+ + + +
+
+
+

+ Egress fees +

+
+
+
+
+ + + +
+
+
+`; + +exports[`Plans > should work with group 1`] = ` + + .emotion-0 { + table-layout: fixed; + border-collapse: separate; + border-spacing: 1rem 0; + margin: 0 -1rem; + width: calc(100% + 2rem); + height: 1px; +} + +.emotion-0 thead tr { + height: 100%; +} + +.emotion-0 td { + outline: none; + padding: 0.5rem; + text-align: center; +} + +.emotion-0 td[data-selectable='true'] { + cursor: pointer; +} + +.emotion-0[data-hide-labels="true"] td { + text-align: start; + padding-left: 1.5rem; +} + +.emotion-0 td:first-child { + text-align: left; +} + +.emotion-0 thead td { + height: 100%; + vertical-align: top; + position: relative; + padding-top: 2rem; + padding-bottom: 1.5rem; +} + +.emotion-0 thead td:first-child { + vertical-align: bottom; +} + +.emotion-0 thead td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0.5rem 0.5rem 0 0; + border-width: 1px 1px 0 1px; +} + +.emotion-0 thead td:not(:first-child)[data-hover='true'], +.emotion-0 thead td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 thead td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 2px 2px 0 2px; +} + +.emotion-0 tbody td[data-space-after='true'] { + padding-bottom: 3rem; +} + +.emotion-0 tbody td:not(:first-child) { + border: 1px solid #d9dadd; + border-width: 0px 1px; +} + +.emotion-0 tbody td:not(:first-child)[data-hover='true'], +.emotion-0 tbody td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px; +} + +.emotion-0 tbody tr:last-child td { + padding-bottom: 2rem; +} + +.emotion-0 tbody tr:last-child td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0 0 0.5rem 0.5rem; + border-width: 0 1px 1px 1px; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-hover='true'], +.emotion-0 tbody tr:last-child td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px 2px 2px; +} + +.emotion-0 tr[data-hide="true"] { + display: none; +} + +.emotion-0 { + table-layout: fixed; + border-collapse: separate; + border-spacing: 1rem 0; + margin: 0 -1rem; + width: calc(100% + 2rem); + height: 1px; +} + +.emotion-0 thead tr { + height: 100%; +} + +.emotion-0 td { + outline: none; + padding: 0.5rem; + text-align: center; +} + +.emotion-0 td[data-selectable='true'] { + cursor: pointer; +} + +.emotion-0[data-hide-labels="true"] td { + text-align: start; + padding-left: 1.5rem; +} + +.emotion-0 td:first-child { + text-align: left; +} + +.emotion-0 thead td { + height: 100%; + vertical-align: top; + position: relative; + padding-top: 2rem; + padding-bottom: 1.5rem; +} + +.emotion-0 thead td:first-child { + vertical-align: bottom; +} + +.emotion-0 thead td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0.5rem 0.5rem 0 0; + border-width: 1px 1px 0 1px; +} + +.emotion-0 thead td:not(:first-child)[data-hover='true'], +.emotion-0 thead td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 thead td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 2px 2px 0 2px; +} + +.emotion-0 tbody td[data-space-after='true'] { + padding-bottom: 3rem; +} + +.emotion-0 tbody td:not(:first-child) { + border: 1px solid #d9dadd; + border-width: 0px 1px; +} + +.emotion-0 tbody td:not(:first-child)[data-hover='true'], +.emotion-0 tbody td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px; +} + +.emotion-0 tbody tr:last-child td { + padding-bottom: 2rem; +} + +.emotion-0 tbody tr:last-child td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0 0 0.5rem 0.5rem; + border-width: 0 1px 1px 1px; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-hover='true'], +.emotion-0 tbody tr:last-child td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px 2px 2px; +} + +.emotion-0 tr[data-hide="true"] { + display: none; +} + +.emotion-2 { + background-color: transparent; +} + +.emotion-2[data-disabled="true"] { + background-color: #f3f3f4; +} + +.emotion-2[data-hide="true"] { + display: none; +} + +.emotion-2 { + background-color: transparent; +} + +.emotion-2[data-disabled="true"] { + background-color: #f3f3f4; +} + +.emotion-2[data-hide="true"] { + display: none; +} + +.emotion-4 { + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-10 { + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.5rem; + gap: 0.25rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1rem; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; + position: absolute; + bottom: 100%; + left: 50%; + -webkit-transform: translateX(-50%) translateY(50%); + -moz-transform: translateX(-50%) translateY(50%); + -ms-transform: translateX(-50%) translateY(50%); + transform: translateX(-50%) translateY(50%); +} + +.emotion-10 { + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.5rem; + gap: 0.25rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1rem; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; + position: absolute; + bottom: 100%; + left: 50%; + -webkit-transform: translateX(-50%) translateY(50%); + -moz-transform: translateX(-50%) translateY(50%); + -ms-transform: translateX(-50%) translateY(50%); + transform: translateX(-50%) translateY(50%); +} + +.emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; + height: 100%; +} + +.emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; + height: 100%; +} + +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; +} + +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-23 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #727683; + background: #e9eaeb; + border: none; +} + +.emotion-23 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #727683; + background: #e9eaeb; + border: none; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-27 { + color: #d8c5fc; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-27 { + color: #d8c5fc; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-31 { + color: #d8c5fc; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-31 { + color: #d8c5fc; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-33 { + padding: 0.5rem; + width: 100%; +} + +.emotion-33 { + padding: 0.5rem; + width: 100%; +} + +.emotion-35 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-35 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-37 { + margin: 0; + border: 0; + width: auto; + height: 1px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + background-color: #e9eaeb; +} + +.emotion-37 { + margin: 0; + border: 0; + width: auto; + height: 1px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + background-color: #e9eaeb; +} + +.emotion-43 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2.5rem; + padding: 0 0.75rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; +} + +.emotion-43:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-43:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-43 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-43:hover, +.emotion-43:active { + background: #792dd4; + color: #f9f9fa; +} + +.emotion-43 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2.5rem; + padding: 0 0.75rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; +} + +.emotion-43:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-43:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-43 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-43:hover, +.emotion-43:active { + background: #792dd4; + color: #f9f9fa; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-51 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-51 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + display: inherit; +} + +.emotion-53[data-container-full-height="true"] { + height: 100%; +} + +.emotion-53[data-container-full-width="true"] { + width: 100%; +} + +.emotion-53 { + display: inherit; +} + +.emotion-53[data-container-full-height="true"] { + height: 100%; +} + +.emotion-53[data-container-full-width="true"] { + width: 100%; +} + +.emotion-55 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-55 .fillStroke { + stroke: #727683; + fill: none; +} + +.emotion-55 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-55 .fillStroke { + stroke: #727683; + fill: none; +} + +.emotion-57 { + color: #727683; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: start; +} + +.emotion-57 { + color: #727683; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: start; +} + +.emotion-61 { + color: #b5b7bd; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-61 { + color: #b5b7bd; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-68 { + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 600; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-transform: uppercase; +} + +.emotion-82 { + cursor: pointer; +} + +.emotion-82 { + cursor: pointer; +} + +.emotion-102 { + vertical-align: middle; + fill: #b5b7bd; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-102 .fillStroke { + stroke: #b5b7bd; + fill: none; +} + +.emotion-102 { + vertical-align: middle; + fill: #b5b7bd; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-102 .fillStroke { + stroke: #b5b7bd; + fill: none; +} + +.emotion-118 { + vertical-align: middle; + fill: #7ee0bc; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-118 .fillStroke { + stroke: #7ee0bc; + fill: none; +} + +.emotion-118 { + vertical-align: middle; + fill: #7ee0bc; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-118 .fillStroke { + stroke: #7ee0bc; + fill: none; +} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Features + + + + Out of stock + + + quotas + +
+
+
+ + + +
+ + €0.99 + +
+ + /month + +
+
+
+
+
+
+ +

+ For developers & non mission-critical projects +

+ +
+
+
+
+
+ +
+
+
+
+
+

+ Cache +

+
+ + + +
+
+
+ €0.0135 per GB additionnal +
+
+
+ + 100 GB + +
+
+

+ group +

+
+
+
+
+
+

+ Pipeline +

+
+
+ + + +
+
+
+
+ €4.00 per additional +
+
+
+ + 1 pipeline + +
+
+
+

+ Custom domaine +

+
+
+
+
+ + + +
+
+
+

+ SSL Certificate +

+
+ + + +
+
+
+
+ + + +
+
+
+

+ Egress fees +

+
+
+
+
+ + + +
+
+
+`; + +exports[`Plans > should work with hideFeatureText 1`] = ` + + .emotion-0 { + table-layout: fixed; + border-collapse: separate; + border-spacing: 1rem 0; + margin: 0 -1rem; + width: calc(100% + 2rem); + height: 1px; +} + +.emotion-0 thead tr { + height: 100%; +} + +.emotion-0 td { + outline: none; + padding: 0.5rem; + text-align: center; +} + +.emotion-0 td[data-selectable='true'] { + cursor: pointer; +} + +.emotion-0[data-hide-labels="true"] td { + text-align: start; + padding-left: 1.5rem; +} + +.emotion-0 td:first-child { + text-align: left; +} + +.emotion-0 thead td { + height: 100%; + vertical-align: top; + position: relative; + padding-top: 2rem; + padding-bottom: 1.5rem; +} + +.emotion-0 thead td:first-child { + vertical-align: bottom; +} + +.emotion-0 thead td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0.5rem 0.5rem 0 0; + border-width: 1px 1px 0 1px; +} + +.emotion-0 thead td:not(:first-child)[data-hover='true'], +.emotion-0 thead td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 thead td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 2px 2px 0 2px; +} + +.emotion-0 tbody td[data-space-after='true'] { + padding-bottom: 3rem; +} + +.emotion-0 tbody td:not(:first-child) { + border: 1px solid #d9dadd; + border-width: 0px 1px; +} + +.emotion-0 tbody td:not(:first-child)[data-hover='true'], +.emotion-0 tbody td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px; +} + +.emotion-0 tbody tr:last-child td { + padding-bottom: 2rem; +} + +.emotion-0 tbody tr:last-child td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0 0 0.5rem 0.5rem; + border-width: 0 1px 1px 1px; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-hover='true'], +.emotion-0 tbody tr:last-child td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px 2px 2px; +} + +.emotion-0 tr[data-hide="true"] { + display: none; +} + +.emotion-2 { + background-color: transparent; +} + +.emotion-2[data-disabled="true"] { + background-color: #f3f3f4; +} + +.emotion-2[data-hide="true"] { + display: none; +} + +.emotion-8 { + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.5rem; + gap: 0.25rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1rem; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; + position: absolute; + bottom: 100%; + left: 50%; + -webkit-transform: translateX(-50%) translateY(50%); + -moz-transform: translateX(-50%) translateY(50%); + -ms-transform: translateX(-50%) translateY(50%); + transform: translateX(-50%) translateY(50%); +} + +.emotion-14 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; + height: 100%; +} + +.emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; +} + +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-21 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #727683; + background: #e9eaeb; + border: none; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-25 { + color: #d8c5fc; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-27 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-29 { + color: #d8c5fc; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-31 { + padding: 0.5rem; + width: 100%; +} + +.emotion-33 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-35 { + margin: 0; + border: 0; + width: auto; + height: 1px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + background-color: #e9eaeb; +} + +.emotion-41 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2.5rem; + padding: 0 0.75rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; +} + +.emotion-41:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-41:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-41 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-41:hover, +.emotion-41:active { + background: #792dd4; + color: #f9f9fa; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-49 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-51 { + display: inherit; +} + +.emotion-51[data-container-full-height="true"] { + height: 100%; +} + +.emotion-51[data-container-full-width="true"] { + width: 100%; +} + +.emotion-53 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-53 .fillStroke { + stroke: #727683; + fill: none; +} + +.emotion-55 { + color: #727683; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: start; +} + +.emotion-59 { + color: #b5b7bd; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-71 { + cursor: pointer; +} + +.emotion-91 { + vertical-align: middle; + fill: #b5b7bd; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-91 .fillStroke { + stroke: #b5b7bd; + fill: none; +} + +.emotion-107 { + vertical-align: middle; + fill: #7ee0bc; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-107 .fillStroke { + stroke: #7ee0bc; + fill: none; +} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + Out of stock + + + quotas + +
+
+
+ + + +
+ + €0.99 + +
+ + /month + +
+
+
+
+
+
+ +

+ For developers & non mission-critical projects +

+ +
+
+
+
+
+ +
+
+
+
+
+

+ Cache +

+
+ + + +
+
+
+ €0.0135 per GB additionnal +
+
+
+ + 100 GB + +
+
+
+

+ Pipeline +

+
+
+ + + +
+
+
+
+ €4.00 per additional +
+
+
+ + 1 pipeline + +
+
+
+

+ Custom domaine +

+
+
+
+
+ + + +
+
+
+

+ SSL Certificate +

+
+ + + +
+
+
+
+ + + +
+
+
+

+ Egress fees +

+
+
+
+
+ + + +
+
+
+`; + +exports[`Plans > should work with hideLabels 1`] = ` + + .emotion-0 { + table-layout: fixed; + border-collapse: separate; + border-spacing: 1rem 0; + margin: 0 -1rem; + width: calc(100% + 2rem); + height: 1px; +} + +.emotion-0 thead tr { + height: 100%; +} + +.emotion-0 td { + outline: none; + padding: 0.5rem; + text-align: center; +} + +.emotion-0 td[data-selectable='true'] { + cursor: pointer; +} + +.emotion-0[data-hide-labels="true"] td { + text-align: start; + padding-left: 1.5rem; +} + +.emotion-0 td:first-child { + text-align: left; +} + +.emotion-0 thead td { + height: 100%; + vertical-align: top; + position: relative; + padding-top: 2rem; + padding-bottom: 1.5rem; +} + +.emotion-0 thead td:first-child { + vertical-align: bottom; +} + +.emotion-0 thead td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0.5rem 0.5rem 0 0; + border-width: 1px 1px 0 1px; +} + +.emotion-0 thead td:not(:first-child)[data-hover='true'], +.emotion-0 thead td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 thead td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 2px 2px 0 2px; +} + +.emotion-0 tbody td[data-space-after='true'] { + padding-bottom: 3rem; +} + +.emotion-0 tbody td:not(:first-child) { + border: 1px solid #d9dadd; + border-width: 0px 1px; +} + +.emotion-0 tbody td:not(:first-child)[data-hover='true'], +.emotion-0 tbody td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px; +} + +.emotion-0 tbody tr:last-child td { + padding-bottom: 2rem; +} + +.emotion-0 tbody tr:last-child td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0 0 0.5rem 0.5rem; + border-width: 0 1px 1px 1px; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-hover='true'], +.emotion-0 tbody tr:last-child td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px 2px 2px; +} + +.emotion-0 tr[data-hide="true"] { + display: none; +} + +.emotion-2 { + background-color: transparent; +} + +.emotion-2[data-disabled="true"] { + background-color: #f3f3f4; +} + +.emotion-2[data-hide="true"] { + display: none; +} + +.emotion-4 { + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-10 { + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.5rem; + gap: 0.25rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1rem; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; + position: absolute; + bottom: 100%; + left: 50%; + -webkit-transform: translateX(-50%) translateY(50%); + -moz-transform: translateX(-50%) translateY(50%); + -ms-transform: translateX(-50%) translateY(50%); + transform: translateX(-50%) translateY(50%); +} + +.emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; + height: 100%; +} + +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-23 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #727683; + background: #e9eaeb; + border: none; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-27 { + color: #d8c5fc; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-31 { + color: #d8c5fc; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-33 { + padding: 0.5rem; + width: 100%; +} + +.emotion-35 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-37 { + margin: 0; + border: 0; + width: auto; + height: 1px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + background-color: #e9eaeb; +} + +.emotion-43 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2.5rem; + padding: 0 0.75rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; +} + +.emotion-43:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-43:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-43 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-43:hover, +.emotion-43:active { + background: #792dd4; + color: #f9f9fa; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-51 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + display: inherit; +} + +.emotion-53[data-container-full-height="true"] { + height: 100%; +} + +.emotion-53[data-container-full-width="true"] { + width: 100%; +} + +.emotion-55 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-55 .fillStroke { + stroke: #727683; + fill: none; +} + +.emotion-57 { + color: #727683; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: start; +} + +.emotion-61 { + color: #b5b7bd; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-73 { + cursor: pointer; +} + +.emotion-93 { + vertical-align: middle; + fill: #b5b7bd; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-93 .fillStroke { + stroke: #b5b7bd; + fill: none; +} + +.emotion-109 { + vertical-align: middle; + fill: #7ee0bc; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-109 .fillStroke { + stroke: #7ee0bc; + fill: none; +} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Features + + + + Out of stock + + + quotas + +
+
+
+ + + +
+ + €0.99 + +
+ + /month + +
+
+
+
+
+
+ +

+ For developers & non mission-critical projects +

+ +
+
+
+
+
+ +
+
+
+
+
+

+ Cache +

+
+ + + +
+
+
+ €0.0135 per GB additionnal +
+
+
+ + 100 GB + +
+
+
+

+ Pipeline +

+
+
+ + + +
+
+
+
+ €4.00 per additional +
+
+
+ + 1 pipeline + +
+
+
+

+ Custom domaine +

+
+
+
+
+ + + +
+
+
+

+ SSL Certificate +

+
+ + + +
+
+
+
+ + + +
+
+
+

+ Egress fees +

+
+
+
+
+ + + +
+
+
+`; + +exports[`Plans > should work with popover as hint 1`] = `[Function]`; + +exports[`Plans > should work with value 1`] = ` + + .emotion-0 { + table-layout: fixed; + border-collapse: separate; + border-spacing: 1rem 0; + margin: 0 -1rem; + width: calc(100% + 2rem); + height: 1px; +} + +.emotion-0 thead tr { + height: 100%; +} + +.emotion-0 td { + outline: none; + padding: 0.5rem; + text-align: center; +} + +.emotion-0 td[data-selectable='true'] { + cursor: pointer; +} + +.emotion-0[data-hide-labels="true"] td { + text-align: start; + padding-left: 1.5rem; +} + +.emotion-0 td:first-child { + text-align: left; +} + +.emotion-0 thead td { + height: 100%; + vertical-align: top; + position: relative; + padding-top: 2rem; + padding-bottom: 1.5rem; +} + +.emotion-0 thead td:first-child { + vertical-align: bottom; +} + +.emotion-0 thead td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0.5rem 0.5rem 0 0; + border-width: 1px 1px 0 1px; +} + +.emotion-0 thead td:not(:first-child)[data-hover='true'], +.emotion-0 thead td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 thead td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 2px 2px 0 2px; +} + +.emotion-0 tbody td[data-space-after='true'] { + padding-bottom: 3rem; +} + +.emotion-0 tbody td:not(:first-child) { + border: 1px solid #d9dadd; + border-width: 0px 1px; +} + +.emotion-0 tbody td:not(:first-child)[data-hover='true'], +.emotion-0 tbody td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px; +} + +.emotion-0 tbody tr:last-child td { + padding-bottom: 2rem; +} + +.emotion-0 tbody tr:last-child td:not(:first-child) { + border: 1px solid #d9dadd; + border-radius: 0 0 0.5rem 0.5rem; + border-width: 0 1px 1px 1px; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-hover='true'], +.emotion-0 tbody tr:last-child td:not(:first-child)[data-active='true'] { + border-color: #8c40ef; +} + +.emotion-0 tbody tr:last-child td:not(:first-child)[data-focus='true'] { + border-color: blue; + border-width: 0px 2px 2px 2px; +} + +.emotion-0 tr[data-hide="true"] { + display: none; +} + +.emotion-2 { + background-color: transparent; +} + +.emotion-2[data-disabled="true"] { + background-color: #f3f3f4; +} + +.emotion-2[data-hide="true"] { + display: none; +} + +.emotion-4 { + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-10 { + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.5rem; + gap: 0.25rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1rem; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; + position: absolute; + bottom: 100%; + left: 50%; + -webkit-transform: translateX(-50%) translateY(50%); + -moz-transform: translateX(-50%) translateY(50%); + -ms-transform: translateX(-50%) translateY(50%); + transform: translateX(-50%) translateY(50%); +} + +.emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; + height: 100%; +} + +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1.5rem; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; +} + +.emotion-23 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-radius: 1rem; + padding: 0 0.75rem; + gap: 0.5rem; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 1.5rem; + text-transform: uppercase; + color: #727683; + background: #e9eaeb; + border: none; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-27 { + color: #d8c5fc; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-29 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; +} + +.emotion-31 { + color: #d8c5fc; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-33 { + padding: 0.5rem; + width: 100%; +} + +.emotion-35 { + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-37 { + margin: 0; + border: 0; + width: auto; + height: 1px; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + background-color: #e9eaeb; +} + +.emotion-43 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2.5rem; + padding: 0 0.75rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; +} + +.emotion-43:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-43:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-43 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-43:hover, +.emotion-43:active { + background: #792dd4; + color: #f9f9fa; +} + +.emotion-49 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; +} + +.emotion-51 { + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-53 { + display: inherit; +} + +.emotion-53[data-container-full-height="true"] { + height: 100%; +} + +.emotion-53[data-container-full-width="true"] { + width: 100%; +} + +.emotion-55 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-55 .fillStroke { + stroke: #727683; + fill: none; +} + +.emotion-57 { + color: #727683; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: start; +} + +.emotion-61 { + color: #b5b7bd; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-73 { + cursor: pointer; +} + +.emotion-93 { + vertical-align: middle; + fill: #b5b7bd; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-93 .fillStroke { + stroke: #b5b7bd; + fill: none; +} + +.emotion-109 { + vertical-align: middle; + fill: #7ee0bc; + height: 1.25rem; + width: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} + +.emotion-109 .fillStroke { + stroke: #7ee0bc; + fill: none; +} + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Features + + + + Out of stock + + + quotas + +
+
+
+ + + +
+ + €0.99 + +
+ + /month + +
+
+
+
+
+
+ +

+ For developers & non mission-critical projects +

+ +
+
+
+
+
+ +
+
+
+
+
+

+ Cache +

+
+ + + +
+
+
+ €0.0135 per GB additionnal +
+
+
+ + 100 GB + +
+
+
+

+ Pipeline +

+
+
+ + + +
+
+
+
+ €4.00 per additional +
+
+
+ + 1 pipeline + +
+
+
+

+ Custom domaine +

+
+
+
+
+ + + +
+
+
+

+ SSL Certificate +

+
+ + + +
+
+
+
+ + + +
+
+
+

+ Egress fees +

+
+
+
+
+ + + +
+
+
+`; + +exports[`Plans > should work with value and onChange 1`] = `[Function]`; diff --git a/packages/plus/src/components/Plans/__tests__/features.tsx b/packages/plus/src/components/Plans/__tests__/features.tsx new file mode 100644 index 0000000000..bd8a664023 --- /dev/null +++ b/packages/plus/src/components/Plans/__tests__/features.tsx @@ -0,0 +1,51 @@ +export const gb = { + key: 'gb', + text: 'Cache', + description: '€0.0135 per GB additionnal', + hint: { + type: 'tooltip' as const, + text: 'tooltip', + }, +} + +export const pipeline = { + key: 'pipeline', + text: 'Pipeline', + description: '€4.00 per additional', + hint: { + type: 'popover' as const, + content: 'popover', + }, +} + +export const domain = { + key: 'domain', + text: 'Custom domaine', + description: '', +} + +export const ssl = { + key: 'ssl', + text: 'SSL Certificate', + hint: { + type: 'tooltip' as const, + text: 'tooltip', + }, +} + +export const fees = { + key: 'fees', + text: 'Egress fees', +} + +export const group = { + group: 'group', +} + +export const group2 = { + group: 'group', + hint: { + type: 'tooltip' as const, + text: 'tooltip', + }, +} diff --git a/packages/plus/src/components/Plans/__tests__/index.test.tsx b/packages/plus/src/components/Plans/__tests__/index.test.tsx new file mode 100644 index 0000000000..c00b600d16 --- /dev/null +++ b/packages/plus/src/components/Plans/__tests__/index.test.tsx @@ -0,0 +1,98 @@ +import { fireEvent, screen } from '@testing-library/react' +import { userEvent } from '@testing-library/user-event' +import { renderWithTheme, shouldMatchEmotionSnapshot } from '@utils/test' +import { describe, expect, it, vi } from 'vitest' +import { Plans } from '..' +import { domain, fees, gb, group, pipeline, ssl } from './features' +import { planAdvanced, planProfessional, planStarter } from './plans' + +describe('Plans', () => { + it('should work with default props', () => + shouldMatchEmotionSnapshot( + , + )) + + it('should work with hideLabels', () => + shouldMatchEmotionSnapshot( + , + )) + + it('should work with hideFeatureText', () => + shouldMatchEmotionSnapshot( + , + )) + + it('should work with value', () => + shouldMatchEmotionSnapshot( + , + )) + + it('should work with popover as hint', async () => { + const mockOnChange = vi.fn() + const { asFragment } = renderWithTheme( + , + ) + const hint = screen.getByTestId('hint-popover') + await userEvent.click(hint) + const popoverContent = screen.getByText('popover') + expect(popoverContent).toBeVisible() + + await userEvent.keyboard('[Enter]') + const closePopover = screen.getByRole('button', { name: 'close' }) + await userEvent.click(closePopover) + + expect(asFragment).toMatchSnapshot() + }) + it('should work with value and onChange', async () => { + const mockOnChange = vi.fn() + const { asFragment } = renderWithTheme( + , + ) + const plan = screen.getByTestId('advanced') + await userEvent.click(plan) + expect(mockOnChange).toHaveBeenCalled() + const plan2 = screen.getByTestId('professional-ssl') + await userEvent.click(plan2) + await userEvent.hover(plan) + fireEvent.mouseOut(plan) + await userEvent.hover(plan2) + fireEvent.mouseOut(plan2) + + expect(asFragment).toMatchSnapshot() + }) + + it('should work with group', () => + shouldMatchEmotionSnapshot( + , + )) +}) diff --git a/packages/plus/src/components/Plans/__tests__/plans.tsx b/packages/plus/src/components/Plans/__tests__/plans.tsx new file mode 100644 index 0000000000..fd7870ad04 --- /dev/null +++ b/packages/plus/src/components/Plans/__tests__/plans.tsx @@ -0,0 +1,126 @@ +import { EntrepriseSupportProductIcon } from '@ultraviolet/icons/product' +import type { Text } from '@ultraviolet/ui' +import { Button, Separator } from '@ultraviolet/ui' +import type { ComponentProps } from 'react' + +export const planStarter = { + value: 'starter', + title: 'Starter', + sentiment: 'primary' as ComponentProps['sentiment'], + disabled: true, + outOfStock: true, + header: { + quotas: 'quotas', + cta: ( + + ), + description: ( +
+ + +

+ For developers & non mission-critical projects{' '} +

+ +
+ ), + price: '€0.99', + priceDescription: '/month', + }, + data: { + gb: '100 GB', + pipeline: '1 pipeline', + domain: false, + ssl: true, + fees: true, + group: true, + group2: false, + }, +} + +export const planProfessional = { + value: 'professional', + title: 'professional', + sentiment: 'black' as ComponentProps['sentiment'], + titleHeader: , + header: { + cta: ( + + ), + description: ( +
+ +

For small businesses & startups

+ + +
+ ), + price: '€12.99', + priceDescription: '/month', + }, + data: { + gb: '1 TB', + pipeline: '10 pipelines', + domain: true, + ssl: true, + fees: true, + group: true, + group2: false, + }, +} + +export const planAdvanced = { + value: 'advanced', + title: 'Advanced', + titleHeader: , + + header: { + cta: ( + + ), + description: ( +
+ + +

+ For fast-growing starups & mission-critical infrastructure +

+ +
+ ), + price: '€109.99', + }, + data: { + gb: '10 TB', + pipeline: '100 pipelines', + domain: true, + ssl: true, + fees: true, + group: true, + group2: false, + }, +} diff --git a/packages/plus/src/components/Plans/index.tsx b/packages/plus/src/components/Plans/index.tsx new file mode 100644 index 0000000000..634bda1eed --- /dev/null +++ b/packages/plus/src/components/Plans/index.tsx @@ -0,0 +1,356 @@ +import styled from '@emotion/styled' +import { CheckCircleIcon, CloseIcon } from '@ultraviolet/icons' +import { Badge, Stack, Text } from '@ultraviolet/ui' +import { useState } from 'react' +import { FeatureHint } from './FeatureHint' +import { PlanHeader } from './PlanHeader' +import PlansLocales from './locales/en' +import type { Feature, PlanType } from './types' + +const PlanTable = styled.table` + table-layout: fixed; + border-collapse: separate; + border-spacing: ${({ theme }) => theme.space[2]} 0; + + /* Needed to compensate border-spacing behavior */ + margin: 0 -${({ theme }) => theme.space[2]}; + width: calc(100% + ${({ theme }) => theme.space[4]}); + + /* Needed to have full height div in header cell */ + height: 1px; + + thead tr { + height: 100%; + } + + /* All cells */ + td { + outline: none; + padding: ${({ theme }) => theme.space['1']}; + text-align: center; + + &[data-selectable='true'] { + cursor: pointer; + } + } + + &[data-hide-labels="true"] { + td { + text-align: start; + padding-left: ${({ theme }) => theme.space['3']}; + } + } + + /* First column */ + td:first-child { + text-align: left; + } + + /* Header Cell */ + thead td { + height: 100%; + vertical-align: top; + position: relative; + padding-top: ${({ theme }) => theme.space['4']}; + padding-bottom: ${({ theme }) => theme.space['3']}; + } + + /* First Header Cell */ + thead td:first-child { + vertical-align: bottom; + } + + /* Not First Header Cell */ + thead td:not(:first-child) { + border: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-radius: ${({ theme }) => + `${theme.radii.large} ${theme.radii.large} 0 0`}; + border-width: 1px 1px 0 1px; + + &[data-hover='true'], + &[data-active='true'] { + border-color: ${({ theme }) => theme.colors.primary.border}; + } + + &[data-focus='true'] { + /* using native color to reproduce focus color */ + border-color: blue; + border-width: 2px 2px 0 2px; + } + } + + tbody td { + &[data-space-after='true'] { + padding-bottom: ${({ theme }) => theme.space['6']}; + } + } + + tbody td:not(:first-child) { + border: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-width: 0px 1px; + + &[data-hover='true'], + &[data-active='true'] { + border-color: ${({ theme }) => theme.colors.primary.border}; + } + + &[data-focus='true'] { + /* using native color to reproduce focus color */ + border-color: blue; + border-width: 0px 2px; + } + } + + /* Last row cells */ + tbody tr:last-child td { + padding-bottom: ${({ theme }) => theme.space['4']}; + } + + tbody tr:last-child td:not(:first-child) { + border: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-radius: ${({ theme }) => + `0 0 ${theme.radii.large} ${theme.radii.large}`}; + border-width: 0 1px 1px 1px; + + &[data-hover='true'], + &[data-active='true'] { + border-color: ${({ theme }) => theme.colors.primary.border}; + } + + &[data-focus='true'] { + /* using native color to reproduce focus color */ + border-color: blue; + border-width: 0px 2px 2px 2px; + } + } + + tr { + &[data-hide="true"] { + display: none; + } + } +` + +const OutOfStockBadge = styled(Badge)` + position: absolute; + bottom: 100%; + left: 50%; + transform: translateX(-50%) translateY(50%); +` + +const PlanCell = styled.td` + background-color: transparent; + + &[data-disabled="true"] { + background-color: ${({ theme }) => + theme.colors.neutral.backgroundDisabled}; + } + + &[data-hide="true"] { + display: none; + } +` + +const UppercaseText = styled(Text)` + text-transform: uppercase; +` +type PlansProps = { + fieldName?: string + onChange?: (newPlanValue: string | undefined) => void + value?: string + features: Feature[] + plans: PlanType[] + hideFeatureText?: boolean + hideLabels?: boolean + locales?: Record +} + +export const Plans = ({ + fieldName, + onChange, + value, + features, + plans, + hideFeatureText = false, + hideLabels = false, + locales = PlansLocales, +}: PlansProps) => { + const hasCardBehavior = !!(fieldName && onChange) + const [focusedPlan, setFocusedPlan] = useState() + const [hoveredPlan, setHoveredPlan] = useState() + + return ( + +

` and `` + +## 2.0.0-beta.3 + +### Major Changes + +- [`855a68c`](https://github.com/scaleway/ultraviolet/commit/855a68cc2740225d56f7f326338d6b6b482f804b) Thanks [@matthprost](https://github.com/matthprost)! - All group input have a breaking changes in their props: + + - `label` is now longer needed, use `legend` instead. + - `legend` type moved from `ReactNode` to `string`. Use `legendDescription` to add more information. + - new prop `legendDescription` to add more information to the legend. + +### Patch Changes + +- [`fd88786`](https://github.com/scaleway/ultraviolet/commit/fd887868e66208f5d3ab6de2e25df9ed7518eec7) Thanks [@matthprost](https://github.com/matthprost)! - Fix `` with `input` prop to only apply the value `onBlur` instead of `onChange`. Works also with double slider. + +- [`855a68c`](https://github.com/scaleway/ultraviolet/commit/855a68cc2740225d56f7f326338d6b6b482f804b) Thanks [@matthprost](https://github.com/matthprost)! - Fix all group field to have correct `legend` and `legendDescription` + +- [`ae4ca59`](https://github.com/scaleway/ultraviolet/commit/ae4ca592099b440cdedfafdb1c5a2ea0540d97f8) Thanks [@alexandre-combemorel](https://github.com/alexandre-combemorel)! - Add theme get function for nivo chart components (harmonization of theme) + +- Updated dependencies [[`da3e7f7`](https://github.com/scaleway/ultraviolet/commit/da3e7f7c41ce6bad2c0dcd9a05693cee587f2ef3), [`421d104`](https://github.com/scaleway/ultraviolet/commit/421d104ae17d8c805d981ed214417916f73d561c)]: + - @ultraviolet/icons@4.0.0-beta.2 + - @ultraviolet/themes@2.0.0-beta.1 + +## 2.0.0-beta.2 + +### Patch Changes + +- [`f9dc10c`](https://github.com/scaleway/ultraviolet/commit/f9dc10cbe3ea826e4d6f682fbd5567ff0463f75b) Thanks [@matthprost](https://github.com/matthprost)! - Fix `` position to avoid error in index + +## 2.0.0-beta.1 + +### Major Changes + +- [#5139](https://github.com/scaleway/ultraviolet/pull/5139) [`4308966`](https://github.com/scaleway/ultraviolet/commit/4308966450c594969417d3740d984099463e7da8) Thanks [@matthprost](https://github.com/matthprost)! - Following the icon major update some components have recieved a small update to improve the usage of icons. + + ## Detailed migration per components + + ### Button + + `icon`, `iconPosition`, `iconVariant` props are deprecated. You can directly use the imported icon you need in the children. + + ```tsx + // Before + import { Button } from "@ultraviolet/ui"; + + ; + ``` + + ```tsx + // After + import { Button } from "@ultraviolet/ui"; + import { PencilOutlineIcon } from "@ultraviolet/icons"; + + ; + ``` + + ### Badge + + `icon` props is deprecated. You can directly use the imported icon you need in the children. + + ```tsx + // Before + import { Badge } from '@ultraviolet/ui' + + + Edit + + ``` + + ```tsx + // After + import { Badge } from "@ultraviolet/ui"; + import { PencilOutlineIcon } from "@ultraviolet/icons"; + + + Edit + ; + ``` + + ### Bullet + + `icon` and `iconVariant` props are deprecated. You can directly use the imported icon you need in the children. + + ```tsx + // Before + import { Bullet } from '@ultraviolet/ui' + + + + ``` + + ```tsx + // After + import { Bullet } from '@ultraviolet/ui' + import { CheckIcon, CheckCircleOutlineIcon } from '@ultraviolet/icons' + + + + + + + + + ``` + + ### AvatarV2 + + `icon` prop is deprecated. You can directly use the imported icon you need in the children. + + ```tsx + // Before + import { AvatarV2 } from "@ultraviolet/ui"; + + ; + ``` + + ```tsx + // After + import { AvatarV2 } from "@ultraviolet/ui"; + import { MosaicIcon } from "@ultraviolet/icons"; + + + + ; + ``` + + ### Separator + + `icon` prop is deprecated. You can directly use the imported icon you need in the children. + + ```tsx + // Before + import { Separator } from "@ultraviolet/ui"; + + ; + ``` + + ```tsx + // After + import { Separator } from "@ultraviolet/ui"; + import { RayTopArrowIcon } from "@ultraviolet/icons"; + + + + ; + ``` + + ### Tag + + `icon` prop is deprecated. You can directly use the imported icon you need in the children. + + ```tsx + // Before + import { Tag } from "@ultraviolet/ui"; + + Valid; + ``` + + ```tsx + // After + import { Tag } from "@ultraviolet/ui"; + import { CheckIcon } from "@ultraviolet/icons"; + + + + Valid + ; + ``` +## 2.0.0-beta.0 + +### Major Changes + +- [#5112](https://github.com/scaleway/ultraviolet/pull/5112) [`37a7d63`](https://github.com/scaleway/ultraviolet/commit/37a7d632cd1e61d7615e5356fc179ec08f3bec09) Thanks [@matthprost](https://github.com/matthprost)! - Beta release + +### Patch Changes + +- Updated dependencies [[`37a7d63`](https://github.com/scaleway/ultraviolet/commit/37a7d632cd1e61d7615e5356fc179ec08f3bec09), [`a928589`](https://github.com/scaleway/ultraviolet/commit/a9285896d638e34eba9bb25c55c38de2aef4e210), [`865c160`](https://github.com/scaleway/ultraviolet/commit/865c160aee2db5bd5e7b357e9693a45a17ef4284)]: + - @ultraviolet/themes@2.0.0-beta.0 + - @ultraviolet/icons@4.0.0-beta.0 + ## 1.95.14 ### Patch Changes @@ -27,10 +494,21 @@ ### Patch Changes -- [#5277](https://github.com/scaleway/ultraviolet/pull/5277) [`40d4066`](https://github.com/scaleway/ultraviolet/commit/40d40662d7305712b0ca23d08759b37590a677a0) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `next` to `15.3.4`. - Updated dependency `eslint-config-next` to `15.3.4`. +- Updated dependencies [[`1464f54`](https://github.com/scaleway/ultraviolet/commit/1464f54cb9099b6daa51b254cc935f36147004d0)]: + - @ultraviolet/icons@4.0.0-beta.1 -- [#5287](https://github.com/scaleway/ultraviolet/pull/5287) [`80d5c50`](https://github.com/scaleway/ultraviolet/commit/80d5c50e294efdc5fe714a55ef985ff142c07b6e) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@scaleway/random-name` to `5.1.2`. +## 2.0.0-beta.0 + +### Major Changes + +- [#5112](https://github.com/scaleway/ultraviolet/pull/5112) [`37a7d63`](https://github.com/scaleway/ultraviolet/commit/37a7d632cd1e61d7615e5356fc179ec08f3bec09) Thanks [@matthprost](https://github.com/matthprost)! - Beta release + +### Patch Changes + +- Updated dependencies [[`37a7d63`](https://github.com/scaleway/ultraviolet/commit/37a7d632cd1e61d7615e5356fc179ec08f3bec09), [`a928589`](https://github.com/scaleway/ultraviolet/commit/a9285896d638e34eba9bb25c55c38de2aef4e210), [`865c160`](https://github.com/scaleway/ultraviolet/commit/865c160aee2db5bd5e7b357e9693a45a17ef4284)]: + - @ultraviolet/themes@2.0.0-beta.0 + - @ultraviolet/icons@4.0.0-beta.0 + > > > > > > > 96a6d7431 (chore: release (beta) (#5111)) ## 1.95.11 diff --git a/packages/ui/package.json b/packages/ui/package.json index 40605bbda8..2781d2b08f 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@ultraviolet/ui", - "version": "1.95.14", + "version": "2.0.0-beta.19", "description": "Ultraviolet UI", "homepage": "https://github.com/scaleway/ultraviolet#readme", "repository": { @@ -82,7 +82,6 @@ "react-dom": "19.1.0" }, "dependencies": { - "@emotion/cache": "11.14.0", "@emotion/serialize": "1.3.3", "@nivo/bar": "0.89.1", "@nivo/core": "0.89.1", @@ -94,10 +93,7 @@ "@ultraviolet/icons": "workspace:*", "@ultraviolet/themes": "workspace:*", "deepmerge": "4.3.1", - "next": "15.4.1", - "react-select": "5.10.0", "react-toastify": "11.0.5", - "react-use-clipboard": "1.0.9", - "reakit": "1.3.11" + "react-use-clipboard": "1.0.9" } } diff --git a/packages/ui/src/__stories__/Changelog/Changelog.stories.tsx b/packages/ui/src/__stories__/Changelog/Changelog.stories.tsx index fcece449f7..0b33493c5d 100644 --- a/packages/ui/src/__stories__/Changelog/Changelog.stories.tsx +++ b/packages/ui/src/__stories__/Changelog/Changelog.stories.tsx @@ -1,4 +1,4 @@ -import { Markdown } from '@storybook/blocks' +import { Markdown } from '@storybook/addon-docs/blocks' import { useState } from 'react' import ChangelogMdForm from '../../../../form/CHANGELOG.md?raw' import ChangelogMdIcons from '../../../../icons/CHANGELOG.md?raw' diff --git a/packages/ui/src/__stories__/Changelog/index.mdx b/packages/ui/src/__stories__/Changelog/index.mdx index 1b29d9013b..f3458c8835 100644 --- a/packages/ui/src/__stories__/Changelog/index.mdx +++ b/packages/ui/src/__stories__/Changelog/index.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' import ThemeWrapper from '../components/ThemeWrapper' import { Changelog } from './Changelog.stories' diff --git a/packages/ui/src/__stories__/ComponentState/index.mdx b/packages/ui/src/__stories__/ComponentState/index.mdx index 904515ee5b..fd571a1d13 100644 --- a/packages/ui/src/__stories__/ComponentState/index.mdx +++ b/packages/ui/src/__stories__/ComponentState/index.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' import ComponentState from './ComponentState' import ThemeWrapper from '../components/ThemeWrapper' diff --git a/packages/ui/src/__stories__/Documentation.mdx b/packages/ui/src/__stories__/Documentation.mdx index 6bd9d8f004..3610357722 100644 --- a/packages/ui/src/__stories__/Documentation.mdx +++ b/packages/ui/src/__stories__/Documentation.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' @@ -25,7 +25,7 @@ Button `index.stories.tsx` contains exports of each story and the parameters for the component story page. Here is an example with just Playground story: ```tsx -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Button } from '..' export default { @@ -59,7 +59,7 @@ The `title` parameter is used to define the title of the story. `Template.stories.tsx` contains the default template of a story. If your story only change properties values you can use this template as base. Here is an example: ```tsx -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Button } from '..' export const Template: StoryFn = ({ ...props }) => ( diff --git a/packages/ui/src/__stories__/GetStarted.mdx b/packages/ui/src/__stories__/GetStarted.mdx index ccad7bdc0d..e672aa9358 100644 --- a/packages/ui/src/__stories__/GetStarted.mdx +++ b/packages/ui/src/__stories__/GetStarted.mdx @@ -1,4 +1,4 @@ -import { Markdown, Meta } from '@storybook/blocks' +import { Markdown, Meta } from '@storybook/addon-docs/blocks' import Readme from '../../../../README.md?raw' diff --git a/packages/ui/src/__stories__/Guides/NextIntegration.mdx b/packages/ui/src/__stories__/Guides/NextIntegration.mdx index 2472827711..6aa2cd84f8 100644 --- a/packages/ui/src/__stories__/Guides/NextIntegration.mdx +++ b/packages/ui/src/__stories__/Guides/NextIntegration.mdx @@ -1,84 +1,8 @@ -import { Meta } from '@storybook/blocks' +import { Markdown, Meta } from '@storybook/addon-docs/blocks' +import Readme from '../../../../nextjs/README.md?raw' -# Next Integration - -Learn how to use Ultraviolet UI with Next.js. - -## App Router - -This section will guide you through the integration of Ultraviolet UI with Next.js [App Router](https://nextjs.org/docs/app). - -### Install dependencies - -Start by installing Ultraviolet dependencies and emotion dependencies. - -```sh -pnpm add @ultraviolet/ui @ultraviolet/themes @emotion/react @emotion/styled -``` - -### Configuration - -Inside `app/layout.tsx`, import the `ThemeRegistry` from `@ultraviolet/ui` and wrap your app with it. - -```tsx -// app/layout.tsx -import { consoleLightTheme } from '@ultraviolet/themes' -import { ThemeRegistry } from '@ultraviolet/ui' -import { ReactNode } from 'react' - -export default function RootLayout({ - children, -}: Readonly<{ - children: ReactNode -}>) { - return ( - - - - {children} - - - - ) -} -``` - -`ThemeRegistry` component is responsible for providing the theme context to all components within the app. -This component has been specially made to work seamlessly with Next.js's App Router. - -### Limitations - -- **Fonts**: Ultraviolet UI uses custom fonts that need to be imported separately. Make sure to import the fonts CSS file in your project's entry point: - ```sh - pnpm add @ultraviolet/fonts - ``` - - then in you `GlobalStyle` file: - ```tsx - "use client" - - import '@ultraviolet/fonts/fonts.css' - ``` - -- **Styled Components**: in order to customize an emotion component, you need to import the `styled` function from `@emotion/styled` and use it to create your styled components. Emotion is not yet compatible with server components, so you need to use the `styled` function in a client component. Example: - ```tsx - "use client" - - import { styled } from '@emotion/styled' - - const Button = styled.button` - background-color: #0070f3; - color: white; - padding: 10px 20px; - border: none; - border-radius: 4px; - cursor: pointer; - ` - ``` - -### Examples - -In order to help you integrate Ultraviolet UI with Next.js, we've prepared an example available on GitHub: -[https://github.com/scaleway/ultraviolet/tree/main/examples/next-app-router](https://github.com/scaleway/ultraviolet/tree/main/examples/next-app-router) + + {Readme} + diff --git a/packages/ui/src/__stories__/HowToMakeBreakingChanges.mdx b/packages/ui/src/__stories__/HowToMakeBreakingChanges.mdx index 87038d0248..95ec591abf 100644 --- a/packages/ui/src/__stories__/HowToMakeBreakingChanges.mdx +++ b/packages/ui/src/__stories__/HowToMakeBreakingChanges.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/Properties/index.mdx b/packages/ui/src/__stories__/Properties/index.mdx index 8801214c22..31c16a62cd 100644 --- a/packages/ui/src/__stories__/Properties/index.mdx +++ b/packages/ui/src/__stories__/Properties/index.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' import Properties from './Properties' import ThemeWrapper from '../components/ThemeWrapper' diff --git a/packages/ui/src/__stories__/Testing.mdx b/packages/ui/src/__stories__/Testing.mdx index c220a66cf7..48870edd53 100644 --- a/packages/ui/src/__stories__/Testing.mdx +++ b/packages/ui/src/__stories__/Testing.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/Tools/ThemeGenerator/FormContent/index.tsx b/packages/ui/src/__stories__/Tools/ThemeGenerator/FormContent/index.tsx index 3aac4062aa..bffabf3d8b 100644 --- a/packages/ui/src/__stories__/Tools/ThemeGenerator/FormContent/index.tsx +++ b/packages/ui/src/__stories__/Tools/ThemeGenerator/FormContent/index.tsx @@ -1,9 +1,9 @@ import styled from '@emotion/styled' +import { CheckIcon, CloseIcon, RestoreIcon } from '@ultraviolet/icons' import { useState } from 'react' import { Submit, TextInputField, - TextInputFieldV2, useFieldArray, useFormContext, useFormState, @@ -46,7 +46,6 @@ export const FormContent = () => { name="sentiment_neutral" id="sentiment_neutral" placeholder="neutral" - noTopLabel disabled required /> @@ -67,7 +66,6 @@ export const FormContent = () => { name="sentiment_neutral_value" id="sentiment_neutral_value" placeholder="#FFFFFF" - noTopLabel disabled required /> @@ -111,7 +109,6 @@ export const FormContent = () => { name={`sentiments.${index}.key`} id={`sentiments.${index}.key`} placeholder="neutral" - noTopLabel disabled={isRequiredSentiment} required /> @@ -132,7 +129,7 @@ export const FormContent = () => { - { name={`sentiments.${index}.value`} id={`sentiments.${index}.value`} placeholder="#FFFFFF" - noTopLabel - type="color" regex={[hexadecimalColorRegex]} /> {!isRequiredSentiment ? ( ) : null} @@ -168,22 +164,23 @@ export const FormContent = () => { @@ -191,11 +188,11 @@ export const FormContent = () => { )} diff --git a/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/CodeIntegration.tsx b/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/CodeIntegration.tsx index 0c70df3f30..eb4b09bfcd 100644 --- a/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/CodeIntegration.tsx +++ b/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/CodeIntegration.tsx @@ -1,10 +1,10 @@ import styled from '@emotion/styled' import { useState } from 'react' import { Snippet, Stack, Tabs, Text } from '../../../../components' -import type { SCWUITheme } from '../../../../theme' +import type { UltravioletUITheme } from '../../../../theme' type CodeIntegrationProps = { - theme: SCWUITheme + theme: UltravioletUITheme } const StyledSnippet = styled(Snippet)` diff --git a/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/Demo.tsx b/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/Demo.tsx index 8253cb449e..f9c0d56dda 100644 --- a/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/Demo.tsx +++ b/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/Demo.tsx @@ -1,9 +1,15 @@ import styled from '@emotion/styled' import type { ChangeEvent } from 'react' import { useState } from 'react' +import { + AlertCircleIcon, + ArrowRightIcon, + CheckIcon, + ClockOutlineIcon, +} from '../../../../../../icons/src' import { Alert, - AvatarV2, + Avatar, Badge, Button, Card, @@ -114,7 +120,8 @@ export const Demo = () => { UV-UI UV-CORE UV-FORM - + + Badge Badge @@ -130,14 +137,14 @@ export const Demo = () => { } sentiment="success" size="small" > Registration completed } size="small" sentiment="info" > @@ -170,7 +177,7 @@ export const Demo = () => { gap={1} > - + Review from Marc - 2 days ago @@ -180,12 +187,9 @@ export const Demo = () => { - @@ -198,9 +202,14 @@ export const Demo = () => { event.target.value as 'downgrade' | 'upgrade', ) } - leftButton={{ label: 'Downgrade', value: 'downgrade' }} - rightButton={{ label: 'Upgrade', value: 'upgrade' }} - /> + > + + Downgrade + + + Upgrade + + { setRadioState(event.target.value) } > - - - + + + diff --git a/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/index.tsx b/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/index.tsx index d7388691e1..c7d6881d51 100644 --- a/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/index.tsx +++ b/packages/ui/src/__stories__/Tools/ThemeGenerator/ThemeResult/index.tsx @@ -1,8 +1,9 @@ import { ThemeProvider } from '@emotion/react' import styled from '@emotion/styled' +import { ArrowLeftIcon, EyeIcon, EyeOffIcon } from '@ultraviolet/icons' import { useCallback, useState } from 'react' import { Button, Row, Stack, Text } from '../../../../components' -import type { SCWUITheme } from '../../../../theme' +import type { UltravioletUITheme } from '../../../../theme' import consoleLightTheme from '../../../../theme' import { normalize } from '../../../../utils' import { CodeIntegration } from './CodeIntegration' @@ -14,9 +15,9 @@ const Container = styled.div` ` type ThemeResultProps = { - theme: SCWUITheme - setTheme: (theme: SCWUITheme) => void - generatedPalette: SCWUITheme + theme: UltravioletUITheme + setTheme: (theme: UltravioletUITheme) => void + generatedPalette: UltravioletUITheme setStep: (step: number) => void } @@ -45,10 +46,9 @@ export const ThemeResult = ({ @@ -61,11 +61,11 @@ export const ThemeResult = ({ diff --git a/packages/ui/src/__stories__/Tools/index.mdx b/packages/ui/src/__stories__/Tools/index.mdx index 02f6f04089..7d8dc5446d 100644 --- a/packages/ui/src/__stories__/Tools/index.mdx +++ b/packages/ui/src/__stories__/Tools/index.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' import { ThemeGenerator } from './ThemeGenerator/' import ThemeWrapper from '../components/ThemeWrapper' diff --git a/packages/ui/src/__stories__/migrations/MigrationAvatarV2.mdx b/packages/ui/src/__stories__/migrations/MigrationAvatarV2.mdx index c01fad782d..02f2a26392 100644 --- a/packages/ui/src/__stories__/migrations/MigrationAvatarV2.mdx +++ b/packages/ui/src/__stories__/migrations/MigrationAvatarV2.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/migrations/MigrationIconUsages.mdx b/packages/ui/src/__stories__/migrations/MigrationIconUsages.mdx index 21f7c20dc7..516467cb96 100644 --- a/packages/ui/src/__stories__/migrations/MigrationIconUsages.mdx +++ b/packages/ui/src/__stories__/migrations/MigrationIconUsages.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' import './styles.css' diff --git a/packages/ui/src/__stories__/migrations/MigrationIllustrations.mdx b/packages/ui/src/__stories__/migrations/MigrationIllustrations.mdx index 4859184648..9316a1409f 100644 --- a/packages/ui/src/__stories__/migrations/MigrationIllustrations.mdx +++ b/packages/ui/src/__stories__/migrations/MigrationIllustrations.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/migrations/MigrationMenuV2.mdx b/packages/ui/src/__stories__/migrations/MigrationMenuV2.mdx index 5139e8a922..868ae6bab7 100644 --- a/packages/ui/src/__stories__/migrations/MigrationMenuV2.mdx +++ b/packages/ui/src/__stories__/migrations/MigrationMenuV2.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/migrations/MigrationNumberInputV2.mdx b/packages/ui/src/__stories__/migrations/MigrationNumberInputV2.mdx index c6b3c5d2e3..0ba878088b 100644 --- a/packages/ui/src/__stories__/migrations/MigrationNumberInputV2.mdx +++ b/packages/ui/src/__stories__/migrations/MigrationNumberInputV2.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/migrations/MigrationSelectInputV2.mdx b/packages/ui/src/__stories__/migrations/MigrationSelectInputV2.mdx index 914a8b2ad9..081ecb8b6a 100644 --- a/packages/ui/src/__stories__/migrations/MigrationSelectInputV2.mdx +++ b/packages/ui/src/__stories__/migrations/MigrationSelectInputV2.mdx @@ -1,4 +1,4 @@ -import {Meta} from '@storybook/blocks' +import {Meta} from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/migrations/MigrationTextInputV2.mdx b/packages/ui/src/__stories__/migrations/MigrationTextInputV2.mdx index d2e720f224..08ed8cf6c5 100644 --- a/packages/ui/src/__stories__/migrations/MigrationTextInputV2.mdx +++ b/packages/ui/src/__stories__/migrations/MigrationTextInputV2.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/theme/colors.mdx b/packages/ui/src/__stories__/theme/colors.mdx index 59fb99c114..b719e6b292 100644 --- a/packages/ui/src/__stories__/theme/colors.mdx +++ b/packages/ui/src/__stories__/theme/colors.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' import Colors from '../components/Colors' diff --git a/packages/ui/src/__stories__/theme/darkMode.mdx b/packages/ui/src/__stories__/theme/darkMode.mdx index 9752bf4ca4..7f712eba12 100644 --- a/packages/ui/src/__stories__/theme/darkMode.mdx +++ b/packages/ui/src/__stories__/theme/darkMode.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/theme/shadows.mdx b/packages/ui/src/__stories__/theme/shadows.mdx index e75bf9c05b..ddb8371e45 100644 --- a/packages/ui/src/__stories__/theme/shadows.mdx +++ b/packages/ui/src/__stories__/theme/shadows.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/theme/spaces.mdx b/packages/ui/src/__stories__/theme/spaces.mdx index 5d3f6adf20..8e190e01d4 100644 --- a/packages/ui/src/__stories__/theme/spaces.mdx +++ b/packages/ui/src/__stories__/theme/spaces.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' import SpaceTable from './assets/space-table.png' import SizingTable from './assets/sizing-table.png' import lightTheme from '../../theme' diff --git a/packages/ui/src/__stories__/theme/typography.mdx b/packages/ui/src/__stories__/theme/typography.mdx index 4643e94073..b7b2e24cce 100644 --- a/packages/ui/src/__stories__/theme/typography.mdx +++ b/packages/ui/src/__stories__/theme/typography.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' diff --git a/packages/ui/src/__stories__/theme/understandTokens.mdx b/packages/ui/src/__stories__/theme/understandTokens.mdx index 99ccb46dd6..e3ef824a44 100644 --- a/packages/ui/src/__stories__/theme/understandTokens.mdx +++ b/packages/ui/src/__stories__/theme/understandTokens.mdx @@ -1,4 +1,4 @@ -import { Meta } from '@storybook/blocks' +import { Meta } from '@storybook/addon-docs/blocks' import { Badge } from '../../components' import ThemeWrapper from '../components/ThemeWrapper' diff --git a/packages/ui/src/components/ActionBar/__stories__/Template.stories.tsx b/packages/ui/src/components/ActionBar/__stories__/Template.stories.tsx index 586920a4df..de671b934b 100644 --- a/packages/ui/src/components/ActionBar/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/ActionBar/__stories__/Template.stories.tsx @@ -1,4 +1,5 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { DeleteIcon } from '@ultraviolet/icons' import { useState } from 'react' import { ActionBar } from '..' import { Button } from '../../Button' @@ -27,12 +28,9 @@ export const Template: StoryFn = args => { width="100%" >
I am the Playground Action Bar
- ) : null} diff --git a/packages/ui/src/components/ActionBar/__stories__/index.stories.tsx b/packages/ui/src/components/ActionBar/__stories__/index.stories.tsx index 9e2aa188f9..a391361eb8 100644 --- a/packages/ui/src/components/ActionBar/__stories__/index.stories.tsx +++ b/packages/ui/src/components/ActionBar/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { ActionBar } from '..' export default { diff --git a/packages/ui/src/components/Alert/__stories__/Sentiments.stories.tsx b/packages/ui/src/components/Alert/__stories__/Sentiments.stories.tsx index ae1002116f..84fd69c1bf 100644 --- a/packages/ui/src/components/Alert/__stories__/Sentiments.stories.tsx +++ b/packages/ui/src/components/Alert/__stories__/Sentiments.stories.tsx @@ -1,4 +1,4 @@ -import type { Decorator } from '@storybook/react' +import type { Decorator } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { ALERT_SENTIMENTS, Alert } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/Alert/__stories__/Template.stories.tsx b/packages/ui/src/components/Alert/__stories__/Template.stories.tsx index d000d41451..5beada2891 100644 --- a/packages/ui/src/components/Alert/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Alert/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Alert } from '..' export const Template: StoryFn = args => diff --git a/packages/ui/src/components/Alert/__stories__/index.stories.tsx b/packages/ui/src/components/Alert/__stories__/index.stories.tsx index 6b0b1fa5ea..373aa35200 100644 --- a/packages/ui/src/components/Alert/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Alert/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Alert } from '..' export default { diff --git a/packages/ui/src/components/Alert/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Alert/__tests__/__snapshots__/index.test.tsx.snap index 4626ad91d6..24b17facbe 100644 --- a/packages/ui/src/components/Alert/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Alert/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #ffebf2; @@ -35,10 +35,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -46,10 +46,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -62,10 +62,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -74,13 +77,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -102,10 +102,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -114,13 +117,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -130,7 +130,7 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -184,10 +184,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -196,10 +196,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #e0f2ff; @@ -212,10 +212,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -223,10 +223,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -239,10 +239,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -251,13 +254,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -279,10 +279,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -291,13 +294,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -307,7 +307,7 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -360,10 +360,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -372,10 +372,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #f9f9fa; @@ -388,10 +388,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -399,10 +399,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -415,10 +415,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -427,13 +430,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -455,10 +455,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -467,13 +470,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -483,7 +483,7 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -539,10 +539,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -551,10 +551,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #daf6ec; @@ -567,10 +567,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -578,10 +578,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -594,10 +594,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -606,13 +609,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -634,10 +634,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -646,13 +649,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -662,7 +662,7 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -715,10 +715,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -727,10 +727,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #fff6e6; @@ -743,10 +743,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -754,10 +754,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -770,10 +770,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -782,13 +785,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -810,10 +810,13 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -822,13 +825,10 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -838,7 +838,7 @@ exports[`Alert > renders correctly with all sentiments > renders correctly senti .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -892,10 +892,10 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -904,10 +904,10 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #ffebf2; @@ -920,10 +920,10 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -931,10 +931,10 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -947,10 +947,13 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -959,13 +962,10 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -987,10 +987,13 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -999,13 +1002,10 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -1015,7 +1015,7 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1053,7 +1053,7 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1074,6 +1074,10 @@ exports[`Alert > renders correctly with buttonText and onClickButton 1`] = ` box-shadow: 0px 0px 0px 3px #f91b6c40; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-13:hover, .emotion-13:active { background: #d6175c; @@ -1131,10 +1135,10 @@ exports[`Alert > renders correctly with children as component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1143,10 +1147,10 @@ exports[`Alert > renders correctly with children as component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #ffebf2; @@ -1159,10 +1163,10 @@ exports[`Alert > renders correctly with children as component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1170,10 +1174,10 @@ exports[`Alert > renders correctly with children as component 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -1186,10 +1190,13 @@ exports[`Alert > renders correctly with children as component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1198,13 +1205,10 @@ exports[`Alert > renders correctly with children as component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -1226,10 +1230,13 @@ exports[`Alert > renders correctly with children as component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1238,13 +1245,10 @@ exports[`Alert > renders correctly with children as component 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -1295,10 +1299,10 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1307,10 +1311,10 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #ffebf2; @@ -1323,10 +1327,10 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1334,10 +1338,10 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -1350,10 +1354,13 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1362,13 +1369,10 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -1390,10 +1394,13 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1402,13 +1409,10 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -1418,7 +1422,7 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1441,7 +1445,7 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1456,7 +1460,7 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1479,6 +1483,10 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-13:hover, .emotion-13:active { background: #e9eaeb; @@ -1488,10 +1496,10 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` .emotion-15 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-15 .fillStroke { @@ -1499,10 +1507,6 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` fill: none; } -.emotion-15 path { - fill: currentColor; -} -
@@ -1542,9 +1546,8 @@ exports[`Alert > renders correctly with closable and onClose 1`] = ` type="button" > renders correctly with default values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1575,10 +1578,10 @@ exports[`Alert > renders correctly with default values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #ffebf2; @@ -1591,10 +1594,10 @@ exports[`Alert > renders correctly with default values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1602,10 +1605,10 @@ exports[`Alert > renders correctly with default values 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -1618,10 +1621,13 @@ exports[`Alert > renders correctly with default values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1630,13 +1636,10 @@ exports[`Alert > renders correctly with default values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -1658,10 +1661,13 @@ exports[`Alert > renders correctly with default values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1670,13 +1676,10 @@ exports[`Alert > renders correctly with default values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -1686,7 +1689,7 @@ exports[`Alert > renders correctly with default values 1`] = ` .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1740,10 +1743,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1752,10 +1755,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #ffebf2; @@ -1768,10 +1771,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1780,10 +1783,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #ffebf2; @@ -1796,10 +1799,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1807,10 +1810,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -1823,10 +1826,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1834,10 +1837,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -1850,10 +1853,13 @@ exports[`Alert > renders correctly with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1862,13 +1868,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { @@ -1876,10 +1879,13 @@ exports[`Alert > renders correctly with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1888,13 +1894,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -1930,10 +1933,13 @@ exports[`Alert > renders correctly with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1942,13 +1948,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -1961,10 +1964,13 @@ exports[`Alert > renders correctly with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1973,13 +1979,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -1989,7 +1992,7 @@ exports[`Alert > renders correctly with disabled 1`] = ` .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2000,7 +2003,7 @@ exports[`Alert > renders correctly with disabled 1`] = ` .emotion-10 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2038,7 +2041,7 @@ exports[`Alert > renders correctly with disabled 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2057,6 +2060,10 @@ exports[`Alert > renders correctly with disabled 1`] = ` text-decoration: none; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} +
@@ -2109,10 +2116,10 @@ exports[`Alert > renders correctly with title 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2121,10 +2128,10 @@ exports[`Alert > renders correctly with title 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; border-radius: 0.25rem; padding: 1rem; background-color: #ffebf2; @@ -2137,10 +2144,10 @@ exports[`Alert > renders correctly with title 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2148,10 +2155,10 @@ exports[`Alert > renders correctly with title 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; @@ -2164,10 +2171,13 @@ exports[`Alert > renders correctly with title 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -2176,13 +2186,10 @@ exports[`Alert > renders correctly with title 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -2204,10 +2211,13 @@ exports[`Alert > renders correctly with title 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1 1 auto; + -ms-flex: 1 1 auto; + flex: 1 1 auto; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2216,13 +2226,10 @@ exports[`Alert > renders correctly with title 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.75rem; color: #3f4250; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; @@ -2233,7 +2240,7 @@ exports[`Alert > renders correctly with title 1`] = ` .emotion-10 { color: #b3144d; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -2244,7 +2251,7 @@ exports[`Alert > renders correctly with title 1`] = ` .emotion-12 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; diff --git a/packages/ui/src/components/Alert/index.tsx b/packages/ui/src/components/Alert/index.tsx index c6c4c30c72..89588afc3e 100644 --- a/packages/ui/src/components/Alert/index.tsx +++ b/packages/ui/src/components/Alert/index.tsx @@ -6,6 +6,7 @@ import styled from '@emotion/styled' import { AlertCircleIcon, CheckCircleOutlineIcon, + CloseIcon, InformationOutlineIcon, LightBulbIcon, } from '@ultraviolet/icons' @@ -176,10 +177,11 @@ export const Alert = ({ setOpened(false) onClose?.() }} - icon="close" sentiment="neutral" aria-label="close" - /> + > + + ) : null} ) diff --git a/packages/ui/src/components/Avatar/__stories__/BackgroundColor.stories.tsx b/packages/ui/src/components/Avatar/__stories__/BackgroundColor.stories.tsx deleted file mode 100644 index 827cf426c7..0000000000 --- a/packages/ui/src/components/Avatar/__stories__/BackgroundColor.stories.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { Template } from './Template.stories' - -export const BackgroundColor = Template.bind({}) - -BackgroundColor.args = { - text: 'Hello You', - textBgColor: 'warning', -} - -BackgroundColor.parameters = { - docs: { - description: { - story: - 'You can set the background color when using text by setting `textBgColor` prop', - }, - }, -} diff --git a/packages/ui/src/components/AvatarV2/__stories__/Examples.stories.tsx b/packages/ui/src/components/Avatar/__stories__/Examples.stories.tsx similarity index 83% rename from packages/ui/src/components/AvatarV2/__stories__/Examples.stories.tsx rename to packages/ui/src/components/Avatar/__stories__/Examples.stories.tsx index 05d9ae2f48..2856e435a5 100644 --- a/packages/ui/src/components/AvatarV2/__stories__/Examples.stories.tsx +++ b/packages/ui/src/components/Avatar/__stories__/Examples.stories.tsx @@ -1,27 +1,24 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { LockIcon } from '@ultraviolet/icons' import { useRef, useState } from 'react' -import { AvatarV2 } from '..' +import { Avatar } from '..' import { Stack } from '../../Stack' -export const Examples: StoryFn = props => { +export const Examples: StoryFn = props => { const [image, setImage] = useState(undefined) const inputRef = useRef(null) return ( <> - {' '} + + + Locked Profile {image ? ( - = props => { onClick={() => inputRef?.current?.click()} /> ) : ( - , 'image'>) => [ - , - , -] - -Lock.decorators = [ - StoryComponent => ( - - - - ), -] as Decorator[] - -Lock.parameters = { - docs: { - description: { - story: - 'You can set the component to be locked by using `lock` prop when `text` is specified.', - }, - }, -} diff --git a/packages/ui/src/components/Avatar/__stories__/Playground.stories.tsx b/packages/ui/src/components/Avatar/__stories__/Playground.stories.tsx index 7c08882d58..308e986c91 100644 --- a/packages/ui/src/components/Avatar/__stories__/Playground.stories.tsx +++ b/packages/ui/src/components/Avatar/__stories__/Playground.stories.tsx @@ -1,8 +1,9 @@ import { Template } from './Template.stories' -import avatar from './avatar.svg' export const Playground = Template.bind({}) Playground.args = { - image: avatar, + variant: 'text', + text: 'UV', + shape: 'circle', } diff --git a/packages/ui/src/components/Avatar/__stories__/Sentiment.stories.tsx b/packages/ui/src/components/Avatar/__stories__/Sentiment.stories.tsx new file mode 100644 index 0000000000..af1f3e9782 --- /dev/null +++ b/packages/ui/src/components/Avatar/__stories__/Sentiment.stories.tsx @@ -0,0 +1,41 @@ +import type { StoryFn } from '@storybook/react-vite' +import { MosaicIcon } from '@ultraviolet/icons' +import { Avatar } from '..' +import { Stack } from '../../Stack' + +export const Sentiment: StoryFn = props => ( + <> + + + + + + + + + +) + +Sentiment.args = { + variant: 'text', + text: 'UV', + shape: 'circle', + sentiment: 'primary', +} + +Sentiment.parameters = { + docs: { + description: { + story: + 'The `sentiment` prop can be used to change the sentiment of the avatar with variants `text` and `icon`.', + }, + }, +} + +Sentiment.decorators = [ + Story => ( + + + + ), +] diff --git a/packages/ui/src/components/AvatarV2/__stories__/Shape.stories.tsx b/packages/ui/src/components/Avatar/__stories__/Shape.stories.tsx similarity index 65% rename from packages/ui/src/components/AvatarV2/__stories__/Shape.stories.tsx rename to packages/ui/src/components/Avatar/__stories__/Shape.stories.tsx index 9612854953..e27a470185 100644 --- a/packages/ui/src/components/AvatarV2/__stories__/Shape.stories.tsx +++ b/packages/ui/src/components/Avatar/__stories__/Shape.stories.tsx @@ -1,11 +1,11 @@ -import type { StoryFn } from '@storybook/react' -import { AvatarV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { Avatar } from '..' import { Stack } from '../../Stack' -export const Shape: StoryFn = props => ( +export const Shape: StoryFn = props => ( <> - - + + ) diff --git a/packages/ui/src/components/Avatar/__stories__/Size.stories.tsx b/packages/ui/src/components/Avatar/__stories__/Size.stories.tsx index cbc971e6cb..83467827d4 100644 --- a/packages/ui/src/components/Avatar/__stories__/Size.stories.tsx +++ b/packages/ui/src/components/Avatar/__stories__/Size.stories.tsx @@ -1,18 +1,77 @@ -import { Template } from './Template.stories' -import avatar from './avatar.svg' +import type { StoryFn } from '@storybook/react-vite' +import { MosaicIcon } from '@ultraviolet/icons' +import { Avatar } from '..' +import { Stack } from '../../Stack' -export const Size = Template.bind({}) +export const Size: StoryFn = props => ( + + + <> + + + + + + <> + + + + + + + + + + + + + + + + <> + + + + + + <> + + + + + + + + + + + + + + + +) Size.args = { - image: avatar, - size: 48, + variant: 'text', + text: 'UV', + shape: 'circle', + size: 'large', } Size.parameters = { docs: { description: { story: - 'You can change the default Size by using the `Size` prop. It work as `src` on a img tag.', + 'Using prop `size` you can change the size of the avatar. When variant is set to `icon` the icon size will automatically scale based on avatar size.', }, }, } + +Size.decorators = [ + Story => ( + + + + ), +] diff --git a/packages/ui/src/components/Avatar/__stories__/Template.stories.tsx b/packages/ui/src/components/Avatar/__stories__/Template.stories.tsx index d365086539..85e074e23a 100644 --- a/packages/ui/src/components/Avatar/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Avatar/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Avatar } from '..' export const Template: StoryFn = args => diff --git a/packages/ui/src/components/Avatar/__stories__/Text.stories.tsx b/packages/ui/src/components/Avatar/__stories__/Text.stories.tsx deleted file mode 100644 index 8c7096d357..0000000000 --- a/packages/ui/src/components/Avatar/__stories__/Text.stories.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import type { Decorator } from '@storybook/react' -import type { ComponentProps } from 'react' -import { Avatar } from '..' -import { Stack } from '../../Stack' - -export const Text = (props: Omit, 'image'>) => - ['Hello', 'Hello you', 'This is really long text for an acronym'].map( - text => , - ) - -Text.decorators = [ - StoryComponent => ( - - - - ), -] as Decorator[] - -Text.parameters = { - docs: { - description: { - story: - 'Instead of having an image you can put a text and it will take the best acronym to displayYou can change the default Text by using the `Text` prop. It work as `src` on a img tag.', - }, - }, -} diff --git a/packages/ui/src/components/Avatar/__stories__/TextColor.stories.tsx b/packages/ui/src/components/Avatar/__stories__/TextColor.stories.tsx deleted file mode 100644 index bbf380f8c9..0000000000 --- a/packages/ui/src/components/Avatar/__stories__/TextColor.stories.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { Template } from './Template.stories' - -export const TextColor = Template.bind({}) - -TextColor.args = { - text: 'Hello You', - textColor: 'black', -} - -TextColor.parameters = { - docs: { - description: { - story: 'You can set the text color by setting `textColor` prop', - }, - }, -} diff --git a/packages/ui/src/components/Avatar/__stories__/TextSize.stories.tsx b/packages/ui/src/components/Avatar/__stories__/TextSize.stories.tsx deleted file mode 100644 index 52ef784b03..0000000000 --- a/packages/ui/src/components/Avatar/__stories__/TextSize.stories.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import type { Decorator } from '@storybook/react' -import type { ComponentProps } from 'react' -import { Avatar } from '..' -import { Stack } from '../../Stack' - -export const TextSize = (props: Omit, 'image'>) => - [ - [20, 10], - [40, 20], - [50, 30], - [80, 50], - ].map(sizes => ( - - )) - -TextSize.decorators = [ - StoryComponent => ( - - - - ), -] as Decorator[] - -TextSize.parameters = { - docs: { - description: { - story: - 'Additionally you can set the size of the text by using `textSize` prop. Don‘t forget to set the `size` prop to make your text fit into the component.', - }, - }, -} diff --git a/packages/ui/src/components/AvatarV2/__stories__/Upload.stories.tsx b/packages/ui/src/components/Avatar/__stories__/Upload.stories.tsx similarity index 75% rename from packages/ui/src/components/AvatarV2/__stories__/Upload.stories.tsx rename to packages/ui/src/components/Avatar/__stories__/Upload.stories.tsx index 30fbc7b814..d8081f8a92 100644 --- a/packages/ui/src/components/AvatarV2/__stories__/Upload.stories.tsx +++ b/packages/ui/src/components/Avatar/__stories__/Upload.stories.tsx @@ -1,11 +1,11 @@ -import type { StoryFn } from '@storybook/react' -import { AvatarV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { Avatar } from '..' import { Stack } from '../../Stack' -export const Upload: StoryFn = props => ( +export const Upload: StoryFn = props => ( <> - - + + ) diff --git a/packages/ui/src/components/AvatarV2/__stories__/Variant.stories.tsx b/packages/ui/src/components/Avatar/__stories__/Variant.stories.tsx similarity index 67% rename from packages/ui/src/components/AvatarV2/__stories__/Variant.stories.tsx rename to packages/ui/src/components/Avatar/__stories__/Variant.stories.tsx index c01d6ec49d..e079cd7c73 100644 --- a/packages/ui/src/components/AvatarV2/__stories__/Variant.stories.tsx +++ b/packages/ui/src/components/Avatar/__stories__/Variant.stories.tsx @@ -1,22 +1,18 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { MosaicIcon } from '@ultraviolet/icons' -import { AvatarV2 } from '..' +import { Avatar } from '..' import { Stack } from '../../Stack' import avatar from './assets/avatar.svg' -export const Variant: StoryFn = props => ( +export const Variant: StoryFn = props => ( <> - - - - + + + + - - + + ) diff --git a/packages/ui/src/components/Avatar/__stories__/avatar.svg b/packages/ui/src/components/Avatar/__stories__/assets/avatar.svg similarity index 100% rename from packages/ui/src/components/Avatar/__stories__/avatar.svg rename to packages/ui/src/components/Avatar/__stories__/assets/avatar.svg diff --git a/packages/ui/src/components/Avatar/__stories__/index.stories.tsx b/packages/ui/src/components/Avatar/__stories__/index.stories.tsx index aaf6f25771..0cb9fdee03 100644 --- a/packages/ui/src/components/Avatar/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Avatar/__stories__/index.stories.tsx @@ -1,22 +1,15 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Avatar } from '..' export default { component: Avatar, title: 'Components/Other/Avatar', - tags: ['deprecated'], - parameters: { - deprecated: true, - deprecatedReason: 'This component is deprecated, use AvatarV2 instead.', - migrationLink: 'Migrations/Avatar to AvatarV2', - }, } as Meta export { Playground } from './Playground.stories' -export { Image } from './Image.stories' +export { Shape } from './Shape.stories' +export { Variant } from './Variant.stories' +export { Sentiment } from './Sentiment.stories' export { Size } from './Size.stories' -export { Text } from './Text.stories' -export { TextSize } from './TextSize.stories' -export { TextColor } from './TextColor.stories' -export { BackgroundColor } from './BackgroundColor.stories' -export { Lock } from './Lock.stories' +export { Upload } from './Upload.stories' +export { Examples } from './Examples.stories' diff --git a/packages/ui/src/components/Avatar/__stories__/support.svg b/packages/ui/src/components/Avatar/__stories__/support.svg deleted file mode 100755 index 41cdf7974d..0000000000 --- a/packages/ui/src/components/Avatar/__stories__/support.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/packages/ui/src/components/Avatar/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Avatar/__tests__/__snapshots__/index.test.tsx.snap index d707a005ed..893136c405 100644 --- a/packages/ui/src/components/Avatar/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Avatar/__tests__/__snapshots__/index.test.tsx.snap @@ -1,10 +1,52 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`Avatar > renders correctly with custom background color 1`] = ` +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant colors 1`] = ` .emotion-0 { - height: 32px; - width: 32px; + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; } .emotion-2 { @@ -12,10 +54,6 @@ exports[`Avatar > renders correctly with custom background color 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - background-color: #FFFFFF; - border-radius: 100%; - color: #ffffff; - font-size: 10px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -25,7 +63,11 @@ exports[`Avatar > renders correctly with custom background color 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - width: 100%; + border-left: calc(7rem / 2) solid #8c40ef; + border-top: calc(7rem / 2) solid #8c40ef; + border-right: calc(7rem / 2) solid #b824f9; + border-bottom: calc(7rem / 2) solid #b824f9; + border-radius: 100%; }
renders correctly with custom background color 1`] = ` >
- HW - + />
`; -exports[`Avatar > renders correctly with custom text color 1`] = ` +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant icon 1`] = ` .emotion-0 { - height: 32px; - width: 32px; + position: relative; + color: #ffffff; } -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - background-color: #b824f9; +.emotion-0[data-shape='circle'] { border-radius: 100%; - color: #FFFFFF; - font-size: 10px; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - height: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; width: 100%; + height: 100%; } -
-
- - HW - -
-
-
-`; - -exports[`Avatar > renders correctly with default props 1`] = ` - - .emotion-0 { - height: 32px; - width: 32px; +.emotion-2[data-shape='circle'] { + border-radius: 100%; } -
-
- -
-
-
-`; - -exports[`Avatar > renders correctly with lock 1`] = ` - - .emotion-0 { - height: 32px; - width: 32px; +.emotion-2[data-shape='square'] { + border-radius: 1rem; } .emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - background-color: #e9eaeb; - border-radius: 100%; - color: #ffffff; - font-size: 10px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - height: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; } .emotion-4 { vertical-align: middle; - fill: #727683; + fill: currentColor; height: 1rem; width: 1rem; min-width: 1rem; @@ -153,7 +197,7 @@ exports[`Avatar > renders correctly with lock 1`] = ` } .emotion-4 .fillStroke { - stroke: #727683; + stroke: currentColor; fill: none; } @@ -162,53 +206,149 @@ exports[`Avatar > renders correctly with lock 1`] = ` >
- + + + - +
`; -exports[`Avatar > renders correctly with sentence 1`] = ` +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant icon and sentiment neutral 1`] = ` .emotion-0 { - height: 32px; - width: 32px; + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; } .emotion-2 { + 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; - background-color: #b824f9; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { border-radius: 100%; - color: #ffffff; - font-size: 10px; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - height: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; }
renders correctly with sentence 1`] = ` >
- - HW - + + + + + + +
`; -exports[`Avatar > renders correctly with size 1`] = ` +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant image 1`] = ` .emotion-0 { - height: 48px; - width: 48px; + position: relative; + color: #ffffff; + background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); + -webkit-background-size: cover; + background-size: cover; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; }
renders correctly with size 1`] = ` >
- -
+ data-has-background="false" + data-sentiment="primary" + data-shape="circle" + data-size="large" + />
`; -exports[`Avatar > renders correctly with small text 1`] = ` +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant text 1`] = ` .emotion-0 { - height: 32px; - width: 32px; + position: relative; + color: #ffffff; } -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - background-color: #b824f9; +.emotion-0[data-shape='circle'] { border-radius: 100%; - color: #ffffff; - font-size: 10px; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - height: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; width: 100%; + height: 100%; } -
-
- - HW - +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #ffffff; + font-size: 2.1875rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 3rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+ +`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant text and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #222638; + font-size: 2.1875rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 3rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant text and upload 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + position: absolute; + opacity: 0; + top: 0; + left: 0; + bottom: 0; + right: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; + transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-4 { + vertical-align: middle; + fill: #ffffff; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-4 .fillStroke { + stroke: #ffffff; + fill: none; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-8 { + color: #ffffff; + font-size: 2.1875rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 3rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-8 { + color: #ffffff; + font-size: 2.1875rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 3rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + + + +
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant user 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; + overflow: hidden; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-2[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="xsmall"]>svg { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="small"]>svg { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="medium"]>svg { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-2[data-size="large"]>svg { + width: 7rem; + height: 7rem; +} + +.emotion-4 { + width: 2rem; + min-width: 2rem; + height: 2rem; +} + +.emotion-4 path[fill].fill, +.emotion-4 g[fill].fill>*, +.emotion-4 g.fill>* { + fill: #521094; +} + +.emotion-4 path[fill].fillStrong, +.emotion-4 g[fill].fillStrong>*, +.emotion-4 g.fillStrong>* { + fill: #a060f6; +} + +.emotion-4 path[fill].fillWeak, +.emotion-4 g[fill].fillWeak>*, +.emotion-4 g.fillWeak>* { + fill: #f1eefc; +} + +
+
+
+ + + + + + + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant colors 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-left: calc(4rem / 2) solid #8c40ef; + border-top: calc(4rem / 2) solid #8c40ef; + border-right: calc(4rem / 2) solid #b824f9; + border-bottom: calc(4rem / 2) solid #b824f9; + border-radius: 100%; +} + +
+
+ +
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant icon 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant icon and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant image 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; + background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); + -webkit-background-size: cover; + background-size: cover; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +
+
+
+ +`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant text 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #ffffff; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant text and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant text and upload 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + position: absolute; + opacity: 0; + top: 0; + left: 0; + bottom: 0; + right: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; + transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: #ffffff; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-4 .fillStroke { + stroke: #ffffff; + fill: none; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-8 { + color: #ffffff; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-8 { + color: #ffffff; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + + + +
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant user 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; + overflow: hidden; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="xsmall"]>svg { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="small"]>svg { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="medium"]>svg { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-2[data-size="large"]>svg { + width: 7rem; + height: 7rem; +} + +.emotion-4 { + width: 2rem; + min-width: 2rem; + height: 2rem; +} + +.emotion-4 path[fill].fill, +.emotion-4 g[fill].fill>*, +.emotion-4 g.fill>* { + fill: #521094; +} + +.emotion-4 path[fill].fillStrong, +.emotion-4 g[fill].fillStrong>*, +.emotion-4 g.fillStrong>* { + fill: #a060f6; +} + +.emotion-4 path[fill].fillWeak, +.emotion-4 g[fill].fillWeak>*, +.emotion-4 g.fillWeak>* { + fill: #f1eefc; +} + +
+
+
+ + + + + + + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant colors 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-left: calc(2rem / 2) solid #8c40ef; + border-top: calc(2rem / 2) solid #8c40ef; + border-right: calc(2rem / 2) solid #b824f9; + border-bottom: calc(2rem / 2) solid #b824f9; + border-radius: 100%; +} + +
+
+ +
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant icon 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant icon and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant image 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; + background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); + -webkit-background-size: cover; + background-size: cover; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +
+
+
+ +`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant text 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #ffffff; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant text and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant text and upload 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + position: absolute; + opacity: 0; + top: 0; + left: 0; + bottom: 0; + right: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; + transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-4 { + vertical-align: middle; + fill: #ffffff; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-4 .fillStroke { + stroke: #ffffff; + fill: none; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-8 { + color: #ffffff; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-8 { + color: #ffffff; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + + + +
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant user 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; + overflow: hidden; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-2[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="xsmall"]>svg { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="small"]>svg { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="medium"]>svg { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-2[data-size="large"]>svg { + width: 7rem; + height: 7rem; +} + +.emotion-4 { + width: 2rem; + min-width: 2rem; + height: 2rem; +} + +.emotion-4 path[fill].fill, +.emotion-4 g[fill].fill>*, +.emotion-4 g.fill>* { + fill: #521094; +} + +.emotion-4 path[fill].fillStrong, +.emotion-4 g[fill].fillStrong>*, +.emotion-4 g.fillStrong>* { + fill: #a060f6; +} + +.emotion-4 path[fill].fillWeak, +.emotion-4 g[fill].fillWeak>*, +.emotion-4 g.fillWeak>* { + fill: #f1eefc; +} + +
+
+
+ + + + + + + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant colors 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-left: calc(1.25rem / 2) solid #8c40ef; + border-top: calc(1.25rem / 2) solid #8c40ef; + border-right: calc(1.25rem / 2) solid #b824f9; + border-bottom: calc(1.25rem / 2) solid #b824f9; + border-radius: 100%; +} + +
+
+ +
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant icon 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant icon and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant image 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; + background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); + -webkit-background-size: cover; + background-size: cover; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +
+
+
+ +`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant text 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #ffffff; + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant text and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #222638; + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant text and upload 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + position: absolute; + opacity: 0; + top: 0; + left: 0; + bottom: 0; + right: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; + transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-4 { + vertical-align: middle; + fill: #ffffff; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-4 .fillStroke { + stroke: #ffffff; + fill: none; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-8 { + color: #ffffff; + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-8 { + color: #ffffff; + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + + + +
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant user 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; + overflow: hidden; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-2[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="xsmall"]>svg { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="small"]>svg { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="medium"]>svg { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-2[data-size="large"]>svg { + width: 7rem; + height: 7rem; +} + +.emotion-4 { + width: 2rem; + min-width: 2rem; + height: 2rem; +} + +.emotion-4 path[fill].fill, +.emotion-4 g[fill].fill>*, +.emotion-4 g.fill>* { + fill: #521094; +} + +.emotion-4 path[fill].fillStrong, +.emotion-4 g[fill].fillStrong>*, +.emotion-4 g.fillStrong>* { + fill: #a060f6; +} + +.emotion-4 path[fill].fillWeak, +.emotion-4 g[fill].fillWeak>*, +.emotion-4 g.fillWeak>* { + fill: #f1eefc; +} + +
+
+
+ + + + + + + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant colors 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-left: calc(7rem / 2) solid #8c40ef; + border-top: calc(7rem / 2) solid #8c40ef; + border-right: calc(7rem / 2) solid #b824f9; + border-bottom: calc(7rem / 2) solid #b824f9; + border-radius: 1.5rem; +} + +
+
+ +
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant icon 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant icon and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant image 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; + background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); + -webkit-background-size: cover; + background-size: cover; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +
+
+
+ +`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant text 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #ffffff; + font-size: 2.1875rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 3rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #ffffff; + font-size: 2.1875rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 3rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant text and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #222638; + font-size: 2.1875rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 3rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant text and upload 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + position: absolute; + opacity: 0; + top: 0; + left: 0; + bottom: 0; + right: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; + transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-4 { + vertical-align: middle; + fill: #ffffff; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-4 .fillStroke { + stroke: #ffffff; + fill: none; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-8 { + color: #ffffff; + font-size: 2.1875rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 3rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-8 { + color: #ffffff; + font-size: 2.1875rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 3rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + + + +
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant user 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; + overflow: hidden; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1.5rem; +} + +.emotion-2[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="xsmall"]>svg { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="small"]>svg { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="medium"]>svg { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-2[data-size="large"]>svg { + width: 7rem; + height: 7rem; +} + +.emotion-4 { + width: 2rem; + min-width: 2rem; + height: 2rem; +} + +.emotion-4 path[fill].fill, +.emotion-4 g[fill].fill>*, +.emotion-4 g.fill>* { + fill: #521094; +} + +.emotion-4 path[fill].fillStrong, +.emotion-4 g[fill].fillStrong>*, +.emotion-4 g.fillStrong>* { + fill: #a060f6; +} + +.emotion-4 path[fill].fillWeak, +.emotion-4 g[fill].fillWeak>*, +.emotion-4 g.fillWeak>* { + fill: #f1eefc; +} + +
+
+
+ + + + + + + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant colors 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-left: calc(4rem / 2) solid #8c40ef; + border-top: calc(4rem / 2) solid #8c40ef; + border-right: calc(4rem / 2) solid #b824f9; + border-bottom: calc(4rem / 2) solid #b824f9; + border-radius: 1rem; +} + +
+
+ +
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant icon 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant icon and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant image 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; + background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); + -webkit-background-size: cover; + background-size: cover; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +
+
+
+ +`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant text 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #ffffff; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #ffffff; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant text and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #222638; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant text and upload 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + position: absolute; + opacity: 0; + top: 0; + left: 0; + bottom: 0; + right: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; + transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: #ffffff; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-4 .fillStroke { + stroke: #ffffff; + fill: none; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-8 { + color: #ffffff; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-8 { + color: #ffffff; + font-size: 1.3125rem; + font-family: Space Grotesk,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 2rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + + + +
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant user 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; + overflow: hidden; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="xsmall"]>svg { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="small"]>svg { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="medium"]>svg { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-2[data-size="large"]>svg { + width: 7rem; + height: 7rem; +} + +.emotion-4 { + width: 2rem; + min-width: 2rem; + height: 2rem; +} + +.emotion-4 path[fill].fill, +.emotion-4 g[fill].fill>*, +.emotion-4 g.fill>* { + fill: #521094; +} + +.emotion-4 path[fill].fillStrong, +.emotion-4 g[fill].fillStrong>*, +.emotion-4 g.fillStrong>* { + fill: #a060f6; +} + +.emotion-4 path[fill].fillWeak, +.emotion-4 g[fill].fillWeak>*, +.emotion-4 g.fillWeak>* { + fill: #f1eefc; +} + +
+
+
+ + + + + + + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant colors 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-left: calc(2rem / 2) solid #8c40ef; + border-top: calc(2rem / 2) solid #8c40ef; + border-right: calc(2rem / 2) solid #b824f9; + border-bottom: calc(2rem / 2) solid #b824f9; + border-radius: 0.5rem; +} + +
+
+ +
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant icon 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant icon and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant image 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; + background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); + -webkit-background-size: cover; + background-size: cover; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +
+
+
+ +`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant text 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #ffffff; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #ffffff; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant text and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #222638; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant text and upload 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + position: absolute; + opacity: 0; + top: 0; + left: 0; + bottom: 0; + right: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; + transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-4 { + vertical-align: middle; + fill: #ffffff; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-4 .fillStroke { + stroke: #ffffff; + fill: none; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-6 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-8 { + color: #ffffff; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-8 { + color: #ffffff; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.25rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + + + +
+
+ + UV + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant user 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; + overflow: hidden; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 0.5rem; +} + +.emotion-2[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="xsmall"]>svg { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="small"]>svg { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="medium"]>svg { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-2[data-size="large"]>svg { + width: 7rem; + height: 7rem; +} + +.emotion-4 { + width: 2rem; + min-width: 2rem; + height: 2rem; +} + +.emotion-4 path[fill].fill, +.emotion-4 g[fill].fill>*, +.emotion-4 g.fill>* { + fill: #521094; +} + +.emotion-4 path[fill].fillStrong, +.emotion-4 g[fill].fillStrong>*, +.emotion-4 g.fillStrong>* { + fill: #a060f6; +} + +.emotion-4 path[fill].fillWeak, +.emotion-4 g[fill].fillWeak>*, +.emotion-4 g.fillWeak>* { + fill: #f1eefc; +} + +
+
+
+ + + + + + + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant colors 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 100%; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + border-left: calc(1.25rem / 2) solid #8c40ef; + border-top: calc(1.25rem / 2) solid #8c40ef; + border-right: calc(1.25rem / 2) solid #b824f9; + border-bottom: calc(1.25rem / 2) solid #b824f9; + border-radius: 0.25rem; +} + +
+
+ +
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant icon 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant icon and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-4 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+
+
+ + + + + + +
+
+
+
+`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant image 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; + background-image: url(/src/components/Avatar/__stories__/assets/avatar.svg); + -webkit-background-size: cover; + background-size: cover; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +
+
+
+ +`; + +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant text 1`] = ` + + .emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { + 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #ffffff; + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-4 { + color: #ffffff; + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+ + UV + +
`; -exports[`Avatar > renders correctly with text 1`] = ` - - .emotion-0 { - height: 32px; - width: 32px; +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant text and sentiment neutral 1`] = ` + + .emotion-0 { + position: relative; + color: #3f4250; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; } .emotion-2 { + 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; - background-color: #b824f9; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { border-radius: 100%; - color: #ffffff; - font-size: 10px; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - height: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; width: 100%; + height: 100%; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-4 { + color: #222638; + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; }
renders correctly with text 1`] = ` >
- - HE - + + UV + +
`; -exports[`Avatar > renders correctly with text and custom style 1`] = ` +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant text and upload 1`] = ` .emotion-0 { - height: 32px; - width: 32px; + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; + color: #ffffff; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .emotion-3 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; } .emotion-2 { + position: absolute; + opacity: 0; + top: 0; + left: 0; + bottom: 0; + right: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - background-color: red; + -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; + transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; +} + +.emotion-2[data-shape='circle'] { border-radius: 100%; - color: white; - font-size: 14px; +} + +.emotion-2[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-4 { + vertical-align: middle; + fill: #ffffff; + height: 1.5rem; + width: 1.5rem; + min-width: 1.5rem; + min-height: 1.5rem; +} + +.emotion-4 .fillStroke { + stroke: #ffffff; + fill: none; +} + +.emotion-6 { 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; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + width: 100%; height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-6 { + 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; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; width: 100%; + height: 100%; +} + +.emotion-6[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-6[data-shape='square'] { + border-radius: 1rem; +} + +.emotion-8 { + color: #ffffff; + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-8 { + color: #ffffff; + font-size: 0.625rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; }
renders correctly with text and custom style 1`] = ` >
- + + + + +
+
- HW - + + UV + +
`; -exports[`Avatar > renders correctly with text size 1`] = ` +exports[`Avatar > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant user 1`] = ` .emotion-0 { - height: 50px; - width: 50px; + position: relative; + color: #ffffff; } -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - background-color: #b824f9; +.emotion-0[data-shape='circle'] { border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-0 { + position: relative; color: #ffffff; - font-size: 30px; +} + +.emotion-0[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-0[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-0[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-0[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-0[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-0[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-0[data-has-background='true'][data-sentiment="primary"] { + background-color: #8c40ef; +} + +.emotion-0[data-has-background='true'][data-sentiment="neutral"] { + background-color: #e9eaeb; +} + +.emotion-0:hover .ec0473m4 { + opacity: 1; + cursor: pointer; + background-color: #464959a6; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - height: 100%; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; width: 100%; + height: 100%; + overflow: hidden; +} + +.emotion-2[data-shape='circle'] { + border-radius: 100%; +} + +.emotion-2[data-shape='square'] { + border-radius: 0.25rem; +} + +.emotion-2[data-size="xsmall"] { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="xsmall"]>svg { + width: 1.25rem; + height: 1.25rem; +} + +.emotion-2[data-size="small"] { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="small"]>svg { + width: 2rem; + height: 2rem; +} + +.emotion-2[data-size="medium"] { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="medium"]>svg { + width: 4rem; + height: 4rem; +} + +.emotion-2[data-size="large"] { + width: 7rem; + height: 7rem; +} + +.emotion-2[data-size="large"]>svg { + width: 7rem; + height: 7rem; +} + +.emotion-4 { + width: 2rem; + min-width: 2rem; + height: 2rem; +} + +.emotion-4 path[fill].fill, +.emotion-4 g[fill].fill>*, +.emotion-4 g.fill>* { + fill: #521094; +} + +.emotion-4 path[fill].fillStrong, +.emotion-4 g[fill].fillStrong>*, +.emotion-4 g.fillStrong>* { + fill: #a060f6; +} + +.emotion-4 path[fill].fillWeak, +.emotion-4 g[fill].fillWeak>*, +.emotion-4 g.fillWeak>* { + fill: #f1eefc; }
renders correctly with text size 1`] = ` >
- - HE - + + + + + + + + + + + +
diff --git a/packages/ui/src/components/Avatar/__tests__/index.test.tsx b/packages/ui/src/components/Avatar/__tests__/index.test.tsx index 412a647ad4..f3d4ebb8a0 100644 --- a/packages/ui/src/components/Avatar/__tests__/index.test.tsx +++ b/packages/ui/src/components/Avatar/__tests__/index.test.tsx @@ -1,40 +1,96 @@ -import { shouldMatchEmotionSnapshot } from '@utils/test' -import { describe, it } from 'vitest' +import { screen } from '@testing-library/react' +import { userEvent } from '@testing-library/user-event' +import { MosaicIcon } from '@ultraviolet/icons' +import { renderWithTheme, shouldMatchEmotionSnapshot } from '@utils/test' +import { describe, expect, it, vi } from 'vitest' import { Avatar } from '..' -import support from '../__stories__/support.svg' +import support from '../__stories__/assets/avatar.svg' describe('Avatar', () => { - it('renders correctly with default props', () => - shouldMatchEmotionSnapshot()) + describe.each(['circle', 'square'] as const)( + `renders correctly with shape %s`, + shape => { + describe.each(['xsmall', 'small', 'medium', 'large'] as const)( + `renders correctly with shape ${shape} and size %s`, + size => { + it('renders correctly with variant user', () => + shouldMatchEmotionSnapshot( + , + )) - it('renders correctly with size', () => - shouldMatchEmotionSnapshot()) + it('renders correctly with variant image', () => + shouldMatchEmotionSnapshot( + , + )) - it('renders correctly with sentence', () => - shouldMatchEmotionSnapshot()) + it('renders correctly with variant text', () => + shouldMatchEmotionSnapshot( + , + )) - it('renders correctly with lock', () => - shouldMatchEmotionSnapshot()) + it('renders correctly with variant text and sentiment neutral', () => + shouldMatchEmotionSnapshot( + , + )) - it('renders correctly with text', () => - shouldMatchEmotionSnapshot()) + it('renders correctly with variant icon', () => + shouldMatchEmotionSnapshot( + + + , + )) - it('renders correctly with text size', () => - shouldMatchEmotionSnapshot( - , - )) + it('renders correctly with variant icon and sentiment neutral', () => + shouldMatchEmotionSnapshot( + + + , + )) - it('renders correctly with small text', () => - shouldMatchEmotionSnapshot()) + it('renders correctly with variant colors', () => + shouldMatchEmotionSnapshot( + , + )) - it('renders correctly with text and custom style', () => - shouldMatchEmotionSnapshot( - , - )) + it('renders correctly with variant text and upload', async () => { + const onClick = vi.fn() + const { asFragment } = renderWithTheme( + , + ) + const avatar = screen.getByTestId('avatar') - it('renders correctly with custom text color', () => - shouldMatchEmotionSnapshot()) + await userEvent.hover(avatar) + expect(asFragment()).toMatchSnapshot() - it('renders correctly with custom background color', () => - shouldMatchEmotionSnapshot()) + await userEvent.click(avatar) + expect(onClick).toHaveBeenCalledOnce() + }) + }, + ) + }, + ) }) diff --git a/packages/ui/src/components/AvatarV2/constants.ts b/packages/ui/src/components/Avatar/constants.ts similarity index 84% rename from packages/ui/src/components/AvatarV2/constants.ts rename to packages/ui/src/components/Avatar/constants.ts index 8809bb80dc..fd2489fddf 100644 --- a/packages/ui/src/components/AvatarV2/constants.ts +++ b/packages/ui/src/components/Avatar/constants.ts @@ -17,14 +17,6 @@ export const sizes = (theme: Theme) => large: '7rem', // TODO: add this value to tokens }) as const -// Match the avatar sizes with the icon sizes -export const ICON_SIZES = { - xsmall: 'small', - small: 'large', - medium: 'xlarge', - large: 'xxlarge', -} as const - export const RADIUS_SIZES = { xsmall: 'default', small: 'large', diff --git a/packages/ui/src/components/Avatar/index.tsx b/packages/ui/src/components/Avatar/index.tsx index 38763acb91..11b0d57c09 100644 --- a/packages/ui/src/components/Avatar/index.tsx +++ b/packages/ui/src/components/Avatar/index.tsx @@ -1,131 +1,252 @@ 'use client' +import { css } from '@emotion/react' +import type { Theme } from '@emotion/react' import styled from '@emotion/styled' -import { LockIcon } from '@ultraviolet/icons' -import type { Color } from '../../theme' -import type { XOR } from '../../types' +import { UploadIcon } from '@ultraviolet/icons' +import { UserProductIcon } from '@ultraviolet/icons/product' +import { Text } from '../Text' +import { + DEFAULT_COLORS, + RADIUS_SIZES, + SENTIMENTS, + TEXT_VARIANT_BY_SIZE, + sizes, +} from './constants' +import type { AvatarProps, Colors, SentimentColors, Shape } from './types' -const formatTextToAvatar = (text?: string): string => { - if (!text) return '' +const UploadContainer = styled('div', { + shouldForwardProp: prop => !['size'].includes(prop), +})<{ size: keyof ReturnType }>` + position: absolute; + opacity: 0; + top: 0; + left: 0; + bottom: 0; + right: 0; + display: flex; + justify-content: center; + align-items: center; + transition: opacity 180ms ease-in-out, background-color 180ms ease-in-out; - const textCleaned = text.replace(/\s+/g, ' ').trim() + &[data-shape='circle'] { + border-radius: ${({ theme }) => theme.radii.circle} + } - if (textCleaned.length <= 2) { - return textCleaned.toUpperCase() + &[data-shape='square'] { + border-radius: ${({ theme, size }) => theme.radii[RADIUS_SIZES[size]]} } +` + +const Container = styled('div', { + shouldForwardProp: prop => !['image', 'size', 'sentiment'].includes(prop), +})<{ image?: string; size: keyof ReturnType; sentiment: string }>` + position: relative; + &[data-shape='circle'] { + border-radius: ${({ theme }) => theme.radii.circle} + } + + &[data-shape='square'] { + border-radius: ${({ theme, size }) => theme.radii[RADIUS_SIZES[size]]} + } + + color: ${({ theme, sentiment }) => (sentiment === 'neutral' ? theme.colors.neutral.text : theme.colors.neutral.textStronger)}; + + ${({ theme }) => + Object.entries(sizes(theme)) + .map( + ([key, size]) => ` + &[data-size="${key}"] { + width: ${size}; + height: ${size}; + } + `, + ) + .join('')} + + ${({ theme }) => + SENTIMENTS.map( + sentiment => ` + &[data-has-background='true'][data-sentiment="${sentiment}"] { + background-color: ${theme.colors[sentiment].backgroundStrong}; + } + `, + ).join('')} + + ${({ image }) => + image && + ` + background-image: url(${image}); + background-size: cover; + `} + + &:hover { + ${UploadContainer} { + opacity: 1; + cursor: pointer; + background-color: ${({ theme }) => theme.colors.overlay}; + } + } + ` + +const ElementContainer = styled.div` + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; - if (textCleaned.split(' ').length > 1) { - const [a, b] = textCleaned.split(' ') + &[data-shape='circle'] { + border-radius: ${({ theme }) => theme.radii.circle} + } - return `${a?.[0]}${b?.[0]}`.toUpperCase() + &[data-shape='square'] { + border-radius: ${({ theme }) => theme.radii.xlarge} } +` - return textCleaned.substring(0, 2).toUpperCase() -} +const bordersStyles = ({ + size, + colors, + theme, + shape, +}: { + size: keyof ReturnType + colors: Colors + theme: Theme + shape: Shape +}) => { + const isHalved = colors.length > 1 + const finalColors = colors?.map( + bgColor => + theme.colors[bgColor as SentimentColors]?.backgroundStrong ?? bgColor, + ) + + const finalSize = sizes(theme)[size] -type TextAvatarProps = { - lock?: boolean - textBgColor?: string - textColor: string - textSize: number + return css` + border-left: calc(${finalSize} / 2) solid ${finalColors[0]}; + border-top: calc(${finalSize} / 2) solid ${finalColors[0]}; + border-right: calc(${finalSize} / 2) solid + ${isHalved ? finalColors[1] : finalColors[0]}; + border-bottom: calc(${finalSize} / 2) solid + ${isHalved ? finalColors[1] : finalColors[0]}; + border-radius: ${shape === 'circle' ? theme.radii.circle : theme.radii[RADIUS_SIZES[size]]}}; + ` } -const StyledTextAvatar = styled.span` +const StyledColors = styled('span', { + shouldForwardProp: prop => !['size', 'colors', 'shape'].includes(prop), +})<{ size: keyof ReturnType; colors: Colors; shape: Shape }>` align-items: center; - background-color: ${({ lock, theme, textBgColor }) => - lock - ? theme.colors.neutral.backgroundStrong - : theme.colors[textBgColor as Color]?.backgroundStrong || textBgColor}; - border-radius: ${({ theme }) => theme.radii.circle}; - color: ${({ theme, textColor }) => - theme.colors[textColor as 'neutral']?.textStronger || - theme.colors[textColor as Color]?.textStrong || - textColor}; - font-size: ${({ textSize }) => textSize}px; display: flex; height: 100%; justify-content: center; - width: 100%; + ${bordersStyles} ` -type AvatarProps = { - /** - * Size of the component - */ - size?: number - /** - * Background color when `text` prop is specified - */ - textBgColor?: string - /** - * Text color when `text` prop is specified - */ - textColor?: string - /** - * Text size when `text` prop is specified or size of the lock when `lock` is true - */ - textSize?: number - /** - * Used only when `text` prop is specified - */ - lock?: boolean - - className?: string - 'data-testid'?: string -} & XOR< - [ - { - /** - * **`image` or `text` property is required** - */ - image: string - }, - { - /** - * **`image` or `text` property is required** - */ - text: string - }, - ] -> - -const AvatarContainer = styled.div<{ size: number }>` - height: ${({ size }) => size}px; - width: ${({ size }) => size}px; +const ProductIconContainer = styled('div', { + shouldForwardProp: prop => !['size'].includes(prop), +})<{ size: keyof ReturnType }>` + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + overflow: hidden; + + &[data-shape='circle'] { + border-radius: ${({ theme }) => theme.radii.circle} + } + + &[data-shape='square'] { + border-radius: ${({ theme, size }) => theme.radii[RADIUS_SIZES[size]]} + } + + ${({ theme }) => + Object.entries(sizes(theme)) + .map( + ([key, size]) => ` + &[data-size="${key}"] { + width: ${size}; + height: ${size}; + + & > svg { + width: ${size}; + height: ${size}; + } + } + `, + ) + .join('')} ` /** - * @deprecated This component is deprecated, please use `AvatarV2`. - * - * Avatar component is used to display a user's profile picture or initials. + * The Avatar component is used to represent a user, product, or entity. It can be used to display an image, an icon, a text or a set of colors. */ export const Avatar = ({ + shape, + variant, image, - size = 32, text, - textBgColor = 'secondary', - textColor = 'neutral', - textSize = 10, - lock = false, + size = 'medium', + sentiment = 'primary', + colors = DEFAULT_COLORS, + upload, + onClick, className, + children, 'data-testid': dataTestId, }: AvatarProps) => ( - - {text || (!text && !image) ? ( - - {lock ? ( - - ) : ( - formatTextToAvatar(text) - )} - - ) : ( - - )} - + + {upload ? ( + + + + ) : null} + {variant === 'user' ? ( + + + + ) : null} + {variant === 'icon' ? ( + {children} + ) : null} + {variant === 'text' ? ( + + + {text} + + + ) : null} + {variant === 'colors' ? ( + + ) : null} + ) diff --git a/packages/ui/src/components/AvatarV2/types.ts b/packages/ui/src/components/Avatar/types.ts similarity index 81% rename from packages/ui/src/components/AvatarV2/types.ts rename to packages/ui/src/components/Avatar/types.ts index 6c3e84a866..3d61b38e04 100644 --- a/packages/ui/src/components/AvatarV2/types.ts +++ b/packages/ui/src/components/Avatar/types.ts @@ -1,5 +1,4 @@ -import type { Icon } from '@ultraviolet/icons/legacy' -import type { ComponentProps, MouseEvent, ReactNode } from 'react' +import type { MouseEvent, ReactNode } from 'react' import type { SENTIMENTS, sizes } from './constants' // This type defines an array of string that should have a length of 0, 1, or 2 @@ -33,7 +32,6 @@ type CommonProps = { type VariantUser = { variant: 'user' image?: never - icon?: never text?: never sentiment?: never colors?: never @@ -43,7 +41,6 @@ type VariantUser = { type VariantImage = { variant: 'image' image: string - icon?: never text?: never sentiment?: never colors?: never @@ -53,10 +50,6 @@ type VariantImage = { type VariantIcon = { variant: 'icon' image?: never - /** - * @deprecated Use children to add you icon directly instead of using the icon prop - */ - icon?: ComponentProps['name'] text?: never sentiment?: (typeof SENTIMENTS)[number] colors?: never @@ -66,7 +59,6 @@ type VariantIcon = { type VariantText = { variant: 'text' image?: never - icon?: never text: string sentiment?: (typeof SENTIMENTS)[number] colors?: never @@ -76,7 +68,6 @@ type VariantText = { type VariantColors = { variant: 'colors' image?: never - icon?: never text?: never sentiment?: never /** @@ -89,5 +80,5 @@ type VariantColors = { children?: never } -export type AvatarV2Props = CommonProps & +export type AvatarProps = CommonProps & (VariantImage | VariantIcon | VariantText | VariantColors | VariantUser) diff --git a/packages/ui/src/components/AvatarV2/__stories__/Sentiment.stories.tsx b/packages/ui/src/components/AvatarV2/__stories__/Sentiment.stories.tsx deleted file mode 100644 index a95e4d36fd..0000000000 --- a/packages/ui/src/components/AvatarV2/__stories__/Sentiment.stories.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { AvatarV2 } from '..' -import { Stack } from '../../Stack' - -export const Sentiment: StoryFn = props => ( - <> - - - - - -) - -Sentiment.args = { - variant: 'text', - text: 'UV', - shape: 'circle', - sentiment: 'primary', -} - -Sentiment.parameters = { - docs: { - description: { - story: - 'The `sentiment` prop can be used to change the sentiment of the avatar with variants `text` and `icon`.', - }, - }, -} - -Sentiment.decorators = [ - Story => ( - - - - ), -] diff --git a/packages/ui/src/components/AvatarV2/__stories__/Size.stories.tsx b/packages/ui/src/components/AvatarV2/__stories__/Size.stories.tsx deleted file mode 100644 index f95c53a84b..0000000000 --- a/packages/ui/src/components/AvatarV2/__stories__/Size.stories.tsx +++ /dev/null @@ -1,60 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { AvatarV2 } from '..' -import { Stack } from '../../Stack' - -export const Size: StoryFn = props => ( - - - <> - - - - - - <> - - - - - - - - <> - - - - - - <> - - - - - - - -) - -Size.args = { - variant: 'text', - text: 'UV', - shape: 'circle', - size: 'large', -} - -Size.parameters = { - docs: { - description: { - story: - 'Using prop `size` you can change the size of the avatar. When variant is set to `icon` the icon size will automatically scale based on avatar size.', - }, - }, -} - -Size.decorators = [ - Story => ( - - - - ), -] diff --git a/packages/ui/src/components/AvatarV2/__stories__/Template.stories.tsx b/packages/ui/src/components/AvatarV2/__stories__/Template.stories.tsx deleted file mode 100644 index 5cc70c03f0..0000000000 --- a/packages/ui/src/components/AvatarV2/__stories__/Template.stories.tsx +++ /dev/null @@ -1,4 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { AvatarV2 } from '..' - -export const Template: StoryFn = args => diff --git a/packages/ui/src/components/AvatarV2/__stories__/assets/avatar.svg b/packages/ui/src/components/AvatarV2/__stories__/assets/avatar.svg deleted file mode 100644 index 203df77825..0000000000 --- a/packages/ui/src/components/AvatarV2/__stories__/assets/avatar.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/ui/src/components/AvatarV2/__stories__/index.stories.tsx b/packages/ui/src/components/AvatarV2/__stories__/index.stories.tsx deleted file mode 100644 index 5f36d6a8bd..0000000000 --- a/packages/ui/src/components/AvatarV2/__stories__/index.stories.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import type { Meta } from '@storybook/react' -import { AvatarV2 } from '..' - -export default { - component: AvatarV2, - title: 'Components/Other/AvatarV2', -} as Meta - -export { Playground } from './Playground.stories' -export { Shape } from './Shape.stories' -export { Variant } from './Variant.stories' -export { Sentiment } from './Sentiment.stories' -export { Size } from './Size.stories' -export { Upload } from './Upload.stories' -export { Examples } from './Examples.stories' diff --git a/packages/ui/src/components/AvatarV2/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/AvatarV2/__tests__/__snapshots__/index.test.tsx.snap deleted file mode 100644 index e0c31dfbcb..0000000000 --- a/packages/ui/src/components/AvatarV2/__tests__/__snapshots__/index.test.tsx.snap +++ /dev/null @@ -1,10309 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant colors 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 100%; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-left: calc(7rem / 2) solid #8c40ef; - border-top: calc(7rem / 2) solid #8c40ef; - border-right: calc(7rem / 2) solid #b824f9; - border-bottom: calc(7rem / 2) solid #b824f9; - border-radius: 100%; -} - -
-
- -
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant icon 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 56px; - width: 56px; - min-width: 56px; - min-height: 56px; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant icon and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #222638; - height: 56px; - width: 56px; - min-width: 56px; - min-height: 56px; -} - -.emotion-4 .fillStroke { - stroke: #222638; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant image 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; - background-image: url(/src/components/AvatarV2/__stories__/assets/avatar.svg); - -webkit-background-size: cover; - background-size: cover; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -
-
-
- -`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant text 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #ffffff; - font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 3rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant text and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #222638; - font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 3rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant text and upload 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - position: absolute; - opacity: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; - transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-8 { - color: #ffffff; - font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 3rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8 { - color: #ffffff; - font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 3rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - - - -
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size large > renders correctly with variant user 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; - overflow: hidden; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-2[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="xsmall"]>svg { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="small"]>svg { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="medium"]>svg { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-2[data-size="large"]>svg { - width: 7rem; - height: 7rem; -} - -.emotion-4 { - width: 2rem; - min-width: 2rem; - height: 2rem; -} - -.emotion-4 path[fill].fill, -.emotion-4 g[fill].fill>*, -.emotion-4 g.fill>* { - fill: #521094; -} - -.emotion-4 path[fill].fillStrong, -.emotion-4 g[fill].fillStrong>*, -.emotion-4 g.fillStrong>* { - fill: #a060f6; -} - -.emotion-4 path[fill].fillWeak, -.emotion-4 g[fill].fillWeak>*, -.emotion-4 g.fillWeak>* { - fill: #f1eefc; -} - -
-
-
- - - - - - - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant colors 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 100%; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-left: calc(4rem / 2) solid #8c40ef; - border-top: calc(4rem / 2) solid #8c40ef; - border-right: calc(4rem / 2) solid #b824f9; - border-bottom: calc(4rem / 2) solid #b824f9; - border-radius: 100%; -} - -
-
- -
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant icon 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 32px; - width: 32px; - min-width: 32px; - min-height: 32px; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant icon and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #222638; - height: 32px; - width: 32px; - min-width: 32px; - min-height: 32px; -} - -.emotion-4 .fillStroke { - stroke: #222638; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant image 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; - background-image: url(/src/components/AvatarV2/__stories__/assets/avatar.svg); - -webkit-background-size: cover; - background-size: cover; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -
-
-
- -`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant text 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #ffffff; - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant text and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #222638; - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant text and upload 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - position: absolute; - opacity: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; - transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-8 { - color: #ffffff; - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8 { - color: #ffffff; - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - - - -
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size medium > renders correctly with variant user 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; - overflow: hidden; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="xsmall"]>svg { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="small"]>svg { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="medium"]>svg { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-2[data-size="large"]>svg { - width: 7rem; - height: 7rem; -} - -.emotion-4 { - width: 2rem; - min-width: 2rem; - height: 2rem; -} - -.emotion-4 path[fill].fill, -.emotion-4 g[fill].fill>*, -.emotion-4 g.fill>* { - fill: #521094; -} - -.emotion-4 path[fill].fillStrong, -.emotion-4 g[fill].fillStrong>*, -.emotion-4 g.fillStrong>* { - fill: #a060f6; -} - -.emotion-4 path[fill].fillWeak, -.emotion-4 g[fill].fillWeak>*, -.emotion-4 g.fillWeak>* { - fill: #f1eefc; -} - -
-
-
- - - - - - - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant colors 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 100%; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-left: calc(2rem / 2) solid #8c40ef; - border-top: calc(2rem / 2) solid #8c40ef; - border-right: calc(2rem / 2) solid #b824f9; - border-bottom: calc(2rem / 2) solid #b824f9; - border-radius: 100%; -} - -
-
- -
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant icon 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant icon and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #222638; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-4 .fillStroke { - stroke: #222638; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant image 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; - background-image: url(/src/components/AvatarV2/__stories__/assets/avatar.svg); - -webkit-background-size: cover; - background-size: cover; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -
-
-
- -`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant text 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #ffffff; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant text and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #222638; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant text and upload 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - position: absolute; - opacity: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; - transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-8 { - color: #ffffff; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8 { - color: #ffffff; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - - - -
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size small > renders correctly with variant user 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; - overflow: hidden; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-2[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="xsmall"]>svg { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="small"]>svg { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="medium"]>svg { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-2[data-size="large"]>svg { - width: 7rem; - height: 7rem; -} - -.emotion-4 { - width: 2rem; - min-width: 2rem; - height: 2rem; -} - -.emotion-4 path[fill].fill, -.emotion-4 g[fill].fill>*, -.emotion-4 g.fill>* { - fill: #521094; -} - -.emotion-4 path[fill].fillStrong, -.emotion-4 g[fill].fillStrong>*, -.emotion-4 g.fillStrong>* { - fill: #a060f6; -} - -.emotion-4 path[fill].fillWeak, -.emotion-4 g[fill].fillWeak>*, -.emotion-4 g.fillWeak>* { - fill: #f1eefc; -} - -
-
-
- - - - - - - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant colors 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 100%; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-left: calc(1.25rem / 2) solid #8c40ef; - border-top: calc(1.25rem / 2) solid #8c40ef; - border-right: calc(1.25rem / 2) solid #b824f9; - border-bottom: calc(1.25rem / 2) solid #b824f9; - border-radius: 100%; -} - -
-
- -
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant icon 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant icon and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #222638; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-4 .fillStroke { - stroke: #222638; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant image 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; - background-image: url(/src/components/AvatarV2/__stories__/assets/avatar.svg); - -webkit-background-size: cover; - background-size: cover; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -
-
-
- -`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant text 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #ffffff; - font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant text and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #222638; - font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant text and upload 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - position: absolute; - opacity: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; - transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-8 { - color: #ffffff; - font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8 { - color: #ffffff; - font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - - - -
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape circle > renders correctly with shape circle and size xsmall > renders correctly with variant user 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; - overflow: hidden; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-2[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="xsmall"]>svg { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="small"]>svg { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="medium"]>svg { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-2[data-size="large"]>svg { - width: 7rem; - height: 7rem; -} - -.emotion-4 { - width: 2rem; - min-width: 2rem; - height: 2rem; -} - -.emotion-4 path[fill].fill, -.emotion-4 g[fill].fill>*, -.emotion-4 g.fill>* { - fill: #521094; -} - -.emotion-4 path[fill].fillStrong, -.emotion-4 g[fill].fillStrong>*, -.emotion-4 g.fillStrong>* { - fill: #a060f6; -} - -.emotion-4 path[fill].fillWeak, -.emotion-4 g[fill].fillWeak>*, -.emotion-4 g.fillWeak>* { - fill: #f1eefc; -} - -
-
-
- - - - - - - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant colors 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 100%; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-left: calc(7rem / 2) solid #8c40ef; - border-top: calc(7rem / 2) solid #8c40ef; - border-right: calc(7rem / 2) solid #b824f9; - border-bottom: calc(7rem / 2) solid #b824f9; - border-radius: 1.5rem; -} - -
-
- -
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant icon 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 56px; - width: 56px; - min-width: 56px; - min-height: 56px; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant icon and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #222638; - height: 56px; - width: 56px; - min-width: 56px; - min-height: 56px; -} - -.emotion-4 .fillStroke { - stroke: #222638; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant image 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; - background-image: url(/src/components/AvatarV2/__stories__/assets/avatar.svg); - -webkit-background-size: cover; - background-size: cover; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -
-
-
- -`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant text 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #ffffff; - font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 3rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-4 { - color: #ffffff; - font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 3rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant text and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #222638; - font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 3rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant text and upload 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - position: absolute; - opacity: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; - transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-8 { - color: #ffffff; - font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 3rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8 { - color: #ffffff; - font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 3rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - - - -
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size large > renders correctly with variant user 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; - overflow: hidden; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1.5rem; -} - -.emotion-2[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="xsmall"]>svg { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="small"]>svg { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="medium"]>svg { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-2[data-size="large"]>svg { - width: 7rem; - height: 7rem; -} - -.emotion-4 { - width: 2rem; - min-width: 2rem; - height: 2rem; -} - -.emotion-4 path[fill].fill, -.emotion-4 g[fill].fill>*, -.emotion-4 g.fill>* { - fill: #521094; -} - -.emotion-4 path[fill].fillStrong, -.emotion-4 g[fill].fillStrong>*, -.emotion-4 g.fillStrong>* { - fill: #a060f6; -} - -.emotion-4 path[fill].fillWeak, -.emotion-4 g[fill].fillWeak>*, -.emotion-4 g.fillWeak>* { - fill: #f1eefc; -} - -
-
-
- - - - - - - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant colors 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 100%; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-left: calc(4rem / 2) solid #8c40ef; - border-top: calc(4rem / 2) solid #8c40ef; - border-right: calc(4rem / 2) solid #b824f9; - border-bottom: calc(4rem / 2) solid #b824f9; - border-radius: 1rem; -} - -
-
- -
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant icon 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 32px; - width: 32px; - min-width: 32px; - min-height: 32px; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant icon and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #222638; - height: 32px; - width: 32px; - min-width: 32px; - min-height: 32px; -} - -.emotion-4 .fillStroke { - stroke: #222638; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant image 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; - background-image: url(/src/components/AvatarV2/__stories__/assets/avatar.svg); - -webkit-background-size: cover; - background-size: cover; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -
-
-
- -`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant text 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #ffffff; - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-4 { - color: #ffffff; - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant text and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #222638; - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant text and upload 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - position: absolute; - opacity: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; - transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-8 { - color: #ffffff; - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8 { - color: #ffffff; - font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 2rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - - - -
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size medium > renders correctly with variant user 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; - overflow: hidden; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="xsmall"]>svg { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="small"]>svg { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="medium"]>svg { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-2[data-size="large"]>svg { - width: 7rem; - height: 7rem; -} - -.emotion-4 { - width: 2rem; - min-width: 2rem; - height: 2rem; -} - -.emotion-4 path[fill].fill, -.emotion-4 g[fill].fill>*, -.emotion-4 g.fill>* { - fill: #521094; -} - -.emotion-4 path[fill].fillStrong, -.emotion-4 g[fill].fillStrong>*, -.emotion-4 g.fillStrong>* { - fill: #a060f6; -} - -.emotion-4 path[fill].fillWeak, -.emotion-4 g[fill].fillWeak>*, -.emotion-4 g.fillWeak>* { - fill: #f1eefc; -} - -
-
-
- - - - - - - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant colors 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 100%; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-left: calc(2rem / 2) solid #8c40ef; - border-top: calc(2rem / 2) solid #8c40ef; - border-right: calc(2rem / 2) solid #b824f9; - border-bottom: calc(2rem / 2) solid #b824f9; - border-radius: 0.5rem; -} - -
-
- -
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant icon 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant icon and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #222638; - height: 20px; - width: 20px; - min-width: 20px; - min-height: 20px; -} - -.emotion-4 .fillStroke { - stroke: #222638; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant image 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; - background-image: url(/src/components/AvatarV2/__stories__/assets/avatar.svg); - -webkit-background-size: cover; - background-size: cover; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -
-
-
- -`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant text 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #ffffff; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-4 { - color: #ffffff; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant text and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #222638; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant text and upload 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - position: absolute; - opacity: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; - transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-8 { - color: #ffffff; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8 { - color: #ffffff; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - - - -
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size small > renders correctly with variant user 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; - overflow: hidden; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 0.5rem; -} - -.emotion-2[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="xsmall"]>svg { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="small"]>svg { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="medium"]>svg { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-2[data-size="large"]>svg { - width: 7rem; - height: 7rem; -} - -.emotion-4 { - width: 2rem; - min-width: 2rem; - height: 2rem; -} - -.emotion-4 path[fill].fill, -.emotion-4 g[fill].fill>*, -.emotion-4 g.fill>* { - fill: #521094; -} - -.emotion-4 path[fill].fillStrong, -.emotion-4 g[fill].fillStrong>*, -.emotion-4 g.fillStrong>* { - fill: #a060f6; -} - -.emotion-4 path[fill].fillWeak, -.emotion-4 g[fill].fillWeak>*, -.emotion-4 g.fillWeak>* { - fill: #f1eefc; -} - -
-
-
- - - - - - - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant colors 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 100%; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-left: calc(1.25rem / 2) solid #8c40ef; - border-top: calc(1.25rem / 2) solid #8c40ef; - border-right: calc(1.25rem / 2) solid #b824f9; - border-bottom: calc(1.25rem / 2) solid #b824f9; - border-radius: 0.25rem; -} - -
-
- -
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant icon 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant icon and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #222638; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-4 .fillStroke { - stroke: #222638; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
-
- - - - - - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant image 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; - background-image: url(/src/components/AvatarV2/__stories__/assets/avatar.svg); - -webkit-background-size: cover; - background-size: cover; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -
-
-
- -`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant text 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #ffffff; - font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-4 { - color: #ffffff; - font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant text and sentiment neutral 1`] = ` - - .emotion-0 { - position: relative; - color: #3f4250; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-4 { - color: #222638; - font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant text and upload 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .emotion-3 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - position: absolute; - opacity: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; - transition: opacity 180ms ease-in-out,background-color 180ms ease-in-out; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-4 { - vertical-align: middle; - fill: #ffffff; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; -} - -.emotion-4 .fillStroke { - stroke: #ffffff; - fill: none; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-6 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.emotion-6[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-6[data-shape='square'] { - border-radius: 1rem; -} - -.emotion-8 { - color: #ffffff; - font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8 { - color: #ffffff; - font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
- - - - -
-
- - UV - -
-
-
-
-`; - -exports[`AvatarV2 > renders correctly with shape square > renders correctly with shape square and size xsmall > renders correctly with variant user 1`] = ` - - .emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-0 { - position: relative; - color: #ffffff; -} - -.emotion-0[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-0[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-0[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-0[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-0[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-0[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-0[data-has-background='true'][data-sentiment="primary"] { - background-color: #8c40ef; -} - -.emotion-0[data-has-background='true'][data-sentiment="neutral"] { - background-color: #e9eaeb; -} - -.emotion-0:hover .e1tvc0xj4 { - opacity: 1; - cursor: pointer; - background-color: #464959a6; -} - -.emotion-2 { - 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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - width: 100%; - height: 100%; - overflow: hidden; -} - -.emotion-2[data-shape='circle'] { - border-radius: 100%; -} - -.emotion-2[data-shape='square'] { - border-radius: 0.25rem; -} - -.emotion-2[data-size="xsmall"] { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="xsmall"]>svg { - width: 1.25rem; - height: 1.25rem; -} - -.emotion-2[data-size="small"] { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="small"]>svg { - width: 2rem; - height: 2rem; -} - -.emotion-2[data-size="medium"] { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="medium"]>svg { - width: 4rem; - height: 4rem; -} - -.emotion-2[data-size="large"] { - width: 7rem; - height: 7rem; -} - -.emotion-2[data-size="large"]>svg { - width: 7rem; - height: 7rem; -} - -.emotion-4 { - width: 2rem; - min-width: 2rem; - height: 2rem; -} - -.emotion-4 path[fill].fill, -.emotion-4 g[fill].fill>*, -.emotion-4 g.fill>* { - fill: #521094; -} - -.emotion-4 path[fill].fillStrong, -.emotion-4 g[fill].fillStrong>*, -.emotion-4 g.fillStrong>* { - fill: #a060f6; -} - -.emotion-4 path[fill].fillWeak, -.emotion-4 g[fill].fillWeak>*, -.emotion-4 g.fillWeak>* { - fill: #f1eefc; -} - -
-
-
- - - - - - - - - - - -
-
-
-
-`; diff --git a/packages/ui/src/components/AvatarV2/__tests__/index.test.tsx b/packages/ui/src/components/AvatarV2/__tests__/index.test.tsx deleted file mode 100644 index 698aa065b8..0000000000 --- a/packages/ui/src/components/AvatarV2/__tests__/index.test.tsx +++ /dev/null @@ -1,97 +0,0 @@ -import { screen } from '@testing-library/react' -import { userEvent } from '@testing-library/user-event' -import { renderWithTheme, shouldMatchEmotionSnapshot } from '@utils/test' -import { describe, expect, it, vi } from 'vitest' -import { AvatarV2 } from '..' -import support from '../__stories__/assets/avatar.svg' - -describe('AvatarV2', () => { - describe.each(['circle', 'square'] as const)( - `renders correctly with shape %s`, - shape => { - describe.each(['xsmall', 'small', 'medium', 'large'] as const)( - `renders correctly with shape ${shape} and size %s`, - size => { - it('renders correctly with variant user', () => - shouldMatchEmotionSnapshot( - , - )) - - it('renders correctly with variant image', () => - shouldMatchEmotionSnapshot( - , - )) - - it('renders correctly with variant text', () => - shouldMatchEmotionSnapshot( - , - )) - - it('renders correctly with variant text and sentiment neutral', () => - shouldMatchEmotionSnapshot( - , - )) - - it('renders correctly with variant icon', () => - shouldMatchEmotionSnapshot( - , - )) - - it('renders correctly with variant icon and sentiment neutral', () => - shouldMatchEmotionSnapshot( - , - )) - - it('renders correctly with variant colors', () => - shouldMatchEmotionSnapshot( - , - )) - - it('renders correctly with variant text and upload', async () => { - const onClick = vi.fn() - const { asFragment } = renderWithTheme( - , - ) - const avatar = screen.getByTestId('avatar') - - await userEvent.hover(avatar) - expect(asFragment()).toMatchSnapshot() - - await userEvent.click(avatar) - expect(onClick).toHaveBeenCalledOnce() - }) - }, - ) - }, - ) -}) diff --git a/packages/ui/src/components/AvatarV2/index.tsx b/packages/ui/src/components/AvatarV2/index.tsx deleted file mode 100644 index b890aaffe0..0000000000 --- a/packages/ui/src/components/AvatarV2/index.tsx +++ /dev/null @@ -1,265 +0,0 @@ -'use client' - -import type { Theme } from '@emotion/react' -import { css } from '@emotion/react' -import styled from '@emotion/styled' -import { UploadIcon } from '@ultraviolet/icons' -import { Icon } from '@ultraviolet/icons/legacy' -import { UserProductIcon } from '@ultraviolet/icons/product' -import { Text } from '../Text' -import { - DEFAULT_COLORS, - ICON_SIZES, - RADIUS_SIZES, - SENTIMENTS, - TEXT_VARIANT_BY_SIZE, - sizes, -} from './constants' -import type { AvatarV2Props, Colors, SentimentColors, Shape } from './types' - -const UploadContainer = styled('div', { - shouldForwardProp: prop => !['size'].includes(prop), -})<{ size: keyof ReturnType }>` - position: absolute; - opacity: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - display: flex; - justify-content: center; - align-items: center; - transition: opacity 180ms ease-in-out, background-color 180ms ease-in-out; - - &[data-shape='circle'] { - border-radius: ${({ theme }) => theme.radii.circle} - } - - &[data-shape='square'] { - border-radius: ${({ theme, size }) => theme.radii[RADIUS_SIZES[size]]} - } -` - -const Container = styled('div', { - shouldForwardProp: prop => !['image', 'size', 'sentiment'].includes(prop), -})<{ image?: string; size: keyof ReturnType; sentiment: string }>` - position: relative; - &[data-shape='circle'] { - border-radius: ${({ theme }) => theme.radii.circle} - } - - &[data-shape='square'] { - border-radius: ${({ theme, size }) => theme.radii[RADIUS_SIZES[size]]} - } - - color: ${({ theme, sentiment }) => (sentiment === 'neutral' ? theme.colors.neutral.text : theme.colors.neutral.textStronger)}; - - ${({ theme }) => - Object.entries(sizes(theme)) - .map( - ([key, size]) => ` - &[data-size="${key}"] { - width: ${size}; - height: ${size}; - } - `, - ) - .join('')} - - ${({ theme }) => - SENTIMENTS.map( - sentiment => ` - &[data-has-background='true'][data-sentiment="${sentiment}"] { - background-color: ${theme.colors[sentiment].backgroundStrong}; - } - `, - ).join('')} - - ${({ image }) => - image && - ` - background-image: url(${image}); - background-size: cover; - `} - - &:hover { - ${UploadContainer} { - opacity: 1; - cursor: pointer; - background-color: ${({ theme }) => theme.colors.overlay}; - } - } - ` - -const ElementContainer = styled.div` - display: flex; - align-items: center; - justify-content: center; - width: 100%; - height: 100%; - - &[data-shape='circle'] { - border-radius: ${({ theme }) => theme.radii.circle} - } - - &[data-shape='square'] { - border-radius: ${({ theme }) => theme.radii.xlarge} - } -` - -const bordersStyles = ({ - size, - colors, - theme, - shape, -}: { - size: keyof ReturnType - colors: Colors - theme: Theme - shape: Shape -}) => { - const isHalved = colors.length > 1 - const finalColors = colors?.map( - bgColor => - theme.colors[bgColor as SentimentColors]?.backgroundStrong ?? bgColor, - ) - - const finalSize = sizes(theme)[size] - - return css` - border-left: calc(${finalSize} / 2) solid ${finalColors[0]}; - border-top: calc(${finalSize} / 2) solid ${finalColors[0]}; - border-right: calc(${finalSize} / 2) solid - ${isHalved ? finalColors[1] : finalColors[0]}; - border-bottom: calc(${finalSize} / 2) solid - ${isHalved ? finalColors[1] : finalColors[0]}; - border-radius: ${shape === 'circle' ? theme.radii.circle : theme.radii[RADIUS_SIZES[size]]}}; - ` -} - -const StyledColors = styled('span', { - shouldForwardProp: prop => !['size', 'colors', 'shape'].includes(prop), -})<{ size: keyof ReturnType; colors: Colors; shape: Shape }>` - align-items: center; - display: flex; - height: 100%; - justify-content: center; - ${bordersStyles} -` - -const ProductIconContainer = styled('div', { - shouldForwardProp: prop => !['size'].includes(prop), -})<{ size: keyof ReturnType }>` - display: flex; - align-items: center; - justify-content: center; - width: 100%; - height: 100%; - overflow: hidden; - - &[data-shape='circle'] { - border-radius: ${({ theme }) => theme.radii.circle} - } - - &[data-shape='square'] { - border-radius: ${({ theme, size }) => theme.radii[RADIUS_SIZES[size]]} - } - - ${({ theme }) => - Object.entries(sizes(theme)) - .map( - ([key, size]) => ` - &[data-size="${key}"] { - width: ${size}; - height: ${size}; - - & > svg { - width: ${size}; - height: ${size}; - } - } - `, - ) - .join('')} -` - -/** - * The AvatarV2 component is used to represent a user, product, or entity. It can be used to display an image, an icon, a text or a set of colors. - */ -export const AvatarV2 = ({ - shape, - variant, - image, - icon, - text, - size = 'medium', - sentiment = 'primary', - colors = DEFAULT_COLORS, - upload, - onClick, - className, - children, - 'data-testid': dataTestId, -}: AvatarV2Props) => ( - - {upload ? ( - - - - ) : null} - {variant === 'user' ? ( - - - - ) : null} - {variant === 'icon' ? ( - - {icon ? ( - - ) : null} - {children} - - ) : null} - {variant === 'text' ? ( - - - {text} - - - ) : null} - {variant === 'colors' ? ( - - ) : null} - -) diff --git a/packages/ui/src/components/Badge/__stories__/Prominences.stories.tsx b/packages/ui/src/components/Badge/__stories__/Prominences.stories.tsx index 40cfdbfac7..6890debbb2 100644 --- a/packages/ui/src/components/Badge/__stories__/Prominences.stories.tsx +++ b/packages/ui/src/components/Badge/__stories__/Prominences.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Badge, PROMINENCES } from '..' import { SENTIMENTS } from '../../../theme' diff --git a/packages/ui/src/components/Badge/__stories__/Sentiments.stories.tsx b/packages/ui/src/components/Badge/__stories__/Sentiments.stories.tsx index 22855fb974..1fa799635c 100644 --- a/packages/ui/src/components/Badge/__stories__/Sentiments.stories.tsx +++ b/packages/ui/src/components/Badge/__stories__/Sentiments.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Badge } from '..' import { SENTIMENTS } from '../../../theme' diff --git a/packages/ui/src/components/Badge/__stories__/Sizes.stories.tsx b/packages/ui/src/components/Badge/__stories__/Sizes.stories.tsx index 1831da8369..57613afc38 100644 --- a/packages/ui/src/components/Badge/__stories__/Sizes.stories.tsx +++ b/packages/ui/src/components/Badge/__stories__/Sizes.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Badge } from '..' export const Sizes: StoryFn = props => ( diff --git a/packages/ui/src/components/Badge/__stories__/Template.tsx b/packages/ui/src/components/Badge/__stories__/Template.tsx index 4f2c343d9e..41d60de449 100644 --- a/packages/ui/src/components/Badge/__stories__/Template.tsx +++ b/packages/ui/src/components/Badge/__stories__/Template.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Badge } from '..' export const Template: StoryFn = ({ ...props }) => ( diff --git a/packages/ui/src/components/Badge/__stories__/index.stories.tsx b/packages/ui/src/components/Badge/__stories__/index.stories.tsx index ad97a887c8..836797a1ed 100644 --- a/packages/ui/src/components/Badge/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Badge/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Badge } from '..' export default { diff --git a/packages/ui/src/components/Badge/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Badge/__tests__/__snapshots__/index.test.tsx.snap index 8fdeb2b38f..4af737eef7 100644 --- a/packages/ui/src/components/Badge/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Badge/__tests__/__snapshots__/index.test.tsx.snap @@ -4,7 +4,7 @@ exports[`Badge > renders correctly prominence default 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -53,7 +53,7 @@ exports[`Badge > renders correctly prominence strong 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -102,7 +102,7 @@ exports[`Badge > renders correctly sentiment danger 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -151,7 +151,7 @@ exports[`Badge > renders correctly sentiment info 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -200,7 +200,7 @@ exports[`Badge > renders correctly sentiment neutral 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -249,7 +249,7 @@ exports[`Badge > renders correctly sentiment primary 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -298,7 +298,7 @@ exports[`Badge > renders correctly sentiment secondary 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -347,7 +347,7 @@ exports[`Badge > renders correctly sentiment success 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -396,7 +396,7 @@ exports[`Badge > renders correctly sentiment warning 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -445,7 +445,7 @@ exports[`Badge > renders correctly size large 1`] = ` .emotion-1 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -494,7 +494,7 @@ exports[`Badge > renders correctly size medium 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -543,7 +543,7 @@ exports[`Badge > renders correctly size small 1`] = ` .emotion-1 { font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -592,7 +592,7 @@ exports[`Badge > renders correctly when disabled 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -641,7 +641,7 @@ exports[`Badge > renders correctly with default values 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -690,7 +690,7 @@ exports[`Badge > renders correctly with icon 1`] = ` .emotion-1 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -726,10 +726,10 @@ exports[`Badge > renders correctly with icon 1`] = ` .emotion-3 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-3 .fillStroke { @@ -737,10 +737,6 @@ exports[`Badge > renders correctly with icon 1`] = ` fill: none; } -.emotion-3 path { - fill: currentColor; -} -
@@ -749,14 +745,11 @@ exports[`Badge > renders correctly with icon 1`] = ` > diff --git a/packages/ui/src/components/Badge/__tests__/index.test.tsx b/packages/ui/src/components/Badge/__tests__/index.test.tsx index 0e742b9832..2114986e4b 100644 --- a/packages/ui/src/components/Badge/__tests__/index.test.tsx +++ b/packages/ui/src/components/Badge/__tests__/index.test.tsx @@ -1,3 +1,4 @@ +import { InformationOutlineIcon } from '@ultraviolet/icons' import { shouldMatchEmotionSnapshot } from '@utils/test' import { describe, test } from 'vitest' import { Badge, PROMINENCES, SIZES } from '..' @@ -9,7 +10,10 @@ describe('Badge', () => { test('renders correctly with icon', () => shouldMatchEmotionSnapshot( - Sample badge, + + + Sample badge + , )) test('renders correctly when disabled', () => diff --git a/packages/ui/src/components/Badge/index.tsx b/packages/ui/src/components/Badge/index.tsx index 5ba2e6d00c..1a05ce2121 100644 --- a/packages/ui/src/components/Badge/index.tsx +++ b/packages/ui/src/components/Badge/index.tsx @@ -3,16 +3,13 @@ import type { Theme } from '@emotion/react' import { useTheme } from '@emotion/react' import styled from '@emotion/styled' -import { Icon } from '@ultraviolet/icons/legacy' -import type { ComponentProps, ReactNode } from 'react' +import type { ReactNode } from 'react' import { useMemo } from 'react' import type { Color } from '../../theme' import { SENTIMENTS_WITHOUT_NEUTRAL } from '../../theme' import capitalize from '../../utils/capitalize' import { Text } from '../Text' -type IconName = ComponentProps['name'] - export const SIZES = { large: '400', // sizing token from theme medium: '300', @@ -119,11 +116,6 @@ type BadgeProps = { sentiment?: Color size?: keyof typeof SIZES prominence?: keyof typeof PROMINENCES - /** - * @deprecated: Use the icon directly in children - * Defines icon to display on left side of badge. **Only available on medium and large sizes**. - */ - icon?: IconName disabled?: boolean className?: string children: ReactNode @@ -137,7 +129,6 @@ export const Badge = ({ sentiment = 'neutral', size = 'medium', prominence = 'default', - icon, disabled = false, className, children, @@ -175,7 +166,6 @@ export const Badge = ({ data-testid={dataTestId} whiteSpace="nowrap" > - {icon && size !== 'small' ? : null} {children} ) diff --git a/packages/ui/src/components/Banner/__stories__/Directions.stories.tsx b/packages/ui/src/components/Banner/__stories__/Directions.stories.tsx index 9497b3ecda..f9f7c79371 100644 --- a/packages/ui/src/components/Banner/__stories__/Directions.stories.tsx +++ b/packages/ui/src/components/Banner/__stories__/Directions.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Banner } from '..' export const Directions: StoryFn = args => ( diff --git a/packages/ui/src/components/Banner/__stories__/Sizes.stories.tsx b/packages/ui/src/components/Banner/__stories__/Sizes.stories.tsx index 9472a35ed3..2823b4107c 100644 --- a/packages/ui/src/components/Banner/__stories__/Sizes.stories.tsx +++ b/packages/ui/src/components/Banner/__stories__/Sizes.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Banner } from '..' export const Sizes: StoryFn = args => ( diff --git a/packages/ui/src/components/Banner/__stories__/Template.tsx b/packages/ui/src/components/Banner/__stories__/Template.tsx index d87d78e663..24db3632eb 100644 --- a/packages/ui/src/components/Banner/__stories__/Template.tsx +++ b/packages/ui/src/components/Banner/__stories__/Template.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Banner } from '..' export const Template: StoryFn = ({ ...props }) => ( diff --git a/packages/ui/src/components/Banner/__stories__/Variants.stories.tsx b/packages/ui/src/components/Banner/__stories__/Variants.stories.tsx index e27bc77f15..861112683a 100644 --- a/packages/ui/src/components/Banner/__stories__/Variants.stories.tsx +++ b/packages/ui/src/components/Banner/__stories__/Variants.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Banner } from '..' export const Variants: StoryFn = args => ( @@ -19,6 +19,7 @@ export const Variants: StoryFn = args => ( title="Apply to Scaleway Startup programs" buttonText="Apply now" linkText="Learn more" + linkHref="/?path=/story/components-other-banner--variants&globals=theme:light" variant="promotional" > The Scaleway Startup programs offer the perfect combination of cloud diff --git a/packages/ui/src/components/Banner/__stories__/index.stories.tsx b/packages/ui/src/components/Banner/__stories__/index.stories.tsx index fa7a9638a3..fe9b27a415 100644 --- a/packages/ui/src/components/Banner/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Banner/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Banner } from '..' export default { diff --git a/packages/ui/src/components/Banner/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Banner/__tests__/__snapshots__/index.test.tsx.snap index fbac932c39..c0c971da09 100644 --- a/packages/ui/src/components/Banner/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Banner/__tests__/__snapshots__/index.test.tsx.snap @@ -45,10 +45,10 @@ exports[`Banner > renders correctly with a button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -57,10 +57,9 @@ exports[`Banner > renders correctly with a button 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 140px; } @@ -69,10 +68,10 @@ exports[`Banner > renders correctly with a button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -80,10 +79,10 @@ exports[`Banner > renders correctly with a button 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-6 { @@ -91,10 +90,10 @@ exports[`Banner > renders correctly with a button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -103,16 +102,16 @@ exports[`Banner > renders correctly with a button 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #641cb3; font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -124,7 +123,7 @@ exports[`Banner > renders correctly with a button 1`] = ` .emotion-10 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -138,10 +137,10 @@ exports[`Banner > renders correctly with a button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -150,10 +149,10 @@ exports[`Banner > renders correctly with a button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-14 { @@ -185,7 +184,7 @@ exports[`Banner > renders correctly with a button 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -205,6 +204,10 @@ exports[`Banner > renders correctly with a button 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-14 .e1y1n78x0 { + stroke: transparent; +} + .emotion-14:hover, .emotion-14:active { background: #792dd4; @@ -225,7 +228,7 @@ exports[`Banner > renders correctly with a button 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -240,7 +243,7 @@ exports[`Banner > renders correctly with a button 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -260,6 +263,10 @@ exports[`Banner > renders correctly with a button 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-16 .e1y1n78x0 { + stroke: transparent; +} + .emotion-16:hover, .emotion-16:active { background: #e9eaeb; @@ -269,10 +276,10 @@ exports[`Banner > renders correctly with a button 1`] = ` .emotion-18 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-18 .fillStroke { @@ -280,10 +287,6 @@ exports[`Banner > renders correctly with a button 1`] = ` fill: none; } -.emotion-18 path { - fill: currentColor; -} -
@@ -336,7 +339,6 @@ exports[`Banner > renders correctly with a button 1`] = ` renders correctly with a link 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -405,10 +407,9 @@ exports[`Banner > renders correctly with a link 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 140px; } @@ -417,10 +418,10 @@ exports[`Banner > renders correctly with a link 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -428,10 +429,10 @@ exports[`Banner > renders correctly with a link 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-6 { @@ -439,10 +440,10 @@ exports[`Banner > renders correctly with a link 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -451,16 +452,16 @@ exports[`Banner > renders correctly with a link 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #641cb3; font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -472,7 +473,7 @@ exports[`Banner > renders correctly with a link 1`] = ` .emotion-10 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -486,10 +487,10 @@ exports[`Banner > renders correctly with a link 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -498,10 +499,10 @@ exports[`Banner > renders correctly with a link 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-14 { @@ -523,7 +524,7 @@ exports[`Banner > renders correctly with a link 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -531,8 +532,8 @@ exports[`Banner > renders correctly with a link 1`] = ` text-case: none; } -.emotion-14 .e1afnb7a2, .emotion-14 .e1afnb7a3, +.emotion-14 .e1afnb7a2, .emotion-14 .emotion-18 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -543,8 +544,8 @@ exports[`Banner > renders correctly with a link 1`] = ` } .emotion-14:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-14:hover, @@ -557,22 +558,22 @@ exports[`Banner > renders correctly with a link 1`] = ` text-decoration-color: #521094; } -.emotion-14:hover .e1afnb7a2, -.emotion-14:focus .e1afnb7a2, .emotion-14:hover .e1afnb7a3, .emotion-14:focus .e1afnb7a3, +.emotion-14:hover .e1afnb7a2, +.emotion-14:focus .e1afnb7a2, .emotion-14:hover .emotion-18, .emotion-14:focus .emotion-18 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-14:hover:visited, .emotion-14:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-14[data-variant='inline'] { @@ -601,11 +602,11 @@ exports[`Banner > renders correctly with a link 1`] = ` .emotion-19 { vertical-align: middle; fill: currentColor; - height: 14px; - width: 14px; - min-width: 14px; - min-height: 14px; - margin-left: 0.5rem; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; + margin-left: 0.25rem; } .emotion-19 .fillStroke { @@ -627,7 +628,7 @@ exports[`Banner > renders correctly with a link 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -642,7 +643,7 @@ exports[`Banner > renders correctly with a link 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -662,6 +663,10 @@ exports[`Banner > renders correctly with a link 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-21 .e1y1n78x0 { + stroke: transparent; +} + .emotion-21:hover, .emotion-21:active { background: #e9eaeb; @@ -671,10 +676,10 @@ exports[`Banner > renders correctly with a link 1`] = ` .emotion-23 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-23 .fillStroke { @@ -682,10 +687,6 @@ exports[`Banner > renders correctly with a link 1`] = ` fill: none; } -.emotion-23 path { - fill: currentColor; -} -
@@ -737,7 +738,7 @@ exports[`Banner > renders correctly with a link 1`] = ` > renders correctly with a link 1`] = ` type="button" > renders correctly with closable to false 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -827,10 +827,9 @@ exports[`Banner > renders correctly with closable to false 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 140px; } @@ -839,10 +838,10 @@ exports[`Banner > renders correctly with closable to false 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -850,10 +849,10 @@ exports[`Banner > renders correctly with closable to false 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -861,10 +860,10 @@ exports[`Banner > renders correctly with closable to false 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -873,16 +872,16 @@ exports[`Banner > renders correctly with closable to false 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #641cb3; font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -894,7 +893,7 @@ exports[`Banner > renders correctly with closable to false 1`] = ` .emotion-10 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -987,10 +986,10 @@ exports[`Banner > renders correctly with default values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -999,10 +998,9 @@ exports[`Banner > renders correctly with default values 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 140px; } @@ -1011,10 +1009,10 @@ exports[`Banner > renders correctly with default values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1022,10 +1020,10 @@ exports[`Banner > renders correctly with default values 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-6 { @@ -1033,10 +1031,10 @@ exports[`Banner > renders correctly with default values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1045,16 +1043,16 @@ exports[`Banner > renders correctly with default values 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #641cb3; font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -1066,7 +1064,7 @@ exports[`Banner > renders correctly with default values 1`] = ` .emotion-10 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1089,7 +1087,7 @@ exports[`Banner > renders correctly with default values 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1104,7 +1102,7 @@ exports[`Banner > renders correctly with default values 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1124,6 +1122,10 @@ exports[`Banner > renders correctly with default values 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-12 .e1y1n78x0 { + stroke: transparent; +} + .emotion-12:hover, .emotion-12:active { background: #e9eaeb; @@ -1133,10 +1135,10 @@ exports[`Banner > renders correctly with default values 1`] = ` .emotion-14 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-14 .fillStroke { @@ -1144,10 +1146,6 @@ exports[`Banner > renders correctly with default values 1`] = ` fill: none; } -.emotion-14 path { - fill: currentColor; -} -
@@ -1190,7 +1188,6 @@ exports[`Banner > renders correctly with default values 1`] = ` renders correctly with direction row 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1259,10 +1256,9 @@ exports[`Banner > renders correctly with direction row 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 140px; } @@ -1271,10 +1267,10 @@ exports[`Banner > renders correctly with direction row 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1282,10 +1278,10 @@ exports[`Banner > renders correctly with direction row 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-6 { @@ -1293,10 +1289,10 @@ exports[`Banner > renders correctly with direction row 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1305,16 +1301,16 @@ exports[`Banner > renders correctly with direction row 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #641cb3; font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -1326,7 +1322,7 @@ exports[`Banner > renders correctly with direction row 1`] = ` .emotion-10 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1349,7 +1345,7 @@ exports[`Banner > renders correctly with direction row 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1364,7 +1360,7 @@ exports[`Banner > renders correctly with direction row 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1384,6 +1380,10 @@ exports[`Banner > renders correctly with direction row 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-12 .e1y1n78x0 { + stroke: transparent; +} + .emotion-12:hover, .emotion-12:active { background: #e9eaeb; @@ -1393,10 +1393,10 @@ exports[`Banner > renders correctly with direction row 1`] = ` .emotion-14 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-14 .fillStroke { @@ -1404,10 +1404,6 @@ exports[`Banner > renders correctly with direction row 1`] = ` fill: none; } -.emotion-14 path { - fill: currentColor; -} -
@@ -1450,7 +1446,6 @@ exports[`Banner > renders correctly with direction row 1`] = ` should render correctly with dark theme 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1519,10 +1514,9 @@ exports[`Banner > should render correctly with dark theme 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 140px; } @@ -1531,10 +1525,10 @@ exports[`Banner > should render correctly with dark theme 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1543,10 +1537,9 @@ exports[`Banner > should render correctly with dark theme 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 140px; } @@ -1555,10 +1548,10 @@ exports[`Banner > should render correctly with dark theme 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1566,10 +1559,10 @@ exports[`Banner > should render correctly with dark theme 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-6 { @@ -1577,10 +1570,10 @@ exports[`Banner > should render correctly with dark theme 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1589,21 +1582,21 @@ exports[`Banner > should render correctly with dark theme 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-6 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1612,16 +1605,16 @@ exports[`Banner > should render correctly with dark theme 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #bf96f8; font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -1633,7 +1626,7 @@ exports[`Banner > should render correctly with dark theme 1`] = ` .emotion-10 { color: #ffffff; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1647,10 +1640,10 @@ exports[`Banner > should render correctly with dark theme 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1659,10 +1652,10 @@ exports[`Banner > should render correctly with dark theme 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-14 { @@ -1684,7 +1677,7 @@ exports[`Banner > should render correctly with dark theme 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1692,8 +1685,8 @@ exports[`Banner > should render correctly with dark theme 1`] = ` text-case: none; } -.emotion-14 .e1afnb7a2, .emotion-14 .e1afnb7a3, +.emotion-14 .e1afnb7a2, .emotion-14 .emotion-18 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1704,8 +1697,8 @@ exports[`Banner > should render correctly with dark theme 1`] = ` } .emotion-14:visited { - color: #bf96f8; text-decoration-color: transparent; + color: #bf96f8; } .emotion-14:hover, @@ -1718,22 +1711,22 @@ exports[`Banner > should render correctly with dark theme 1`] = ` text-decoration-color: #e9e9ec; } -.emotion-14:hover .e1afnb7a2, -.emotion-14:focus .e1afnb7a2, .emotion-14:hover .e1afnb7a3, .emotion-14:focus .e1afnb7a3, +.emotion-14:hover .e1afnb7a2, +.emotion-14:focus .e1afnb7a2, .emotion-14:hover .emotion-18, .emotion-14:focus .emotion-18 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-14:hover:visited, .emotion-14:focus:visited { - color: #ccaefc; - text-decoration-color: #ccaefc; + text-decoration-color: transparent; + color: #bf96f8; } .emotion-14[data-variant='inline'] { @@ -1762,11 +1755,11 @@ exports[`Banner > should render correctly with dark theme 1`] = ` .emotion-19 { vertical-align: middle; fill: currentColor; - height: 14px; - width: 14px; - min-width: 14px; - min-height: 14px; - margin-left: 0.5rem; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; + margin-left: 0.25rem; } .emotion-19 .fillStroke { @@ -1788,7 +1781,7 @@ exports[`Banner > should render correctly with dark theme 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1803,7 +1796,7 @@ exports[`Banner > should render correctly with dark theme 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1823,6 +1816,10 @@ exports[`Banner > should render correctly with dark theme 1`] = ` box-shadow: 0px 0px 0px 3px #0c0f1a8c; } +.emotion-21 .e1y1n78x0 { + stroke: transparent; +} + .emotion-21:hover, .emotion-21:active { background: #303445; @@ -1832,10 +1829,10 @@ exports[`Banner > should render correctly with dark theme 1`] = ` .emotion-23 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-23 .fillStroke { @@ -1843,17 +1840,13 @@ exports[`Banner > should render correctly with dark theme 1`] = ` fill: none; } -.emotion-23 path { - fill: currentColor; -} - .emotion-23 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-23 .fillStroke { @@ -1861,10 +1854,6 @@ exports[`Banner > should render correctly with dark theme 1`] = ` fill: none; } -.emotion-23 path { - fill: currentColor; -} -
@@ -1916,7 +1905,7 @@ exports[`Banner > should render correctly with dark theme 1`] = ` > should render correctly with dark theme 1`] = ` type="button" > sizes and variants > renders correctly with size medium and va display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2006,10 +1994,9 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 140px; } @@ -2018,10 +2005,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -2029,10 +2016,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-6 { @@ -2040,10 +2027,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2052,16 +2039,16 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #641cb3; font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -2073,7 +2060,7 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va .emotion-10 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2096,7 +2083,7 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2111,7 +2098,7 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2131,6 +2118,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-12 .e1y1n78x0 { + stroke: transparent; +} + .emotion-12:hover, .emotion-12:active { background: #e9eaeb; @@ -2140,10 +2131,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va .emotion-14 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-14 .fillStroke { @@ -2151,10 +2142,6 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va fill: none; } -.emotion-14 path { - fill: currentColor; -} -
@@ -2197,7 +2184,6 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va sizes and variants > renders correctly with size medium and va display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2266,10 +2252,9 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 140px; } @@ -2278,10 +2263,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -2289,10 +2274,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-6 { @@ -2300,10 +2285,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2312,16 +2297,16 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #ffffff; font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -2333,7 +2318,7 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va .emotion-10 { color: #ffffff; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2356,7 +2341,7 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2371,7 +2356,7 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2391,6 +2376,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-12 .e1y1n78x0 { + stroke: transparent; +} + .emotion-12:hover, .emotion-12:active { background: #792dd4; @@ -2400,10 +2389,10 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va .emotion-14 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-14 .fillStroke { @@ -2411,10 +2400,6 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va fill: none; } -.emotion-14 path { - fill: currentColor; -} -
@@ -2457,7 +2442,6 @@ exports[`Banner > sizes and variants > renders correctly with size medium and va sizes and variants > renders correctly with size small and var display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2526,10 +2510,9 @@ exports[`Banner > sizes and variants > renders correctly with size small and var -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 74px; } @@ -2538,10 +2521,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -2549,10 +2532,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-6 { @@ -2560,10 +2543,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2572,16 +2555,16 @@ exports[`Banner > sizes and variants > renders correctly with size small and var -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -2593,7 +2576,7 @@ exports[`Banner > sizes and variants > renders correctly with size small and var .emotion-10 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2616,7 +2599,7 @@ exports[`Banner > sizes and variants > renders correctly with size small and var gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2631,7 +2614,7 @@ exports[`Banner > sizes and variants > renders correctly with size small and var -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2651,6 +2634,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-12 .e1y1n78x0 { + stroke: transparent; +} + .emotion-12:hover, .emotion-12:active { background: #e9eaeb; @@ -2660,10 +2647,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var .emotion-14 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-14 .fillStroke { @@ -2671,10 +2658,6 @@ exports[`Banner > sizes and variants > renders correctly with size small and var fill: none; } -.emotion-14 path { - fill: currentColor; -} -
@@ -2717,7 +2700,6 @@ exports[`Banner > sizes and variants > renders correctly with size small and var sizes and variants > renders correctly with size small and var display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2786,10 +2768,9 @@ exports[`Banner > sizes and variants > renders correctly with size small and var -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; width: 74px; } @@ -2798,10 +2779,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -2809,10 +2790,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-6 { @@ -2820,10 +2801,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2832,16 +2813,16 @@ exports[`Banner > sizes and variants > renders correctly with size small and var -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-8 { color: #ffffff; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -2853,7 +2834,7 @@ exports[`Banner > sizes and variants > renders correctly with size small and var .emotion-10 { color: #ffffff; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2876,7 +2857,7 @@ exports[`Banner > sizes and variants > renders correctly with size small and var gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2891,7 +2872,7 @@ exports[`Banner > sizes and variants > renders correctly with size small and var -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2911,6 +2892,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-12 .e1y1n78x0 { + stroke: transparent; +} + .emotion-12:hover, .emotion-12:active { background: #792dd4; @@ -2920,10 +2905,10 @@ exports[`Banner > sizes and variants > renders correctly with size small and var .emotion-14 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-14 .fillStroke { @@ -2931,10 +2916,6 @@ exports[`Banner > sizes and variants > renders correctly with size small and var fill: none; } -.emotion-14 path { - fill: currentColor; -} -
@@ -2977,7 +2958,6 @@ exports[`Banner > sizes and variants > renders correctly with size small and var { - if (variant === 'promotional' && theme === 'light') { + if (variant === 'promotional') { return 'strong' } @@ -235,7 +236,6 @@ export const Banner = ({ {closable ? ( + > + + ) : null} ) diff --git a/packages/ui/src/components/BarChart/__stories__/FormattedValuesAndTooltip.stories.tsx b/packages/ui/src/components/BarChart/__stories__/FormattedValuesAndTooltip.stories.tsx index 07efb780ac..5a7388a074 100644 --- a/packages/ui/src/components/BarChart/__stories__/FormattedValuesAndTooltip.stories.tsx +++ b/packages/ui/src/components/BarChart/__stories__/FormattedValuesAndTooltip.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { format } from 'date-fns' import { BarChart } from '..' import { barChartSimpleData } from './mockData' diff --git a/packages/ui/src/components/BarChart/__stories__/Label.stories.tsx b/packages/ui/src/components/BarChart/__stories__/Label.stories.tsx new file mode 100644 index 0000000000..3eb6fe8e3b --- /dev/null +++ b/packages/ui/src/components/BarChart/__stories__/Label.stories.tsx @@ -0,0 +1,27 @@ +import type { StoryFn } from '@storybook/react-vite' +import { BarChart } from '..' +import { barChartSimpleData } from './mockData' + +export const Label: StoryFn = ({ ...props }) => ( + +) + +Label.args = { + chartProps: { + label: d => `${d.value} €`, + labelOffset: 10, + labelPosition: 'end', + enableLabel: true, + legends: [ + { + dataFrom: 'keys', + anchor: 'bottom-left', + direction: 'row', + translateY: 50, + itemsSpacing: 3, + itemWidth: 100, + itemHeight: 16, + }, + ], + }, +} diff --git a/packages/ui/src/components/BarChart/__stories__/MultiSeries.stories.tsx b/packages/ui/src/components/BarChart/__stories__/MultiSeries.stories.tsx index 147d586ff3..1ce9d0be46 100644 --- a/packages/ui/src/components/BarChart/__stories__/MultiSeries.stories.tsx +++ b/packages/ui/src/components/BarChart/__stories__/MultiSeries.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { format } from 'date-fns' import { BarChart } from '..' import { barChartMultiData } from './mockData' diff --git a/packages/ui/src/components/BarChart/__stories__/PositiveNegative.stories.tsx b/packages/ui/src/components/BarChart/__stories__/PositiveNegative.stories.tsx index 6bfe9253df..d619dfbbf8 100644 --- a/packages/ui/src/components/BarChart/__stories__/PositiveNegative.stories.tsx +++ b/packages/ui/src/components/BarChart/__stories__/PositiveNegative.stories.tsx @@ -1,5 +1,5 @@ import { useTheme } from '@emotion/react' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { format } from 'date-fns' import { BarChart } from '..' import { barChartPositiveNegativeData } from './mockData' diff --git a/packages/ui/src/components/BarChart/__stories__/Template.stories.tsx b/packages/ui/src/components/BarChart/__stories__/Template.stories.tsx index 3f68a27bb3..5fa263ba2c 100644 --- a/packages/ui/src/components/BarChart/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/BarChart/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { BarChart } from '..' import { barChartSimpleData } from './mockData' diff --git a/packages/ui/src/components/BarChart/__stories__/index.stories.tsx b/packages/ui/src/components/BarChart/__stories__/index.stories.tsx index 4b7db36bcc..6cdef99120 100644 --- a/packages/ui/src/components/BarChart/__stories__/index.stories.tsx +++ b/packages/ui/src/components/BarChart/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { BarChart } from '..' export default { @@ -10,3 +10,4 @@ export { Playground } from './Playground.stories' export { FormattedValuesAndTooltip } from './FormattedValuesAndTooltip.stories' export { MultiSeries } from './MultiSeries.stories' export { PositiveNegative } from './PositiveNegative.stories' +export { Label } from './Label.stories' diff --git a/packages/ui/src/components/BarChart/__tests__/__snapshots__/Tooltip.test.tsx.snap b/packages/ui/src/components/BarChart/__tests__/__snapshots__/Tooltip.test.tsx.snap index 4516f10daa..6b2c9ad906 100644 --- a/packages/ui/src/components/BarChart/__tests__/__snapshots__/Tooltip.test.tsx.snap +++ b/packages/ui/src/components/BarChart/__tests__/__snapshots__/Tooltip.test.tsx.snap @@ -28,7 +28,7 @@ exports[`BarChartTooltip > renders correctly 1`] = ` .emotion-4 { color: #641cb3; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -39,7 +39,7 @@ exports[`BarChartTooltip > renders correctly 1`] = ` .emotion-6 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; diff --git a/packages/ui/src/components/BarChart/index.tsx b/packages/ui/src/components/BarChart/index.tsx index 8fb05ccbba..0db2528fc9 100644 --- a/packages/ui/src/components/BarChart/index.tsx +++ b/packages/ui/src/components/BarChart/index.tsx @@ -7,6 +7,7 @@ import type { Box, DatumValue, ValueFormat } from '@nivo/core' import type { ComponentProps } from 'react' import { useCallback } from 'react' import { getLegendColor } from '../../helpers/legend' +import { getNivoTheme } from '../../helpers/nivoTheme' import BarChartTooltip from './Tooltip' type Formatter = ValueFormat @@ -57,41 +58,6 @@ export const BarChart = ({ }: BarChartProps) => { const theme = useTheme() - const chartTheme = { - axis: { - ticks: { - line: { - stroke: theme.colors.neutral.backgroundStrong, - strokeWidth: 1, - }, - text: { - fill: theme.colors.neutral.text, - fontSize: theme.typography.bodySmall.fontSize, - fontFamily: theme.typography.bodySmall.fontFamily, - fontWeight: theme.typography.bodySmall.fontWeight, - lineHeight: theme.typography.bodySmall.lineHeight, - letterSpacing: theme.typography.bodySmall.letterSpacing, - }, - }, - legends: { - text: { - fill: theme.colors.neutral.text, - fontFamily: theme.typography.body.fontFamily, - fontSize: theme.typography.bodySmall.fontSize, - fontWeight: theme.typography.bodySmall.fontWeight, - lineHeight: theme.typography.bodySmall.lineHeight, - letterSpacing: theme.typography.bodySmall.letterSpacing, - }, - }, - }, - fontFamily: theme.typography.body.fontFamily, - fontSize: theme.typography.bodySmall.fontSize, - fontWeight: theme.typography.bodySmall.fontWeight, - lineHeight: theme.typography.bodySmall.lineHeight, - letterSpacing: theme.typography.bodySmall.letterSpacing, - textColor: theme.colors.neutral.text, - } - const tooltip = useCallback( (props: BarTooltipProps) => { const { indexValue, formattedValue, color } = tooltipFunction @@ -129,7 +95,7 @@ export const BarChart = ({ tickSize: 5, tickValues: tickValues?.left, }} - theme={chartTheme} + theme={getNivoTheme(theme)} tooltip={tooltip} keys={keys} enableLabel={false} diff --git a/packages/ui/src/components/BarStack/__stories__/Template.stories.tsx b/packages/ui/src/components/BarStack/__stories__/Template.stories.tsx index 388399da37..2dde7c991f 100644 --- a/packages/ui/src/components/BarStack/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/BarStack/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { BarStack } from '..' import { fakeData } from './mockData' diff --git a/packages/ui/src/components/BarStack/__stories__/index.stories.tsx b/packages/ui/src/components/BarStack/__stories__/index.stories.tsx index 7fe2dd8a2f..e364fe26bb 100644 --- a/packages/ui/src/components/BarStack/__stories__/index.stories.tsx +++ b/packages/ui/src/components/BarStack/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { BarStack } from '..' export default { diff --git a/packages/ui/src/components/Breadcrumbs/__stories__/AdvancedUsage.stories.tsx b/packages/ui/src/components/Breadcrumbs/__stories__/AdvancedUsage.stories.tsx index 47606894e6..2371f825e7 100644 --- a/packages/ui/src/components/Breadcrumbs/__stories__/AdvancedUsage.stories.tsx +++ b/packages/ui/src/components/Breadcrumbs/__stories__/AdvancedUsage.stories.tsx @@ -1,10 +1,10 @@ -import type { StoryFn } from '@storybook/react' -import { ArrowDownIcon, DotsHorizontalIcon } from '@ultraviolet/icons' +import type { StoryFn } from '@storybook/react-vite' +import { ArrowDownIcon, DotsHorizontalIcon, PlusIcon } from '@ultraviolet/icons' import type { ComponentProps } from 'react' import { Breadcrumbs } from '..' -import { AvatarV2 } from '../../AvatarV2' +import { Avatar } from '../../Avatar' import { Button } from '../../Button' -import { MenuV2 } from '../../MenuV2' +import { Menu } from '../../Menu' import { Stack } from '../../Stack' export const AdvancedUsage: StoryFn< @@ -12,39 +12,39 @@ export const AdvancedUsage: StoryFn< > = props => ( - - + Organization } > - + - + Aria Sinclair - - + + - + Jasper Quinn - - - + + - } > - - } > - + - Default Project - - + + - Project 1 - - + + - Project 2 - - - + + + Instance Overview Home - @@ -124,10 +120,10 @@ export const AdvancedUsage: StoryFn< } > - Instance - Private Network - Create - + Instance + Private Network + Create + Add IP diff --git a/packages/ui/src/components/Breadcrumbs/__stories__/Interactive.stories.tsx b/packages/ui/src/components/Breadcrumbs/__stories__/Interactive.stories.tsx index ed112f99af..54994d19b0 100644 --- a/packages/ui/src/components/Breadcrumbs/__stories__/Interactive.stories.tsx +++ b/packages/ui/src/components/Breadcrumbs/__stories__/Interactive.stories.tsx @@ -1,4 +1,5 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { PlusIcon, RestoreIcon } from '@ultraviolet/icons' import type { ComponentProps, MouseEvent } from 'react' import { useCallback, useState } from 'react' import { Breadcrumbs } from '..' @@ -50,19 +51,18 @@ export const Interactive: StoryFn<
diff --git a/packages/ui/src/components/Breadcrumbs/__stories__/OnClick.stories.tsx b/packages/ui/src/components/Breadcrumbs/__stories__/OnClick.stories.tsx index da34c80697..2e6a3f2716 100644 --- a/packages/ui/src/components/Breadcrumbs/__stories__/OnClick.stories.tsx +++ b/packages/ui/src/components/Breadcrumbs/__stories__/OnClick.stories.tsx @@ -1,4 +1,5 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { RestoreIcon } from '@ultraviolet/icons' import type { ComponentProps } from 'react' import { useCallback, useState } from 'react' import { Breadcrumbs } from '..' @@ -38,13 +39,13 @@ export const OnClick: StoryFn> = props => {
diff --git a/packages/ui/src/components/Breadcrumbs/__stories__/Responsive.stories.tsx b/packages/ui/src/components/Breadcrumbs/__stories__/Responsive.stories.tsx index 80901cb888..2eb2ecb928 100644 --- a/packages/ui/src/components/Breadcrumbs/__stories__/Responsive.stories.tsx +++ b/packages/ui/src/components/Breadcrumbs/__stories__/Responsive.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Breadcrumbs } from '..' diff --git a/packages/ui/src/components/Breadcrumbs/__stories__/Template.tsx b/packages/ui/src/components/Breadcrumbs/__stories__/Template.tsx index a018c29b16..0cc746ad85 100644 --- a/packages/ui/src/components/Breadcrumbs/__stories__/Template.tsx +++ b/packages/ui/src/components/Breadcrumbs/__stories__/Template.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Breadcrumbs } from '..' diff --git a/packages/ui/src/components/Breadcrumbs/__stories__/index.stories.tsx b/packages/ui/src/components/Breadcrumbs/__stories__/index.stories.tsx index cde3415d57..40a59e0f32 100644 --- a/packages/ui/src/components/Breadcrumbs/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Breadcrumbs/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Breadcrumbs } from '..' import { Item } from '../components/Item' diff --git a/packages/ui/src/components/Breadcrumbs/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Breadcrumbs/__tests__/__snapshots__/index.test.tsx.snap index d65fafc2ee..baf3a30caf 100644 --- a/packages/ui/src/components/Breadcrumbs/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Breadcrumbs/__tests__/__snapshots__/index.test.tsx.snap @@ -163,7 +163,7 @@ exports[`Breadcrumbs > click on middle item 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -175,8 +175,8 @@ exports[`Breadcrumbs > click on middle item 1`] = ` text-overflow: ellipsis; } -.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a3, +.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -187,8 +187,8 @@ exports[`Breadcrumbs > click on middle item 1`] = ` } .emotion-5:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-5:hover, @@ -201,22 +201,22 @@ exports[`Breadcrumbs > click on middle item 1`] = ` text-decoration-color: #222638; } -.emotion-5:hover .e1afnb7a2, -.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a3, .emotion-5:focus .e1afnb7a3, +.emotion-5:hover .e1afnb7a2, +.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a4, .emotion-5:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-5:hover:visited, .emotion-5:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-5[data-variant='inline'] { @@ -253,7 +253,7 @@ exports[`Breadcrumbs > click on middle item 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -265,8 +265,8 @@ exports[`Breadcrumbs > click on middle item 1`] = ` text-overflow: ellipsis; } -.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a3, +.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -277,8 +277,8 @@ exports[`Breadcrumbs > click on middle item 1`] = ` } .emotion-5:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-5:hover, @@ -291,22 +291,22 @@ exports[`Breadcrumbs > click on middle item 1`] = ` text-decoration-color: #222638; } -.emotion-5:hover .e1afnb7a2, -.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a3, .emotion-5:focus .e1afnb7a3, +.emotion-5:hover .e1afnb7a2, +.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a4, .emotion-5:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-5:hover:visited, .emotion-5:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-5[data-variant='inline'] { @@ -391,7 +391,7 @@ exports[`Breadcrumbs > click on middle item 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -419,6 +419,10 @@ exports[`Breadcrumbs > click on middle item 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-10 .e1y1n78x0 { + stroke: transparent; +} + .emotion-10:hover, .emotion-10:active { background: #e9eaeb; @@ -454,7 +458,7 @@ exports[`Breadcrumbs > click on middle item 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -482,6 +486,10 @@ exports[`Breadcrumbs > click on middle item 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-10 .e1y1n78x0 { + stroke: transparent; +} + .emotion-10:hover, .emotion-10:active { background: #e9eaeb; @@ -702,7 +710,7 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -714,8 +722,8 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` text-overflow: ellipsis; } -.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a3, +.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -726,8 +734,8 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` } .emotion-5:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-5:hover, @@ -740,22 +748,22 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` text-decoration-color: #222638; } -.emotion-5:hover .e1afnb7a2, -.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a3, .emotion-5:focus .e1afnb7a3, +.emotion-5:hover .e1afnb7a2, +.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a4, .emotion-5:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-5:hover:visited, .emotion-5:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-5[data-variant='inline'] { @@ -792,7 +800,7 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -804,8 +812,8 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` text-overflow: ellipsis; } -.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a3, +.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -816,8 +824,8 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` } .emotion-5:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-5:hover, @@ -830,22 +838,22 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` text-decoration-color: #222638; } -.emotion-5:hover .e1afnb7a2, -.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a3, .emotion-5:focus .e1afnb7a3, +.emotion-5:hover .e1afnb7a2, +.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a4, .emotion-5:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-5:hover:visited, .emotion-5:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-5[data-variant='inline'] { @@ -930,7 +938,7 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -958,6 +966,10 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-15 .e1y1n78x0 { + stroke: transparent; +} + .emotion-15:hover, .emotion-15:active { background: #e9eaeb; @@ -993,7 +1005,7 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1021,6 +1033,10 @@ exports[`Breadcrumbs > last item should no be clickable 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-15 .e1y1n78x0 { + stroke: transparent; +} + .emotion-15:hover, .emotion-15:active { background: #e9eaeb; @@ -1173,7 +1189,7 @@ exports[`Breadcrumbs > renders correctly with default values 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1185,8 +1201,8 @@ exports[`Breadcrumbs > renders correctly with default values 1`] = ` text-overflow: ellipsis; } -.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a3, +.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1197,8 +1213,8 @@ exports[`Breadcrumbs > renders correctly with default values 1`] = ` } .emotion-5:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-5:hover, @@ -1211,22 +1227,22 @@ exports[`Breadcrumbs > renders correctly with default values 1`] = ` text-decoration-color: #222638; } -.emotion-5:hover .e1afnb7a2, -.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a3, .emotion-5:focus .e1afnb7a3, +.emotion-5:hover .e1afnb7a2, +.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a4, .emotion-5:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-5:hover:visited, .emotion-5:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-5[data-variant='inline'] { @@ -1273,7 +1289,7 @@ exports[`Breadcrumbs > renders correctly with default values 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1301,6 +1317,10 @@ exports[`Breadcrumbs > renders correctly with default values 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-15 .e1y1n78x0 { + stroke: transparent; +} + .emotion-15:hover, .emotion-15:active { background: #e9eaeb; @@ -1547,7 +1567,7 @@ exports[`Breadcrumbs > renders correctly with minWidth and maxWidth 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1559,8 +1579,8 @@ exports[`Breadcrumbs > renders correctly with minWidth and maxWidth 1`] = ` text-overflow: ellipsis; } -.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a3, +.emotion-5 .e1afnb7a2, .emotion-5 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1571,8 +1591,8 @@ exports[`Breadcrumbs > renders correctly with minWidth and maxWidth 1`] = ` } .emotion-5:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-5:hover, @@ -1585,22 +1605,22 @@ exports[`Breadcrumbs > renders correctly with minWidth and maxWidth 1`] = ` text-decoration-color: #222638; } -.emotion-5:hover .e1afnb7a2, -.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a3, .emotion-5:focus .e1afnb7a3, +.emotion-5:hover .e1afnb7a2, +.emotion-5:focus .e1afnb7a2, .emotion-5:hover .e1afnb7a4, .emotion-5:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-5:hover:visited, .emotion-5:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-5[data-variant='inline'] { @@ -1678,7 +1698,7 @@ exports[`Breadcrumbs > renders correctly with minWidth and maxWidth 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1706,6 +1726,10 @@ exports[`Breadcrumbs > renders correctly with minWidth and maxWidth 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-15 .e1y1n78x0 { + stroke: transparent; +} + .emotion-15:hover, .emotion-15:active { background: #e9eaeb; diff --git a/packages/ui/src/components/Bullet/__stories__/Icon.stories.tsx b/packages/ui/src/components/Bullet/__stories__/Icon.stories.tsx index 7fe6db5602..97a9787f61 100644 --- a/packages/ui/src/components/Bullet/__stories__/Icon.stories.tsx +++ b/packages/ui/src/components/Bullet/__stories__/Icon.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { CheckIcon } from '@ultraviolet/icons' import { Bullet } from '..' diff --git a/packages/ui/src/components/Bullet/__stories__/Playground.stories.tsx b/packages/ui/src/components/Bullet/__stories__/Playground.stories.tsx index c2603a1f88..cb0a74600e 100644 --- a/packages/ui/src/components/Bullet/__stories__/Playground.stories.tsx +++ b/packages/ui/src/components/Bullet/__stories__/Playground.stories.tsx @@ -3,5 +3,5 @@ import { Template } from './Template' export const Playground = Template.bind({}) Playground.args = { - text: '1', + children: '1', } diff --git a/packages/ui/src/components/Bullet/__stories__/Sentiments.stories.tsx b/packages/ui/src/components/Bullet/__stories__/Sentiments.stories.tsx index 55efabc79e..2b0912bcfa 100644 --- a/packages/ui/src/components/Bullet/__stories__/Sentiments.stories.tsx +++ b/packages/ui/src/components/Bullet/__stories__/Sentiments.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Bullet } from '..' import { SENTIMENTS } from '../../../theme' import { Stack } from '../../Stack' @@ -11,7 +11,9 @@ export const Sentiments: StoryFn = props => ( Prominence default: {SENTIMENTS.map(sentiment => ( - + + 1 + ))}
@@ -24,8 +26,9 @@ export const Sentiments: StoryFn = props => ( key={sentiment} sentiment={sentiment} prominence="strong" - text="1" - /> + > + 1 + ))}
diff --git a/packages/ui/src/components/Bullet/__stories__/Sizes.stories.tsx b/packages/ui/src/components/Bullet/__stories__/Sizes.stories.tsx index 8653eaeefb..cfe60806a1 100644 --- a/packages/ui/src/components/Bullet/__stories__/Sizes.stories.tsx +++ b/packages/ui/src/components/Bullet/__stories__/Sizes.stories.tsx @@ -1,11 +1,13 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Bullet } from '..' export const Sizes: StoryFn = props => ( <> {(['medium', 'small', 'xsmall', 'xxsmall'] as const).map(size => (
- + + 1 +
))} diff --git a/packages/ui/src/components/Bullet/__stories__/Template.tsx b/packages/ui/src/components/Bullet/__stories__/Template.tsx index 28ace4ced1..74fecd55d7 100644 --- a/packages/ui/src/components/Bullet/__stories__/Template.tsx +++ b/packages/ui/src/components/Bullet/__stories__/Template.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Bullet } from '..' export const Template: StoryFn = ({ ...props }) => ( diff --git a/packages/ui/src/components/Bullet/__stories__/Text.stories.tsx b/packages/ui/src/components/Bullet/__stories__/Text.stories.tsx index 6f3d31d6f4..d525a0a352 100644 --- a/packages/ui/src/components/Bullet/__stories__/Text.stories.tsx +++ b/packages/ui/src/components/Bullet/__stories__/Text.stories.tsx @@ -1,13 +1,13 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Bullet } from '..' -export const Text: StoryFn = props => +export const Text: StoryFn = props => A Text.parameters = { docs: { description: { story: - 'Set `text` using text property. Sentiment and size props affect text.', + 'Set `text` using children. Sentiment and size props affect children.', }, }, } diff --git a/packages/ui/src/components/Bullet/__stories__/Tooltip.stories.tsx b/packages/ui/src/components/Bullet/__stories__/Tooltip.stories.tsx index 883d2d79bd..400ad836d0 100644 --- a/packages/ui/src/components/Bullet/__stories__/Tooltip.stories.tsx +++ b/packages/ui/src/components/Bullet/__stories__/Tooltip.stories.tsx @@ -3,7 +3,7 @@ import { Template } from './Template' export const Tooltip = Template.bind({}) Tooltip.args = { - text: '1', + children: '1', tooltip: 'tooltip text', } diff --git a/packages/ui/src/components/Bullet/__stories__/index.stories.tsx b/packages/ui/src/components/Bullet/__stories__/index.stories.tsx index a184f58fc9..97353c6e78 100644 --- a/packages/ui/src/components/Bullet/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Bullet/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Bullet } from '..' export default { diff --git a/packages/ui/src/components/Bullet/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Bullet/__tests__/__snapshots__/index.test.tsx.snap index d9e7a468b9..01545440b7 100644 --- a/packages/ui/src/components/Bullet/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Bullet/__tests__/__snapshots__/index.test.tsx.snap @@ -63,10 +63,10 @@ exports[`Bullet > renders correctly with an icon 1`] = ` .emotion-2 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-2 .fillStroke { @@ -74,10 +74,6 @@ exports[`Bullet > renders correctly with an icon 1`] = ` fill: none; } -.emotion-2 path { - fill: currentColor; -} -
@@ -86,13 +82,10 @@ exports[`Bullet > renders correctly with an icon 1`] = ` >
@@ -127,10 +120,10 @@ exports[`Bullet > renders correctly with an icon and icon variant 1`] = ` .emotion-2 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-2 .fillStroke { @@ -138,10 +131,6 @@ exports[`Bullet > renders correctly with an icon and icon variant 1`] = ` fill: none; } -.emotion-2 path { - fill: currentColor; -} -
@@ -150,14 +139,11 @@ exports[`Bullet > renders correctly with an icon and icon variant 1`] = ` > diff --git a/packages/ui/src/components/Bullet/__tests__/index.test.tsx b/packages/ui/src/components/Bullet/__tests__/index.test.tsx index ac4ba806e8..d8844e3a4f 100644 --- a/packages/ui/src/components/Bullet/__tests__/index.test.tsx +++ b/packages/ui/src/components/Bullet/__tests__/index.test.tsx @@ -1,3 +1,4 @@ +import { MoonIcon, MoonOutlineIcon } from '@ultraviolet/icons' import { shouldMatchEmotionSnapshot } from '@utils/test' import { describe, test } from 'vitest' import { Bullet } from '..' @@ -5,25 +6,33 @@ import { SENTIMENTS } from '../../../theme' describe('Bullet', () => { test('renders correctly with a text', () => - shouldMatchEmotionSnapshot()) + shouldMatchEmotionSnapshot(1)) test('renders correctly with an icon', () => - shouldMatchEmotionSnapshot()) + shouldMatchEmotionSnapshot( + + + , + )) test('renders correctly with an icon and icon variant', () => - shouldMatchEmotionSnapshot()) + shouldMatchEmotionSnapshot( + + + , + )) describe('sentiment', () => { ;['disabled', ...SENTIMENTS].forEach(sentiment => { test(`render ${sentiment}`, () => - shouldMatchEmotionSnapshot()) + shouldMatchEmotionSnapshot(1)) }) }) describe('size', () => { ;(['medium', 'small', 'xsmall', 'xxsmall'] as const).forEach(size => { test(`render ${size}`, () => - shouldMatchEmotionSnapshot()) + shouldMatchEmotionSnapshot(1)) }) }) }) diff --git a/packages/ui/src/components/Bullet/index.tsx b/packages/ui/src/components/Bullet/index.tsx index 47ac447ee5..b79eccc5e2 100644 --- a/packages/ui/src/components/Bullet/index.tsx +++ b/packages/ui/src/components/Bullet/index.tsx @@ -2,8 +2,7 @@ import type { Theme } from '@emotion/react' import styled from '@emotion/styled' -import { Icon } from '@ultraviolet/icons/legacy' -import type { ComponentProps, ReactNode } from 'react' +import type { ReactNode } from 'react' import { SENTIMENTS, SENTIMENTS_WITHOUT_NEUTRAL } from '../../theme' import capitalize from '../../utils/capitalize' import { Tooltip } from '../Tooltip' @@ -94,7 +93,8 @@ const StyledContainer = styled('div')` align-items: center; width: ${({ size, theme }) => theme.sizing[SIZES[size]]}; height: ${({ size, theme }) => theme.sizing[SIZES[size]]}; - font-size: ${({ size, theme }) => theme.typography[TEXT_VARIANT[size]].fontSize}; + font-size: ${({ size, theme }) => + theme.typography[TEXT_VARIANT[size]].fontSize}; ${({ theme, prominence, sentiment }) => (sentimentStyles({ theme, prominence }) as Record)[ sentiment @@ -110,18 +110,6 @@ type BulletProps = { 'data-testid'?: string prominence?: ProminenceType children?: ReactNode - /** - * @deprecated Add the icon directly into the children - */ - icon?: ComponentProps['name'] - /** - * @deprecated Add the icon directly into the children - */ - iconVariant?: ComponentProps['variant'] - /** - * @deprecated Add the text directly into the children - */ - text?: string } /** @@ -131,9 +119,6 @@ export const Bullet = ({ className, sentiment = 'neutral', size = 'medium', - icon, - iconVariant, - text, tooltip, tooltipBaseId, 'data-testid': dataTestId, @@ -148,7 +133,6 @@ export const Bullet = ({ data-testid={dataTestId} prominence={prominence} > - {icon ? : text} {children} diff --git a/packages/ui/src/components/Button/__stories__/AsLink.stories.tsx b/packages/ui/src/components/Button/__stories__/AsLink.stories.tsx index b24093216f..85c1dbdfe1 100644 --- a/packages/ui/src/components/Button/__stories__/AsLink.stories.tsx +++ b/packages/ui/src/components/Button/__stories__/AsLink.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { PencilIcon } from '@ultraviolet/icons' import { Button, buttonVariants } from '..' import { Stack } from '../..' diff --git a/packages/ui/src/components/Button/__stories__/Showcase.stories.tsx b/packages/ui/src/components/Button/__stories__/Showcase.stories.tsx index c0340a2f00..ddd6512e2b 100644 --- a/packages/ui/src/components/Button/__stories__/Showcase.stories.tsx +++ b/packages/ui/src/components/Button/__stories__/Showcase.stories.tsx @@ -1,5 +1,5 @@ import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Button, buttonVariants } from '..' import { Stack, Table, Text } from '../..' import type { ExtendedColor } from '../../../theme' diff --git a/packages/ui/src/components/Button/__stories__/Size.stories.tsx b/packages/ui/src/components/Button/__stories__/Size.stories.tsx index d9f49d2c17..1e4cc01405 100644 --- a/packages/ui/src/components/Button/__stories__/Size.stories.tsx +++ b/packages/ui/src/components/Button/__stories__/Size.stories.tsx @@ -1,11 +1,13 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { PencilIcon } from '@ultraviolet/icons' import { Button, buttonSizes } from '..' import { Stack } from '../..' export const Size: StoryFn = args => ( {buttonSizes.map(size => ( - ))} diff --git a/packages/ui/src/components/Button/__stories__/Template.stories.tsx b/packages/ui/src/components/Button/__stories__/Template.stories.tsx index b041c22cd6..c6afd631ea 100644 --- a/packages/ui/src/components/Button/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Button/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Button } from '..' export const Template: StoryFn = args => -
- -`; - -exports[`Button > render with icon only 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -643,13 +729,13 @@ exports[`Button > render with icon only 1`] = ` position: relative; height: 3rem; padding: 0 1rem; - -webkit-flex-direction: row-reverse; - -ms-flex-direction: row-reverse; - flex-direction: row-reverse; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 3rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -664,7 +750,7 @@ exports[`Button > render with icon only 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -682,13 +768,17 @@ exports[`Button > render with icon only 1`] = ` text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-2 .fillStroke { @@ -696,10 +786,6 @@ exports[`Button > render with icon only 1`] = ` fill: none; } -.emotion-2 path { - fill: currentColor; -} -
@@ -708,19 +794,16 @@ exports[`Button > render with icon only 1`] = ` disabled="" type="button" > + Hello @@ -728,7 +811,7 @@ exports[`Button > render with icon only 1`] = ` `; -exports[`Button > render with isLoading with icon 1`] = ` +exports[`Button > render with icon only 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -759,7 +842,7 @@ exports[`Button > render with isLoading with icon 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -777,65 +860,11 @@ exports[`Button > render with isLoading with icon 1`] = ` text-decoration: none; } -.emotion-2 { - -webkit-animation: spin 0.75s linear infinite; - animation: spin 0.75s linear infinite; -} - -.emotion-4 { - -webkit-transition: stroke-dashoffset 0.5s ease 0s; - transition: stroke-dashoffset 0.5s ease 0s; +.emotion-0 .e1y1n78x0 { + stroke: transparent; } -
- -
-
-`; - -exports[`Button > render with isLoading with icon variant 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -854,7 +883,7 @@ exports[`Button > render with isLoading with icon variant 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; + cursor: not-allowed; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; @@ -864,15 +893,17 @@ exports[`Button > render with isLoading with icon variant 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: none; - border: 1px solid #8c40ef; - color: #641cb3; + background: #8c40ef; + border: none; + color: #ffffff; + background: #e5dbfd; + color: #ffffff; } .emotion-0:hover { @@ -880,24 +911,17 @@ exports[`Button > render with isLoading with icon variant 1`] = ` text-decoration: none; } -.emotion-0:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-0:hover, -.emotion-0:active { - background: #e5dbfd; - color: #521094; - border: 1px solid #792dd4; +.emotion-0 .e1y1n78x0 { + stroke: transparent; } .emotion-2 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-2 .fillStroke { @@ -905,39 +929,30 @@ exports[`Button > render with isLoading with icon variant 1`] = ` fill: none; } -.emotion-2 path { - fill: currentColor; -} -
`; -exports[`Button > render with isLoading without icon 1`] = ` +exports[`Button > render with isLoading with icon 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -968,7 +983,7 @@ exports[`Button > render with isLoading without icon 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -986,16 +1001,89 @@ exports[`Button > render with isLoading without icon 1`] = ` text-decoration: none; } -.emotion-2 { +.emotion-0 .emotion-5 { + stroke: transparent; +} + +.emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; + background: #e5dbfd; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .emotion-5 { + stroke: transparent; +} + +.emotion-2 { -webkit-animation: spin 0.75s linear infinite; animation: spin 0.75s linear infinite; } .emotion-4 { + stroke: #d9dadd; +} + +.emotion-6 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } +.emotion-7 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-7 .fillStroke { + stroke: currentColor; + fill: none; +} +
@@ -1012,37 +1100,925 @@ exports[`Button > render with isLoading without icon 1`] = ` aria-valuetext="20%" class="emotion-2 emotion-3" role="progressbar" - style="height: 1em; width: 1em;" + style="height: 1rem; width: 1rem;" viewBox="0 0 100 100" > + + + + + Hello + +
+
+`; + +exports[`Button > render with isLoading with icon variant 1`] = ` + + .emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0:hover, +.emotion-0:active { + background: #792dd4; + color: #f9f9fa; +} + +.emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0:hover, +.emotion-0:active { + background: #792dd4; + color: #f9f9fa; +} + +.emotion-2 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-2 .fillStroke { + stroke: currentColor; + fill: none; +} + +
+ +
+
+`; + +exports[`Button > render with isLoading without icon 1`] = ` + + .emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; + background: #e5dbfd; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .emotion-5 { + stroke: transparent; +} + +.emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; + background: #e5dbfd; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .emotion-5 { + stroke: transparent; +} + +.emotion-2 { + -webkit-animation: spin 0.75s linear infinite; + animation: spin 0.75s linear infinite; +} + +.emotion-4 { + stroke: #d9dadd; +} + +.emotion-6 { + -webkit-transition: stroke-dashoffset 0.5s ease 0s; + transition: stroke-dashoffset 0.5s ease 0s; +} + +
+ +
+
+`; + +exports[`Button > render xsmall 1`] = ` + + .emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 1.5rem; + padding: 0 0.25rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.25rem; + paragraph-spacing: 0; + text-case: none; + background: #8c40ef; + border: none; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0:active { + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0:hover, +.emotion-0:active { + background: #792dd4; + color: #f9f9fa; +} + +
+ +
+
+`; + +exports[`Button > variant-sentiment-disabled combination > render filled&black 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render filled&black disabled 1`] = ` + + .emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #151a2d; + border: none; + color: #ffffff; + background: #e9eaeb; + color: #b5b7bd; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #151a2d; + border: none; + color: #ffffff; + background: #e9eaeb; + color: #b5b7bd; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +
+ +
+
+`; + +exports[`Button > variant-sentiment-disabled combination > render filled&danger 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render filled&danger disabled 1`] = ` + + .emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #e51963; + border: none; + color: #ffffff; + background: #ffd3e3; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #e51963; + border: none; + color: #ffffff; + background: #ffd3e3; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +
+ +
+
+`; + +exports[`Button > variant-sentiment-disabled combination > render filled&info 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render filled&info disabled 1`] = ` + + .emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #0078d2; + border: none; + color: #ffffff; + background: #bee3ff; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #0078d2; + border: none; + color: #ffffff; + background: #bee3ff; + color: #ffffff; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +
+ +
+
+`; + +exports[`Button > variant-sentiment-disabled combination > render filled&neutral 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render filled&neutral disabled 1`] = ` + + .emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #e9eaeb; + border: none; + color: #222638; + background: #f3f3f4; + color: #b5b7bd; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: #e9eaeb; + border: none; + color: #222638; + background: #f3f3f4; + color: #b5b7bd; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +
+
`; -exports[`Button > render xsmall 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render filled&primary 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render filled&primary disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -1050,12 +2026,12 @@ exports[`Button > render xsmall 1`] = ` display: -ms-inline-flexbox; display: inline-flex; position: relative; - height: 1.5rem; - padding: 0 0.25rem; + height: 3rem; + padding: 0 1rem; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - gap: 0.25rem; + gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; width: auto; @@ -1063,7 +2039,7 @@ exports[`Button > render xsmall 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; + cursor: not-allowed; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; @@ -1072,16 +2048,18 @@ exports[`Button > render xsmall 1`] = ` white-space: nowrap; -webkit-text-decoration: none; text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-size: 1rem; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; - line-height: 1.25rem; + line-height: 1.5rem; paragraph-spacing: 0; text-case: none; background: #8c40ef; border: none; color: #ffffff; + background: #e5dbfd; + color: #ffffff; } .emotion-0:hover { @@ -1089,32 +2067,11 @@ exports[`Button > render xsmall 1`] = ` text-decoration: none; } -.emotion-0:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-0:hover, -.emotion-0:active { - background: #792dd4; - color: #f9f9fa; +.emotion-0 .e1y1n78x0 { + stroke: transparent; } -
- -
-
-`; - -exports[`Button > variant-sentiment-disabled combination > render filled&danger 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1143,16 +2100,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&danger -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #e51963; + background: #8c40ef; border: none; color: #ffffff; - background: #ffd3e3; + background: #e5dbfd; color: #ffffff; } @@ -1161,6 +2118,10 @@ exports[`Button > variant-sentiment-disabled combination > render filled&danger text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -1175,7 +2136,9 @@ exports[`Button > variant-sentiment-disabled combination > render filled&danger `; -exports[`Button > variant-sentiment-disabled combination > render filled&danger disabled 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render filled&secondary 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render filled&secondary disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -1206,16 +2169,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&danger -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #e51963; + background: #b824f9; border: none; color: #ffffff; - background: #ffd3e3; + background: #f2d5ff; color: #ffffff; } @@ -1224,23 +2187,11 @@ exports[`Button > variant-sentiment-disabled combination > render filled&danger text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render filled&info 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1269,16 +2220,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&info 1` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #0078d2; + background: #b824f9; border: none; color: #ffffff; - background: #bee3ff; + background: #f2d5ff; color: #ffffff; } @@ -1287,6 +2238,10 @@ exports[`Button > variant-sentiment-disabled combination > render filled&info 1` text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -1301,7 +2256,9 @@ exports[`Button > variant-sentiment-disabled combination > render filled&info 1` `; -exports[`Button > variant-sentiment-disabled combination > render filled&info disabled 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render filled&success 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render filled&success disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -1332,16 +2289,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&info di -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #0078d2; + background: #2c8564; border: none; color: #ffffff; - background: #bee3ff; + background: #adebd5; color: #ffffff; } @@ -1350,23 +2307,11 @@ exports[`Button > variant-sentiment-disabled combination > render filled&info di text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render filled&neutral 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1395,17 +2340,17 @@ exports[`Button > variant-sentiment-disabled combination > render filled&neutral -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #e9eaeb; + background: #2c8564; border: none; - color: #222638; - background: #f3f3f4; - color: #b5b7bd; + color: #ffffff; + background: #adebd5; + color: #ffffff; } .emotion-0:hover { @@ -1413,6 +2358,10 @@ exports[`Button > variant-sentiment-disabled combination > render filled&neutral text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -1427,7 +2376,9 @@ exports[`Button > variant-sentiment-disabled combination > render filled&neutral `; -exports[`Button > variant-sentiment-disabled combination > render filled&neutral disabled 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render filled&warning 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render filled&warning disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -1458,17 +2409,17 @@ exports[`Button > variant-sentiment-disabled combination > render filled&neutral -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #e9eaeb; + background: #fbc600; border: none; color: #222638; - background: #f3f3f4; - color: #b5b7bd; + background: #fff0b8; + color: #ffffff; } .emotion-0:hover { @@ -1476,23 +2427,11 @@ exports[`Button > variant-sentiment-disabled combination > render filled&neutral text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render filled&primary 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1521,16 +2460,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&primary -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #8c40ef; + background: #fbc600; border: none; - color: #ffffff; - background: #e5dbfd; + color: #222638; + background: #fff0b8; color: #ffffff; } @@ -1539,6 +2478,10 @@ exports[`Button > variant-sentiment-disabled combination > render filled&primary text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -1553,7 +2496,9 @@ exports[`Button > variant-sentiment-disabled combination > render filled&primary `; -exports[`Button > variant-sentiment-disabled combination > render filled&primary disabled 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render filled&white 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render filled&white disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -1584,17 +2529,17 @@ exports[`Button > variant-sentiment-disabled combination > render filled&primary -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #8c40ef; + background: #ffffff; border: none; - color: #ffffff; - background: #e5dbfd; - color: #ffffff; + color: #151a2d; + background: #e9eaeb; + color: #b5b7bd; } .emotion-0:hover { @@ -1602,23 +2547,11 @@ exports[`Button > variant-sentiment-disabled combination > render filled&primary text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render filled&secondary 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1647,17 +2580,17 @@ exports[`Button > variant-sentiment-disabled combination > render filled&seconda -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #b824f9; + background: #ffffff; border: none; - color: #ffffff; - background: #f2d5ff; - color: #ffffff; + color: #151a2d; + background: #e9eaeb; + color: #b5b7bd; } .emotion-0:hover { @@ -1665,6 +2598,10 @@ exports[`Button > variant-sentiment-disabled combination > render filled&seconda text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -1679,7 +2616,9 @@ exports[`Button > variant-sentiment-disabled combination > render filled&seconda `; -exports[`Button > variant-sentiment-disabled combination > render filled&secondary disabled 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render ghost&black 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render ghost&black disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -1710,17 +2649,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&seconda -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #b824f9; + background: none; border: none; - color: #ffffff; - background: #f2d5ff; - color: #ffffff; + color: #151a2d; + color: #b5b7bd; } .emotion-0:hover { @@ -1728,23 +2666,11 @@ exports[`Button > variant-sentiment-disabled combination > render filled&seconda text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render filled&success 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1773,17 +2699,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&success -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #2c8564; + background: none; border: none; - color: #ffffff; - background: #adebd5; - color: #ffffff; + color: #151a2d; + color: #b5b7bd; } .emotion-0:hover { @@ -1791,6 +2716,10 @@ exports[`Button > variant-sentiment-disabled combination > render filled&success text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -1805,9 +2734,61 @@ exports[`Button > variant-sentiment-disabled combination > render filled&success `; -exports[`Button > variant-sentiment-disabled combination > render filled&success disabled 1`] = ` - - .emotion-0 { +exports[`Button > variant-sentiment-disabled combination > render ghost&danger 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render ghost&danger disabled 1`] = ` + + .emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: none; + border: none; + color: #b3144d; + color: #ffbbd3; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1836,17 +2817,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&success -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #2c8564; + background: none; border: none; - color: #ffffff; - background: #adebd5; - color: #ffffff; + color: #b3144d; + color: #ffbbd3; } .emotion-0:hover { @@ -1854,6 +2834,10 @@ exports[`Button > variant-sentiment-disabled combination > render filled&success text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -1868,7 +2852,9 @@ exports[`Button > variant-sentiment-disabled combination > render filled&success `; -exports[`Button > variant-sentiment-disabled combination > render filled&warning 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render ghost&info 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render ghost&info disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -1899,17 +2885,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&warning -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #fbc600; + background: none; border: none; - color: #222638; - background: #fff0b8; - color: #ffffff; + color: #005da3; + color: #9ad4ff; } .emotion-0:hover { @@ -1917,23 +2902,11 @@ exports[`Button > variant-sentiment-disabled combination > render filled&warning text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render filled&warning disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1962,17 +2935,16 @@ exports[`Button > variant-sentiment-disabled combination > render filled&warning -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: #fbc600; + background: none; border: none; - color: #222638; - background: #fff0b8; - color: #ffffff; + color: #005da3; + color: #9ad4ff; } .emotion-0:hover { @@ -1980,6 +2952,10 @@ exports[`Button > variant-sentiment-disabled combination > render filled&warning text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -1994,7 +2970,9 @@ exports[`Button > variant-sentiment-disabled combination > render filled&warning `; -exports[`Button > variant-sentiment-disabled combination > render ghost&danger 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render ghost&neutral 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render ghost&neutral disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -2025,7 +3003,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&danger 1 -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2033,8 +3011,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&danger 1 text-case: none; background: none; border: none; - color: #b3144d; - color: #ffbbd3; + color: #3f4250; + color: #b5b7bd; } .emotion-0:hover { @@ -2042,23 +3020,11 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&danger 1 text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render ghost&danger disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2087,7 +3053,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&danger d -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2095,8 +3061,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&danger d text-case: none; background: none; border: none; - color: #b3144d; - color: #ffbbd3; + color: #3f4250; + color: #b5b7bd; } .emotion-0:hover { @@ -2104,6 +3070,10 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&danger d text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -2118,7 +3088,9 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&danger d `; -exports[`Button > variant-sentiment-disabled combination > render ghost&info 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render ghost&primary 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render ghost&primary disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -2149,7 +3121,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&info 1`] -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2157,8 +3129,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&info 1`] text-case: none; background: none; border: none; - color: #005da3; - color: #9ad4ff; + color: #641cb3; + color: #d8c5fc; } .emotion-0:hover { @@ -2166,23 +3138,11 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&info 1`] text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render ghost&info disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2211,7 +3171,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&info dis -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2219,8 +3179,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&info dis text-case: none; background: none; border: none; - color: #005da3; - color: #9ad4ff; + color: #641cb3; + color: #d8c5fc; } .emotion-0:hover { @@ -2228,6 +3188,10 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&info dis text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -2242,7 +3206,9 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&info dis `; -exports[`Button > variant-sentiment-disabled combination > render ghost&neutral 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render ghost&secondary 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render ghost&secondary disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -2273,7 +3239,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&neutral -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2281,8 +3247,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&neutral text-case: none; background: none; border: none; - color: #3f4250; - color: #b5b7bd; + color: #ac22e7; + color: #ebbcff; } .emotion-0:hover { @@ -2290,23 +3256,11 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&neutral text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render ghost&neutral disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2335,7 +3289,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&neutral -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2343,8 +3297,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&neutral text-case: none; background: none; border: none; - color: #3f4250; - color: #b5b7bd; + color: #ac22e7; + color: #ebbcff; } .emotion-0:hover { @@ -2352,6 +3306,10 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&neutral text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -2366,7 +3324,9 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&neutral `; -exports[`Button > variant-sentiment-disabled combination > render ghost&primary 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render ghost&success 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render ghost&success disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -2397,7 +3357,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&primary -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2405,8 +3365,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&primary text-case: none; background: none; border: none; - color: #641cb3; - color: #d8c5fc; + color: #22674e; + color: #7ee0bc; } .emotion-0:hover { @@ -2414,23 +3374,11 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&primary text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render ghost&primary disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2459,7 +3407,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&primary -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2467,8 +3415,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&primary text-case: none; background: none; border: none; - color: #641cb3; - color: #d8c5fc; + color: #22674e; + color: #7ee0bc; } .emotion-0:hover { @@ -2476,6 +3424,10 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&primary text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -2490,7 +3442,9 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&primary `; -exports[`Button > variant-sentiment-disabled combination > render ghost&secondary 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render ghost&warning 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render ghost&warning disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -2521,7 +3475,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&secondar -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2529,8 +3483,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&secondar text-case: none; background: none; border: none; - color: #ac22e7; - color: #ebbcff; + color: #7c5400; + color: #ffdd5f; } .emotion-0:hover { @@ -2538,23 +3492,11 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&secondar text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render ghost&secondary disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2583,7 +3525,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&secondar -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2591,8 +3533,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&secondar text-case: none; background: none; border: none; - color: #ac22e7; - color: #ebbcff; + color: #7c5400; + color: #ffdd5f; } .emotion-0:hover { @@ -2600,6 +3542,10 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&secondar text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -2614,7 +3560,9 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&secondar `; -exports[`Button > variant-sentiment-disabled combination > render ghost&success 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render ghost&white 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render ghost&white disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -2645,7 +3593,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&success -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2653,8 +3601,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&success text-case: none; background: none; border: none; - color: #22674e; - color: #7ee0bc; + color: #ffffff; + color: #b5b7bd; } .emotion-0:hover { @@ -2662,23 +3610,11 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&success text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render ghost&success disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2707,7 +3643,7 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&success -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2715,8 +3651,8 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&success text-case: none; background: none; border: none; - color: #22674e; - color: #7ee0bc; + color: #ffffff; + color: #b5b7bd; } .emotion-0:hover { @@ -2724,6 +3660,10 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&success text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -2738,7 +3678,9 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&success `; -exports[`Button > variant-sentiment-disabled combination > render ghost&warning 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render outlined&black 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render outlined&black disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -2769,40 +3711,29 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&warning -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; - background: none; - border: none; - color: #7c5400; - color: #ffdd5f; -} - -.emotion-0:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -
- -
-
-`; + background: none; + border: 1px solid #151a2d; + color: #151a2d; + color: #b5b7bd; + border: 1px solid #b5b7bd; +} -exports[`Button > variant-sentiment-disabled combination > render ghost&warning disabled 1`] = ` - - .emotion-0 { +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2831,16 +3762,17 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&warning -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; background: none; - border: none; - color: #7c5400; - color: #ffdd5f; + border: 1px solid #151a2d; + color: #151a2d; + color: #b5b7bd; + border: 1px solid #b5b7bd; } .emotion-0:hover { @@ -2848,6 +3780,10 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&warning text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -2862,7 +3798,9 @@ exports[`Button > variant-sentiment-disabled combination > render ghost&warning `; -exports[`Button > variant-sentiment-disabled combination > render outlined&danger 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render outlined&danger 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render outlined&danger disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -2893,7 +3831,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&dange -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2911,23 +3849,11 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&dange text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render outlined&danger disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2956,7 +3882,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&dange -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2974,6 +3900,10 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&dange text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -2988,7 +3918,9 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&dange `; -exports[`Button > variant-sentiment-disabled combination > render outlined&info 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render outlined&info 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render outlined&info disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -3019,7 +3951,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&info -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3037,23 +3969,11 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&info text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render outlined&info disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3082,7 +4002,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&info -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3100,6 +4020,10 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&info text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -3114,7 +4038,9 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&info `; -exports[`Button > variant-sentiment-disabled combination > render outlined&neutral 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render outlined&neutral 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render outlined&neutral disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -3145,7 +4071,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&neutr -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3163,23 +4089,11 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&neutr text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render outlined&neutral disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3208,7 +4122,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&neutr -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3226,6 +4140,10 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&neutr text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -3240,7 +4158,9 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&neutr `; -exports[`Button > variant-sentiment-disabled combination > render outlined&primary 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render outlined&primary 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render outlined&primary disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -3271,7 +4191,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&prima -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3289,23 +4209,11 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&prima text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render outlined&primary disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3334,7 +4242,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&prima -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3352,6 +4260,10 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&prima text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -3366,7 +4278,9 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&prima `; -exports[`Button > variant-sentiment-disabled combination > render outlined&secondary 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render outlined&secondary 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render outlined&secondary disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -3397,7 +4311,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&secon -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3415,23 +4329,11 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&secon text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render outlined&secondary disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3460,7 +4362,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&secon -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3478,6 +4380,10 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&secon text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -3492,7 +4398,9 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&secon `; -exports[`Button > variant-sentiment-disabled combination > render outlined&success 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render outlined&success 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render outlined&success disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -3523,7 +4431,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&succe -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3541,23 +4449,11 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&succe text-decoration: none; } -
- -
-
-`; +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} -exports[`Button > variant-sentiment-disabled combination > render outlined&success disabled 1`] = ` - - .emotion-0 { +.emotion-0 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3586,7 +4482,7 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&succe -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3604,6 +4500,10 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&succe text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -3618,7 +4518,9 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&succe `; -exports[`Button > variant-sentiment-disabled combination > render outlined&warning 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render outlined&warning 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render outlined&warning disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -3649,7 +4551,58 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&warni -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: none; + border: 1px solid #7c5400; + color: #7c5400; + color: #ffdd5f; + border: 1px solid #ffdd5f; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3667,6 +4620,10 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&warni text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -3681,7 +4638,9 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&warni `; -exports[`Button > variant-sentiment-disabled combination > render outlined&warning disabled 1`] = ` +exports[`Button > variant-sentiment-disabled combination > render outlined&white 1`] = `[Function]`; + +exports[`Button > variant-sentiment-disabled combination > render outlined&white disabled 1`] = ` .emotion-0 { display: -webkit-inline-box; @@ -3712,17 +4671,68 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&warni -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; paragraph-spacing: 0; text-case: none; background: none; - border: 1px solid #7c5400; - color: #7c5400; - color: #ffdd5f; - border: 1px solid #ffdd5f; + border: 1px solid #ffffff; + color: #ffffff; + color: #b5b7bd; + border: 1px solid #b5b7bd; +} + +.emotion-0:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-0 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 3rem; + padding: 0 1rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: not-allowed; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + paragraph-spacing: 0; + text-case: none; + background: none; + border: 1px solid #ffffff; + color: #ffffff; + color: #b5b7bd; + border: 1px solid #b5b7bd; } .emotion-0:hover { @@ -3730,6 +4740,10 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&warni text-decoration: none; } +.emotion-0 .e1y1n78x0 { + stroke: transparent; +} +
@@ -3743,3 +4757,5 @@ exports[`Button > variant-sentiment-disabled combination > render outlined&warni
`; + +exports[`Button > work with onPointerDown and onKeyDown 1`] = `[Function]`; diff --git a/packages/ui/src/components/Button/__tests__/index.test.tsx b/packages/ui/src/components/Button/__tests__/index.test.tsx index 6eddca76f8..c6889e28cc 100644 --- a/packages/ui/src/components/Button/__tests__/index.test.tsx +++ b/packages/ui/src/components/Button/__tests__/index.test.tsx @@ -1,16 +1,20 @@ -import { shouldMatchEmotionSnapshot } from '@utils/test' -import { describe, test } from 'vitest' +import { screen } from '@testing-library/react' +import { userEvent } from '@testing-library/user-event' +import { PencilIcon, PencilOutlineIcon } from '@ultraviolet/icons' +import { renderWithTheme, shouldMatchEmotionSnapshot } from '@utils/test' +import { describe, expect, test, vi } from 'vitest' import { Button, buttonSizes, buttonVariants } from '..' import { SENTIMENTS } from '../../../theme' const MockOnClick = () => {} +const EXTENDED_SENTIMENTS = [...SENTIMENTS, 'black', 'white'] as const describe('Button', () => { describe('variant-sentiment-disabled combination', () => { buttonVariants.forEach(variant => { - SENTIMENTS.forEach(sentiment => { - test(`render ${variant}&${sentiment}`, () => - shouldMatchEmotionSnapshot( + EXTENDED_SENTIMENTS.forEach(sentiment => { + test(`render ${variant}&${sentiment}`, async () => { + const { asFragment } = renderWithTheme( , - )) + ) + + await userEvent.hover(screen.getByRole('button')) + expect(asFragment).toMatchSnapshot() + }) test(`render ${variant}&${sentiment} disabled`, () => shouldMatchEmotionSnapshot( , + ) + await userEvent.click(screen.getByRole('button')) + expect(onPointerDown).toHaveBeenCalledOnce() + await userEvent.keyboard('a') + expect(onKeyDown).toHaveBeenCalledOnce() + + expect(asFragment).toMatchSnapshot() + }) + test(`render with icon`, () => shouldMatchEmotionSnapshot( - , )) test(`render with icon on the right`, () => shouldMatchEmotionSnapshot( - , )) test(`render with icon only`, () => shouldMatchEmotionSnapshot( - , )) test(`render with fullWidth`, () => @@ -84,14 +114,16 @@ describe('Button', () => { test(`render with isLoading with icon`, () => shouldMatchEmotionSnapshot( - , )) test(`render with isLoading with icon variant`, () => shouldMatchEmotionSnapshot( - , )) diff --git a/packages/ui/src/components/Button/index.tsx b/packages/ui/src/components/Button/index.tsx index 7a7ea19d08..0f05e15dfe 100644 --- a/packages/ui/src/components/Button/index.tsx +++ b/packages/ui/src/components/Button/index.tsx @@ -1,19 +1,18 @@ 'use client' import type { Theme } from '@emotion/react' +import { useTheme } from '@emotion/react' import styled from '@emotion/styled' -import { Icon } from '@ultraviolet/icons/legacy' import type { AriaRole, ButtonHTMLAttributes, - ComponentProps, MouseEventHandler, ReactNode, Ref, } from 'react' -import { forwardRef } from 'react' +import { forwardRef, useMemo } from 'react' import type { ExtendedColor } from '../../theme' -import { Loader } from '../Loader' +import { Loader, StyledCircle } from '../Loader' import { Tooltip } from '../Tooltip' import { SIZE_GAP_KEY, SIZE_HEIGHT, SIZE_PADDING_KEY } from './constants' @@ -40,20 +39,15 @@ const isMonochrome = (sentiment: ExtendedColor) => // VARIANTS type StyledButtonProps = Required< - Pick< - FinalProps, - 'size' | 'sentiment' | 'disabled' | 'iconPosition' | 'fullWidth' - > -> & { iconOnly: boolean } + Pick +> const coreStyle = ({ theme, size, sentiment, - iconPosition, fullWidth, disabled, - iconOnly, }: { theme: Theme } & StyledButtonProps) => { const font = size === 'large' @@ -63,8 +57,6 @@ const coreStyle = ({ let width = 'auto' if (fullWidth) { width = '100%' - } else if (iconOnly) { - width = `${theme.sizing[SIZE_HEIGHT[size]]}` } return ` @@ -72,7 +64,7 @@ const coreStyle = ({ position: relative; height: ${theme.sizing[SIZE_HEIGHT[size]]}; padding: 0 ${theme.space[SIZE_PADDING_KEY[size]]}; - flex-direction: ${iconPosition === 'right' ? 'row-reverse' : 'row'}; + flex-direction: row; gap: ${theme.space[SIZE_GAP_KEY[size]]}; border-radius: ${theme.radii.default}; box-sizing: border-box; @@ -110,13 +102,14 @@ const coreStyle = ({ } const StyledFilledButton = styled('button', { - shouldForwardProp: prop => - !['size', 'sentiment', 'iconPosition', 'fullWidth', 'iconOnly'].includes( - prop, - ), + shouldForwardProp: prop => !['size', 'sentiment', 'fullWidth'].includes(prop), })` ${args => coreStyle(args)} + ${StyledCircle} { + stroke: transparent; + } + background: ${({ theme, sentiment }) => !isMonochrome(sentiment) ? theme.colors[sentiment].backgroundStrong @@ -142,12 +135,13 @@ const StyledFilledButton = styled('button', { ` const StyledOutlinedButton = styled('button', { - shouldForwardProp: prop => - !['size', 'sentiment', 'iconPosition', 'fullWidth', 'iconOnly'].includes( - prop, - ), + shouldForwardProp: prop => !['size', 'sentiment', 'fullWidth'].includes(prop), })` ${args => coreStyle(args)} + + ${StyledCircle} { + stroke: transparent; + } background: none; border: 1px solid @@ -196,13 +190,14 @@ const StyledOutlinedButton = styled('button', { ` const StyledGhostButton = styled('button', { - shouldForwardProp: prop => - !['size', 'sentiment', 'iconPosition', 'fullWidth', 'iconOnly'].includes( - prop, - ), + shouldForwardProp: prop => !['size', 'sentiment', 'fullWidth'].includes(prop), })` ${args => coreStyle(args)} + ${StyledCircle} { + stroke: transparent; + } + background: none; border: none; color: ${({ theme, sentiment }) => (!isMonochrome(sentiment) ? theme.colors[sentiment].text : theme.colors.other.monochrome[sentiment].text)}; @@ -253,16 +248,6 @@ type CommonProps = { 'data-testid'?: string sentiment?: ExtendedColor disabled?: boolean - /** - * @deprecated `iconPosition` prop is deprecated and will be removed in the next major version. - * You can directly set the icon into the children of the Button component. - */ - iconPosition?: 'left' | 'right' - /** - * @deprecated `iconVariant` prop is deprecated and will be removed in the next major version. - * You can directly set the icon into the children of the Button component. - */ - iconVariant?: ComponentProps['variant'] fullWidth?: boolean isLoading?: boolean 'aria-label'?: string @@ -270,6 +255,10 @@ type CommonProps = { 'aria-controls'?: string 'aria-expanded'?: boolean 'aria-haspopup'?: boolean + 'aria-describedby'?: string + 'aria-disabled'?: boolean + 'aria-pressed'?: boolean + 'aria-roledescription'?: string onClick?: MouseEventHandler tooltip?: string tabIndex?: ButtonHTMLAttributes['tabIndex'] @@ -278,64 +267,17 @@ type CommonProps = { onMouseOut?: MouseEventHandler onMouseEnter?: MouseEventHandler onMouseLeave?: MouseEventHandler + onPointerDown?: ButtonHTMLAttributes['onPointerDown'] + onKeyDown?: ButtonHTMLAttributes['onKeyDown'] } -// @note: using XOR utility was generating some lint erros -type FinalProps = CommonProps & - ( - | { - // Button : Children + optional Icon - children: ReactNode - /** - * @deprecated `iconVariant` prop is deprecated and will be removed in the next major version. - * You can directly set the icon into the children of the Button component. - */ - icon?: ComponentProps['name'] - name?: string - href?: never - target?: never - download?: never - } - | { - // Button : Icon only - children?: never - /** - * @deprecated `iconVariant` prop is deprecated and will be removed in the next major version. - * You can directly set the icon into the children of the Button component. - */ - icon: ComponentProps['name'] - name?: string - href?: never - target?: never - download?: never - } - | { - // Anchor : Children + optional Icon - children: ReactNode - /** - * @deprecated `iconVariant` prop is deprecated and will be removed in the next major version. - * You can directly set the icon into the children of the Button component. - */ - icon?: ComponentProps['name'] - name?: never - href: string - target?: string - download?: string - } - | { - // Anchor : Children + Icon Only - children?: never - /** - * @deprecated `iconVariant` prop is deprecated and will be removed in the next major version. - * You can directly set the icon into the children of the Button component. - */ - icon: ComponentProps['name'] - name?: never - href: string - target?: string - download?: string - } - ) +type FinalProps = CommonProps & { + children: ReactNode + name?: string + href?: string + target?: string + download?: string +} /** * Button component is used to trigger an action or event, such as submitting a form, opening a dialog, @@ -351,9 +293,6 @@ export const Button = forwardRef( variant = 'filled', size = 'large', disabled = false, - icon, - iconPosition = 'left', - iconVariant, fullWidth = false, isLoading = false, children, @@ -363,12 +302,18 @@ export const Button = forwardRef( onMouseOut, onMouseEnter, onMouseLeave, + onPointerDown, + onKeyDown, name, 'aria-label': ariaLabel, 'aria-current': ariaCurrent, 'aria-controls': ariaControls, 'aria-expanded': ariaExpanded, 'aria-haspopup': ariaHaspopup, + 'aria-describedby': ariaDescribedby, + 'aria-disabled': ariaDisabled, + 'aria-pressed': ariaPressed, + 'aria-roledescription': ariaRoledescription, href, download, target, @@ -380,19 +325,21 @@ export const Button = forwardRef( ref, ) => { const computeIsDisabled = disabled || isLoading + const { theme } = useTheme() + const computedSentimentLoader = useMemo(() => { + if (variant === 'filled' && !['black', 'white'].includes(sentiment)) { + if (theme === 'light') return 'white' + + return 'black' + } + + return sentiment + }, [sentiment, theme, variant]) const content = ( <> - {!isLoading && icon ? ( - - ) : null} {isLoading ? ( - + ) : null} {children} @@ -410,7 +357,6 @@ export const Button = forwardRef( data-testid={dataTestId} disabled={false} fullWidth={fullWidth} - iconPosition={iconPosition} sentiment={sentiment} size={size} type={type} @@ -420,11 +366,14 @@ export const Button = forwardRef( aria-controls={ariaControls} aria-expanded={ariaExpanded} aria-haspopup={ariaHaspopup} + aria-disabled={ariaDisabled ?? disabled} + aria-describedby={ariaDescribedby} + aria-pressed={ariaPressed} + aria-roledescription={ariaRoledescription} href={href} target={target} download={download} ref={ref as Ref} - iconOnly={!!icon && !children} tabIndex={tabIndex} autoFocus={autoFocus} onMouseDown={onMouseDown} @@ -449,7 +398,6 @@ export const Button = forwardRef( data-testid={dataTestId} disabled={computeIsDisabled} fullWidth={fullWidth} - iconPosition={iconPosition} sentiment={sentiment} size={size} type={type} @@ -461,7 +409,6 @@ export const Button = forwardRef( aria-controls={ariaControls} aria-expanded={ariaExpanded} aria-haspopup={ariaHaspopup} - iconOnly={!!icon && !children} tabIndex={tabIndex} autoFocus={autoFocus} onMouseDown={onMouseDown} @@ -469,6 +416,8 @@ export const Button = forwardRef( onMouseOut={onMouseOut} onMouseEnter={onMouseEnter} onMouseLeave={onMouseLeave} + onPointerDown={onPointerDown} + onKeyDown={onKeyDown} > {content} diff --git a/packages/ui/src/components/Card/__stories__/Active.stories.tsx b/packages/ui/src/components/Card/__stories__/Active.stories.tsx index 759dd09ff5..33a29e3a09 100644 --- a/packages/ui/src/components/Card/__stories__/Active.stories.tsx +++ b/packages/ui/src/components/Card/__stories__/Active.stories.tsx @@ -1,4 +1,5 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { CancelIcon, CheckIcon, PencilIcon } from '@ultraviolet/icons' import { useState } from 'react' import { Button } from '../../Button' import { Stack } from '../../Stack' @@ -12,8 +13,8 @@ export const Active: StoryFn = args => { - This card is currently highlighted through isActive prop. In this - example we use it to show the content is being edited. + This card is currently highlighted through active{' '} + prop. In this example we use it to show the content is being edited. {active ? ( @@ -21,22 +22,22 @@ export const Active: StoryFn = args => { ) : ( - )} @@ -46,7 +47,7 @@ export const Active: StoryFn = args => { Active.parameters = { docs: { description: { - story: 'You can highlight a Card by passing the `isActive` prop.', + story: 'You can highlight a Card by passing the `active` prop.', }, }, } diff --git a/packages/ui/src/components/Card/__stories__/AdvancedHeader.stories.tsx b/packages/ui/src/components/Card/__stories__/AdvancedHeader.stories.tsx index 088d5f05dc..a2dbd88fc6 100644 --- a/packages/ui/src/components/Card/__stories__/AdvancedHeader.stories.tsx +++ b/packages/ui/src/components/Card/__stories__/AdvancedHeader.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Alert } from '../../Alert' import { Badge } from '../../Badge' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/Card/__stories__/Disabled.stories.tsx b/packages/ui/src/components/Card/__stories__/Disabled.stories.tsx index 087c786b64..e3fda5a728 100644 --- a/packages/ui/src/components/Card/__stories__/Disabled.stories.tsx +++ b/packages/ui/src/components/Card/__stories__/Disabled.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Button } from '../../Button' import { Stack } from '../../Stack' import { Text } from '../../Text' diff --git a/packages/ui/src/components/Card/__stories__/Layout.stories.tsx b/packages/ui/src/components/Card/__stories__/Layout.stories.tsx index 07a9eae6b9..30094e668b 100644 --- a/packages/ui/src/components/Card/__stories__/Layout.stories.tsx +++ b/packages/ui/src/components/Card/__stories__/Layout.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Row } from '../../Row' import { Card } from '../index' diff --git a/packages/ui/src/components/Card/__stories__/SubHeader.stories.tsx b/packages/ui/src/components/Card/__stories__/SubHeader.stories.tsx index e49b96e471..78bfb2cb2b 100644 --- a/packages/ui/src/components/Card/__stories__/SubHeader.stories.tsx +++ b/packages/ui/src/components/Card/__stories__/SubHeader.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Badge } from '../../Badge' import { Stack } from '../../Stack' import { Text } from '../../Text' diff --git a/packages/ui/src/components/Card/__stories__/Template.stories.tsx b/packages/ui/src/components/Card/__stories__/Template.stories.tsx index a3089a99b0..893b0a13d8 100644 --- a/packages/ui/src/components/Card/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Card/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Card } from '../index' diff --git a/packages/ui/src/components/Card/__stories__/index.stories.tsx b/packages/ui/src/components/Card/__stories__/index.stories.tsx index 0e11e18f47..0bae40fe5d 100644 --- a/packages/ui/src/components/Card/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Card/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Card } from '..' export default { diff --git a/packages/ui/src/components/Card/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Card/__tests__/__snapshots__/index.test.tsx.snap index 486bb0ead8..1a4ea1070f 100644 --- a/packages/ui/src/components/Card/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Card/__tests__/__snapshots__/index.test.tsx.snap @@ -73,10 +73,10 @@ exports[`Card > renders correctly with advanced header 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -85,10 +85,10 @@ exports[`Card > renders correctly with advanced header 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-0[data-disabled='true'] { @@ -141,10 +141,10 @@ exports[`Card > renders correctly with advanced header and subHeader 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -153,10 +153,10 @@ exports[`Card > renders correctly with advanced header and subHeader 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-0[data-disabled='true'] { @@ -185,10 +185,10 @@ exports[`Card > renders correctly with advanced header and subHeader 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -197,10 +197,10 @@ exports[`Card > renders correctly with advanced header and subHeader 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; }
renders correctly with advanced subHeader 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -268,10 +268,10 @@ exports[`Card > renders correctly with advanced subHeader 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; }
renders correctly with disabled and header 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -414,10 +414,10 @@ exports[`Card > renders correctly with disabled and header 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-0[data-disabled='true'] { @@ -427,7 +427,7 @@ exports[`Card > renders correctly with disabled and header 1`] = ` .emotion-2 { color: #b5b7bd; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -484,10 +484,10 @@ exports[`Card > renders correctly with header 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -496,10 +496,10 @@ exports[`Card > renders correctly with header 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-0[data-disabled='true'] { @@ -509,7 +509,7 @@ exports[`Card > renders correctly with header 1`] = ` .emotion-2 { color: #222638; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -566,10 +566,10 @@ exports[`Card > renders correctly with header and subHeader 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -578,10 +578,10 @@ exports[`Card > renders correctly with header and subHeader 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-0[data-disabled='true'] { @@ -591,7 +591,7 @@ exports[`Card > renders correctly with header and subHeader 1`] = ` .emotion-2 { color: #222638; font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -622,10 +622,10 @@ exports[`Card > renders correctly with header and subHeader 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -634,10 +634,10 @@ exports[`Card > renders correctly with header and subHeader 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-8 { @@ -709,10 +709,10 @@ exports[`Card > renders correctly with subHeader 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -721,10 +721,10 @@ exports[`Card > renders correctly with subHeader 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-4 { diff --git a/packages/ui/src/components/Card/index.tsx b/packages/ui/src/components/Card/index.tsx index 9dec8bf9da..95e2b4ebf1 100644 --- a/packages/ui/src/components/Card/index.tsx +++ b/packages/ui/src/components/Card/index.tsx @@ -13,10 +13,6 @@ type CardProps = { */ header?: ReactNode subHeader?: ReactNode - /** - * @deprecated use `active` property instead - */ - isActive?: boolean /** * active enable a primary style on Card component for when you need to highlight it. */ @@ -57,7 +53,6 @@ export const Card = forwardRef( header, subHeader, disabled = false, - isActive = false, active = false, children, className, @@ -86,10 +81,7 @@ export const Card = forwardRef( ) : ( header )} - + {subHeader ? ( {typeof subHeader === 'string' ? ( @@ -113,7 +105,7 @@ export const Card = forwardRef( ) : ( ( diff --git a/packages/ui/src/components/Checkbox/__stories__/Disabled.stories.tsx b/packages/ui/src/components/Checkbox/__stories__/Disabled.stories.tsx index 0f4410f7b9..8540535312 100644 --- a/packages/ui/src/components/Checkbox/__stories__/Disabled.stories.tsx +++ b/packages/ui/src/components/Checkbox/__stories__/Disabled.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Checkbox } from '..' export const Disabled: StoryFn = args => ( diff --git a/packages/ui/src/components/Checkbox/__stories__/EmptyText.stories.tsx b/packages/ui/src/components/Checkbox/__stories__/EmptyText.stories.tsx index b47edd4e04..92ba12f5c8 100644 --- a/packages/ui/src/components/Checkbox/__stories__/EmptyText.stories.tsx +++ b/packages/ui/src/components/Checkbox/__stories__/EmptyText.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Checkbox } from '..' export const EmptyText: StoryFn = ({ diff --git a/packages/ui/src/components/Checkbox/__stories__/Template.stories.tsx b/packages/ui/src/components/Checkbox/__stories__/Template.stories.tsx index 8ec777328d..2f0a992b99 100644 --- a/packages/ui/src/components/Checkbox/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Checkbox/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { Checkbox } from '..' diff --git a/packages/ui/src/components/Checkbox/__stories__/Value.stories.tsx b/packages/ui/src/components/Checkbox/__stories__/Value.stories.tsx index f874918129..d2b1599fcd 100644 --- a/packages/ui/src/components/Checkbox/__stories__/Value.stories.tsx +++ b/packages/ui/src/components/Checkbox/__stories__/Value.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Checkbox } from '..' export const Value: StoryFn = args => ( diff --git a/packages/ui/src/components/Checkbox/__stories__/index.stories.tsx b/packages/ui/src/components/Checkbox/__stories__/index.stories.tsx index 68a763d61e..c9f17d9045 100644 --- a/packages/ui/src/components/Checkbox/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Checkbox/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Checkbox } from '..' export default { diff --git a/packages/ui/src/components/Checkbox/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Checkbox/__tests__/__snapshots__/index.test.tsx.snap index 36504487cc..29135250a0 100644 --- a/packages/ui/src/components/Checkbox/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Checkbox/__tests__/__snapshots__/index.test.tsx.snap @@ -15,7 +15,7 @@ exports[`Checkbox > renders correctly 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -24,7 +24,7 @@ exports[`Checkbox > renders correctly 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -97,7 +97,7 @@ exports[`Checkbox > renders correctly 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -229,10 +229,13 @@ exports[`Checkbox > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -241,13 +244,10 @@ exports[`Checkbox > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-10 { @@ -255,10 +255,13 @@ exports[`Checkbox > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -267,19 +270,16 @@ exports[`Checkbox > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-13 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -368,7 +368,7 @@ exports[`Checkbox > renders correctly checked 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -377,7 +377,7 @@ exports[`Checkbox > renders correctly checked 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -450,7 +450,7 @@ exports[`Checkbox > renders correctly checked 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -582,10 +582,13 @@ exports[`Checkbox > renders correctly checked 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -594,13 +597,10 @@ exports[`Checkbox > renders correctly checked 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-10 { @@ -608,10 +608,13 @@ exports[`Checkbox > renders correctly checked 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -620,19 +623,16 @@ exports[`Checkbox > renders correctly checked 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-13 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -657,7 +657,7 @@ exports[`Checkbox > renders correctly checked 1`] = ` aria-invalid="false" checked="" class="emotion-2 emotion-3" - id="«re»" + id="«rf»" type="checkbox" /> renders correctly checked 1`] = ` > @@ -721,7 +721,7 @@ exports[`Checkbox > renders correctly checked and disabled 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -730,7 +730,7 @@ exports[`Checkbox > renders correctly checked and disabled 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -803,7 +803,7 @@ exports[`Checkbox > renders correctly checked and disabled 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -935,10 +935,13 @@ exports[`Checkbox > renders correctly checked and disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -947,13 +950,10 @@ exports[`Checkbox > renders correctly checked and disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-10 { @@ -961,10 +961,13 @@ exports[`Checkbox > renders correctly checked and disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -973,19 +976,16 @@ exports[`Checkbox > renders correctly checked and disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-13 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1011,7 +1011,7 @@ exports[`Checkbox > renders correctly checked and disabled 1`] = ` checked="" class="emotion-2 emotion-3" disabled="" - id="«ro»" + id="«rp»" type="checkbox" /> renders correctly checked and disabled 1`] = ` > @@ -1075,7 +1075,7 @@ exports[`Checkbox > renders correctly checked with helper 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -1084,7 +1084,7 @@ exports[`Checkbox > renders correctly checked with helper 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -1157,7 +1157,7 @@ exports[`Checkbox > renders correctly checked with helper 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -1289,10 +1289,13 @@ exports[`Checkbox > renders correctly checked with helper 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1301,13 +1304,10 @@ exports[`Checkbox > renders correctly checked with helper 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-10 { @@ -1315,10 +1315,13 @@ exports[`Checkbox > renders correctly checked with helper 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1327,19 +1330,16 @@ exports[`Checkbox > renders correctly checked with helper 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-13 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1353,7 +1353,7 @@ exports[`Checkbox > renders correctly checked with helper 1`] = ` .emotion-15 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1376,7 +1376,7 @@ exports[`Checkbox > renders correctly checked with helper 1`] = ` aria-invalid="false" checked="" class="emotion-2 emotion-3" - id="«rh»" + id="«ri»" type="checkbox" /> renders correctly checked with helper 1`] = ` > @@ -1445,7 +1445,7 @@ exports[`Checkbox > renders correctly disabled 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -1454,7 +1454,7 @@ exports[`Checkbox > renders correctly disabled 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -1527,7 +1527,7 @@ exports[`Checkbox > renders correctly disabled 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -1659,10 +1659,13 @@ exports[`Checkbox > renders correctly disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1671,13 +1674,10 @@ exports[`Checkbox > renders correctly disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-10 { @@ -1685,10 +1685,13 @@ exports[`Checkbox > renders correctly disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1697,19 +1700,16 @@ exports[`Checkbox > renders correctly disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-13 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1798,7 +1798,7 @@ exports[`Checkbox > renders correctly indeterminate 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -1807,7 +1807,7 @@ exports[`Checkbox > renders correctly indeterminate 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -2012,10 +2012,13 @@ exports[`Checkbox > renders correctly indeterminate 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2024,13 +2027,10 @@ exports[`Checkbox > renders correctly indeterminate 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-12 { @@ -2038,10 +2038,13 @@ exports[`Checkbox > renders correctly indeterminate 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2050,19 +2053,16 @@ exports[`Checkbox > renders correctly indeterminate 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-15 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2086,7 +2086,7 @@ exports[`Checkbox > renders correctly indeterminate 1`] = ` aria-checked="mixed" aria-invalid="false" class="emotion-2 emotion-3" - id="«rl»" + id="«rm»" type="checkbox" /> renders correctly indeterminate 1`] = ` > @@ -2148,7 +2148,7 @@ exports[`Checkbox > renders correctly indeterminate and disabled 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -2157,7 +2157,7 @@ exports[`Checkbox > renders correctly indeterminate and disabled 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -2362,10 +2362,13 @@ exports[`Checkbox > renders correctly indeterminate and disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2374,13 +2377,10 @@ exports[`Checkbox > renders correctly indeterminate and disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-12 { @@ -2388,10 +2388,13 @@ exports[`Checkbox > renders correctly indeterminate and disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2400,19 +2403,16 @@ exports[`Checkbox > renders correctly indeterminate and disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-15 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2437,7 +2437,7 @@ exports[`Checkbox > renders correctly indeterminate and disabled 1`] = ` aria-invalid="false" class="emotion-2 emotion-3" disabled="" - id="«rr»" + id="«rs»" type="checkbox" /> renders correctly indeterminate and disabled 1`] = ` > @@ -2499,7 +2499,7 @@ exports[`Checkbox > renders correctly invisible 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -2508,7 +2508,7 @@ exports[`Checkbox > renders correctly invisible 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -2581,7 +2581,7 @@ exports[`Checkbox > renders correctly invisible 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -2713,10 +2713,13 @@ exports[`Checkbox > renders correctly invisible 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2725,13 +2728,10 @@ exports[`Checkbox > renders correctly invisible 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-10 { @@ -2739,10 +2739,13 @@ exports[`Checkbox > renders correctly invisible 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2751,19 +2754,16 @@ exports[`Checkbox > renders correctly invisible 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-13 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2788,7 +2788,7 @@ exports[`Checkbox > renders correctly invisible 1`] = ` aria-checked="false" aria-invalid="false" class="emotion-2 emotion-3" - id="«ru»" + id="«rv»" type="checkbox" /> renders correctly invisible 1`] = ` > @@ -2852,7 +2852,7 @@ exports[`Checkbox > renders correctly no child 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -2861,7 +2861,7 @@ exports[`Checkbox > renders correctly no child 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -2934,7 +2934,7 @@ exports[`Checkbox > renders correctly no child 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -3125,7 +3125,7 @@ exports[`Checkbox > renders correctly required 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -3134,7 +3134,7 @@ exports[`Checkbox > renders correctly required 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -3207,7 +3207,7 @@ exports[`Checkbox > renders correctly required 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -3339,10 +3339,13 @@ exports[`Checkbox > renders correctly required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3351,13 +3354,10 @@ exports[`Checkbox > renders correctly required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-10 { @@ -3365,10 +3365,13 @@ exports[`Checkbox > renders correctly required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3377,19 +3380,16 @@ exports[`Checkbox > renders correctly required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-13 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -3401,17 +3401,15 @@ exports[`Checkbox > renders correctly required 1`] = ` } .emotion-15 { - vertical-align: middle; - fill: #b3144d; - height: 8px; - width: 8px; - min-width: 8px; - min-height: 8px; -} - -.emotion-15 .fillStroke { - stroke: #b3144d; - fill: none; + color: #b3144d; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; }
renders correctly required 1`] = ` > Checkbox Label - - - - + + *
@@ -3502,7 +3495,7 @@ exports[`Checkbox > renders correctly with a value 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -3511,7 +3504,7 @@ exports[`Checkbox > renders correctly with a value 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -3584,7 +3577,7 @@ exports[`Checkbox > renders correctly with a value 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -3716,10 +3709,13 @@ exports[`Checkbox > renders correctly with a value 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3728,13 +3724,10 @@ exports[`Checkbox > renders correctly with a value 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-10 { @@ -3742,10 +3735,13 @@ exports[`Checkbox > renders correctly with a value 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3754,19 +3750,16 @@ exports[`Checkbox > renders correctly with a value 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-13 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -3790,7 +3783,7 @@ exports[`Checkbox > renders correctly with a value 1`] = ` aria-checked="false" aria-invalid="false" class="emotion-2 emotion-3" - id="«r1a»" + id="«r16»" type="checkbox" value="test" /> @@ -3829,7 +3822,7 @@ exports[`Checkbox > renders correctly with a value 1`] = ` > @@ -3855,7 +3848,7 @@ exports[`Checkbox > renders correctly with an error 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -3864,7 +3857,7 @@ exports[`Checkbox > renders correctly with an error 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -3937,7 +3930,7 @@ exports[`Checkbox > renders correctly with an error 1`] = ` stroke: #e51963; } -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { +.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq5 { fill: #ffffff; } @@ -4069,10 +4062,13 @@ exports[`Checkbox > renders correctly with an error 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4081,13 +4077,10 @@ exports[`Checkbox > renders correctly with an error 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-10 { @@ -4095,10 +4088,13 @@ exports[`Checkbox > renders correctly with an error 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4107,19 +4103,16 @@ exports[`Checkbox > renders correctly with an error 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-13 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -4133,7 +4126,7 @@ exports[`Checkbox > renders correctly with an error 1`] = ` .emotion-16 { color: #b3144d; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -4154,10 +4147,10 @@ exports[`Checkbox > renders correctly with an error 1`] = ` > renders correctly with an error 1`] = ` > @@ -4226,7 +4219,7 @@ exports[`Checkbox > renders correctly with indeterminate state 1`] = ` gap: 0.5rem; } -.emotion-0 .eqr7bqq4 { +.emotion-0 .eqr7bqq3 { cursor: pointer; } @@ -4235,7 +4228,7 @@ exports[`Checkbox > renders correctly with indeterminate state 1`] = ` color: #b5b7bd; } -.emotion-0[aria-disabled='true'] .eqr7bqq4 { +.emotion-0[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -4440,10 +4433,13 @@ exports[`Checkbox > renders correctly with indeterminate state 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4452,985 +4448,17 @@ exports[`Checkbox > renders correctly with indeterminate state 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-15 { - color: #3f4250; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - width: 100%; - cursor: pointer; -} - -
-
- - - - - - - -
-
- -
-
-
-
- -`; - -exports[`Checkbox > renders correctly with progress 1`] = ` - - .emotion-0 { - position: relative; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - gap: 0.5rem; -} - -.emotion-0 .eqr7bqq4 { - cursor: pointer; -} - -.emotion-0[aria-disabled='true'] { - cursor: not-allowed; - color: #b5b7bd; -} - -.emotion-0[aria-disabled='true'] .eqr7bqq4 { - cursor: not-allowed; -} - -.emotion-0[aria-disabled='true'] .eqr7bqq5 { - fill: #e9eaeb; -} - -.emotion-0[aria-disabled='true'] .eqr7bqq5 .eqr7bqq7 { - stroke: #d9dadd; - fill: #f3f3f4; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-invalid="true"]:checked+.eqr7bqq5 { - fill: #ffd3e3; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-invalid="true"]:checked+.eqr7bqq5 .eqr7bqq7 { - stroke: #ffd3e3; - fill: #ffd3e3; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-invalid="true"]+.eqr7bqq5 { - fill: #ffebf2; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-invalid="true"]+.eqr7bqq5 .eqr7bqq7 { - stroke: #ffbbd3; - fill: #ffebf2; -} - -.emotion-0[aria-disabled='true'] .emotion-8:checked+.eqr7bqq5 { - fill: #e5dbfd; -} - -.emotion-0[aria-disabled='true'] .emotion-8:checked+.eqr7bqq5 .eqr7bqq7 { - stroke: #d8c5fc; - fill: #d8c5fc; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-checked="mixed"]+.eqr7bqq5 { - fill: #e5dbfd; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-checked="mixed"]+.eqr7bqq5 .eqr7bqq7 { - stroke: #e5dbfd; - fill: #e5dbfd; -} - -.emotion-0 .emotion-8:checked+.eqr7bqq5 path { - transform-origin: center; - -webkit-transition: 200ms -webkit-transform ease-in-out; - transition: 200ms transform ease-in-out; - -webkit-transform: scale(1); - -moz-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - -webkit-transform: translate(2px, 2px); - -moz-transform: translate(2px, 2px); - -ms-transform: translate(2px, 2px); - transform: translate(2px, 2px); -} - -.emotion-0 .emotion-8:checked+.eqr7bqq5 .eqr7bqq7 { - fill: #8c40ef; - stroke: #8c40ef; -} - -.emotion-0 .emotion-8[aria-invalid="true"]:checked+.eqr7bqq5 .eqr7bqq7 { - fill: #e51963; - stroke: #e51963; -} - -.emotion-0 .emotion-8[aria-checked="mixed"]+.eqr7bqq5 .eqr7bqq6 { - fill: #ffffff; -} - -.emotion-0 .emotion-8[aria-checked="mixed"]+.eqr7bqq5 .eqr7bqq7 { - fill: #8c40ef; - stroke: #8c40ef; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='false'][aria-checked='false']+.eqr7bqq5 .eqr7bqq7 { - stroke: #792dd4; - fill: #e5dbfd; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='false'][aria-checked='true']+.eqr7bqq5 .eqr7bqq7 { - stroke: #792dd4; - fill: #792dd4; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='false'][aria-checked='mixed']+.eqr7bqq5 .eqr7bqq7 { - stroke: #792dd4; - fill: #792dd4; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='true'][aria-checked='false']+.eqr7bqq5 .eqr7bqq7 { - stroke: #92103f; - fill: #ffd3e3; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='true'][aria-checked='true']+.eqr7bqq5 .eqr7bqq7 { - stroke: #d6175c; - fill: #d6175c; -} - -.emotion-0 .emotion-8[aria-invalid="true"]+.eqr7bqq5 { - fill: #e51963; -} - -.emotion-0 .emotion-8[aria-invalid="true"]+.eqr7bqq5 .eqr7bqq7 { - stroke: #e51963; - fill: #ffebf2; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-4 { - -webkit-animation: spin 0.75s linear infinite; - animation: spin 0.75s linear infinite; -} - -.emotion-6 { - -webkit-transition: stroke-dashoffset 0.5s ease 0s; - transition: stroke-dashoffset 0.5s ease 0s; -} - -.emotion-7 { - position: absolute; - white-space: nowrap; - height: 1.5rem; - width: 1.5rem; - opacity: 0; - border-width: 0; -} - -.emotion-7:not(:disabled) { - cursor: pointer; -} - -.emotion-7:disabled { - cursor: not-allowed; -} - -.emotion-7:not(:disabled):checked+.eqr7bqq5, -.emotion-7:not(:disabled)[aria-checked='mixed']+.eqr7bqq5 { - fill: #8c40ef; -} - -.emotion-7:not(:disabled):checked+.eqr7bqq5 .eqr7bqq7, -.emotion-7:not(:disabled)[aria-checked='mixed']+.eqr7bqq5 .eqr7bqq7 { - stroke: #8c40ef; -} - -.emotion-7:not(:disabled)[aria-invalid='true']+.eqr7bqq5, -.emotion-7:not(:disabled)[aria-invalid='mixed']+.eqr7bqq5 { - fill: #ffebf2; -} - -.emotion-7:not(:disabled)[aria-invalid='true']+.eqr7bqq5 .eqr7bqq7, -.emotion-7:not(:disabled)[aria-invalid='mixed']+.eqr7bqq5 .eqr7bqq7 { - stroke: #b3144d; -} - -.emotion-7:focus+.eqr7bqq5 { - background-color: #f1eefc; - fill: #ffebf2; - outline: 1px solid 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:focus+.eqr7bqq5 .eqr7bqq7 { - stroke: #792dd4; - fill: #e5dbfd; -} - -.emotion-7[aria-invalid='true']:focus+.eqr7bqq5 { - background-color: #ffebf2; - fill: #ffebf2; - outline: 1px solid 0px 0px 0px 3px #f91b6c40; -} - -.emotion-7[aria-invalid='true']:focus+.eqr7bqq5 .eqr7bqq7 { - stroke: #92103f; - fill: #ffd3e3; -} - -.emotion-9 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-14 { - color: #3f4250; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - width: 100%; - cursor: pointer; -} - -
-
-
- - - - -
- -
-
- -
-
-
-
-
-`; - -exports[`Checkbox > renders correctly with progress and no child 1`] = ` - - .emotion-0 { - position: relative; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - gap: 0.5rem; -} - -.emotion-0 .eqr7bqq4 { - cursor: pointer; -} - -.emotion-0[aria-disabled='true'] { - cursor: not-allowed; - color: #b5b7bd; -} - -.emotion-0[aria-disabled='true'] .eqr7bqq4 { - cursor: not-allowed; -} - -.emotion-0[aria-disabled='true'] .eqr7bqq5 { - fill: #e9eaeb; -} - -.emotion-0[aria-disabled='true'] .eqr7bqq5 .eqr7bqq7 { - stroke: #d9dadd; - fill: #f3f3f4; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-invalid="true"]:checked+.eqr7bqq5 { - fill: #ffd3e3; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-invalid="true"]:checked+.eqr7bqq5 .eqr7bqq7 { - stroke: #ffd3e3; - fill: #ffd3e3; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-invalid="true"]+.eqr7bqq5 { - fill: #ffebf2; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-invalid="true"]+.eqr7bqq5 .eqr7bqq7 { - stroke: #ffbbd3; - fill: #ffebf2; -} - -.emotion-0[aria-disabled='true'] .emotion-8:checked+.eqr7bqq5 { - fill: #e5dbfd; -} - -.emotion-0[aria-disabled='true'] .emotion-8:checked+.eqr7bqq5 .eqr7bqq7 { - stroke: #d8c5fc; - fill: #d8c5fc; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-checked="mixed"]+.eqr7bqq5 { - fill: #e5dbfd; -} - -.emotion-0[aria-disabled='true'] .emotion-8[aria-checked="mixed"]+.eqr7bqq5 .eqr7bqq7 { - stroke: #e5dbfd; - fill: #e5dbfd; -} - -.emotion-0 .emotion-8:checked+.eqr7bqq5 path { - transform-origin: center; - -webkit-transition: 200ms -webkit-transform ease-in-out; - transition: 200ms transform ease-in-out; - -webkit-transform: scale(1); - -moz-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - -webkit-transform: translate(2px, 2px); - -moz-transform: translate(2px, 2px); - -ms-transform: translate(2px, 2px); - transform: translate(2px, 2px); -} - -.emotion-0 .emotion-8:checked+.eqr7bqq5 .eqr7bqq7 { - fill: #8c40ef; - stroke: #8c40ef; -} - -.emotion-0 .emotion-8[aria-invalid="true"]:checked+.eqr7bqq5 .eqr7bqq7 { - fill: #e51963; - stroke: #e51963; -} - -.emotion-0 .emotion-8[aria-checked="mixed"]+.eqr7bqq5 .eqr7bqq6 { - fill: #ffffff; -} - -.emotion-0 .emotion-8[aria-checked="mixed"]+.eqr7bqq5 .eqr7bqq7 { - fill: #8c40ef; - stroke: #8c40ef; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='false'][aria-checked='false']+.eqr7bqq5 .eqr7bqq7 { - stroke: #792dd4; - fill: #e5dbfd; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='false'][aria-checked='true']+.eqr7bqq5 .eqr7bqq7 { - stroke: #792dd4; - fill: #792dd4; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='false'][aria-checked='mixed']+.eqr7bqq5 .eqr7bqq7 { - stroke: #792dd4; - fill: #792dd4; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='true'][aria-checked='false']+.eqr7bqq5 .eqr7bqq7 { - stroke: #92103f; - fill: #ffd3e3; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-8[aria-invalid='true'][aria-checked='true']+.eqr7bqq5 .eqr7bqq7 { - stroke: #d6175c; - fill: #d6175c; -} - -.emotion-0 .emotion-8[aria-invalid="true"]+.eqr7bqq5 { - fill: #e51963; -} - -.emotion-0 .emotion-8[aria-invalid="true"]+.eqr7bqq5 .eqr7bqq7 { - stroke: #e51963; - fill: #ffebf2; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-4 { - -webkit-animation: spin 0.75s linear infinite; - animation: spin 0.75s linear infinite; -} - -.emotion-6 { - -webkit-transition: stroke-dashoffset 0.5s ease 0s; - transition: stroke-dashoffset 0.5s ease 0s; -} - -.emotion-7 { - position: absolute; - white-space: nowrap; - height: 1.5rem; - width: 1.5rem; - opacity: 0; - border-width: 0; -} - -.emotion-7:not(:disabled) { - cursor: pointer; -} - -.emotion-7:disabled { - cursor: not-allowed; -} - -.emotion-7:not(:disabled):checked+.eqr7bqq5, -.emotion-7:not(:disabled)[aria-checked='mixed']+.eqr7bqq5 { - fill: #8c40ef; -} - -.emotion-7:not(:disabled):checked+.eqr7bqq5 .eqr7bqq7, -.emotion-7:not(:disabled)[aria-checked='mixed']+.eqr7bqq5 .eqr7bqq7 { - stroke: #8c40ef; -} - -.emotion-7:not(:disabled)[aria-invalid='true']+.eqr7bqq5, -.emotion-7:not(:disabled)[aria-invalid='mixed']+.eqr7bqq5 { - fill: #ffebf2; -} - -.emotion-7:not(:disabled)[aria-invalid='true']+.eqr7bqq5 .eqr7bqq7, -.emotion-7:not(:disabled)[aria-invalid='mixed']+.eqr7bqq5 .eqr7bqq7 { - stroke: #b3144d; -} - -.emotion-7:focus+.eqr7bqq5 { - background-color: #f1eefc; - fill: #ffebf2; - outline: 1px solid 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:focus+.eqr7bqq5 .eqr7bqq7 { - stroke: #792dd4; - fill: #e5dbfd; -} - -.emotion-7[aria-invalid='true']:focus+.eqr7bqq5 { - background-color: #ffebf2; - fill: #ffebf2; - outline: 1px solid 0px 0px 0px 3px #f91b6c40; -} - -.emotion-7[aria-invalid='true']:focus+.eqr7bqq5 .eqr7bqq7 { - stroke: #92103f; - fill: #ffd3e3; -} - -
-
-
- - - - -
- -
-
-
-`; - -exports[`Checkbox > renders correctly with sizes 1`] = ` - - .emotion-0 { - position: relative; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - gap: 0.5rem; -} - -.emotion-0 .eqr7bqq4 { - cursor: pointer; -} - -.emotion-0[aria-disabled='true'] { - cursor: not-allowed; - color: #b5b7bd; -} - -.emotion-0[aria-disabled='true'] .eqr7bqq4 { - cursor: not-allowed; -} - -.emotion-0[aria-disabled='true'] .emotion-5 { - fill: #e9eaeb; -} - -.emotion-0[aria-disabled='true'] .emotion-5 .emotion-7 { - stroke: #d9dadd; - fill: #f3f3f4; -} - -.emotion-0[aria-disabled='true'] .emotion-3[aria-invalid="true"]:checked+.emotion-5 { - fill: #ffd3e3; -} - -.emotion-0[aria-disabled='true'] .emotion-3[aria-invalid="true"]:checked+.emotion-5 .emotion-7 { - stroke: #ffd3e3; - fill: #ffd3e3; -} - -.emotion-0[aria-disabled='true'] .emotion-3[aria-invalid="true"]+.emotion-5 { - fill: #ffebf2; -} - -.emotion-0[aria-disabled='true'] .emotion-3[aria-invalid="true"]+.emotion-5 .emotion-7 { - stroke: #ffbbd3; - fill: #ffebf2; -} - -.emotion-0[aria-disabled='true'] .emotion-3:checked+.emotion-5 { - fill: #e5dbfd; -} - -.emotion-0[aria-disabled='true'] .emotion-3:checked+.emotion-5 .emotion-7 { - stroke: #d8c5fc; - fill: #d8c5fc; -} - -.emotion-0[aria-disabled='true'] .emotion-3[aria-checked="mixed"]+.emotion-5 { - fill: #e5dbfd; -} - -.emotion-0[aria-disabled='true'] .emotion-3[aria-checked="mixed"]+.emotion-5 .emotion-7 { - stroke: #e5dbfd; - fill: #e5dbfd; -} - -.emotion-0 .emotion-3:checked+.emotion-5 path { - transform-origin: center; - -webkit-transition: 200ms -webkit-transform ease-in-out; - transition: 200ms transform ease-in-out; - -webkit-transform: scale(1); - -moz-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - -webkit-transform: translate(2px, 2px); - -moz-transform: translate(2px, 2px); - -ms-transform: translate(2px, 2px); - transform: translate(2px, 2px); -} - -.emotion-0 .emotion-3:checked+.emotion-5 .emotion-7 { - fill: #8c40ef; - stroke: #8c40ef; -} - -.emotion-0 .emotion-3[aria-invalid="true"]:checked+.emotion-5 .emotion-7 { - fill: #e51963; - stroke: #e51963; -} - -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .eqr7bqq6 { - fill: #ffffff; -} - -.emotion-0 .emotion-3[aria-checked="mixed"]+.emotion-5 .emotion-7 { - fill: #8c40ef; - stroke: #8c40ef; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-3[aria-invalid='false'][aria-checked='false']+.emotion-5 .emotion-7 { - stroke: #792dd4; - fill: #e5dbfd; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-3[aria-invalid='false'][aria-checked='true']+.emotion-5 .emotion-7 { - stroke: #792dd4; - fill: #792dd4; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-3[aria-invalid='false'][aria-checked='mixed']+.emotion-5 .emotion-7 { - stroke: #792dd4; - fill: #792dd4; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-3[aria-invalid='true'][aria-checked='false']+.emotion-5 .emotion-7 { - stroke: #92103f; - fill: #ffd3e3; -} - -.emotion-0:hover[aria-disabled='false'] .emotion-3[aria-invalid='true'][aria-checked='true']+.emotion-5 .emotion-7 { - stroke: #d6175c; - fill: #d6175c; -} - -.emotion-0 .emotion-3[aria-invalid="true"]+.emotion-5 { - fill: #e51963; -} - -.emotion-0 .emotion-3[aria-invalid="true"]+.emotion-5 .emotion-7 { - stroke: #e51963; - fill: #ffebf2; -} - -.emotion-2 { - position: absolute; - white-space: nowrap; - height: 37px; - width: 37px; - opacity: 0; - border-width: 0; -} - -.emotion-2:not(:disabled) { - cursor: pointer; -} - -.emotion-2:disabled { - cursor: not-allowed; -} - -.emotion-2:not(:disabled):checked+.emotion-5, -.emotion-2:not(:disabled)[aria-checked='mixed']+.emotion-5 { - fill: #8c40ef; -} - -.emotion-2:not(:disabled):checked+.emotion-5 .emotion-7, -.emotion-2:not(:disabled)[aria-checked='mixed']+.emotion-5 .emotion-7 { - stroke: #8c40ef; -} - -.emotion-2:not(:disabled)[aria-invalid='true']+.emotion-5, -.emotion-2:not(:disabled)[aria-invalid='mixed']+.emotion-5 { - fill: #ffebf2; -} - -.emotion-2:not(:disabled)[aria-invalid='true']+.emotion-5 .emotion-7, -.emotion-2:not(:disabled)[aria-invalid='mixed']+.emotion-5 .emotion-7 { - stroke: #b3144d; -} - -.emotion-2:focus+.emotion-5 { - background-color: #f1eefc; - fill: #ffebf2; - outline: 1px solid 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2:focus+.emotion-5 .emotion-7 { - stroke: #792dd4; - fill: #e5dbfd; -} - -.emotion-2[aria-invalid='true']:focus+.emotion-5 { - background-color: #ffebf2; - fill: #ffebf2; - outline: 1px solid 0px 0px 0px 3px #f91b6c40; -} - -.emotion-2[aria-invalid='true']:focus+.emotion-5 .emotion-7 { - stroke: #92103f; - fill: #ffd3e3; -} - -.emotion-4 { - border-radius: 0.25rem; - height: 37px; - width: 37px; - min-width: 37px; - min-height: 37px; -} - -.emotion-4 path { - fill: #ffffff; - -webkit-transform: translate(2px, 2px); - -moz-transform: translate(2px, 2px); - -ms-transform: translate(2px, 2px); - transform: translate(2px, 2px); - -webkit-transform: scale(0); - -moz-transform: scale(0); - -ms-transform: scale(0); - transform: scale(0); -} - -.emotion-6 { - fill: #ffffff; - stroke: #d9dadd; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-8 { +.emotion-12 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; @@ -5438,17 +4466,6 @@ exports[`Checkbox > renders correctly with sizes 1`] = ` -webkit-flex: 1; -ms-flex: 1; flex: 1; -} - -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5457,19 +4474,16 @@ exports[`Checkbox > renders correctly with sizes 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } -.emotion-13 { +.emotion-15 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -5480,44 +4494,25 @@ exports[`Checkbox > renders correctly with sizes 1`] = ` cursor: pointer; } -.emotion-17 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-19 { - -webkit-animation: spin 0.75s linear infinite; - animation: spin 0.75s linear infinite; -} - -.emotion-21 { - -webkit-transition: stroke-dashoffset 0.5s ease 0s; - transition: stroke-dashoffset 0.5s ease 0s; -} -
@@ -5530,93 +4525,25 @@ exports[`Checkbox > renders correctly with sizes 1`] = ` x="4" y="4" /> -
-
- -
-
-
-
-
- - - - -
- -
@@ -5654,7 +4581,7 @@ exports[`Checkbox > renders correctly with tooltip 1`] = ` gap: 0.5rem; } -.emotion-2 .eqr7bqq4 { +.emotion-2 .eqr7bqq3 { cursor: pointer; } @@ -5663,7 +4590,7 @@ exports[`Checkbox > renders correctly with tooltip 1`] = ` color: #b5b7bd; } -.emotion-2[aria-disabled='true'] .eqr7bqq4 { +.emotion-2[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -5736,7 +4663,7 @@ exports[`Checkbox > renders correctly with tooltip 1`] = ` stroke: #e51963; } -.emotion-2 .emotion-5[aria-checked="mixed"]+.emotion-7 .eqr7bqq6 { +.emotion-2 .emotion-5[aria-checked="mixed"]+.emotion-7 .eqr7bqq5 { fill: #ffffff; } @@ -5868,10 +4795,13 @@ exports[`Checkbox > renders correctly with tooltip 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5880,13 +4810,10 @@ exports[`Checkbox > renders correctly with tooltip 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-12 { @@ -5894,10 +4821,13 @@ exports[`Checkbox > renders correctly with tooltip 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5906,19 +4836,16 @@ exports[`Checkbox > renders correctly with tooltip 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-15 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -5933,8 +4860,8 @@ exports[`Checkbox > renders correctly with tooltip 1`] = ` data-testid="testing" >
@@ -5948,7 +4875,7 @@ exports[`Checkbox > renders correctly with tooltip 1`] = ` aria-checked="false" aria-invalid="false" class="emotion-4 emotion-5" - id="«rb»" + id="«rc»" type="checkbox" /> renders correctly with tooltip 1`] = ` > diff --git a/packages/ui/src/components/Checkbox/__tests__/index.test.tsx b/packages/ui/src/components/Checkbox/__tests__/index.test.tsx index b3b5fe7f56..2b5aa49b5c 100644 --- a/packages/ui/src/components/Checkbox/__tests__/index.test.tsx +++ b/packages/ui/src/components/Checkbox/__tests__/index.test.tsx @@ -105,18 +105,6 @@ describe('Checkbox', () => { , )) - test('renders correctly with progress', () => - shouldMatchEmotionSnapshot( - {}} progress> - Checkbox Label - , - )) - - test('renders correctly with progress and no child', () => - shouldMatchEmotionSnapshot( - {}} progress />, - )) - test('renders correctly with a value', () => shouldMatchEmotionSnapshot( {}} value="test"> @@ -124,18 +112,6 @@ describe('Checkbox', () => { , )) - test('renders correctly with sizes', () => - shouldMatchEmotionSnapshot( - <> - {}} size={37} value="test"> - Checkbox Label - - {}} progress size={37} value="test"> - Checkbox Label - - , - )) - test('renders correctly with indeterminate state', () => shouldMatchEmotionSnapshot( {}} checked="indeterminate"> @@ -147,36 +123,7 @@ describe('Checkbox', () => { renderWithTheme( {({ checked, onChange }) => ( - - Checkbox Label - - )} - , - ) - - const input = screen.getByRole('checkbox', { - hidden: true, - }) - await userEvent.click(input) - expect(input.checked).toBeTruthy() - }) - - test('renders with click event with progress', async () => { - renderWithTheme( - - {({ checked, onChange }) => ( - + Checkbox Label )} @@ -188,8 +135,5 @@ describe('Checkbox', () => { }) await userEvent.click(input) expect(input.checked).toBeTruthy() - // checked value cannot change during progress/loading - await userEvent.click(input) - expect(input.checked).toBeTruthy() }) }) diff --git a/packages/ui/src/components/Checkbox/index.tsx b/packages/ui/src/components/Checkbox/index.tsx index 1c011b21ed..6437b85d05 100644 --- a/packages/ui/src/components/Checkbox/index.tsx +++ b/packages/ui/src/components/Checkbox/index.tsx @@ -2,10 +2,8 @@ import { useTheme } from '@emotion/react' import styled from '@emotion/styled' -import { AsteriskIcon } from '@ultraviolet/icons' import type { InputHTMLAttributes, ReactNode } from 'react' import { forwardRef, useId } from 'react' -import { Loader } from '../Loader' import { Stack } from '../Stack' import { Text } from '../Text' import { Tooltip } from '../Tooltip' @@ -66,8 +64,10 @@ export const CheckboxInput = styled('input', { })<{ inputSize: number | string }>` position: absolute; white-space: nowrap; - height: ${({ inputSize }) => (typeof inputSize === 'string' ? inputSize : `${inputSize}px`)}; - width: ${({ inputSize }) => (typeof inputSize === 'string' ? inputSize : `${inputSize}px`)}; + height: ${({ inputSize }) => + typeof inputSize === 'string' ? inputSize : `${inputSize}px`}; + width: ${({ inputSize }) => + typeof inputSize === 'string' ? inputSize : `${inputSize}px`}; opacity: 0; border-width: 0; @@ -257,10 +257,6 @@ export const CheckboxContainer = styled.div` } ` -const StyledActivityContainer = styled.div` - display: flex; -` - type LabelProp = | { children: ReactNode @@ -273,14 +269,6 @@ type LabelProp = type CheckboxProps = { error?: string | ReactNode - /** - * @deprecated Size prop is deprecated and will be removed in next major update. - */ - size?: number - /** - * @deprecated Progress prop is deprecated and will be removed in next major update. - */ - progress?: boolean helper?: ReactNode disabled?: boolean checked?: boolean | 'indeterminate' @@ -318,9 +306,7 @@ export const Checkbox = forwardRef( name, helper, value, - size, children, - progress = false, disabled = false, autoFocus = false, className, @@ -337,25 +323,18 @@ export const Checkbox = forwardRef( const uniqId = useId() const localId = id ?? uniqId - const isDisabled = disabled || progress const isCheck = checked === true ? checked : false return ( - {progress ? ( - - - - ) : null} - ( aria-checked={checked === 'indeterminate' ? 'mixed' : isCheck} aria-label={ariaLabel} checked={isCheck} - inputSize={size ?? theme.sizing['300']} + inputSize={theme.sizing['300']} onChange={onChange} onFocus={onFocus} onBlur={onBlur} - disabled={isDisabled} + disabled={disabled} value={value} name={name} autoFocus={autoFocus} @@ -377,30 +356,28 @@ export const Checkbox = forwardRef( tabIndex={tabIndex} /> - {!progress ? ( - - - {checked !== 'indeterminate' ? ( - - ) : ( - - )} - - - ) : null} + + + {checked !== 'indeterminate' ? ( + + ) : ( + + )} + + {!children && !required && !helper && !error ? null : ( @@ -424,9 +401,9 @@ export const Checkbox = forwardRef( ) : null} {required ? ( - - - + + * + ) : null} )} diff --git a/packages/ui/src/components/CheckboxGroup/__stories__/Controlled.stories.tsx b/packages/ui/src/components/CheckboxGroup/__stories__/Controlled.stories.tsx index 3581675b3d..5d8bddc53f 100644 --- a/packages/ui/src/components/CheckboxGroup/__stories__/Controlled.stories.tsx +++ b/packages/ui/src/components/CheckboxGroup/__stories__/Controlled.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { CheckboxGroup } from '..' diff --git a/packages/ui/src/components/CheckboxGroup/__stories__/Required.stories.tsx b/packages/ui/src/components/CheckboxGroup/__stories__/Required.stories.tsx index 87ce936de5..ed61acd23b 100644 --- a/packages/ui/src/components/CheckboxGroup/__stories__/Required.stories.tsx +++ b/packages/ui/src/components/CheckboxGroup/__stories__/Required.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Stack } from '../../Stack' import { CheckboxGroup } from '../index' diff --git a/packages/ui/src/components/CheckboxGroup/__stories__/Template.stories.tsx b/packages/ui/src/components/CheckboxGroup/__stories__/Template.stories.tsx index 75a1a73b7f..03e7e68aed 100644 --- a/packages/ui/src/components/CheckboxGroup/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/CheckboxGroup/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { CheckboxGroup } from '..' export const Template: StoryFn = args => ( @@ -9,7 +9,7 @@ export const Template: StoryFn = args => ( > Accept terms and conditions - + Accept to receive newsletter diff --git a/packages/ui/src/components/CheckboxGroup/__stories__/index.stories.tsx b/packages/ui/src/components/CheckboxGroup/__stories__/index.stories.tsx index 9b93778956..4d684cc22b 100644 --- a/packages/ui/src/components/CheckboxGroup/__stories__/index.stories.tsx +++ b/packages/ui/src/components/CheckboxGroup/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { CheckboxGroup } from '..' export default { diff --git a/packages/ui/src/components/CheckboxGroup/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/CheckboxGroup/__tests__/__snapshots__/index.test.tsx.snap index 64ba17e044..b289bc2dca 100644 --- a/packages/ui/src/components/CheckboxGroup/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/CheckboxGroup/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`CheckboxGroup > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`CheckboxGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -36,10 +36,10 @@ exports[`CheckboxGroup > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -48,10 +48,10 @@ exports[`CheckboxGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; } .emotion-6 { @@ -59,10 +59,10 @@ exports[`CheckboxGroup > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -71,25 +71,26 @@ exports[`CheckboxGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-8 { - color: #222638; +.emotion-9 { + color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + cursor: text; } -.emotion-13 { +.emotion-14 { position: relative; display: -webkit-inline-box; display: -webkit-inline-flex; @@ -102,65 +103,65 @@ exports[`CheckboxGroup > renders correctly 1`] = ` gap: 0.5rem; } -.emotion-13 .eqr7bqq4 { +.emotion-14 .eqr7bqq3 { cursor: pointer; } -.emotion-13[aria-disabled='true'] { +.emotion-14[aria-disabled='true'] { cursor: not-allowed; color: #b5b7bd; } -.emotion-13[aria-disabled='true'] .eqr7bqq4 { +.emotion-14[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } -.emotion-13[aria-disabled='true'] .emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-19 { fill: #e9eaeb; } -.emotion-13[aria-disabled='true'] .emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-19 .emotion-21 { stroke: #d9dadd; fill: #f3f3f4; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]:checked+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]:checked+.emotion-19 { fill: #ffd3e3; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]:checked+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]:checked+.emotion-19 .emotion-21 { stroke: #ffd3e3; fill: #ffd3e3; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]+.emotion-19 { fill: #ffebf2; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]+.emotion-19 .emotion-21 { stroke: #ffbbd3; fill: #ffebf2; } -.emotion-13[aria-disabled='true'] .emotion-16:checked+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17:checked+.emotion-19 { fill: #e5dbfd; } -.emotion-13[aria-disabled='true'] .emotion-16:checked+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17:checked+.emotion-19 .emotion-21 { stroke: #d8c5fc; fill: #d8c5fc; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-checked="mixed"]+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-checked="mixed"]+.emotion-19 { fill: #e5dbfd; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-checked="mixed"]+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-checked="mixed"]+.emotion-19 .emotion-21 { stroke: #e5dbfd; fill: #e5dbfd; } -.emotion-13 .emotion-16:checked+.emotion-18 path { +.emotion-14 .emotion-17:checked+.emotion-19 path { transform-origin: center; -webkit-transition: 200ms -webkit-transform ease-in-out; transition: 200ms transform ease-in-out; @@ -174,66 +175,66 @@ exports[`CheckboxGroup > renders correctly 1`] = ` transform: translate(2px, 2px); } -.emotion-13 .emotion-16:checked+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17:checked+.emotion-19 .emotion-21 { fill: #8c40ef; stroke: #8c40ef; } -.emotion-13 .emotion-16[aria-invalid="true"]:checked+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-invalid="true"]:checked+.emotion-19 .emotion-21 { fill: #e51963; stroke: #e51963; } -.emotion-13 .emotion-16[aria-checked="mixed"]+.emotion-18 .eqr7bqq6 { +.emotion-14 .emotion-17[aria-checked="mixed"]+.emotion-19 .eqr7bqq5 { fill: #ffffff; } -.emotion-13 .emotion-16[aria-checked="mixed"]+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-checked="mixed"]+.emotion-19 .emotion-21 { fill: #8c40ef; stroke: #8c40ef; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='false']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='false']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #e5dbfd; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='true']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='true']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #792dd4; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='mixed']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='mixed']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #792dd4; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='true'][aria-checked='false']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true'][aria-checked='false']+.emotion-19 .emotion-21 { stroke: #92103f; fill: #ffd3e3; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='true'][aria-checked='true']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true'][aria-checked='true']+.emotion-19 .emotion-21 { stroke: #d6175c; fill: #d6175c; } -.emotion-13 .emotion-16[aria-invalid="true"]+.emotion-18 { +.emotion-14 .emotion-17[aria-invalid="true"]+.emotion-19 { fill: #e51963; } -.emotion-13 .emotion-16[aria-invalid="true"]+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-invalid="true"]+.emotion-19 .emotion-21 { stroke: #e51963; fill: #ffebf2; } -.emotion-13 label { +.emotion-14 label { width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; } -.emotion-15 { +.emotion-16 { position: absolute; white-space: nowrap; height: 1.5rem; @@ -242,57 +243,57 @@ exports[`CheckboxGroup > renders correctly 1`] = ` border-width: 0; } -.emotion-15:not(:disabled) { +.emotion-16:not(:disabled) { cursor: pointer; } -.emotion-15:disabled { +.emotion-16:disabled { cursor: not-allowed; } -.emotion-15:not(:disabled):checked+.emotion-18, -.emotion-15:not(:disabled)[aria-checked='mixed']+.emotion-18 { +.emotion-16:not(:disabled):checked+.emotion-19, +.emotion-16:not(:disabled)[aria-checked='mixed']+.emotion-19 { fill: #8c40ef; } -.emotion-15:not(:disabled):checked+.emotion-18 .emotion-20, -.emotion-15:not(:disabled)[aria-checked='mixed']+.emotion-18 .emotion-20 { +.emotion-16:not(:disabled):checked+.emotion-19 .emotion-21, +.emotion-16:not(:disabled)[aria-checked='mixed']+.emotion-19 .emotion-21 { stroke: #8c40ef; } -.emotion-15:not(:disabled)[aria-invalid='true']+.emotion-18, -.emotion-15:not(:disabled)[aria-invalid='mixed']+.emotion-18 { +.emotion-16:not(:disabled)[aria-invalid='true']+.emotion-19, +.emotion-16:not(:disabled)[aria-invalid='mixed']+.emotion-19 { fill: #ffebf2; } -.emotion-15:not(:disabled)[aria-invalid='true']+.emotion-18 .emotion-20, -.emotion-15:not(:disabled)[aria-invalid='mixed']+.emotion-18 .emotion-20 { +.emotion-16:not(:disabled)[aria-invalid='true']+.emotion-19 .emotion-21, +.emotion-16:not(:disabled)[aria-invalid='mixed']+.emotion-19 .emotion-21 { stroke: #b3144d; } -.emotion-15:focus+.emotion-18 { +.emotion-16:focus+.emotion-19 { background-color: #f1eefc; fill: #ffebf2; outline: 1px solid 0px 0px 0px 3px #8c40ef40; } -.emotion-15:focus+.emotion-18 .emotion-20 { +.emotion-16:focus+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #e5dbfd; } -.emotion-15[aria-invalid='true']:focus+.emotion-18 { +.emotion-16[aria-invalid='true']:focus+.emotion-19 { background-color: #ffebf2; fill: #ffebf2; outline: 1px solid 0px 0px 0px 3px #f91b6c40; } -.emotion-15[aria-invalid='true']:focus+.emotion-18 .emotion-20 { +.emotion-16[aria-invalid='true']:focus+.emotion-19 .emotion-21 { stroke: #92103f; fill: #ffd3e3; } -.emotion-17 { +.emotion-18 { border-radius: 0.25rem; height: 1.5rem; width: 1.5rem; @@ -300,7 +301,7 @@ exports[`CheckboxGroup > renders correctly 1`] = ` min-height: 1.5rem; } -.emotion-17 path { +.emotion-18 path { fill: #ffffff; -webkit-transform: translate(2px, 2px); -moz-transform: translate(2px, 2px); @@ -312,20 +313,23 @@ exports[`CheckboxGroup > renders correctly 1`] = ` transform: scale(0); } -.emotion-19 { +.emotion-20 { fill: #ffffff; stroke: #d9dadd; } -.emotion-21 { +.emotion-22 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -334,6 +338,17 @@ exports[`CheckboxGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; @@ -341,17 +356,6 @@ exports[`CheckboxGroup > renders correctly 1`] = ` -webkit-flex: 1; -ms-flex: 1; flex: 1; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -360,19 +364,16 @@ exports[`CheckboxGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } -.emotion-26 { +.emotion-27 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -399,9 +400,9 @@ exports[`CheckboxGroup > renders correctly 1`] = ` class="emotion-6 emotion-1" > - Label  + Label
renders correctly 1`] = ` >
renders correctly 1`] = `
renders correctly 1`] = `
renders correctly with direction row 1`] = `
renders correctly with direction row 1`] = `
renders correctly with error content 1`] = ` >
@@ -1510,20 +1513,20 @@ exports[`CheckboxGroup > renders correctly with error content 1`] = ` aria-checked="false" aria-describedby="«ru»-hint" aria-invalid="true" - class="emotion-15 emotion-16" + class="emotion-16 emotion-17" id="«ru»" name="Checkbox.value-1" type="checkbox" value="value-1" /> renders correctly with error content 1`] = `
@@ -1568,20 +1571,20 @@ exports[`CheckboxGroup > renders correctly with error content 1`] = ` aria-checked="false" aria-describedby="«r11»-hint" aria-invalid="true" - class="emotion-15 emotion-16" + class="emotion-16 emotion-17" id="«r11»" name="Checkbox.value-2" type="checkbox" value="value-2" /> renders correctly with error content 1`] = `
Eror content @@ -1636,10 +1639,10 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1648,10 +1651,10 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -1665,10 +1668,10 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1677,10 +1680,10 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; } .emotion-6 { @@ -1688,10 +1691,10 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1700,25 +1703,26 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-8 { - color: #222638; +.emotion-9 { + color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + cursor: text; } -.emotion-13 { +.emotion-14 { position: relative; display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1731,65 +1735,65 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` gap: 0.5rem; } -.emotion-13 .eqr7bqq4 { +.emotion-14 .eqr7bqq3 { cursor: pointer; } -.emotion-13[aria-disabled='true'] { +.emotion-14[aria-disabled='true'] { cursor: not-allowed; color: #b5b7bd; } -.emotion-13[aria-disabled='true'] .eqr7bqq4 { +.emotion-14[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } -.emotion-13[aria-disabled='true'] .emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-19 { fill: #e9eaeb; } -.emotion-13[aria-disabled='true'] .emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-19 .emotion-21 { stroke: #d9dadd; fill: #f3f3f4; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]:checked+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]:checked+.emotion-19 { fill: #ffd3e3; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]:checked+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]:checked+.emotion-19 .emotion-21 { stroke: #ffd3e3; fill: #ffd3e3; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]+.emotion-19 { fill: #ffebf2; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]+.emotion-19 .emotion-21 { stroke: #ffbbd3; fill: #ffebf2; } -.emotion-13[aria-disabled='true'] .emotion-16:checked+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17:checked+.emotion-19 { fill: #e5dbfd; } -.emotion-13[aria-disabled='true'] .emotion-16:checked+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17:checked+.emotion-19 .emotion-21 { stroke: #d8c5fc; fill: #d8c5fc; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-checked="mixed"]+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-checked="mixed"]+.emotion-19 { fill: #e5dbfd; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-checked="mixed"]+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-checked="mixed"]+.emotion-19 .emotion-21 { stroke: #e5dbfd; fill: #e5dbfd; } -.emotion-13 .emotion-16:checked+.emotion-18 path { +.emotion-14 .emotion-17:checked+.emotion-19 path { transform-origin: center; -webkit-transition: 200ms -webkit-transform ease-in-out; transition: 200ms transform ease-in-out; @@ -1803,66 +1807,66 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` transform: translate(2px, 2px); } -.emotion-13 .emotion-16:checked+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17:checked+.emotion-19 .emotion-21 { fill: #8c40ef; stroke: #8c40ef; } -.emotion-13 .emotion-16[aria-invalid="true"]:checked+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-invalid="true"]:checked+.emotion-19 .emotion-21 { fill: #e51963; stroke: #e51963; } -.emotion-13 .emotion-16[aria-checked="mixed"]+.emotion-18 .eqr7bqq6 { +.emotion-14 .emotion-17[aria-checked="mixed"]+.emotion-19 .eqr7bqq5 { fill: #ffffff; } -.emotion-13 .emotion-16[aria-checked="mixed"]+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-checked="mixed"]+.emotion-19 .emotion-21 { fill: #8c40ef; stroke: #8c40ef; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='false']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='false']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #e5dbfd; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='true']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='true']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #792dd4; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='mixed']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='mixed']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #792dd4; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='true'][aria-checked='false']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true'][aria-checked='false']+.emotion-19 .emotion-21 { stroke: #92103f; fill: #ffd3e3; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='true'][aria-checked='true']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true'][aria-checked='true']+.emotion-19 .emotion-21 { stroke: #d6175c; fill: #d6175c; } -.emotion-13 .emotion-16[aria-invalid="true"]+.emotion-18 { +.emotion-14 .emotion-17[aria-invalid="true"]+.emotion-19 { fill: #e51963; } -.emotion-13 .emotion-16[aria-invalid="true"]+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-invalid="true"]+.emotion-19 .emotion-21 { stroke: #e51963; fill: #ffebf2; } -.emotion-13 label { +.emotion-14 label { width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; } -.emotion-15 { +.emotion-16 { position: absolute; white-space: nowrap; height: 1.5rem; @@ -1871,57 +1875,57 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` border-width: 0; } -.emotion-15:not(:disabled) { +.emotion-16:not(:disabled) { cursor: pointer; } -.emotion-15:disabled { +.emotion-16:disabled { cursor: not-allowed; } -.emotion-15:not(:disabled):checked+.emotion-18, -.emotion-15:not(:disabled)[aria-checked='mixed']+.emotion-18 { +.emotion-16:not(:disabled):checked+.emotion-19, +.emotion-16:not(:disabled)[aria-checked='mixed']+.emotion-19 { fill: #8c40ef; } -.emotion-15:not(:disabled):checked+.emotion-18 .emotion-20, -.emotion-15:not(:disabled)[aria-checked='mixed']+.emotion-18 .emotion-20 { +.emotion-16:not(:disabled):checked+.emotion-19 .emotion-21, +.emotion-16:not(:disabled)[aria-checked='mixed']+.emotion-19 .emotion-21 { stroke: #8c40ef; } -.emotion-15:not(:disabled)[aria-invalid='true']+.emotion-18, -.emotion-15:not(:disabled)[aria-invalid='mixed']+.emotion-18 { +.emotion-16:not(:disabled)[aria-invalid='true']+.emotion-19, +.emotion-16:not(:disabled)[aria-invalid='mixed']+.emotion-19 { fill: #ffebf2; } -.emotion-15:not(:disabled)[aria-invalid='true']+.emotion-18 .emotion-20, -.emotion-15:not(:disabled)[aria-invalid='mixed']+.emotion-18 .emotion-20 { +.emotion-16:not(:disabled)[aria-invalid='true']+.emotion-19 .emotion-21, +.emotion-16:not(:disabled)[aria-invalid='mixed']+.emotion-19 .emotion-21 { stroke: #b3144d; } -.emotion-15:focus+.emotion-18 { +.emotion-16:focus+.emotion-19 { background-color: #f1eefc; fill: #ffebf2; outline: 1px solid 0px 0px 0px 3px #8c40ef40; } -.emotion-15:focus+.emotion-18 .emotion-20 { +.emotion-16:focus+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #e5dbfd; } -.emotion-15[aria-invalid='true']:focus+.emotion-18 { +.emotion-16[aria-invalid='true']:focus+.emotion-19 { background-color: #ffebf2; fill: #ffebf2; outline: 1px solid 0px 0px 0px 3px #f91b6c40; } -.emotion-15[aria-invalid='true']:focus+.emotion-18 .emotion-20 { +.emotion-16[aria-invalid='true']:focus+.emotion-19 .emotion-21 { stroke: #92103f; fill: #ffd3e3; } -.emotion-17 { +.emotion-18 { border-radius: 0.25rem; height: 1.5rem; width: 1.5rem; @@ -1929,7 +1933,7 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` min-height: 1.5rem; } -.emotion-17 path { +.emotion-18 path { fill: #ffffff; -webkit-transform: translate(2px, 2px); -moz-transform: translate(2px, 2px); @@ -1941,20 +1945,23 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` transform: scale(0); } -.emotion-19 { +.emotion-20 { fill: #ffffff; stroke: #d9dadd; } -.emotion-21 { +.emotion-22 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1963,6 +1970,17 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; @@ -1970,17 +1988,6 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` -webkit-flex: 1; -ms-flex: 1; flex: 1; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1989,19 +1996,16 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } -.emotion-26 { +.emotion-27 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2012,10 +2016,10 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` cursor: pointer; } -.emotion-44 { +.emotion-45 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -2040,9 +2044,9 @@ exports[`CheckboxGroup > renders correctly with helper content 1`] = ` class="emotion-6 emotion-1" > - Label  + Label
renders correctly with helper content 1`] = ` >
renders correctly with helper content 1`] = `
renders correctly with helper content 1`] = `
Helper content @@ -2182,10 +2186,10 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2194,10 +2198,10 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -2211,10 +2215,10 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2223,10 +2227,10 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; } .emotion-6 { @@ -2234,10 +2238,10 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2246,25 +2250,26 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-8 { - color: #222638; +.emotion-9 { + color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + cursor: text; } -.emotion-13 { +.emotion-14 { position: relative; display: -webkit-inline-box; display: -webkit-inline-flex; @@ -2277,65 +2282,65 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 gap: 0.5rem; } -.emotion-13 .eqr7bqq4 { +.emotion-14 .eqr7bqq3 { cursor: pointer; } -.emotion-13[aria-disabled='true'] { +.emotion-14[aria-disabled='true'] { cursor: not-allowed; color: #b5b7bd; } -.emotion-13[aria-disabled='true'] .eqr7bqq4 { +.emotion-14[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } -.emotion-13[aria-disabled='true'] .emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-19 { fill: #e9eaeb; } -.emotion-13[aria-disabled='true'] .emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-19 .emotion-21 { stroke: #d9dadd; fill: #f3f3f4; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]:checked+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]:checked+.emotion-19 { fill: #ffd3e3; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]:checked+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]:checked+.emotion-19 .emotion-21 { stroke: #ffd3e3; fill: #ffd3e3; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]+.emotion-19 { fill: #ffebf2; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]+.emotion-19 .emotion-21 { stroke: #ffbbd3; fill: #ffebf2; } -.emotion-13[aria-disabled='true'] .emotion-16:checked+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17:checked+.emotion-19 { fill: #e5dbfd; } -.emotion-13[aria-disabled='true'] .emotion-16:checked+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17:checked+.emotion-19 .emotion-21 { stroke: #d8c5fc; fill: #d8c5fc; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-checked="mixed"]+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-checked="mixed"]+.emotion-19 { fill: #e5dbfd; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-checked="mixed"]+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-checked="mixed"]+.emotion-19 .emotion-21 { stroke: #e5dbfd; fill: #e5dbfd; } -.emotion-13 .emotion-16:checked+.emotion-18 path { +.emotion-14 .emotion-17:checked+.emotion-19 path { transform-origin: center; -webkit-transition: 200ms -webkit-transform ease-in-out; transition: 200ms transform ease-in-out; @@ -2349,66 +2354,66 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 transform: translate(2px, 2px); } -.emotion-13 .emotion-16:checked+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17:checked+.emotion-19 .emotion-21 { fill: #8c40ef; stroke: #8c40ef; } -.emotion-13 .emotion-16[aria-invalid="true"]:checked+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-invalid="true"]:checked+.emotion-19 .emotion-21 { fill: #e51963; stroke: #e51963; } -.emotion-13 .emotion-16[aria-checked="mixed"]+.emotion-18 .eqr7bqq6 { +.emotion-14 .emotion-17[aria-checked="mixed"]+.emotion-19 .eqr7bqq5 { fill: #ffffff; } -.emotion-13 .emotion-16[aria-checked="mixed"]+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-checked="mixed"]+.emotion-19 .emotion-21 { fill: #8c40ef; stroke: #8c40ef; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='false']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='false']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #e5dbfd; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='true']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='true']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #792dd4; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='mixed']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='mixed']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #792dd4; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='true'][aria-checked='false']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true'][aria-checked='false']+.emotion-19 .emotion-21 { stroke: #92103f; fill: #ffd3e3; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='true'][aria-checked='true']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true'][aria-checked='true']+.emotion-19 .emotion-21 { stroke: #d6175c; fill: #d6175c; } -.emotion-13 .emotion-16[aria-invalid="true"]+.emotion-18 { +.emotion-14 .emotion-17[aria-invalid="true"]+.emotion-19 { fill: #e51963; } -.emotion-13 .emotion-16[aria-invalid="true"]+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-invalid="true"]+.emotion-19 .emotion-21 { stroke: #e51963; fill: #ffebf2; } -.emotion-13 label { +.emotion-14 label { width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; } -.emotion-15 { +.emotion-16 { position: absolute; white-space: nowrap; height: 1.5rem; @@ -2417,57 +2422,57 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 border-width: 0; } -.emotion-15:not(:disabled) { +.emotion-16:not(:disabled) { cursor: pointer; } -.emotion-15:disabled { +.emotion-16:disabled { cursor: not-allowed; } -.emotion-15:not(:disabled):checked+.emotion-18, -.emotion-15:not(:disabled)[aria-checked='mixed']+.emotion-18 { +.emotion-16:not(:disabled):checked+.emotion-19, +.emotion-16:not(:disabled)[aria-checked='mixed']+.emotion-19 { fill: #8c40ef; } -.emotion-15:not(:disabled):checked+.emotion-18 .emotion-20, -.emotion-15:not(:disabled)[aria-checked='mixed']+.emotion-18 .emotion-20 { +.emotion-16:not(:disabled):checked+.emotion-19 .emotion-21, +.emotion-16:not(:disabled)[aria-checked='mixed']+.emotion-19 .emotion-21 { stroke: #8c40ef; } -.emotion-15:not(:disabled)[aria-invalid='true']+.emotion-18, -.emotion-15:not(:disabled)[aria-invalid='mixed']+.emotion-18 { +.emotion-16:not(:disabled)[aria-invalid='true']+.emotion-19, +.emotion-16:not(:disabled)[aria-invalid='mixed']+.emotion-19 { fill: #ffebf2; } -.emotion-15:not(:disabled)[aria-invalid='true']+.emotion-18 .emotion-20, -.emotion-15:not(:disabled)[aria-invalid='mixed']+.emotion-18 .emotion-20 { +.emotion-16:not(:disabled)[aria-invalid='true']+.emotion-19 .emotion-21, +.emotion-16:not(:disabled)[aria-invalid='mixed']+.emotion-19 .emotion-21 { stroke: #b3144d; } -.emotion-15:focus+.emotion-18 { +.emotion-16:focus+.emotion-19 { background-color: #f1eefc; fill: #ffebf2; outline: 1px solid 0px 0px 0px 3px #8c40ef40; } -.emotion-15:focus+.emotion-18 .emotion-20 { +.emotion-16:focus+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #e5dbfd; } -.emotion-15[aria-invalid='true']:focus+.emotion-18 { +.emotion-16[aria-invalid='true']:focus+.emotion-19 { background-color: #ffebf2; fill: #ffebf2; outline: 1px solid 0px 0px 0px 3px #f91b6c40; } -.emotion-15[aria-invalid='true']:focus+.emotion-18 .emotion-20 { +.emotion-16[aria-invalid='true']:focus+.emotion-19 .emotion-21 { stroke: #92103f; fill: #ffd3e3; } -.emotion-17 { +.emotion-18 { border-radius: 0.25rem; height: 1.5rem; width: 1.5rem; @@ -2475,7 +2480,7 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 min-height: 1.5rem; } -.emotion-17 path { +.emotion-18 path { fill: #ffffff; -webkit-transform: translate(2px, 2px); -moz-transform: translate(2px, 2px); @@ -2487,20 +2492,23 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 transform: scale(0); } -.emotion-19 { +.emotion-20 { fill: #ffffff; stroke: #d9dadd; } -.emotion-21 { +.emotion-22 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2509,6 +2517,17 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; @@ -2516,17 +2535,6 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 -webkit-flex: 1; -ms-flex: 1; flex: 1; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2535,19 +2543,16 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } -.emotion-26 { +.emotion-27 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2574,9 +2579,9 @@ exports[`CheckboxGroup > renders correctly with no CheckboxGroup.Checkbox name 1 class="emotion-6 emotion-1" > - Label  + Label
renders correctly with no CheckboxGroup.Checkbox name 1 >
renders correctly with no CheckboxGroup.Checkbox name 1
renders correctly with no CheckboxGroup.Checkbox name 1
renders correctly with required prop 1`] = `
@@ -3193,27 +3220,27 @@ exports[`CheckboxGroup > renders correctly with required prop 1`] = `
renders correctly with required prop 1`] = `
diff --git a/packages/ui/src/components/CheckboxGroup/index.tsx b/packages/ui/src/components/CheckboxGroup/index.tsx index e833e48da7..2a25cc8b90 100644 --- a/packages/ui/src/components/CheckboxGroup/index.tsx +++ b/packages/ui/src/components/CheckboxGroup/index.tsx @@ -1,10 +1,10 @@ 'use client' import styled from '@emotion/styled' -import { AsteriskIcon } from '@ultraviolet/icons' import type { ComponentProps, InputHTMLAttributes, ReactNode } from 'react' import { createContext, useContext, useMemo } from 'react' import { Checkbox } from '../Checkbox' +import { Label } from '../Label' import { Stack } from '../Stack' import { Text } from '../Text' @@ -45,6 +45,7 @@ export const CheckboxGroupCheckbox = ({ autoFocus, 'data-testid': dataTestId, required, + tooltip, }: CheckboxGroupCheckboxProps) => { const context = useContext(CheckboxGroupContext) @@ -74,6 +75,7 @@ export const CheckboxGroupCheckbox = ({ autoFocus={autoFocus} data-testid={dataTestId} required={required} + tooltip={tooltip} > {children} @@ -86,12 +88,9 @@ const FieldSet = styled.fieldset` margin: 0; ` -const StyledRequiredIcon = styled(AsteriskIcon)` - vertical-align: super; -` - type CheckboxGroupProps = { - legend?: ReactNode + legend?: string + legendDescription?: ReactNode value?: string[] className?: string helper?: ReactNode @@ -108,6 +107,7 @@ type CheckboxGroupProps = { */ export const CheckboxGroup = ({ legend, + legendDescription, value, className, helper, @@ -138,17 +138,13 @@ export const CheckboxGroup = ({ {legend || description ? ( {legend ? ( - - {legend}  - {required ? ( - - ) : null} - + {legend} + ) : null} {description ? ( = ({ ...args }) => ( diff --git a/packages/ui/src/components/Chip/__stories__/index.stories.tsx b/packages/ui/src/components/Chip/__stories__/index.stories.tsx index 25ed36a0de..d6908aa1f0 100644 --- a/packages/ui/src/components/Chip/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Chip/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Chip } from '..' export default { diff --git a/packages/ui/src/components/Chip/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Chip/__tests__/__snapshots__/index.test.tsx.snap index b843c7684f..9d8197dc77 100644 --- a/packages/ui/src/components/Chip/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Chip/__tests__/__snapshots__/index.test.tsx.snap @@ -4,7 +4,7 @@ exports[`Checkbox > renders correctly 1`] = ` .emotion-0 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -18,10 +18,10 @@ exports[`Checkbox > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -30,10 +30,10 @@ exports[`Checkbox > renders correctly 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0.25rem 1rem; display: -webkit-box; display: -webkit-flex; @@ -123,7 +123,7 @@ exports[`Checkbox > renders correctly active 1`] = ` .emotion-0 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -137,10 +137,10 @@ exports[`Checkbox > renders correctly active 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -149,10 +149,10 @@ exports[`Checkbox > renders correctly active 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0.25rem 1rem; display: -webkit-box; display: -webkit-flex; @@ -293,7 +293,7 @@ exports[`Checkbox > renders correctly active disabled 1`] = ` .emotion-0 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -307,10 +307,10 @@ exports[`Checkbox > renders correctly active disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -319,10 +319,10 @@ exports[`Checkbox > renders correctly active disabled 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0.25rem 1rem; display: -webkit-box; display: -webkit-flex; @@ -463,7 +463,7 @@ exports[`Checkbox > renders correctly disabled 1`] = ` .emotion-0 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -477,10 +477,10 @@ exports[`Checkbox > renders correctly disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -489,10 +489,10 @@ exports[`Checkbox > renders correctly disabled 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0.25rem 1rem; display: -webkit-box; display: -webkit-flex; @@ -633,7 +633,7 @@ exports[`Checkbox > renders correctly large 1`] = ` .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -647,10 +647,10 @@ exports[`Checkbox > renders correctly large 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -659,10 +659,10 @@ exports[`Checkbox > renders correctly large 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0.25rem 1rem; display: -webkit-box; display: -webkit-flex; @@ -803,7 +803,7 @@ exports[`Checkbox > renders correctly wiht icon 1`] = ` .emotion-0 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -817,10 +817,10 @@ exports[`Checkbox > renders correctly wiht icon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -829,10 +829,10 @@ exports[`Checkbox > renders correctly wiht icon 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0.25rem 1rem; display: -webkit-box; display: -webkit-flex; diff --git a/packages/ui/src/components/CopyButton/__stories__/Template.stories.tsx b/packages/ui/src/components/CopyButton/__stories__/Template.stories.tsx index dda30e1a72..e3da97f55a 100644 --- a/packages/ui/src/components/CopyButton/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/CopyButton/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { CopyButton } from '..' export const Template: StoryFn = props => ( diff --git a/packages/ui/src/components/CopyButton/__stories__/index.stories.tsx b/packages/ui/src/components/CopyButton/__stories__/index.stories.tsx index 7d0de3b615..0b3f71c47b 100644 --- a/packages/ui/src/components/CopyButton/__stories__/index.stories.tsx +++ b/packages/ui/src/components/CopyButton/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { CopyButton } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/CopyButton/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/CopyButton/__tests__/__snapshots__/index.test.tsx.snap index 504636ca98..c41ef7a8bb 100644 --- a/packages/ui/src/components/CopyButton/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/CopyButton/__tests__/__snapshots__/index.test.tsx.snap @@ -28,7 +28,7 @@ exports[`CopyButton > renders correctly 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -43,7 +43,7 @@ exports[`CopyButton > renders correctly 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -63,6 +63,10 @@ exports[`CopyButton > renders correctly 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-2 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2:hover, .emotion-2:active { background: #e5dbfd; @@ -72,10 +76,10 @@ exports[`CopyButton > renders correctly 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -83,10 +87,6 @@ exports[`CopyButton > renders correctly 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
@@ -105,7 +105,6 @@ exports[`CopyButton > renders correctly 1`] = ` renders correctly sentiment large 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 3rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -167,7 +166,7 @@ exports[`CopyButton > renders correctly sentiment large 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -187,6 +186,10 @@ exports[`CopyButton > renders correctly sentiment large 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-2 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2:hover, .emotion-2:active { background: #e5dbfd; @@ -196,10 +199,10 @@ exports[`CopyButton > renders correctly sentiment large 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -207,10 +210,6 @@ exports[`CopyButton > renders correctly sentiment large 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
@@ -229,7 +228,6 @@ exports[`CopyButton > renders correctly sentiment large 1`] = ` renders correctly sentiment medium 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -291,7 +289,7 @@ exports[`CopyButton > renders correctly sentiment medium 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -311,6 +309,10 @@ exports[`CopyButton > renders correctly sentiment medium 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-2 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2:hover, .emotion-2:active { background: #e5dbfd; @@ -320,10 +322,10 @@ exports[`CopyButton > renders correctly sentiment medium 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -331,10 +333,6 @@ exports[`CopyButton > renders correctly sentiment medium 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
@@ -353,7 +351,6 @@ exports[`CopyButton > renders correctly sentiment medium 1`] = ` renders correctly sentiment neutral 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -415,7 +412,7 @@ exports[`CopyButton > renders correctly sentiment neutral 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -435,6 +432,10 @@ exports[`CopyButton > renders correctly sentiment neutral 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-2 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2:hover, .emotion-2:active { background: #e9eaeb; @@ -444,10 +445,10 @@ exports[`CopyButton > renders correctly sentiment neutral 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -455,10 +456,6 @@ exports[`CopyButton > renders correctly sentiment neutral 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
@@ -477,7 +474,6 @@ exports[`CopyButton > renders correctly sentiment neutral 1`] = ` renders correctly sentiment primary 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -539,7 +535,7 @@ exports[`CopyButton > renders correctly sentiment primary 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -559,6 +555,10 @@ exports[`CopyButton > renders correctly sentiment primary 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-2 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2:hover, .emotion-2:active { background: #e5dbfd; @@ -568,10 +568,10 @@ exports[`CopyButton > renders correctly sentiment primary 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -579,10 +579,6 @@ exports[`CopyButton > renders correctly sentiment primary 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
@@ -601,7 +597,6 @@ exports[`CopyButton > renders correctly sentiment primary 1`] = ` renders correctly sentiment small 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -663,7 +658,7 @@ exports[`CopyButton > renders correctly sentiment small 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -683,6 +678,10 @@ exports[`CopyButton > renders correctly sentiment small 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-2 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2:hover, .emotion-2:active { background: #e5dbfd; @@ -692,10 +691,10 @@ exports[`CopyButton > renders correctly sentiment small 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -703,10 +702,6 @@ exports[`CopyButton > renders correctly sentiment small 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
@@ -725,7 +720,6 @@ exports[`CopyButton > renders correctly sentiment small 1`] = ` renders correctly sentiment xsmall 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -787,7 +781,7 @@ exports[`CopyButton > renders correctly sentiment xsmall 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -807,6 +801,10 @@ exports[`CopyButton > renders correctly sentiment xsmall 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-2 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2:hover, .emotion-2:active { background: #e5dbfd; @@ -816,10 +814,10 @@ exports[`CopyButton > renders correctly sentiment xsmall 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -827,10 +825,6 @@ exports[`CopyButton > renders correctly sentiment xsmall 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
@@ -849,7 +843,6 @@ exports[`CopyButton > renders correctly sentiment xsmall 1`] = ` renders correctly with bordered 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -911,7 +904,7 @@ exports[`CopyButton > renders correctly with bordered 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -931,6 +924,10 @@ exports[`CopyButton > renders correctly with bordered 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-2 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2:hover, .emotion-2:active { background: #e5dbfd; @@ -941,10 +938,10 @@ exports[`CopyButton > renders correctly with bordered 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -952,16 +949,12 @@ exports[`CopyButton > renders correctly with bordered 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
renders correctly with bordered 1`] = ` renders correctly with children 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1056,6 +1048,10 @@ exports[`CopyButton > renders correctly with children 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-2 .e1y1n78x0 { + stroke: transparent; +} + .emotion-2:hover, .emotion-2:active { background: #e5dbfd; @@ -1065,10 +1061,10 @@ exports[`CopyButton > renders correctly with children 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -1076,10 +1072,6 @@ exports[`CopyButton > renders correctly with children 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
@@ -1098,7 +1090,6 @@ exports[`CopyButton > renders correctly with children 1`] = ` renders correctly with custom class name 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1161,7 +1152,7 @@ exports[`CopyButton > renders correctly with custom class name 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1181,128 +1172,8 @@ exports[`CopyButton > renders correctly with custom class name 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-2:hover, -.emotion-2:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-4 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-4 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-4 path { - fill: currentColor; -} - -
-
- -
-
- -`; - -exports[`CopyButton > renders correctly with custom copied text 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-2 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; -} - -.emotion-2:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-2:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-2 .e1y1n78x0 { + stroke: transparent; } .emotion-2:hover, @@ -1314,10 +1185,10 @@ exports[`CopyButton > renders correctly with custom copied text 1`] = ` .emotion-4 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-4 .fillStroke { @@ -1325,10 +1196,6 @@ exports[`CopyButton > renders correctly with custom copied text 1`] = ` fill: none; } -.emotion-4 path { - fill: currentColor; -} -
@@ -1341,13 +1208,12 @@ exports[`CopyButton > renders correctly with custom copied text 1`] = ` > ) diff --git a/packages/ui/src/components/DateInput/__stories__/Calendar.stories.tsx b/packages/ui/src/components/DateInput/__stories__/Calendar.stories.tsx index 249127739a..7f01255850 100644 --- a/packages/ui/src/components/DateInput/__stories__/Calendar.stories.tsx +++ b/packages/ui/src/components/DateInput/__stories__/Calendar.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { useState } from 'react' import { DateInput } from '..' diff --git a/packages/ui/src/components/DateInput/__stories__/Controlled.stories.tsx b/packages/ui/src/components/DateInput/__stories__/Controlled.stories.tsx index 6356c8570c..72f0916636 100644 --- a/packages/ui/src/components/DateInput/__stories__/Controlled.stories.tsx +++ b/packages/ui/src/components/DateInput/__stories__/Controlled.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { useState } from 'react' import { DateInput } from '..' diff --git a/packages/ui/src/components/DateInput/__stories__/Exclude.stories.tsx b/packages/ui/src/components/DateInput/__stories__/Exclude.stories.tsx index 6007dc8862..2e68adfa3f 100644 --- a/packages/ui/src/components/DateInput/__stories__/Exclude.stories.tsx +++ b/packages/ui/src/components/DateInput/__stories__/Exclude.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { DateInput } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/DateInput/__stories__/I18n.stories.tsx b/packages/ui/src/components/DateInput/__stories__/I18n.stories.tsx index 80011f97ee..f8b77997e6 100644 --- a/packages/ui/src/components/DateInput/__stories__/I18n.stories.tsx +++ b/packages/ui/src/components/DateInput/__stories__/I18n.stories.tsx @@ -1,10 +1,10 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { Locale } from 'date-fns' import { enGB } from 'date-fns/locale/en-GB' import type { ComponentProps } from 'react' import { useState } from 'react' import { DateInput } from '..' -import { SelectInputV2 } from '../../SelectInputV2' +import { SelectInput } from '../../SelectInput' const locales = ['en', 'fr', 'es', 'de', 'ru'] as const @@ -45,7 +45,7 @@ export const I18n: StoryFn> = args => { return (
- > = args => { const [endDate, setEndDate] = useState(null) const [startMonth, setStartMonth] = useState( - new Date('March 2024'), + new Date('01/03/2024'), ) const [endMonth, setEndMonth] = useState(null) diff --git a/packages/ui/src/components/DateInput/__stories__/Size.stories.tsx b/packages/ui/src/components/DateInput/__stories__/Size.stories.tsx index 7c5fa03128..835564975d 100644 --- a/packages/ui/src/components/DateInput/__stories__/Size.stories.tsx +++ b/packages/ui/src/components/DateInput/__stories__/Size.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { DateInput } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/DateInput/__stories__/Template.tsx b/packages/ui/src/components/DateInput/__stories__/Template.tsx index 55de84fcb2..e18a6ccfac 100644 --- a/packages/ui/src/components/DateInput/__stories__/Template.tsx +++ b/packages/ui/src/components/DateInput/__stories__/Template.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { DateInput } from '..' export const Template: StoryFn = props => ( diff --git a/packages/ui/src/components/DateInput/__stories__/index.stories.tsx b/packages/ui/src/components/DateInput/__stories__/index.stories.tsx index 60d3409536..ee2c0eb31c 100644 --- a/packages/ui/src/components/DateInput/__stories__/index.stories.tsx +++ b/packages/ui/src/components/DateInput/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { DateInput } from '..' export default { diff --git a/packages/ui/src/components/DateInput/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/DateInput/__tests__/__snapshots__/index.test.tsx.snap index 1d466a5ae3..7128cae653 100644 --- a/packages/ui/src/components/DateInput/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/DateInput/__tests__/__snapshots__/index.test.tsx.snap @@ -23,10 +23,10 @@ exports[`DateInput > render correctly with showMonthYearPicker 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -35,16 +35,16 @@ exports[`DateInput > render correctly with showMonthYearPicker 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -156,10 +156,10 @@ exports[`DateInput > render correctly with showMonthYearPicker 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -168,10 +168,9 @@ exports[`DateInput > render correctly with showMonthYearPicker 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -294,10 +293,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -306,16 +305,16 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -429,10 +428,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -441,10 +440,9 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -521,10 +519,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -533,10 +531,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-22 { @@ -544,10 +542,11 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -555,11 +554,9 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-24 { @@ -576,7 +573,7 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -591,7 +588,7 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -611,6 +608,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-24 .e1y1n78x0 { + stroke: transparent; +} + .emotion-24:hover, .emotion-24:active { background: #e9eaeb; @@ -620,10 +621,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date .emotion-26 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-26 .fillStroke { @@ -631,14 +632,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-29 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -691,7 +688,7 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -715,6 +712,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-38 .e1y1n78x0 { + stroke: transparent; +} + .emotion-38:hover, .emotion-38:active { background: #e9eaeb; @@ -768,7 +769,7 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -792,6 +793,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-41 .e1y1n78x0 { + stroke: transparent; +} + .emotion-41:hover, .emotion-41:active { background: #792dd4; @@ -894,9 +899,8 @@ exports[`DateInput > render correctly with showMonthYearPicker with default date type="button" > render correctly with showMonthYearPicker with default date type="button" > render correctly with showMonthYearPicker with excluded mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1077,16 +1080,16 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1200,10 +1203,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1212,10 +1215,9 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -1292,10 +1294,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1304,10 +1306,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-22 { @@ -1315,10 +1317,11 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1326,11 +1329,9 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-24 { @@ -1347,7 +1348,7 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1362,7 +1363,7 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1382,6 +1383,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-24 .e1y1n78x0 { + stroke: transparent; +} + .emotion-24:hover, .emotion-24:active { background: #e9eaeb; @@ -1391,10 +1396,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon .emotion-26 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-26 .fillStroke { @@ -1402,14 +1407,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-29 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1462,7 +1463,7 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1486,6 +1487,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-38 .e1y1n78x0 { + stroke: transparent; +} + .emotion-38:hover, .emotion-38:active { background: #e9eaeb; @@ -1539,7 +1544,7 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1561,6 +1566,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon text-decoration: none; } +.emotion-41 .e1y1n78x0 { + stroke: transparent; +} + .emotion-41[aria-label="in-range"] { color: #521094; background-color: #f1eefc; @@ -1608,7 +1617,7 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1629,6 +1638,10 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon text-decoration: none; } +.emotion-65 .e1y1n78x0 { + stroke: transparent; +} + .emotion-65[aria-label="in-range"] { color: #521094; background-color: #f1eefc; @@ -1725,9 +1738,8 @@ exports[`DateInput > render correctly with showMonthYearPicker with excluded mon type="button" > render correctly with showMonthYearPicker with excluded mon type="button" > renders correctly custom format with range 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1892,16 +1903,16 @@ exports[`DateInput > renders correctly custom format with range 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2013,10 +2024,10 @@ exports[`DateInput > renders correctly custom format with range 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2025,10 +2036,9 @@ exports[`DateInput > renders correctly custom format with range 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -2135,10 +2145,10 @@ exports[`DateInput > renders correctly disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2147,16 +2157,16 @@ exports[`DateInput > renders correctly disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2268,10 +2278,10 @@ exports[`DateInput > renders correctly disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2280,10 +2290,9 @@ exports[`DateInput > renders correctly disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -2389,10 +2398,10 @@ exports[`DateInput > renders correctly disabled 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2401,16 +2410,16 @@ exports[`DateInput > renders correctly disabled 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2522,10 +2531,10 @@ exports[`DateInput > renders correctly disabled 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2534,10 +2543,9 @@ exports[`DateInput > renders correctly disabled 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -2643,10 +2651,10 @@ exports[`DateInput > renders correctly error 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2655,16 +2663,16 @@ exports[`DateInput > renders correctly error 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2776,10 +2784,10 @@ exports[`DateInput > renders correctly error 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2788,10 +2796,10 @@ exports[`DateInput > renders correctly error 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0 1rem; } @@ -2814,10 +2822,10 @@ exports[`DateInput > renders correctly error 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2826,10 +2834,9 @@ exports[`DateInput > renders correctly error 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -2852,7 +2859,7 @@ exports[`DateInput > renders correctly error 1`] = ` .emotion-21 { color: #b3144d; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -2965,10 +2972,10 @@ exports[`DateInput > renders correctly error disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2977,16 +2984,16 @@ exports[`DateInput > renders correctly error disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3098,10 +3105,10 @@ exports[`DateInput > renders correctly error disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3110,10 +3117,10 @@ exports[`DateInput > renders correctly error disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0 1rem; } @@ -3136,10 +3143,10 @@ exports[`DateInput > renders correctly error disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3148,10 +3155,9 @@ exports[`DateInput > renders correctly error disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -3174,7 +3180,7 @@ exports[`DateInput > renders correctly error disabled 1`] = ` .emotion-21 { color: #ffbbd3; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -3288,10 +3294,10 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3300,10 +3306,10 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-6 { @@ -3311,10 +3317,10 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -3323,16 +3329,16 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-9 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3345,7 +3351,7 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` .emotion-11 { color: #b3144d; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3456,10 +3462,10 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3468,10 +3474,10 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0 1rem; } @@ -3494,10 +3500,10 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3506,10 +3512,9 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -3532,7 +3537,7 @@ exports[`DateInput > renders correctly error disabled required 1`] = ` .emotion-25 { color: #ffbbd3; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -3656,10 +3661,10 @@ exports[`DateInput > renders correctly min-max 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3668,16 +3673,16 @@ exports[`DateInput > renders correctly min-max 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3789,10 +3794,10 @@ exports[`DateInput > renders correctly min-max 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3801,10 +3806,9 @@ exports[`DateInput > renders correctly min-max 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -3909,10 +3913,10 @@ exports[`DateInput > renders correctly required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3921,10 +3925,10 @@ exports[`DateInput > renders correctly required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-6 { @@ -3932,10 +3936,10 @@ exports[`DateInput > renders correctly required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -3944,16 +3948,16 @@ exports[`DateInput > renders correctly required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-9 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -3966,7 +3970,7 @@ exports[`DateInput > renders correctly required 1`] = ` .emotion-11 { color: #b3144d; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4077,10 +4081,10 @@ exports[`DateInput > renders correctly required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4089,10 +4093,9 @@ exports[`DateInput > renders correctly required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -4225,10 +4228,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4237,16 +4240,16 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4360,10 +4363,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4372,10 +4375,9 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -4452,10 +4454,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4464,10 +4466,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-22 { @@ -4475,10 +4477,11 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4486,11 +4489,9 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-24 { @@ -4507,7 +4508,7 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4522,7 +4523,7 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4542,6 +4543,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-24 .e1y1n78x0 { + stroke: transparent; +} + .emotion-24:hover, .emotion-24:active { background: #e9eaeb; @@ -4551,10 +4556,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` .emotion-26 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-26 .fillStroke { @@ -4562,14 +4567,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-29 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4596,7 +4597,7 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` .emotion-38 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4640,7 +4641,7 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4664,6 +4665,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-59 .e1y1n78x0 { + stroke: transparent; +} + .emotion-59:hover, .emotion-59:active { background: #e9eaeb; @@ -4718,7 +4723,7 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4742,6 +4747,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-101 .e1y1n78x0 { + stroke: transparent; +} + .emotion-101:hover, .emotion-101:active { background: #792dd4; @@ -4796,7 +4805,7 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -4817,6 +4826,10 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` text-decoration: none; } +.emotion-104 .e1y1n78x0 { + stroke: transparent; +} + .emotion-104[aria-label="in-range"] { color: #521094; background-color: #f1eefc; @@ -4914,9 +4927,8 @@ exports[`DateInput > renders correctly with a array of dates to exclude 1`] = ` type="button" > renders correctly with a array of dates to exclude 1`] = ` type="button" > renders correctly with date-fns locale es 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5356,16 +5367,16 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -5479,10 +5490,10 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5491,10 +5502,9 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -5571,10 +5581,10 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5583,10 +5593,10 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-22 { @@ -5594,10 +5604,11 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5605,11 +5616,9 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-24 { @@ -5626,7 +5635,7 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5641,7 +5650,7 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -5661,6 +5670,10 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-24 .e1y1n78x0 { + stroke: transparent; +} + .emotion-24:hover, .emotion-24:active { background: #e9eaeb; @@ -5670,10 +5683,10 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` .emotion-26 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-26 .fillStroke { @@ -5681,14 +5694,10 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-29 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -5715,7 +5724,7 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` .emotion-38 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -5759,7 +5768,7 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -5783,6 +5792,10 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-59 .e1y1n78x0 { + stroke: transparent; +} + .emotion-59:hover, .emotion-59:active { background: #e9eaeb; @@ -5884,9 +5897,8 @@ exports[`DateInput > renders correctly with date-fns locale es 1`] = ` type="button" > renders correctly with date-fns locale es 1`] = ` type="button" > renders correctly with date-fns locale fr 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6323,16 +6334,16 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -6446,10 +6457,10 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6458,10 +6469,9 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -6538,10 +6548,10 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6550,10 +6560,10 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-22 { @@ -6561,10 +6571,11 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6572,11 +6583,9 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-24 { @@ -6593,7 +6602,7 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6608,7 +6617,7 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -6628,6 +6637,10 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-24 .e1y1n78x0 { + stroke: transparent; +} + .emotion-24:hover, .emotion-24:active { background: #e9eaeb; @@ -6637,10 +6650,10 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` .emotion-26 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-26 .fillStroke { @@ -6648,14 +6661,10 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-29 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -6682,7 +6691,7 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` .emotion-38 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -6726,7 +6735,7 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -6750,6 +6759,10 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-59 .e1y1n78x0 { + stroke: transparent; +} + .emotion-59:hover, .emotion-59:active { background: #e9eaeb; @@ -6851,9 +6864,8 @@ exports[`DateInput > renders correctly with date-fns locale fr 1`] = ` type="button" > renders correctly with date-fns locale fr 1`] = ` type="button" > renders correctly with date-fns locale ru 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7290,16 +7301,16 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -7413,10 +7424,10 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -7425,10 +7436,9 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -7505,10 +7515,10 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7517,10 +7527,10 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-22 { @@ -7528,10 +7538,11 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7539,11 +7550,9 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-24 { @@ -7560,7 +7569,7 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -7575,7 +7584,7 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -7595,6 +7604,10 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-24 .e1y1n78x0 { + stroke: transparent; +} + .emotion-24:hover, .emotion-24:active { background: #e9eaeb; @@ -7604,10 +7617,10 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` .emotion-26 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-26 .fillStroke { @@ -7615,14 +7628,10 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` fill: none; } -.emotion-26 path { - fill: currentColor; -} - .emotion-29 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -7649,7 +7658,7 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` .emotion-38 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -7693,7 +7702,7 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -7717,6 +7726,10 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-59 .e1y1n78x0 { + stroke: transparent; +} + .emotion-59:hover, .emotion-59:active { background: #e9eaeb; @@ -7818,9 +7831,8 @@ exports[`DateInput > renders correctly with date-fns locale ru 1`] = ` type="button" > renders correctly with date-fns locale ru 1`] = ` type="button" > renders correctly with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8239,16 +8250,16 @@ exports[`DateInput > renders correctly with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-7 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -8360,10 +8371,10 @@ exports[`DateInput > renders correctly with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8372,10 +8383,9 @@ exports[`DateInput > renders correctly with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -8470,10 +8480,10 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8482,16 +8492,16 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { color: #222638; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -8532,10 +8542,10 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8544,10 +8554,10 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-11 { @@ -8555,10 +8565,11 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8566,11 +8577,9 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-13 { @@ -8587,7 +8596,7 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8602,7 +8611,7 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8622,6 +8631,10 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-13:hover, .emotion-13:active { background: #e9eaeb; @@ -8631,10 +8644,10 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` .emotion-15 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-15 .fillStroke { @@ -8642,14 +8655,10 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` fill: none; } -.emotion-15 path { - fill: currentColor; -} - .emotion-18 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -8676,7 +8685,7 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` .emotion-27 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -8720,7 +8729,7 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -8744,6 +8753,10 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-48 .e1y1n78x0 { + stroke: transparent; +} + .emotion-48:hover, .emotion-48:active { background: #e9eaeb; @@ -8802,7 +8815,6 @@ exports[`DateInput > renders correctly with input = "calendar 1`] = ` renders correctly with input = "calendar 1`] = ` renders correctly with input = "calendar disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9209,16 +9220,16 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { color: #222638; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -9259,10 +9270,10 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9271,10 +9282,10 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; } .emotion-11 { @@ -9282,10 +9293,11 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9293,11 +9305,9 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-13 { @@ -9314,7 +9324,7 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -9329,7 +9339,7 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -9346,13 +9356,17 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` text-decoration: none; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-15 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-15 .fillStroke { @@ -9360,14 +9374,10 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` fill: none; } -.emotion-15 path { - fill: currentColor; -} - .emotion-18 { color: #b5b7bd; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -9394,7 +9404,7 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` .emotion-27 { color: #b5b7bd; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -9438,7 +9448,7 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -9459,6 +9469,10 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` text-decoration: none; } +.emotion-48 .e1y1n78x0 { + stroke: transparent; +} + .emotion-48[aria-label="in-range"] { color: #521094; background-color: #f1eefc; @@ -9512,7 +9526,6 @@ exports[`DateInput > renders correctly with input = "calendar disabled 1`] = ` renders correctly with input = "calendar disabled 1`] = ` { expect(afterDec2000[0]).toBe(1) expect(afterDec2000[1]).toBe(2001) - const afterNov2000 = getNextMonth(11, 2000) - expect(afterNov2000[0]).toBe(12) - expect(afterNov2000[1]).toBe(2000) + const afterNo000 = getNextMonth(11, 2000) + expect(afterNo000[0]).toBe(12) + expect(afterNo000[1]).toBe(2000) }) test('isSameMonth should work', () => { diff --git a/packages/ui/src/components/DateInput/__tests__/index.test.tsx b/packages/ui/src/components/DateInput/__tests__/index.test.tsx index ce9556e25c..2d65f536b0 100644 --- a/packages/ui/src/components/DateInput/__tests__/index.test.tsx +++ b/packages/ui/src/components/DateInput/__tests__/index.test.tsx @@ -410,6 +410,7 @@ describe('DateInput', () => { await userEvent.click(input) await userEvent.type(input, '08/21/1995') + input.blur() expect(mockOnChange).toBeCalled() expect(screen.getByText('August', { exact: false })).toBeInTheDocument() }) @@ -429,6 +430,7 @@ describe('DateInput', () => { await userEvent.click(input) await userEvent.type(input, '08/21/1995') + input.blur() expect(mockOnChange).toBeCalled() expect(screen.getByText('August', { exact: false })).toBeInTheDocument() }) @@ -448,6 +450,8 @@ describe('DateInput', () => { await userEvent.click(input) await userEvent.type(input, '2000/08') + input.blur() + expect(mockOnChange).toBeCalled() expect(screen.getByText('2000', { exact: false })).toBeInTheDocument() }) @@ -466,8 +470,8 @@ describe('DateInput', () => { const input = screen.getByPlaceholderText('YYYY-MM-DD') await userEvent.click(input) - await userEvent.type(input, '2000/08') + input.blur() expect(mockOnChange).toBeCalled() expect(screen.getByText('2000', { exact: false })).toBeInTheDocument() }) diff --git a/packages/ui/src/components/DateInput/components/CalendarContent.tsx b/packages/ui/src/components/DateInput/components/CalendarContent.tsx index 3a556a3414..18138f0be7 100644 --- a/packages/ui/src/components/DateInput/components/CalendarContent.tsx +++ b/packages/ui/src/components/DateInput/components/CalendarContent.tsx @@ -1,6 +1,7 @@ 'use client' import styled from '@emotion/styled' +import { ArrowLeftIcon, ArrowRightIcon } from '@ultraviolet/icons' import { useContext } from 'react' import { Button } from '../../Button' import { Stack } from '../../Stack' @@ -31,7 +32,6 @@ export const CalendarContent = () => { { {yearToShow} {showMonthYearPicker ? : } diff --git a/packages/ui/src/components/DateInput/components/CalendarDaily.tsx b/packages/ui/src/components/DateInput/components/CalendarDaily.tsx index a3d2af5c05..fd38e71c3d 100644 --- a/packages/ui/src/components/DateInput/components/CalendarDaily.tsx +++ b/packages/ui/src/components/DateInput/components/CalendarDaily.tsx @@ -29,7 +29,8 @@ const Day = styled(Button)` &[aria-label="in-range"]:hover { color: ${({ theme }) => theme.colors.neutral.textStronger}; - background-color: ${({ theme }) => theme.colors.primary.backgroundStrongHover}; + background-color: ${({ theme }) => + theme.colors.primary.backgroundStrongHover}; } &[aria-label="not-current"], :disabled { diff --git a/packages/ui/src/components/DateInput/helpers.ts b/packages/ui/src/components/DateInput/helpers.ts index 8141831b58..8db902a19e 100644 --- a/packages/ui/src/components/DateInput/helpers.ts +++ b/packages/ui/src/components/DateInput/helpers.ts @@ -66,8 +66,14 @@ export const formatValue = ( ) => { if (selectsRange && computedRange) { return format - ? `${format(computedRange.start ?? undefined) ? `${format(computedRange.start ?? undefined)} - ` : ''}${format(computedRange.end ?? undefined) ?? ''}` - : `${getDateISO(showMonthYearPicker, computedRange.start ?? undefined)}${computedRange.start ? ' - ' : ''}${getDateISO(showMonthYearPicker, computedRange.end ?? undefined)}` + ? `${ + format(computedRange.start ?? undefined) + ? `${format(computedRange.start ?? undefined)} - ` + : '' + }${format(computedRange.end ?? undefined) ?? ''}` + : `${getDateISO(showMonthYearPicker, computedRange.start ?? undefined)}${ + computedRange.start ? ' - ' : '' + }${getDateISO(showMonthYearPicker, computedRange.end ?? undefined)}` } if (computedValue && format) { @@ -87,3 +93,43 @@ export const styleCalendarContainer = (theme: Theme) => ` border-radius: ${theme.radii.default}; background-color: ${theme.colors.other.elevation.background.raised}; ` + +export const createDate = (value: string, showMonthYearPicker: boolean) => { + if (showMonthYearPicker) { + // Force YYYY/MM (since MM/YYYY not recognised as a date in typescript) + const res = value.split(/\D+/).map(val => Number.parseInt(val, 10)) + const year = + Math.max(...res) < 100 ? Math.max(...res) + 2000 : Math.max(...res) // MM/YY should be seen as MM/20YY instead of MM/19YY + + const month = Math.min(...res) - 1 + const computedDate = new Date(year, month) + const isValidDate = !!computedDate.getTime() + + return isValidDate ? computedDate : null + } + + const computedDate = new Date(value) + const isValidDate = !!computedDate.getTime() + + return isValidDate ? computedDate : null +} + +export const createDateRange = ( + value: string, + showMonthYearPicker: boolean, +) => { + const [startDateInput, endDateInput] = value + .split(' - ') + .map(val => createDate(val, showMonthYearPicker)) + + const computedNewRange: [Date | null, Date | null] = [ + startDateInput instanceof Date && !Number.isNaN(startDateInput.getTime()) + ? startDateInput + : null, + endDateInput instanceof Date && !Number.isNaN(endDateInput.getTime()) + ? endDateInput + : null, + ] + + return computedNewRange +} diff --git a/packages/ui/src/components/DateInput/index.tsx b/packages/ui/src/components/DateInput/index.tsx index 8a235e5943..d110afeced 100644 --- a/packages/ui/src/components/DateInput/index.tsx +++ b/packages/ui/src/components/DateInput/index.tsx @@ -8,12 +8,17 @@ import { useEffect, useMemo, useRef, useState } from 'react' import { Card } from '../Card' import { Stack } from '../Stack' import { Text } from '../Text' -import { TextInputV2 } from '../TextInputV2' -import type { ContextProps } from './Context' +import { TextInput } from '../TextInput' import { DateInputContext } from './Context' +import type { ContextProps } from './Context' import { CalendarContent } from './components/CalendarContent' import { CalendarPopup } from './components/Popup' -import { formatValue, styleCalendarContainer } from './helpers' +import { + createDate, + createDateRange, + formatValue, + styleCalendarContainer, +} from './helpers' import { getDays, getLocalizedMonths, getMonths } from './helpersLocale' const Container = styled.div` @@ -32,8 +37,8 @@ type DateInputProps = { autoFocus?: boolean locale?: string | Locale disabled?: boolean - maxDate?: Date | null - minDate?: Date | null + maxDate?: Date + minDate?: Date name?: string onBlur?: (event: FocusEvent) => void onFocus?: (event: FocusEvent) => void @@ -146,6 +151,7 @@ export const DateInput = ({ ) const [hoveredDate, setHoveredDate] = useState(null) const refInput = useRef(null) + const popupRef = useRef(null) const MONTHS = getMonths(locale) const DAYS = getDays(locale) const MONTHS_ARR = getLocalizedMonths(locale) @@ -221,33 +227,29 @@ export const DateInput = ({ end: endDate ?? computedRange.end, }) } - // oxlint-disable-next-line react/exhaustive-deps - }, [endDate, startDate, value]) + }, [ + endDate, + startDate, + value, + computedRange.start, + computedRange.end, + selectsRange, + format, + showMonthYearPicker, + ]) const manageOnChange = (event: ChangeEvent) => { const newValue = event.currentTarget.value - if (selectsRange) { - const [startDateInput, endDateInput] = newValue.split(' - ').map(val => { - if (showMonthYearPicker) { - // Force YYYY/MM (since MM/YYYY not recognised as a date in typescript) - const res = val.split(/\D+/).map(aa => Number.parseInt(aa, 10)) - - return new Date(Math.max(...res), Math.min(...res) - 1) - } - - return new Date(val) - }) + if (!newValue) + onChange?.( + (selectsRange ? [null, null] : null) as + | (Date[] & Date) + | ([Date | null, Date | null] & Date), + ) - const computedNewRange: [Date | null, Date | null] = [ - startDateInput instanceof Date && - !Number.isNaN(startDateInput.getTime()) - ? startDateInput - : null, - endDateInput instanceof Date && !Number.isNaN(endDateInput.getTime()) - ? endDateInput - : null, - ] + if (selectsRange) { + const computedNewRange = createDateRange(newValue, showMonthYearPicker) setRange({ start: computedNewRange[0], end: computedNewRange[1] }) setInputValue(newValue) @@ -256,26 +258,38 @@ export const DateInput = ({ setMonthToShow(computedNewRange[0].getMonth() + 1) setYearToShow(computedNewRange[0].getFullYear()) } - // TypeScript fails to automatically get the correct type of onChange here - ;( - onChange as ( - date: Date[] | [Date | null, Date | null], - event: React.SyntheticEvent | undefined, - ) => void - )?.(computedNewRange, event) } else { - const computedDate = Date.parse(newValue) ? new Date(newValue) : null - setInputValue(newValue) - setValue(computedDate) + const computedDate = createDate(newValue, showMonthYearPicker) if (computedDate) { setMonthToShow(computedDate.getMonth() + 1) setYearToShow(computedDate.getFullYear()) + setValue(computedDate) + } + } + setInputValue(newValue) + } + + const onBlurInput = () => { + // Only call onChange when there is a date typed in the input and the user did not click on the calendar (which triggers onChange itself) + if (inputValue) { + if (selectsRange) { + const computedNewRange = createDateRange( + inputValue, + showMonthYearPicker, + ) + ;( + onChange as ( + date: Date[] | [Date | null, Date | null], + event: React.SyntheticEvent | undefined, + ) => void + )?.(computedNewRange, undefined) + } else { + const computedDate = createDate(inputValue, showMonthYearPicker) + ;( + onChange as (date: Date | null, event?: React.SyntheticEvent) => void + )?.(computedDate, undefined) } - // TypeScript fails to automatically get the correct type of onChange here - ;( - onChange as (date: Date | null, event?: React.SyntheticEvent) => void - )?.(computedDate, event) } } @@ -290,6 +304,7 @@ export const DateInput = ({ onClick={() => { if (!isPopupVisible) setVisible(true) }} + ref={popupRef} > {input === 'text' ? ( ({ refInput={refInput} content={} > - ({ tooltip={tooltip} autoComplete="false" onChange={manageOnChange} + onBlur={event => { + if (!popupRef.current?.contains(event.relatedTarget)) + onBlurInput() + }} + onKeyDown={event => { + if (event.key === 'Enter') { + setVisible(!isPopupVisible) + onBlurInput() + } + }} clearable={clearable} /> diff --git a/packages/ui/src/components/Dialog/__stories__/Sentiments.stories.tsx b/packages/ui/src/components/Dialog/__stories__/Sentiments.stories.tsx index f9e0d77a8c..de674b1138 100644 --- a/packages/ui/src/components/Dialog/__stories__/Sentiments.stories.tsx +++ b/packages/ui/src/components/Dialog/__stories__/Sentiments.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Dialog } from '..' import { Button } from '../../Button' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/Dialog/__stories__/Specification.stories.tsx b/packages/ui/src/components/Dialog/__stories__/Specification.stories.tsx index 1b13ec18f8..5be9daf7e9 100644 --- a/packages/ui/src/components/Dialog/__stories__/Specification.stories.tsx +++ b/packages/ui/src/components/Dialog/__stories__/Specification.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Dialog } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Dialog/__stories__/Template.stories.tsx b/packages/ui/src/components/Dialog/__stories__/Template.stories.tsx index 905b9f5b90..aa2e37d2f8 100644 --- a/packages/ui/src/components/Dialog/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Dialog/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Dialog } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Dialog/__stories__/index.stories.tsx b/packages/ui/src/components/Dialog/__stories__/index.stories.tsx index 92e9b47ad3..7c19237b5e 100644 --- a/packages/ui/src/components/Dialog/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Dialog/__stories__/index.stories.tsx @@ -1,13 +1,9 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Dialog } from '..' export default { component: Dialog, title: 'Components/Overlay/Dialog', - parameters: { - experimental: true, - }, - tags: ['experimental'], } as Meta export { Playground } from './Playground.stories' diff --git a/packages/ui/src/components/Dialog/index.tsx b/packages/ui/src/components/Dialog/index.tsx index 1b45450205..e95feda9c2 100644 --- a/packages/ui/src/components/Dialog/index.tsx +++ b/packages/ui/src/components/Dialog/index.tsx @@ -1,6 +1,7 @@ 'use client' import styled from '@emotion/styled' +import { AlertCircleIcon, CheckIcon } from '@ultraviolet/icons' import type { ComponentProps } from 'react' import { useMemo } from 'react' import { Bullet } from '../Bullet' @@ -67,12 +68,13 @@ export const BaseDialog = ({ }: DialogProps) => { const headerContent = ( <> - + + {sentiment === 'warning' || sentiment === 'danger' ? ( + + ) : ( + + )} + + first part + + second part +
+ ), +} + +NoPadding.parameters = { + docs: { + description: { + story: + 'You can specify `noPadding` to avoid having padding in your content container. You can use Drawer.Content subcomponent if you need to apply it later.', + }, + }, +} diff --git a/packages/ui/src/components/Drawer/__stories__/Size.stories.tsx b/packages/ui/src/components/Drawer/__stories__/Size.stories.tsx index e39f8bdcd1..1624737da4 100644 --- a/packages/ui/src/components/Drawer/__stories__/Size.stories.tsx +++ b/packages/ui/src/components/Drawer/__stories__/Size.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Drawer, SIZES } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Drawer/__stories__/Template.stories.tsx b/packages/ui/src/components/Drawer/__stories__/Template.stories.tsx index 480fa9c359..115a0701c6 100644 --- a/packages/ui/src/components/Drawer/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Drawer/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Drawer } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Drawer/__stories__/index.stories.tsx b/packages/ui/src/components/Drawer/__stories__/index.stories.tsx index 472d9e181e..a8dc6c3baa 100644 --- a/packages/ui/src/components/Drawer/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Drawer/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Drawer } from '..' export default { @@ -10,3 +10,4 @@ export { Playground } from './Playground.stories' export { Size } from './Size.stories' export { Footer } from './Footer.stories' export { FunctionProps } from './FunctionProps.stories' +export { NoPadding } from './NoPadding.stories' diff --git a/packages/ui/src/components/Drawer/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Drawer/__tests__/__snapshots__/index.test.tsx.snap index 740dc48086..8ef2fb426e 100644 --- a/packages/ui/src/components/Drawer/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Drawer/__tests__/__snapshots__/index.test.tsx.snap @@ -586,10 +586,10 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -598,10 +598,10 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; height: 100%; position: relative; } @@ -611,10 +611,10 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -623,10 +623,10 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; height: 100%; position: relative; } @@ -684,24 +684,30 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` .emotion-12 { overflow-y: auto; height: 100%; - padding-inline: 1rem; } .emotion-12 { overflow-y: auto; height: 100%; +} + +.emotion-14 { padding-inline: 1rem; } .emotion-14 { + padding-inline: 1rem; +} + +.emotion-16 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -710,23 +716,22 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 1rem; padding-top: 0; } -.emotion-14 { +.emotion-16 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -735,27 +740,26 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 1rem; padding-top: 0; } -.emotion-16 { +.emotion-18 { position: absolute; top: 1rem; right: 1rem; } -.emotion-16 { +.emotion-18 { position: absolute; top: 1rem; right: 1rem; } -.emotion-18 { +.emotion-20 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -769,7 +773,7 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -784,7 +788,7 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -795,22 +799,26 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` color: #3f4250; } -.emotion-18:hover { +.emotion-20:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-18:active { +.emotion-20:active { box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-18:hover, -.emotion-18:active { +.emotion-20 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-20:hover, +.emotion-20:active { background: #e9eaeb; color: #222638; } -.emotion-18 { +.emotion-20 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -824,7 +832,7 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -839,7 +847,7 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -850,57 +858,53 @@ exports[`Drawer > renders with disclosure and onClose 1`] = ` color: #3f4250; } -.emotion-18:hover { +.emotion-20:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-18:active { +.emotion-20:active { box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-18:hover, -.emotion-18:active { +.emotion-20 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-20:hover, +.emotion-20:active { background: #e9eaeb; color: #222638; } -.emotion-20 { +.emotion-22 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-20 .fillStroke { +.emotion-22 .fillStroke { stroke: currentColor; fill: none; } -.emotion-20 path { - fill: currentColor; -} - -.emotion-20 { +.emotion-22 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-20 .fillStroke { +.emotion-22 .fillStroke { stroke: currentColor; fill: none; } -.emotion-20 path { - fill: currentColor; -} -
renders with disclosure and onClose 1`] = `
-
- drawer +
+
+ drawer +
diff --git a/packages/ui/src/components/Expandable/__stories__/MinHeight.stories.tsx b/packages/ui/src/components/Expandable/__stories__/MinHeight.stories.tsx index b72dda428f..e8a3e6b2dd 100644 --- a/packages/ui/src/components/Expandable/__stories__/MinHeight.stories.tsx +++ b/packages/ui/src/components/Expandable/__stories__/MinHeight.stories.tsx @@ -1,4 +1,5 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { MinusIcon, PlusIcon } from '@ultraviolet/icons' import { useState } from 'react' import { Expandable } from '..' import { Button } from '../../Button' @@ -10,7 +11,8 @@ export const MinHeight: StoryFn = args => { return ( <> - diff --git a/packages/ui/src/components/Expandable/__stories__/NestedExpandable.stories.tsx b/packages/ui/src/components/Expandable/__stories__/NestedExpandable.stories.tsx index 5af7a339a7..8dca3a7755 100644 --- a/packages/ui/src/components/Expandable/__stories__/NestedExpandable.stories.tsx +++ b/packages/ui/src/components/Expandable/__stories__/NestedExpandable.stories.tsx @@ -1,4 +1,5 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { MinusIcon, PlusIcon } from '@ultraviolet/icons' import { useState } from 'react' import { Expandable } from '..' import { Button } from '../../Button' @@ -13,11 +14,13 @@ export const NestedExpandable: StoryFn = args => { return ( <> - - diff --git a/packages/ui/src/components/Expandable/__stories__/NoAnimations.stories.tsx b/packages/ui/src/components/Expandable/__stories__/NoAnimations.stories.tsx index 0f49319131..c8f97558ae 100644 --- a/packages/ui/src/components/Expandable/__stories__/NoAnimations.stories.tsx +++ b/packages/ui/src/components/Expandable/__stories__/NoAnimations.stories.tsx @@ -1,4 +1,5 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { MinusIcon, PlusIcon } from '@ultraviolet/icons' import { useState } from 'react' import { Expandable } from '..' import { Button } from '../../Button' @@ -10,7 +11,8 @@ export const NoAnimations: StoryFn = args => { return ( <> - diff --git a/packages/ui/src/components/Expandable/__stories__/Template.stories.tsx b/packages/ui/src/components/Expandable/__stories__/Template.stories.tsx index d0e23ec5b1..bf512c2825 100644 --- a/packages/ui/src/components/Expandable/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Expandable/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Expandable } from '..' export const Template: StoryFn = ({ opened, ...args }) => ( diff --git a/packages/ui/src/components/Expandable/__stories__/index.stories.tsx b/packages/ui/src/components/Expandable/__stories__/index.stories.tsx index 4ce1bd6687..8e1a47c7ad 100644 --- a/packages/ui/src/components/Expandable/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Expandable/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Expandable } from '..' export default { diff --git a/packages/ui/src/components/Expandable/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Expandable/__tests__/__snapshots__/index.test.tsx.snap index 497d05e31a..6521818814 100644 --- a/packages/ui/src/components/Expandable/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Expandable/__tests__/__snapshots__/index.test.tsx.snap @@ -16,7 +16,7 @@ exports[`Expandable > renders correctly opened 1`] = ` >
Sample Expandable
@@ -40,7 +40,8 @@ exports[`Expandable > renders correctly with animationDuration 1`] = ` >
Sample Expandable
@@ -78,7 +79,8 @@ exports[`Expandable > renders correctly with className 1`] = ` >
Sample Expandable
@@ -102,7 +104,8 @@ exports[`Expandable > renders correctly with default values 1`] = ` >
Sample Expandable
@@ -126,7 +129,8 @@ exports[`Expandable > renders correctly with minHeight 1`] = ` >
Sample Expandable
diff --git a/packages/ui/src/components/Expandable/index.tsx b/packages/ui/src/components/Expandable/index.tsx index 0a660d22ce..6681cf139d 100644 --- a/packages/ui/src/components/Expandable/index.tsx +++ b/packages/ui/src/components/Expandable/index.tsx @@ -69,6 +69,14 @@ export const AnimatedExpandable = ({ const ref = useRef(null) const shouldBeAnimated = animationDuration > 0 + // To avoid expanded animation on first render + const isFirstRender = useRef(true) + + useEffect(() => { + setTimeout(() => { + if (isFirstRender.current) isFirstRender.current = false + }, 0) + }, []) /** * At mount, we set the height variable to the height of the content only if the component is closed. * This is to ensure we don't have animation when the component is opened at mount. @@ -85,7 +93,10 @@ export const AnimatedExpandable = ({ * Setting it to initial is required to be able to have nested expandable or the height won't follow. */ useEffect(() => { - if (opened && ref.current && height) { + if (isFirstRender.current && !opened && ref.current) { + ref.current.style.maxHeight = `${minHeight ?? 0}px` + ref.current.style.overflow = 'hidden' + } else if (opened && ref.current && height) { ref.current.style.maxHeight = `${height}px` ref.current.style.visibility = '' transitionTimer.current = setTimeout(() => { @@ -129,7 +140,7 @@ export const AnimatedExpandable = ({ ref={ref} className={className} animationDuration={animationDuration} - data-is-animated={shouldBeAnimated} + data-is-animated={shouldBeAnimated && !isFirstRender.current} > {children} diff --git a/packages/ui/src/components/ExpandableCard/__stories__/Controlled.stories.tsx b/packages/ui/src/components/ExpandableCard/__stories__/Controlled.stories.tsx index a2c194ebdf..930942d993 100644 --- a/packages/ui/src/components/ExpandableCard/__stories__/Controlled.stories.tsx +++ b/packages/ui/src/components/ExpandableCard/__stories__/Controlled.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useReducer } from 'react' import { ExpandableCard } from '..' import { Button, Stack } from '../..' diff --git a/packages/ui/src/components/ExpandableCard/__stories__/Draggable.stories.tsx b/packages/ui/src/components/ExpandableCard/__stories__/Draggable.stories.tsx new file mode 100644 index 0000000000..967ae4b8c1 --- /dev/null +++ b/packages/ui/src/components/ExpandableCard/__stories__/Draggable.stories.tsx @@ -0,0 +1,70 @@ +import type { StoryFn } from '@storybook/react-vite' +import { useState } from 'react' +import type { KeyboardEvent } from 'react' +import { ExpandableCard } from '..' +import { Stack } from '../..' + +export const Draggable: StoryFn = args => { + const [cards, setCards] = useState(['Pool-1', 'Pool-2', 'Pool-3', 'Pool-4']) + + const onDrop = (newValue: string, oldValue: string) => { + const oldIndex = cards.indexOf(oldValue) + let newIndex = cards.indexOf(newValue) + + if (newIndex < oldIndex) { + newIndex += 1 // If moving up, we put the element after the old index + } + + const newCards = [...cards] + newCards.splice(oldIndex, 1) + newCards.splice(newIndex, 0, oldValue) + + console.log('newCards', newCards, newIndex, oldIndex, newValue, oldValue) + setCards(newCards) + } + + return ( + + {cards.map((name, index) => { + const onKeyDown = (event: KeyboardEvent) => { + if (event.key === 'ArrowUp' && index > 0) { + event.preventDefault() + onDrop(cards[index], cards[index - 1]) + } else if (event.key === 'ArrowDown' && index < cards.length - 1) { + event.preventDefault() + onDrop(cards[index + 1], cards[index]) + } + } + + return ( + + Content for {name} + + ) + })} + + ) +} + +Draggable.args = { + draggableTooltip: 'Custom tooltip text', +} + +Draggable.parameters = { + docs: { + description: { + story: + 'Using prop `draggable` you can make the ExpandableCard draggable. You can set up a custom tooltip using the `draggableTooltip` prop. By default, the tooltip has the value "Click and drag to move. Give a different `value` to every draggable card. See code for accessibility support (keyboard event).', + }, + }, +} diff --git a/packages/ui/src/components/ExpandableCard/__stories__/Header.stories.tsx b/packages/ui/src/components/ExpandableCard/__stories__/Header.stories.tsx index 146aa30132..33dacee718 100644 --- a/packages/ui/src/components/ExpandableCard/__stories__/Header.stories.tsx +++ b/packages/ui/src/components/ExpandableCard/__stories__/Header.stories.tsx @@ -1,7 +1,8 @@ -import type { Decorator, StoryFn } from '@storybook/react' +import type { Decorator, StoryFn } from '@storybook/react-vite' +import { DeleteIcon, DotsHorizontalIcon } from '@ultraviolet/icons' import { KubernetesProductIcon } from '@ultraviolet/icons/product' import { ExpandableCard } from '..' -import { Button, MenuV2, Stack, Text } from '../..' +import { Button, Menu, Stack, Text } from '../..' export const Header: StoryFn = () => ( @@ -25,20 +26,19 @@ export const Header: StoryFn = () => (
- + + } > - Action 1 - Action 2 - + Action 1 + Action 2 + } diff --git a/packages/ui/src/components/ExpandableCard/__stories__/Name.stories.tsx b/packages/ui/src/components/ExpandableCard/__stories__/Name.stories.tsx index 1b080e0378..d646970c5f 100644 --- a/packages/ui/src/components/ExpandableCard/__stories__/Name.stories.tsx +++ b/packages/ui/src/components/ExpandableCard/__stories__/Name.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { ExpandableCard } from '..' import { Stack } from '../..' diff --git a/packages/ui/src/components/ExpandableCard/__stories__/Size.stories.tsx b/packages/ui/src/components/ExpandableCard/__stories__/Size.stories.tsx index e7d47f3af0..6026c5a3ca 100644 --- a/packages/ui/src/components/ExpandableCard/__stories__/Size.stories.tsx +++ b/packages/ui/src/components/ExpandableCard/__stories__/Size.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { EXPANDABLE_CARD_SIZE, ExpandableCard } from '..' import { Stack } from '../..' diff --git a/packages/ui/src/components/ExpandableCard/__stories__/Template.stories.tsx b/packages/ui/src/components/ExpandableCard/__stories__/Template.stories.tsx index 60291d547a..5ecd7e13f6 100644 --- a/packages/ui/src/components/ExpandableCard/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/ExpandableCard/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { ExpandableCard } from '..' export const Template: StoryFn = ({ ...args }) => ( diff --git a/packages/ui/src/components/ExpandableCard/__stories__/index.stories.tsx b/packages/ui/src/components/ExpandableCard/__stories__/index.stories.tsx index 3dbc864245..1ac6fe72b0 100644 --- a/packages/ui/src/components/ExpandableCard/__stories__/index.stories.tsx +++ b/packages/ui/src/components/ExpandableCard/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { ExpandableCard } from '..' export default { @@ -15,3 +15,4 @@ export { Header } from './Header.stories' export { Disabled } from './Disabled.stories' export { Controlled } from './Controlled.stories' export { Name } from './Name.stories' +export { Draggable } from './Draggable.stories' diff --git a/packages/ui/src/components/ExpandableCard/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/ExpandableCard/__tests__/__snapshots__/index.test.tsx.snap index b2df7937f5..d59f15c73d 100644 --- a/packages/ui/src/components/ExpandableCard/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/ExpandableCard/__tests__/__snapshots__/index.test.tsx.snap @@ -3,26 +3,63 @@ exports[`ExpandableCard > renders correctly with complex header 1`] = ` .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; + position: relative; +} + +.emotion-0:hover>.emotion-3 { + border-color: #8c40ef; +} + +.emotion-2 { border: 1px solid #d9dadd; border-radius: 0.25rem; + width: 100%; + -webkit-transition: border-color 0.2s ease-in-out; + transition: border-color 0.2s ease-in-out; } -.emotion-0[open] { +.emotion-2[open] { border-color: #8c40ef; } -.emotion-0[open]>.emotion-12 { +.emotion-2[open]>.emotion-14 { border-color: #8c40ef; } -.emotion-0[open] .emotion-4 { +.emotion-2[open] .emotion-6 { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } -.emotion-2 { +.emotion-2[data-clicking="true"] { + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + border-color: #8c40ef; +} + +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -40,13 +77,13 @@ exports[`ExpandableCard > renders correctly with complex header 1`] = ` cursor: pointer; } -.emotion-2[data-disabled="true"] { +.emotion-4[data-disabled="true"] { background: #f9f9fa; border-radius: 0.25rem; cursor: not-allowed; } -.emotion-5 { +.emotion-7 { vertical-align: middle; fill: #3f4250; height: 1rem; @@ -55,15 +92,15 @@ exports[`ExpandableCard > renders correctly with complex header 1`] = ` min-height: 1rem; } -.emotion-5 .fillStroke { +.emotion-7 .fillStroke { stroke: #3f4250; fill: none; } -.emotion-7 { +.emotion-9 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -72,9 +109,9 @@ exports[`ExpandableCard > renders correctly with complex header 1`] = ` text-decoration: none; } -.emotion-9 { +.emotion-11 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -83,6 +120,168 @@ exports[`ExpandableCard > renders correctly with complex header 1`] = ` text-decoration: none; } +.emotion-13 { + border-top: 1px solid #d9dadd; + padding: 1.5rem; +} + +
+
+
+ + + + +
+

+ Title +

+

+ Description +

+
+
+
+ Content +
+
+
+
+
+`; + +exports[`ExpandableCard > renders correctly with default values 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; + position: relative; +} + +.emotion-0:hover>.emotion-3 { + border-color: #8c40ef; +} + +.emotion-2 { + border: 1px solid #d9dadd; + border-radius: 0.25rem; + width: 100%; + -webkit-transition: border-color 0.2s ease-in-out; + transition: border-color 0.2s ease-in-out; +} + +.emotion-2[open] { + border-color: #8c40ef; +} + +.emotion-2[open]>.emotion-12 { + border-color: #8c40ef; +} + +.emotion-2[open] .emotion-6 { + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); +} + +.emotion-2[data-clicking="true"] { + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + border-color: #8c40ef; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -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; + gap: 1rem; + padding: 1.5rem; + list-style-type: none; + cursor: pointer; +} + +.emotion-4[data-disabled="true"] { + background: #f9f9fa; + border-radius: 0.25rem; + cursor: not-allowed; +} + +.emotion-7 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-7 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-9 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + .emotion-11 { border-top: 1px solid #d9dadd; padding: 1.5rem; @@ -91,69 +290,173 @@ exports[`ExpandableCard > renders correctly with complex header 1`] = `
-
- - - - -
+ + +

Title

-

- Description -

+
+
+ Content
- -
- Content -
-
+ +
`; -exports[`ExpandableCard > renders correctly with default values 1`] = ` +exports[`ExpandableCard > works properly draggable 1`] = ` .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; + position: relative; +} + +.emotion-0:hover>.emotion-9 { + border-color: #8c40ef; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + height: 100%; + opacity: 0; + -webkit-transition: opacity 0.2s ease-in-out; + transition: opacity 0.2s ease-in-out; + cursor: -webkit-grab; + cursor: grab; + padding-top: calc(1.5rem + 2px); +} + +.emotion-2[data-visible="true"] { + opacity: 1; +} + +.emotion-2:focus-within { + opacity: 1; +} + +.emotion-2:active { + cursor: -webkit-grabbing; + cursor: grabbing; + opacity: 1; +} + +.emotion-4 { + display: inherit; +} + +.emotion-4[data-container-full-height="true"] { + height: 100%; +} + +.emotion-4[data-container-full-width="true"] { + width: 100%; +} + +.emotion-6 { + vertical-align: middle; + fill: #222638; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-6 .fillStroke { + stroke: #222638; + fill: none; +} + +.emotion-8 { border: 1px solid #d9dadd; border-radius: 0.25rem; + width: 100%; + -webkit-transition: border-color 0.2s ease-in-out; + transition: border-color 0.2s ease-in-out; } -.emotion-0[open] { +.emotion-8[open] { border-color: #8c40ef; } -.emotion-0[open]>.emotion-10 { +.emotion-8[open]>.emotion-18 { border-color: #8c40ef; } -.emotion-0[open] .emotion-4 { +.emotion-8[open] .emotion-12 { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } -.emotion-2 { +.emotion-8[data-clicking="true"] { + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + border-color: #8c40ef; +} + +.emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -171,13 +474,13 @@ exports[`ExpandableCard > renders correctly with default values 1`] = ` cursor: pointer; } -.emotion-2[data-disabled="true"] { +.emotion-10[data-disabled="true"] { background: #f9f9fa; border-radius: 0.25rem; cursor: not-allowed; } -.emotion-5 { +.emotion-13 { vertical-align: middle; fill: #3f4250; height: 1rem; @@ -186,15 +489,15 @@ exports[`ExpandableCard > renders correctly with default values 1`] = ` min-height: 1rem; } -.emotion-5 .fillStroke { +.emotion-13 .fillStroke { stroke: #3f4250; fill: none; } -.emotion-7 { +.emotion-15 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -203,43 +506,251 @@ exports[`ExpandableCard > renders correctly with default values 1`] = ` text-decoration: none; } -.emotion-9 { +.emotion-17 { border-top: 1px solid #d9dadd; padding: 1.5rem; } +.emotion-19 { + height: 1.5rem; + border-bottom: 2px solid; + border-color: transparent; + padding: 0.25rem 0; + width: 100%; + bottom: -5px; + position: absolute; +} + +.emotion-19[data-first="true"] { + top: -1.5rem; +} + +.emotion-19::after { + content: ''; + left: 0; + bottom: -4px; + height: 0px; + width: 0px; + border: 3px solid; + border-color: inherit; + border-radius: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + margin-top: -0.5rem; + margin-left: -0.125rem; + position: absolute; +} + +.emotion-29 { + vertical-align: middle; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-29 .fillStroke { + stroke: #727683; + fill: none; +} +
-
+
+
+ + + +
+
+
+ + + + +

+ Title +

+
+
+ Content +
+
+
+
+
+
- +
+ + + +
+
+
- - - -

+ + +

+ Title +

+ +
- Title -

- + Content +
+
+
+
+
- Content +
+ + + +
- +
+ + + + +

+ Title +

+
+
+ Content +
+
+
+
`; diff --git a/packages/ui/src/components/ExpandableCard/__tests__/index.test.tsx b/packages/ui/src/components/ExpandableCard/__tests__/index.test.tsx index 2464011b82..dfe753db74 100644 --- a/packages/ui/src/components/ExpandableCard/__tests__/index.test.tsx +++ b/packages/ui/src/components/ExpandableCard/__tests__/index.test.tsx @@ -1,4 +1,4 @@ -import { screen, waitFor } from '@testing-library/react' +import { fireEvent, screen, waitFor } from '@testing-library/react' import { userEvent } from '@testing-library/user-event' import { renderWithTheme } from '@utils/test' import { describe, expect, test, vi } from 'vitest' @@ -56,6 +56,52 @@ describe('ExpandableCard', () => { expect(screen.getByText('Content')).toBeVisible() }) + test('works properly draggable', async () => { + const onDrop = vi.fn() + const onKeyDown = vi.fn() + const { asFragment } = renderWithTheme( + ['card-1', 'card-2', 'card-3'].map((name, index) => ( + + Content + + )), + ) + const draggableCard1 = screen.getByTestId('draggable-icon-card-1') + const draggableCard2 = screen.getByTestId('draggable-icon-card-2') + const dropZone = screen.getByTestId('card-1-dropable-area') + await userEvent.hover(draggableCard1) + expect(draggableCard1).toBeVisible() + + const data = JSON.stringify({ value: 'card-2' }) + fireEvent.dragStart(draggableCard2, { dataTransfer: { setData: vi.fn() } }) + fireEvent.dragEnter(draggableCard1) + fireEvent.dragLeave(draggableCard1) + fireEvent.dragOver(dropZone) + fireEvent.drop(dropZone, { + dataTransfer: { + getData: (type: string) => (type === 'text' ? data : ''), + }, + }) + + expect(onDrop).toHaveBeenCalledWith('card-1', 'card-2') + + fireEvent.focus(draggableCard1) + await userEvent.tab() + await userEvent.keyboard('[Enter]') + await userEvent.keyboard('[ArrowUp]') + expect(onKeyDown).toHaveBeenCalledOnce() + + expect(asFragment()).toMatchSnapshot() + }) + test('works properly when controlled and open with key interaction', async () => { const onToggleExpand = vi.fn() renderWithTheme( diff --git a/packages/ui/src/components/ExpandableCard/index.tsx b/packages/ui/src/components/ExpandableCard/index.tsx index 549f8cc68d..e2a08f6e9c 100644 --- a/packages/ui/src/components/ExpandableCard/index.tsx +++ b/packages/ui/src/components/ExpandableCard/index.tsx @@ -1,14 +1,46 @@ 'use client' +import { useTheme } from '@emotion/react' import styled from '@emotion/styled' -import { ArrowDownIcon } from '@ultraviolet/icons' -import type { ForwardedRef, ReactNode } from 'react' -import { forwardRef, useRef } from 'react' +import { ArrowDownIcon, DragIcon } from '@ultraviolet/icons' +import type { DragEvent, ForwardedRef, KeyboardEvent, ReactNode } from 'react' +import { forwardRef, useCallback, useRef, useState } from 'react' import type { XOR } from '../../types' +import { Stack } from '../Stack' +import { Tooltip } from '../Tooltip' import { ExpandableCardTitle } from './components/Title' const StyledArrowIcon = styled(ArrowDownIcon)`` +const DropableArea = styled.div` + height: ${({ theme }) => theme.space['3']}; + border-bottom: 2px solid; + border-color: transparent; + padding: ${({ theme }) => theme.space['0.5']} 0; + width: 100%; + bottom: -5px; + position: absolute; + + &[data-first="true"] { + top: -${({ theme }) => theme.space['3']}; + } + + &::after { + content: ''; + left: 0; + bottom: -4px; + height: 0px; + width: 0px; + border: 3px solid; + border-color: inherit; + border-radius: ${({ theme }) => theme.radii.circle}; + display: flex; + margin-top: -${({ theme }) => theme.space['1']}; + margin-left: -${({ theme }) => theme.space['0.25']}; + position: absolute; + } +` + const StyledSummary = styled.summary` display: flex; flex-direction: row; @@ -27,12 +59,15 @@ const StyledSummary = styled.summary` const StyledContent = styled.div` border-top: 1px solid ${({ theme }) => theme.colors.neutral.border}; - padding: ${({ theme }) => theme.space['3']} + padding: ${({ theme }) => theme.space['3']}; + ` const StyledDetails = styled.details` border: 1px solid ${({ theme }) => theme.colors.neutral.border}; border-radius: ${({ theme }) => theme.radii.default}; + width: 100%; + transition: border-color 0.2s ease-in-out; &[open] { border-color: ${({ theme }) => theme.colors.primary.border}; @@ -45,11 +80,68 @@ const StyledDetails = styled.details` transform: rotate(180deg); } } + + &[data-clicking="true"] { + box-shadow: ${({ theme }) => `${theme.shadows.raised[0]}, ${theme.shadows.raised[1]}`}; + border-color: ${({ theme }) => theme.colors.primary.border}; + + } +` +const StyledStack = styled(Stack)` + position: relative; + &:hover > ${StyledDetails} { + border-color: ${({ theme }) => theme.colors.primary.border}; + } + ` + +const DragIconContainer = styled(Stack)` + height: 100%; + opacity: 0; + transition: opacity 0.2s ease-in-out; + cursor: grab; + padding-top: calc(${({ theme }) => theme.space['3']} + 2px); + + &[data-visible="true"] { + opacity: 1; + } + &:focus-within { + opacity: 1; + } + + &:active { + cursor: grabbing; + opacity: 1; + } ` export const EXPANDABLE_CARD_SIZE = ['medium', 'large'] as const + +type DraggableListType = { value?: string } type ExpandableCardSize = (typeof EXPANDABLE_CARD_SIZE)[number] +type DraggableProps = + | { + draggable: true + value: string + draggableTooltip?: string + onDrop?: (newValue: string, oldValue: string) => void + /** + * Index of the card in the of draggable cards + */ + index: number + /** + * You this prop to handle drag and drop with the keyboard (accessibility) + */ + onKeyDown?: (event: KeyboardEvent) => void + } + | { + draggable?: never + value?: never + draggableTooltip?: never + onDrop?: never + index?: never + onKeyDown?: never + } type CommonProps = { header: ReactNode size?: ExpandableCardSize @@ -58,7 +150,8 @@ type CommonProps = { disabled?: boolean 'data-testid'?: string className?: string -} +} & DraggableProps + type ExpandableCardProps = XOR< [CommonProps & { expanded: boolean; onToggleExpand: () => void }, CommonProps] > @@ -73,53 +166,191 @@ const BaseExpandableCard = forwardRef( expanded, onToggleExpand, className, + draggable, + value, + draggableTooltip = 'Click and drag to move', + onDrop, + index, + onKeyDown, 'data-testid': dataTestId, }: ExpandableCardProps, ref: ForwardedRef, ) => { const headerRef = useRef(null) + const containerRef = useRef(null) + const draggableRef = useRef(null) + const draggableFirstRef = useRef(null) + const [isHovered, setIsHovered] = useState(false) + const [clicking, setClicking] = useState(false) + + const theme = useTheme() + + const handleMouseEnter = () => { + setIsHovered(true) + } + const handleMouseLeave = () => { + setIsHovered(false) + } + + const onDragStart = useCallback( + (event: DragEvent) => { + event.dataTransfer.setData('text/plain', JSON.stringify({ value })) + }, + [value], + ) + + const onDragEnd = useCallback(() => setClicking(false), []) + + const onDrag = useCallback( + ( + event: DragEvent, + borderColor: string, + isFirst?: boolean, + ) => { + const refElement = isFirst ? draggableFirstRef : draggableRef + event.preventDefault() + if (refElement.current) { + refElement.current.style.borderColor = borderColor + } + }, + [], + ) + + const handleDrop = useCallback( + (event: DragEvent, isFirst?: boolean) => { + event.preventDefault() + if (draggableRef.current) { + draggableRef.current.style.borderColor = 'transparent' + } + + if (event?.dataTransfer) { + const data = JSON.parse( + event.dataTransfer.getData('text'), + ) as DraggableListType + + onDrop?.(isFirst ? '' : value, data.value ?? '') + } + }, + [onDrop, value], + ) return ( - - { - if (disabled || onToggleExpand) { - onToggleExpand?.() - event.preventDefault() - } - }} - onKeyDown={ - onToggleExpand - ? event => { - if (event.key === ' ' && event.target === headerRef.current) { - onToggleExpand() - event.preventDefault() - } + {draggable ? ( + setClicking(true)} + onMouseUp={() => setClicking(false)} + data-testid={`draggable-icon-${value}`} + onKeyDown={event => { + if (event.key === 'Enter' || event.key === ' ') { + event.preventDefault() + if (clicking && containerRef.current) { + setClicking(false) + setIsHovered(false) + } else if (containerRef.current) { + setClicking(true) + setIsHovered(true) } - : undefined - } + } + if (clicking) { + onKeyDown?.(event) + } + }} + > + + + + + ) : null} + - - {typeof header === 'string' ? ( - - {header} - - ) : ( - header - )} - - {children} - + { + if (disabled || onToggleExpand) { + onToggleExpand?.() + event.preventDefault() + } + }} + onKeyDown={ + onToggleExpand + ? event => { + if ( + event.key === ' ' && + event.target === headerRef.current + ) { + onToggleExpand() + event.preventDefault() + } + } + : undefined + } + > + + {typeof header === 'string' ? ( + + {header} + + ) : ( + header + )} + + {children} + + {draggable && index === 0 ? ( + + onDrag(event, theme.colors.primary.border, true) + } + onDragLeave={event => onDrag(event, 'transparent', true)} + onDrop={event => handleDrop(event, true)} + /> + ) : null} + {draggable ? ( + onDrag(event, theme.colors.primary.border)} + onDragLeave={event => onDrag(event, 'transparent')} + onDrop={handleDrop} + data-testid={`${value}-dropable-area`} + /> + ) : null} + ) }, ) diff --git a/packages/ui/src/components/GlobalAlert/__stories__/Link.stories.tsx b/packages/ui/src/components/GlobalAlert/__stories__/Link.stories.tsx index 7f8f0dcec0..e645fc1db5 100644 --- a/packages/ui/src/components/GlobalAlert/__stories__/Link.stories.tsx +++ b/packages/ui/src/components/GlobalAlert/__stories__/Link.stories.tsx @@ -1,4 +1,4 @@ -import type { Decorator } from '@storybook/react' +import type { Decorator } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Stack } from '../../Stack' import { GlobalAlert } from '../index' diff --git a/packages/ui/src/components/GlobalAlert/__stories__/Template.stories.tsx b/packages/ui/src/components/GlobalAlert/__stories__/Template.stories.tsx index 48ec395f3d..1ae1c2550b 100644 --- a/packages/ui/src/components/GlobalAlert/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/GlobalAlert/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { GlobalAlert } from '..' export const Template: StoryFn = args => ( diff --git a/packages/ui/src/components/GlobalAlert/__stories__/Variants.stories.tsx b/packages/ui/src/components/GlobalAlert/__stories__/Variants.stories.tsx index 125f0ebade..11a0da6163 100644 --- a/packages/ui/src/components/GlobalAlert/__stories__/Variants.stories.tsx +++ b/packages/ui/src/components/GlobalAlert/__stories__/Variants.stories.tsx @@ -1,4 +1,4 @@ -import type { Decorator } from '@storybook/react' +import type { Decorator } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Stack } from '../../Stack' import { GlobalAlert } from '../index' diff --git a/packages/ui/src/components/GlobalAlert/__stories__/index.stories.tsx b/packages/ui/src/components/GlobalAlert/__stories__/index.stories.tsx index 71e9f5cf1e..674b71a8e2 100644 --- a/packages/ui/src/components/GlobalAlert/__stories__/index.stories.tsx +++ b/packages/ui/src/components/GlobalAlert/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { GlobalAlert } from '..' export default { diff --git a/packages/ui/src/components/GlobalAlert/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/GlobalAlert/__tests__/__snapshots__/index.test.tsx.snap index 9f5fb989a6..b91f758f0e 100644 --- a/packages/ui/src/components/GlobalAlert/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/GlobalAlert/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -19,10 +19,9 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; width: 100%; height: 3.5rem; padding: 0 1rem; @@ -45,10 +44,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -57,16 +56,16 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -89,7 +88,7 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -104,7 +103,7 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -127,6 +126,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-7 .e1y1n78x0 { + stroke: transparent; +} + .emotion-7:hover, .emotion-7:active { background: #792dd4; @@ -142,10 +145,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v .emotion-9 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-9 .fillStroke { @@ -153,10 +156,6 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v fill: none; } -.emotion-9 path { - fill: currentColor; -} -
@@ -180,7 +179,6 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v renders correctly with all variants > renders correctly v display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -211,10 +209,9 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; width: 100%; height: 3.5rem; padding: 0 1rem; @@ -237,10 +234,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -249,16 +246,16 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -281,7 +278,7 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -296,7 +293,7 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -319,6 +316,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-7 .e1y1n78x0 { + stroke: transparent; +} + .emotion-7:hover, .emotion-7:active { background: #792dd4; @@ -334,10 +335,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v .emotion-9 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-9 .fillStroke { @@ -345,10 +346,6 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v fill: none; } -.emotion-9 path { - fill: currentColor; -} -
@@ -372,7 +369,6 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v renders correctly with all variants > renders correctly v display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -403,10 +399,9 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; width: 100%; height: 3.5rem; padding: 0 1rem; @@ -429,10 +424,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -441,16 +436,16 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -473,7 +468,7 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -488,7 +483,7 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -511,6 +506,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-7 .e1y1n78x0 { + stroke: transparent; +} + .emotion-7:hover, .emotion-7:active { background: #792dd4; @@ -526,10 +525,10 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v .emotion-9 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-9 .fillStroke { @@ -537,10 +536,6 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v fill: none; } -.emotion-9 path { - fill: currentColor; -} -
@@ -564,7 +559,6 @@ exports[`GlobalAlert > renders correctly with all variants > renders correctly v renders correctly with buttonText and onClickButton 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -595,10 +589,9 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; width: 100%; height: 3.5rem; padding: 0 1rem; @@ -621,10 +614,10 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -633,16 +626,16 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -680,7 +673,7 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -700,6 +693,10 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-6:hover, .emotion-6:active { background: #f9f9fa; @@ -720,7 +717,7 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -735,7 +732,7 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -758,6 +755,10 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-9 .e1y1n78x0 { + stroke: transparent; +} + .emotion-9:hover, .emotion-9:active { background: #792dd4; @@ -773,10 +774,10 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = .emotion-11 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-11 .fillStroke { @@ -784,10 +785,6 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = fill: none; } -.emotion-11 path { - fill: currentColor; -} -
@@ -817,7 +814,6 @@ exports[`GlobalAlert > renders correctly with buttonText and onClickButton 1`] = renders correctly with children as component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -848,10 +844,9 @@ exports[`GlobalAlert > renders correctly with children as component 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; width: 100%; height: 3.5rem; padding: 0 1rem; @@ -874,10 +869,10 @@ exports[`GlobalAlert > renders correctly with children as component 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -886,16 +881,16 @@ exports[`GlobalAlert > renders correctly with children as component 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -918,7 +913,7 @@ exports[`GlobalAlert > renders correctly with children as component 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -933,7 +928,7 @@ exports[`GlobalAlert > renders correctly with children as component 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -956,6 +951,10 @@ exports[`GlobalAlert > renders correctly with children as component 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-7 .e1y1n78x0 { + stroke: transparent; +} + .emotion-7:hover, .emotion-7:active { background: #792dd4; @@ -971,10 +970,10 @@ exports[`GlobalAlert > renders correctly with children as component 1`] = ` .emotion-9 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-9 .fillStroke { @@ -982,10 +981,6 @@ exports[`GlobalAlert > renders correctly with children as component 1`] = ` fill: none; } -.emotion-9 path { - fill: currentColor; -} -
@@ -1009,7 +1004,6 @@ exports[`GlobalAlert > renders correctly with children as component 1`] = ` renders correctly with closable and onClose 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1040,10 +1034,9 @@ exports[`GlobalAlert > renders correctly with closable and onClose 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; width: 100%; height: 3.5rem; padding: 0 1rem; @@ -1066,10 +1059,10 @@ exports[`GlobalAlert > renders correctly with closable and onClose 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1078,16 +1071,16 @@ exports[`GlobalAlert > renders correctly with closable and onClose 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1110,7 +1103,7 @@ exports[`GlobalAlert > renders correctly with closable and onClose 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1125,7 +1118,7 @@ exports[`GlobalAlert > renders correctly with closable and onClose 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1148,6 +1141,10 @@ exports[`GlobalAlert > renders correctly with closable and onClose 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-7 .e1y1n78x0 { + stroke: transparent; +} + .emotion-7:hover, .emotion-7:active { background: #792dd4; @@ -1163,10 +1160,10 @@ exports[`GlobalAlert > renders correctly with closable and onClose 1`] = ` .emotion-9 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-9 .fillStroke { @@ -1174,10 +1171,6 @@ exports[`GlobalAlert > renders correctly with closable and onClose 1`] = ` fill: none; } -.emotion-9 path { - fill: currentColor; -} -
@@ -1201,7 +1194,6 @@ exports[`GlobalAlert > renders correctly with closable and onClose 1`] = ` renders correctly with default values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1232,10 +1224,9 @@ exports[`GlobalAlert > renders correctly with default values 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; width: 100%; height: 3.5rem; padding: 0 1rem; @@ -1258,10 +1249,10 @@ exports[`GlobalAlert > renders correctly with default values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1270,16 +1261,16 @@ exports[`GlobalAlert > renders correctly with default values 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1302,7 +1293,7 @@ exports[`GlobalAlert > renders correctly with default values 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1317,7 +1308,7 @@ exports[`GlobalAlert > renders correctly with default values 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1340,6 +1331,10 @@ exports[`GlobalAlert > renders correctly with default values 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-7 .e1y1n78x0 { + stroke: transparent; +} + .emotion-7:hover, .emotion-7:active { background: #792dd4; @@ -1355,10 +1350,10 @@ exports[`GlobalAlert > renders correctly with default values 1`] = ` .emotion-9 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-9 .fillStroke { @@ -1366,10 +1361,6 @@ exports[`GlobalAlert > renders correctly with default values 1`] = ` fill: none; } -.emotion-9 path { - fill: currentColor; -} -
@@ -1393,7 +1384,6 @@ exports[`GlobalAlert > renders correctly with default values 1`] = ` renders correctly with link 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1424,10 +1414,9 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; width: 100%; height: 3.5rem; padding: 0 1rem; @@ -1450,10 +1439,10 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1462,10 +1451,9 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; width: 100%; height: 3.5rem; padding: 0 1rem; @@ -1488,10 +1476,10 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1500,10 +1488,10 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-2 { @@ -1511,10 +1499,10 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1523,16 +1511,16 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1544,7 +1532,7 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` .emotion-4 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1572,7 +1560,7 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1580,8 +1568,8 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` text-case: none; } -.emotion-6 .e1afnb7a2, .emotion-6 .e1afnb7a3, +.emotion-6 .e1afnb7a2, .emotion-6 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1592,8 +1580,8 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` } .emotion-6:visited { - color: #641cb3; text-decoration-color: transparent; + color: #ffffff; } .emotion-6:hover, @@ -1606,22 +1594,22 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` text-decoration-color: #f9f9fa; } -.emotion-6:hover .e1afnb7a2, -.emotion-6:focus .e1afnb7a2, .emotion-6:hover .e1afnb7a3, .emotion-6:focus .e1afnb7a3, +.emotion-6:hover .e1afnb7a2, +.emotion-6:focus .e1afnb7a2, .emotion-6:hover .e1afnb7a4, .emotion-6:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-6:hover:visited, .emotion-6:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #ffffff; } .emotion-6[data-variant='inline'] { @@ -1653,7 +1641,7 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1668,7 +1656,7 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1691,6 +1679,10 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-9 .e1y1n78x0 { + stroke: transparent; +} + .emotion-9:hover, .emotion-9:active { background: #792dd4; @@ -1717,7 +1709,7 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1732,7 +1724,7 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1755,6 +1747,10 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-9 .e1y1n78x0 { + stroke: transparent; +} + .emotion-9:hover, .emotion-9:active { background: #792dd4; @@ -1770,10 +1766,10 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` .emotion-11 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-11 .fillStroke { @@ -1781,17 +1777,13 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` fill: none; } -.emotion-11 path { - fill: currentColor; -} - .emotion-11 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-11 .fillStroke { @@ -1799,10 +1791,6 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` fill: none; } -.emotion-11 path { - fill: currentColor; -} -
@@ -1836,7 +1824,6 @@ exports[`GlobalAlert > renders correctly with link 1`] = ` { toggleOpened() onClose?.() }} - /> + > + + ) : null} ) diff --git a/packages/ui/src/components/InfiniteScroll/__stories__/SelectInput.stories.tsx b/packages/ui/src/components/InfiniteScroll/__stories__/SelectInput.stories.tsx index 624b00eee7..43d705a38f 100644 --- a/packages/ui/src/components/InfiniteScroll/__stories__/SelectInput.stories.tsx +++ b/packages/ui/src/components/InfiniteScroll/__stories__/SelectInput.stories.tsx @@ -1,8 +1,8 @@ import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { InfiniteScroll } from '..' -import { SelectInputV2 } from '../../SelectInputV2' +import { SelectInput as SelectInputUV } from '../../SelectInput' import { Skeleton } from '../../Skeleton' import { Stack } from '../../Stack' import { SELECT_INPUT_DATA, generateRandomNamesArray } from './data' @@ -37,7 +37,7 @@ export const SelectInput: StoryFn = args => { } return ( - = props => diff --git a/packages/ui/src/components/Label/__stories__/Usage.stories.tsx b/packages/ui/src/components/Label/__stories__/Usage.stories.tsx index ddfecd21ea..22252af56a 100644 --- a/packages/ui/src/components/Label/__stories__/Usage.stories.tsx +++ b/packages/ui/src/components/Label/__stories__/Usage.stories.tsx @@ -1,8 +1,8 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Label } from '..' import { Checkbox } from '../../Checkbox' import { Row } from '../../Row' -import { SelectInputV2 } from '../../SelectInputV2' +import { SelectInput } from '../../SelectInput' import { Stack } from '../../Stack' const values = [ @@ -23,13 +23,13 @@ export const Usage: StoryFn = () => ( Using prop label inside the component : - - = () => ( - - + + Checkbox diff --git a/packages/ui/src/components/Label/__stories__/index.stories.tsx b/packages/ui/src/components/Label/__stories__/index.stories.tsx index a638fa4942..3dbfd12174 100644 --- a/packages/ui/src/components/Label/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Label/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Label } from '..' export default { diff --git a/packages/ui/src/components/Label/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Label/__tests__/__snapshots__/index.test.tsx.snap index 59c9216ab9..1dbc8f7d59 100644 --- a/packages/ui/src/components/Label/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Label/__tests__/__snapshots__/index.test.tsx.snap @@ -5,7 +5,7 @@ exports[`DateInput > renders correctly large 1`] = ` .emotion-1 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -32,7 +32,7 @@ exports[`DateInput > renders correctly medium 1`] = ` .emotion-1 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -61,10 +61,10 @@ exports[`DateInput > renders correctly required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -73,16 +73,16 @@ exports[`DateInput > renders correctly required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -95,7 +95,7 @@ exports[`DateInput > renders correctly required 1`] = ` .emotion-5 { color: #b3144d; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -130,7 +130,7 @@ exports[`DateInput > renders correctly small 1`] = ` .emotion-1 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -157,7 +157,7 @@ exports[`DateInput > renders correctly with default props 1`] = ` .emotion-1 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -184,7 +184,7 @@ exports[`DateInput > renders correctly with htmlFor 1`] = ` .emotion-1 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -221,10 +221,10 @@ exports[`DateInput > renders correctly with label description (ReactNode) 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -233,16 +233,16 @@ exports[`DateInput > renders correctly with label description (ReactNode) 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -278,10 +278,10 @@ exports[`DateInput > renders correctly with label description (string) 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -290,16 +290,16 @@ exports[`DateInput > renders correctly with label description (string) 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -311,7 +311,7 @@ exports[`DateInput > renders correctly with label description (string) 1`] = ` .emotion-5 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; diff --git a/packages/ui/src/components/LineChart/CustomLegend.tsx b/packages/ui/src/components/LineChart/CustomLegend.tsx index 0862c5fe64..7115a48107 100644 --- a/packages/ui/src/components/LineChart/CustomLegend.tsx +++ b/packages/ui/src/components/LineChart/CustomLegend.tsx @@ -55,7 +55,7 @@ const StyledText = styled(Text)` ` const Cell = ({ value, variant }: CellProps) => ( - + {value as string | number} ) diff --git a/packages/ui/src/components/LineChart/__stories__/Template.stories.tsx b/packages/ui/src/components/LineChart/__stories__/Template.stories.tsx index 46fb0e4b6d..cf8a304774 100644 --- a/packages/ui/src/components/LineChart/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/LineChart/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { LineChart } from '..' import { lineChartData } from './mockData' diff --git a/packages/ui/src/components/LineChart/__stories__/index.stories.tsx b/packages/ui/src/components/LineChart/__stories__/index.stories.tsx index 96ae833ad4..fad214591a 100644 --- a/packages/ui/src/components/LineChart/__stories__/index.stories.tsx +++ b/packages/ui/src/components/LineChart/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { LineChart } from '..' export default { diff --git a/packages/ui/src/components/LineChart/__tests__/__snapshots__/Tooltip.test.tsx.snap b/packages/ui/src/components/LineChart/__tests__/__snapshots__/Tooltip.test.tsx.snap index a91d64d597..cb2cda5740 100644 --- a/packages/ui/src/components/LineChart/__tests__/__snapshots__/Tooltip.test.tsx.snap +++ b/packages/ui/src/components/LineChart/__tests__/__snapshots__/Tooltip.test.tsx.snap @@ -28,7 +28,7 @@ exports[`LineChart Tooltip > renders correctly 1`] = ` .emotion-4 { color: #ffffff; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -40,7 +40,7 @@ exports[`LineChart Tooltip > renders correctly 1`] = ` .emotion-6 { color: #ffffff; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; diff --git a/packages/ui/src/components/LineChart/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/LineChart/__tests__/__snapshots__/index.test.tsx.snap index 6271c48305..70a657fc5d 100644 --- a/packages/ui/src/components/LineChart/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/LineChart/__tests__/__snapshots__/index.test.tsx.snap @@ -59,7 +59,7 @@ exports[`LineChart > renders correctly when data is async 1`] = ` .emotion-6 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -79,7 +79,7 @@ exports[`LineChart > renders correctly when data is async 1`] = ` .emotion-6 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -223,7 +223,7 @@ exports[`LineChart > renders correctly when data is async 1`] = ` stroke: #e51963; } -.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq6 { +.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq5 { fill: #ffffff; } @@ -361,7 +361,7 @@ exports[`LineChart > renders correctly when data is async 1`] = ` stroke: #e51963; } -.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq6 { +.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq5 { fill: #ffffff; } @@ -577,10 +577,13 @@ exports[`LineChart > renders correctly when data is async 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -589,13 +592,10 @@ exports[`LineChart > renders correctly when data is async 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-29 { @@ -603,10 +603,13 @@ exports[`LineChart > renders correctly when data is async 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -615,13 +618,10 @@ exports[`LineChart > renders correctly when data is async 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-31 { @@ -629,10 +629,13 @@ exports[`LineChart > renders correctly when data is async 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -641,13 +644,10 @@ exports[`LineChart > renders correctly when data is async 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-31 { @@ -655,10 +655,13 @@ exports[`LineChart > renders correctly when data is async 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -667,13 +670,10 @@ exports[`LineChart > renders correctly when data is async 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-33 { @@ -711,7 +711,7 @@ exports[`LineChart > renders correctly when data is async 1`] = ` .emotion-37 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -723,7 +723,7 @@ exports[`LineChart > renders correctly when data is async 1`] = ` .emotion-37 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -749,7 +749,7 @@ exports[`LineChart > renders correctly when data is async 1`] = ` .emotion-41 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -769,7 +769,7 @@ exports[`LineChart > renders correctly when data is async 1`] = ` .emotion-41 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1212,7 +1212,7 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` .emotion-6 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1232,7 +1232,7 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` .emotion-6 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1376,7 +1376,7 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` stroke: #e51963; } -.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq6 { +.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq5 { fill: #ffffff; } @@ -1514,7 +1514,7 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` stroke: #e51963; } -.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq6 { +.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq5 { fill: #ffffff; } @@ -1730,10 +1730,13 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1742,13 +1745,10 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-29 { @@ -1756,10 +1756,13 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1768,13 +1771,10 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-31 { @@ -1782,10 +1782,13 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1794,13 +1797,10 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-31 { @@ -1808,10 +1808,13 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1820,13 +1823,10 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-33 { @@ -1864,7 +1864,7 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` .emotion-37 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1876,7 +1876,7 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` .emotion-37 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1902,7 +1902,7 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` .emotion-41 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1922,7 +1922,7 @@ exports[`LineChart > renders correctly when legend is deselected 1`] = ` .emotion-41 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -2151,7 +2151,7 @@ exports[`LineChart > renders correctly with detailed legend 1`] = ` .emotion-6 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2279,7 +2279,7 @@ exports[`LineChart > renders correctly with detailed legend 1`] = ` stroke: #e51963; } -.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq6 { +.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq5 { fill: #ffffff; } @@ -2411,10 +2411,13 @@ exports[`LineChart > renders correctly with detailed legend 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2423,13 +2426,10 @@ exports[`LineChart > renders correctly with detailed legend 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-31 { @@ -2437,10 +2437,13 @@ exports[`LineChart > renders correctly with detailed legend 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2449,13 +2452,10 @@ exports[`LineChart > renders correctly with detailed legend 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-33 { @@ -2477,7 +2477,7 @@ exports[`LineChart > renders correctly with detailed legend 1`] = ` .emotion-37 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -2496,7 +2496,7 @@ exports[`LineChart > renders correctly with detailed legend 1`] = ` .emotion-41 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -2693,7 +2693,7 @@ exports[`LineChart > renders correctly with multiple series 1`] = ` .emotion-6 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2821,7 +2821,7 @@ exports[`LineChart > renders correctly with multiple series 1`] = ` stroke: #e51963; } -.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq6 { +.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq5 { fill: #ffffff; } @@ -2953,10 +2953,13 @@ exports[`LineChart > renders correctly with multiple series 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2965,13 +2968,10 @@ exports[`LineChart > renders correctly with multiple series 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-31 { @@ -2979,10 +2979,13 @@ exports[`LineChart > renders correctly with multiple series 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2991,13 +2994,10 @@ exports[`LineChart > renders correctly with multiple series 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-33 { @@ -3019,7 +3019,7 @@ exports[`LineChart > renders correctly with multiple series 1`] = ` .emotion-37 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -3038,7 +3038,7 @@ exports[`LineChart > renders correctly with multiple series 1`] = ` .emotion-41 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -3459,7 +3459,7 @@ exports[`LineChart > renders correctly with timeline data 1`] = ` .emotion-6 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -3587,7 +3587,7 @@ exports[`LineChart > renders correctly with timeline data 1`] = ` stroke: #e51963; } -.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq6 { +.emotion-21 .emotion-24[aria-checked="mixed"]+.emotion-26 .eqr7bqq5 { fill: #ffffff; } @@ -3719,10 +3719,13 @@ exports[`LineChart > renders correctly with timeline data 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3731,13 +3734,10 @@ exports[`LineChart > renders correctly with timeline data 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-31 { @@ -3745,10 +3745,13 @@ exports[`LineChart > renders correctly with timeline data 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3757,13 +3760,10 @@ exports[`LineChart > renders correctly with timeline data 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-33 { @@ -3785,7 +3785,7 @@ exports[`LineChart > renders correctly with timeline data 1`] = ` .emotion-37 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -3804,7 +3804,7 @@ exports[`LineChart > renders correctly with timeline data 1`] = ` .emotion-41 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; diff --git a/packages/ui/src/components/LineChart/index.tsx b/packages/ui/src/components/LineChart/index.tsx index 448081cf6b..ce5bdd8115 100644 --- a/packages/ui/src/components/LineChart/index.tsx +++ b/packages/ui/src/components/LineChart/index.tsx @@ -8,6 +8,7 @@ import type { ScaleSpec } from '@nivo/scales' import type { ComponentProps } from 'react' import { useEffect, useState } from 'react' import { getLegendColor } from '../../helpers/legend' +import { getNivoTheme } from '../../helpers/nivoTheme' import { CustomLegend } from './CustomLegend' import { LineChartTooltip } from './Tooltip' import { getMaxChartValue, getMinChartValue } from './helpers' @@ -70,41 +71,6 @@ export const LineChart = ({ })), } - const chartTheme = { - axis: { - ticks: { - line: { - stroke: theme.colors.neutral.backgroundStrong, - strokeWidth: 1, - }, - text: { - fill: theme.colors.neutral.text, - fontSize: theme.typography.bodySmall.fontSize, - fontFamily: theme.typography.bodySmall.fontFamily, - fontWeight: theme.typography.bodySmall.fontWeight, - lineHeight: theme.typography.bodySmall.lineHeight, - letterSpacing: theme.typography.bodySmall.letterSpacing, - }, - }, - legends: { - text: { - fill: theme.colors.neutral.text, - fontFamily: theme.typography.body.fontFamily, - fontSize: theme.typography.bodySmall.fontSize, - fontWeight: theme.typography.bodySmall.fontWeight, - lineHeight: theme.typography.bodySmall.lineHeight, - letterSpacing: theme.typography.bodySmall.letterSpacing, - }, - }, - }, - fontFamily: theme.typography.body.fontFamily, - fontSize: theme.typography.bodySmall.fontSize, - fontWeight: theme.typography.bodySmall.fontWeight, - lineHeight: theme.typography.bodySmall.lineHeight, - letterSpacing: theme.typography.bodySmall.letterSpacing, - textColor: theme.colors.neutral.text, - } - const [selected, setSelected] = useState( dataset.datasets?.map(({ id }, index) => `${id}${index}`), ) @@ -155,7 +121,7 @@ export const LineChart = ({ }} pointSize={10} useMesh - theme={chartTheme} + theme={getNivoTheme(theme)} curve="monotoneX" tooltip={LineChartTooltip} data-testid={dataTestId} diff --git a/packages/ui/src/components/Link/__stories__/Examples.stories.tsx b/packages/ui/src/components/Link/__stories__/Examples.stories.tsx index d16a1235f2..106551ae9f 100644 --- a/packages/ui/src/components/Link/__stories__/Examples.stories.tsx +++ b/packages/ui/src/components/Link/__stories__/Examples.stories.tsx @@ -1,4 +1,4 @@ -import type { Decorator } from '@storybook/react' +import type { Decorator } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Link } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/Link/__stories__/OneLine.stories.tsx b/packages/ui/src/components/Link/__stories__/OneLine.stories.tsx index 309bf7ab0c..c5f334e241 100644 --- a/packages/ui/src/components/Link/__stories__/OneLine.stories.tsx +++ b/packages/ui/src/components/Link/__stories__/OneLine.stories.tsx @@ -1,5 +1,5 @@ import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Link } from '../index' const Container = styled.div` diff --git a/packages/ui/src/components/Link/__stories__/Primary.stories.tsx b/packages/ui/src/components/Link/__stories__/Primary.stories.tsx index e5d24d74b6..3540f8ff90 100644 --- a/packages/ui/src/components/Link/__stories__/Primary.stories.tsx +++ b/packages/ui/src/components/Link/__stories__/Primary.stories.tsx @@ -1,4 +1,4 @@ -import type { Decorator } from '@storybook/react' +import type { Decorator } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Link } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/Link/__stories__/Prominence.stories.tsx b/packages/ui/src/components/Link/__stories__/Prominence.stories.tsx index 259f4b5c9c..934b22800f 100644 --- a/packages/ui/src/components/Link/__stories__/Prominence.stories.tsx +++ b/packages/ui/src/components/Link/__stories__/Prominence.stories.tsx @@ -1,4 +1,4 @@ -import type { Decorator } from '@storybook/react' +import type { Decorator } from '@storybook/react-vite' import type { ComponentProps } from 'react' import type { ProminenceProps } from '..' import { Link, PROMINENCES } from '..' diff --git a/packages/ui/src/components/Link/__stories__/Size.stories.tsx b/packages/ui/src/components/Link/__stories__/Size.stories.tsx index c893281554..9d866becba 100644 --- a/packages/ui/src/components/Link/__stories__/Size.stories.tsx +++ b/packages/ui/src/components/Link/__stories__/Size.stories.tsx @@ -1,4 +1,4 @@ -import type { Decorator } from '@storybook/react' +import type { Decorator } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Link } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/Link/__stories__/Template.stories.tsx b/packages/ui/src/components/Link/__stories__/Template.stories.tsx index fdfec95cd6..fcbc762e75 100644 --- a/packages/ui/src/components/Link/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Link/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Link } from '..' export const Template: StoryFn = args => ( diff --git a/packages/ui/src/components/Link/__stories__/Variants.stories.tsx b/packages/ui/src/components/Link/__stories__/Variants.stories.tsx index a69b7bcb25..822909f995 100644 --- a/packages/ui/src/components/Link/__stories__/Variants.stories.tsx +++ b/packages/ui/src/components/Link/__stories__/Variants.stories.tsx @@ -1,4 +1,4 @@ -import type { Decorator } from '@storybook/react' +import type { Decorator } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Link } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/Link/__stories__/index.stories.tsx b/packages/ui/src/components/Link/__stories__/index.stories.tsx index 8f4b277587..7bfd3db266 100644 --- a/packages/ui/src/components/Link/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Link/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Link } from '..' export default { diff --git a/packages/ui/src/components/Link/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Link/__tests__/__snapshots__/index.test.tsx.snap index de57b97e09..3b01da6cf6 100644 --- a/packages/ui/src/components/Link/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Link/__tests__/__snapshots__/index.test.tsx.snap @@ -21,7 +21,7 @@ exports[`Link > prominence > render prominence default 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -29,8 +29,8 @@ exports[`Link > prominence > render prominence default 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -41,8 +41,8 @@ exports[`Link > prominence > render prominence default 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -55,22 +55,22 @@ exports[`Link > prominence > render prominence default 1`] = ` text-decoration-color: #004c85; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -125,7 +125,7 @@ exports[`Link > prominence > render prominence strong 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -133,8 +133,8 @@ exports[`Link > prominence > render prominence strong 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -145,8 +145,8 @@ exports[`Link > prominence > render prominence strong 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #ffffff; } .emotion-0:hover, @@ -159,22 +159,22 @@ exports[`Link > prominence > render prominence strong 1`] = ` text-decoration-color: #f9f9fa; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #ffffff; } .emotion-0[data-variant='inline'] { @@ -229,7 +229,7 @@ exports[`Link > prominence > render prominence stronger 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -237,8 +237,8 @@ exports[`Link > prominence > render prominence stronger 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -249,8 +249,8 @@ exports[`Link > prominence > render prominence stronger 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -263,22 +263,22 @@ exports[`Link > prominence > render prominence stronger 1`] = ` text-decoration-color: #222638; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -318,7 +318,7 @@ exports[`Link > prominence > render prominence weak 1`] = ` background-color: transparent; border: none; padding: 0; - color: #005da3; + color: #3f4250; -webkit-text-decoration: underline; text-decoration: underline; text-decoration-thickness: 1px; @@ -333,7 +333,7 @@ exports[`Link > prominence > render prominence weak 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -341,8 +341,8 @@ exports[`Link > prominence > render prominence weak 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -353,8 +353,8 @@ exports[`Link > prominence > render prominence weak 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -363,26 +363,26 @@ exports[`Link > prominence > render prominence weak 1`] = ` -webkit-text-decoration: underline; text-decoration: underline; text-decoration-thickness: 1px; - color: #004c85; - text-decoration-color: #004c85; + color: #222638; + text-decoration-color: #222638; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -437,7 +437,7 @@ exports[`Link > render correctly prop primary 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -445,8 +445,8 @@ exports[`Link > render correctly prop primary 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -457,8 +457,8 @@ exports[`Link > render correctly prop primary 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -471,22 +471,22 @@ exports[`Link > render correctly prop primary 1`] = ` text-decoration-color: #521094; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -540,7 +540,7 @@ exports[`Link > render correctly with bad sentiment 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -548,8 +548,8 @@ exports[`Link > render correctly with bad sentiment 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -560,8 +560,8 @@ exports[`Link > render correctly with bad sentiment 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -574,22 +574,22 @@ exports[`Link > render correctly with bad sentiment 1`] = ` text-decoration-color: #222638; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -643,7 +643,7 @@ exports[`Link > render correctly with href props 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -651,8 +651,8 @@ exports[`Link > render correctly with href props 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -663,8 +663,8 @@ exports[`Link > render correctly with href props 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -677,22 +677,22 @@ exports[`Link > render correctly with href props 1`] = ` text-decoration-color: #004c85; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -746,7 +746,7 @@ exports[`Link > render correctly with href props 2`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -766,8 +766,8 @@ exports[`Link > render correctly with href props 2`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -786,16 +786,16 @@ exports[`Link > render correctly with href props 2`] = ` .emotion-0:focus .emotion-7, .emotion-0:hover .emotion-14, .emotion-0:focus .emotion-14 { - -webkit-transform: translate(0.25rem, 0); - -moz-transform: translate(0.25rem, 0); - -ms-transform: translate(0.25rem, 0); - transform: translate(0.25rem, 0); + -webkit-transform: translate(0.125rem, 0); + -moz-transform: translate(0.125rem, 0); + -ms-transform: translate(0.125rem, 0); + transform: translate(0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -816,11 +816,11 @@ exports[`Link > render correctly with href props 2`] = ` .emotion-3 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; - margin-left: 0.5rem; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; + margin-right: 0.25rem; } .emotion-3 .fillStroke { @@ -847,7 +847,7 @@ exports[`Link > render correctly with href props 2`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -867,8 +867,8 @@ exports[`Link > render correctly with href props 2`] = ` } .emotion-5:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-5:hover, @@ -887,16 +887,16 @@ exports[`Link > render correctly with href props 2`] = ` .emotion-5:focus .emotion-7, .emotion-5:hover .emotion-14, .emotion-5:focus .emotion-14 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-5:hover:visited, .emotion-5:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-5[data-variant='inline'] { @@ -917,11 +917,11 @@ exports[`Link > render correctly with href props 2`] = ` .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; - margin-left: 0.5rem; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; + margin-left: 0.25rem; } .emotion-8 .fillStroke { @@ -940,11 +940,11 @@ exports[`Link > render correctly with href props 2`] = ` .emotion-15 { vertical-align: middle; fill: currentColor; - height: 14px; - width: 14px; - min-width: 14px; - min-height: 14px; - margin-left: 0.5rem; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; + margin-left: 0.25rem; } .emotion-15 .fillStroke { @@ -963,7 +963,7 @@ exports[`Link > render correctly with href props 2`] = ` > render correctly with href props 2`] = ` Hello render correctly with href props 2`] = ` > render correctly with href props 2`] = ` > render correctly with no sentiment 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1074,8 +1074,8 @@ exports[`Link > render correctly with no sentiment 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1086,8 +1086,8 @@ exports[`Link > render correctly with no sentiment 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -1100,22 +1100,22 @@ exports[`Link > render correctly with no sentiment 1`] = ` text-decoration-color: #004c85; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -1170,7 +1170,7 @@ exports[`Link > render correctly with oneLine 1`] = ` overflow: hidden; display: block; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1178,8 +1178,8 @@ exports[`Link > render correctly with oneLine 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1190,8 +1190,8 @@ exports[`Link > render correctly with oneLine 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -1204,22 +1204,22 @@ exports[`Link > render correctly with oneLine 1`] = ` text-decoration-color: #004c85; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -1277,7 +1277,7 @@ exports[`Link > render correctly with sizes 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1285,8 +1285,8 @@ exports[`Link > render correctly with sizes 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1297,8 +1297,8 @@ exports[`Link > render correctly with sizes 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -1311,22 +1311,22 @@ exports[`Link > render correctly with sizes 1`] = ` text-decoration-color: #004c85; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -1363,7 +1363,7 @@ exports[`Link > render correctly with sizes 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1371,8 +1371,8 @@ exports[`Link > render correctly with sizes 1`] = ` text-case: none; } -.emotion-2 .e1afnb7a2, .emotion-2 .e1afnb7a3, +.emotion-2 .e1afnb7a2, .emotion-2 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1383,8 +1383,8 @@ exports[`Link > render correctly with sizes 1`] = ` } .emotion-2:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-2:hover, @@ -1397,22 +1397,22 @@ exports[`Link > render correctly with sizes 1`] = ` text-decoration-color: #004c85; } -.emotion-2:hover .e1afnb7a2, -.emotion-2:focus .e1afnb7a2, .emotion-2:hover .e1afnb7a3, .emotion-2:focus .e1afnb7a3, +.emotion-2:hover .e1afnb7a2, +.emotion-2:focus .e1afnb7a2, .emotion-2:hover .e1afnb7a4, .emotion-2:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-2:hover:visited, .emotion-2:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-2[data-variant='inline'] { @@ -1449,7 +1449,7 @@ exports[`Link > render correctly with sizes 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1rem; @@ -1457,8 +1457,8 @@ exports[`Link > render correctly with sizes 1`] = ` text-case: none; } -.emotion-4 .e1afnb7a2, .emotion-4 .e1afnb7a3, +.emotion-4 .e1afnb7a2, .emotion-4 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1469,8 +1469,8 @@ exports[`Link > render correctly with sizes 1`] = ` } .emotion-4:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-4:hover, @@ -1483,22 +1483,22 @@ exports[`Link > render correctly with sizes 1`] = ` text-decoration-color: #004c85; } -.emotion-4:hover .e1afnb7a2, -.emotion-4:focus .e1afnb7a2, .emotion-4:hover .e1afnb7a3, .emotion-4:focus .e1afnb7a3, +.emotion-4:hover .e1afnb7a2, +.emotion-4:focus .e1afnb7a2, .emotion-4:hover .e1afnb7a4, .emotion-4:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-4:hover:visited, .emotion-4:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-4[data-variant='inline'] { @@ -1570,7 +1570,7 @@ exports[`Link > render correctly with target blank 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1578,8 +1578,8 @@ exports[`Link > render correctly with target blank 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .emotion-4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1590,8 +1590,8 @@ exports[`Link > render correctly with target blank 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -1604,22 +1604,22 @@ exports[`Link > render correctly with target blank 1`] = ` text-decoration-color: #004c85; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .emotion-4, .emotion-0:focus .emotion-4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -1648,11 +1648,11 @@ exports[`Link > render correctly with target blank 1`] = ` .emotion-5 { vertical-align: middle; fill: currentColor; - height: 14px; - width: 14px; - min-width: 14px; - min-height: 14px; - margin-left: 0.5rem; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; + margin-left: 0.25rem; } .emotion-5 .fillStroke { @@ -1677,7 +1677,7 @@ exports[`Link > render correctly with target blank 1`] = ` > render correctly with variants props 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1721,8 +1721,8 @@ exports[`Link > render correctly with variants props 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1733,8 +1733,8 @@ exports[`Link > render correctly with variants props 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -1747,22 +1747,22 @@ exports[`Link > render correctly with variants props 1`] = ` text-decoration-color: #004c85; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -1803,13 +1803,13 @@ exports[`Link > render correctly with variants props 1`] = ` `; -exports[`Link > sentiment > render danger 1`] = ` +exports[`Link > sentiment > render info 1`] = ` .emotion-0 { background-color: transparent; border: none; padding: 0; - color: #b3144d; + color: #005da3; -webkit-text-decoration: underline; text-decoration: underline; text-decoration-thickness: 1px; @@ -1824,7 +1824,7 @@ exports[`Link > sentiment > render danger 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1832,8 +1832,8 @@ exports[`Link > sentiment > render danger 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1844,8 +1844,8 @@ exports[`Link > sentiment > render danger 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -1854,26 +1854,26 @@ exports[`Link > sentiment > render danger 1`] = ` -webkit-text-decoration: underline; text-decoration: underline; text-decoration-thickness: 1px; - color: #92103f; - text-decoration-color: #92103f; + color: #004c85; + text-decoration-color: #004c85; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -1884,7 +1884,7 @@ exports[`Link > sentiment > render danger 1`] = ` .emotion-0:hover::after, .emotion-0:focus::after { - background-color: #b3144d; + background-color: #005da3; } .emotion-0:active { @@ -1906,13 +1906,13 @@ exports[`Link > sentiment > render danger 1`] = ` `; -exports[`Link > sentiment > render info 1`] = ` +exports[`Link > sentiment > render primary 1`] = ` .emotion-0 { background-color: transparent; border: none; padding: 0; - color: #005da3; + color: #641cb3; -webkit-text-decoration: underline; text-decoration: underline; text-decoration-thickness: 1px; @@ -1927,7 +1927,7 @@ exports[`Link > sentiment > render info 1`] = ` width: -moz-fit-content; width: fit-content; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1935,8 +1935,8 @@ exports[`Link > sentiment > render info 1`] = ` text-case: none; } -.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a3, +.emotion-0 .e1afnb7a2, .emotion-0 .e1afnb7a4 { -webkit-transition: -webkit-transform 250ms ease-out; transition: transform 250ms ease-out; @@ -1947,8 +1947,8 @@ exports[`Link > sentiment > render info 1`] = ` } .emotion-0:visited { - color: #641cb3; text-decoration-color: transparent; + color: #641cb3; } .emotion-0:hover, @@ -1957,232 +1957,26 @@ exports[`Link > sentiment > render info 1`] = ` -webkit-text-decoration: underline; text-decoration: underline; text-decoration-thickness: 1px; - color: #004c85; - text-decoration-color: #004c85; + color: #521094; + text-decoration-color: #521094; } -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a3, .emotion-0:focus .e1afnb7a3, +.emotion-0:hover .e1afnb7a2, +.emotion-0:focus .e1afnb7a2, .emotion-0:hover .e1afnb7a4, .emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); + -webkit-transform: translate(-0.125rem, 0); + -moz-transform: translate(-0.125rem, 0); + -ms-transform: translate(-0.125rem, 0); + transform: translate(-0.125rem, 0); } .emotion-0:hover:visited, .emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; -} - -.emotion-0[data-variant='inline'] { - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; -} - -.emotion-0:hover::after, -.emotion-0:focus::after { - background-color: #005da3; -} - -.emotion-0:active { - text-decoration-thickness: 2px; -} - - - -`; - -exports[`Link > sentiment > render neutral 1`] = ` - - .emotion-0 { - background-color: transparent; - border: none; - padding: 0; - color: #3f4250; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - text-underline-offset: 2px; - text-decoration-color: transparent; - -webkit-transition: text-decoration-color 250ms ease-out; - transition: text-decoration-color 250ms ease-out; - gap: 0.5rem; - position: relative; - cursor: pointer; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - paragraph-spacing: 0; - text-case: none; -} - -.emotion-0 .e1afnb7a2, -.emotion-0 .e1afnb7a3, -.emotion-0 .e1afnb7a4 { - -webkit-transition: -webkit-transform 250ms ease-out; - transition: transform 250ms ease-out; -} - -.emotion-0>* { - pointer-events: none; -} - -.emotion-0:visited { - color: #641cb3; - text-decoration-color: transparent; -} - -.emotion-0:hover, -.emotion-0:focus { - outline: none; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - color: #222638; - text-decoration-color: #222638; -} - -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, -.emotion-0:hover .e1afnb7a3, -.emotion-0:focus .e1afnb7a3, -.emotion-0:hover .e1afnb7a4, -.emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); -} - -.emotion-0:hover:visited, -.emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; -} - -.emotion-0[data-variant='inline'] { - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; -} - -.emotion-0:hover::after, -.emotion-0:focus::after { - background-color: #3f4250; -} - -.emotion-0:active { - text-decoration-thickness: 2px; -} - - - -`; - -exports[`Link > sentiment > render primary 1`] = ` - - .emotion-0 { - background-color: transparent; - border: none; - padding: 0; - color: #641cb3; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - text-underline-offset: 2px; - text-decoration-color: transparent; - -webkit-transition: text-decoration-color 250ms ease-out; - transition: text-decoration-color 250ms ease-out; - gap: 0.5rem; - position: relative; - cursor: pointer; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - paragraph-spacing: 0; - text-case: none; -} - -.emotion-0 .e1afnb7a2, -.emotion-0 .e1afnb7a3, -.emotion-0 .e1afnb7a4 { - -webkit-transition: -webkit-transform 250ms ease-out; - transition: transform 250ms ease-out; -} - -.emotion-0>* { - pointer-events: none; -} - -.emotion-0:visited { - color: #641cb3; - text-decoration-color: transparent; -} - -.emotion-0:hover, -.emotion-0:focus { - outline: none; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - color: #521094; - text-decoration-color: #521094; -} - -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, -.emotion-0:hover .e1afnb7a3, -.emotion-0:focus .e1afnb7a3, -.emotion-0:hover .e1afnb7a4, -.emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); -} - -.emotion-0:hover:visited, -.emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; + text-decoration-color: transparent; + color: #641cb3; } .emotion-0[data-variant='inline'] { @@ -2214,312 +2008,3 @@ exports[`Link > sentiment > render primary 1`] = `
`; - -exports[`Link > sentiment > render secondary 1`] = ` - - .emotion-0 { - background-color: transparent; - border: none; - padding: 0; - color: #ac22e7; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - text-underline-offset: 2px; - text-decoration-color: transparent; - -webkit-transition: text-decoration-color 250ms ease-out; - transition: text-decoration-color 250ms ease-out; - gap: 0.5rem; - position: relative; - cursor: pointer; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - paragraph-spacing: 0; - text-case: none; -} - -.emotion-0 .e1afnb7a2, -.emotion-0 .e1afnb7a3, -.emotion-0 .e1afnb7a4 { - -webkit-transition: -webkit-transform 250ms ease-out; - transition: transform 250ms ease-out; -} - -.emotion-0>* { - pointer-events: none; -} - -.emotion-0:visited { - color: #641cb3; - text-decoration-color: transparent; -} - -.emotion-0:hover, -.emotion-0:focus { - outline: none; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - color: #8f1cc2; - text-decoration-color: #8f1cc2; -} - -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, -.emotion-0:hover .e1afnb7a3, -.emotion-0:focus .e1afnb7a3, -.emotion-0:hover .e1afnb7a4, -.emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); -} - -.emotion-0:hover:visited, -.emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; -} - -.emotion-0[data-variant='inline'] { - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; -} - -.emotion-0:hover::after, -.emotion-0:focus::after { - background-color: #ac22e7; -} - -.emotion-0:active { - text-decoration-thickness: 2px; -} - - - -`; - -exports[`Link > sentiment > render success 1`] = ` - - .emotion-0 { - background-color: transparent; - border: none; - padding: 0; - color: #22674e; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - text-underline-offset: 2px; - text-decoration-color: transparent; - -webkit-transition: text-decoration-color 250ms ease-out; - transition: text-decoration-color 250ms ease-out; - gap: 0.5rem; - position: relative; - cursor: pointer; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - paragraph-spacing: 0; - text-case: none; -} - -.emotion-0 .e1afnb7a2, -.emotion-0 .e1afnb7a3, -.emotion-0 .e1afnb7a4 { - -webkit-transition: -webkit-transform 250ms ease-out; - transition: transform 250ms ease-out; -} - -.emotion-0>* { - pointer-events: none; -} - -.emotion-0:visited { - color: #641cb3; - text-decoration-color: transparent; -} - -.emotion-0:hover, -.emotion-0:focus { - outline: none; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - color: #1b533f; - text-decoration-color: #1b533f; -} - -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, -.emotion-0:hover .e1afnb7a3, -.emotion-0:focus .e1afnb7a3, -.emotion-0:hover .e1afnb7a4, -.emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); -} - -.emotion-0:hover:visited, -.emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; -} - -.emotion-0[data-variant='inline'] { - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; -} - -.emotion-0:hover::after, -.emotion-0:focus::after { - background-color: #22674e; -} - -.emotion-0:active { - text-decoration-thickness: 2px; -} - - - -`; - -exports[`Link > sentiment > render warning 1`] = ` - - .emotion-0 { - background-color: transparent; - border: none; - padding: 0; - color: #7c5400; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - text-underline-offset: 2px; - text-decoration-color: transparent; - -webkit-transition: text-decoration-color 250ms ease-out; - transition: text-decoration-color 250ms ease-out; - gap: 0.5rem; - position: relative; - cursor: pointer; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - paragraph-spacing: 0; - text-case: none; -} - -.emotion-0 .e1afnb7a2, -.emotion-0 .e1afnb7a3, -.emotion-0 .e1afnb7a4 { - -webkit-transition: -webkit-transform 250ms ease-out; - transition: transform 250ms ease-out; -} - -.emotion-0>* { - pointer-events: none; -} - -.emotion-0:visited { - color: #641cb3; - text-decoration-color: transparent; -} - -.emotion-0:hover, -.emotion-0:focus { - outline: none; - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; - color: #664300; - text-decoration-color: #664300; -} - -.emotion-0:hover .e1afnb7a2, -.emotion-0:focus .e1afnb7a2, -.emotion-0:hover .e1afnb7a3, -.emotion-0:focus .e1afnb7a3, -.emotion-0:hover .e1afnb7a4, -.emotion-0:focus .e1afnb7a4 { - -webkit-transform: translate(-0.25rem, 0); - -moz-transform: translate(-0.25rem, 0); - -ms-transform: translate(-0.25rem, 0); - transform: translate(-0.25rem, 0); -} - -.emotion-0:hover:visited, -.emotion-0:focus:visited { - color: #521094; - text-decoration-color: #521094; -} - -.emotion-0[data-variant='inline'] { - -webkit-text-decoration: underline; - text-decoration: underline; - text-decoration-thickness: 1px; -} - -.emotion-0:hover::after, -.emotion-0:focus::after { - background-color: #7c5400; -} - -.emotion-0:active { - text-decoration-thickness: 2px; -} - - - -`; diff --git a/packages/ui/src/components/Link/__tests__/index.test.tsx b/packages/ui/src/components/Link/__tests__/index.test.tsx index 1c36853c71..87d0359a12 100644 --- a/packages/ui/src/components/Link/__tests__/index.test.tsx +++ b/packages/ui/src/components/Link/__tests__/index.test.tsx @@ -2,22 +2,20 @@ import { shouldMatchEmotionSnapshot } from '@utils/test' import { describe, test } from 'vitest' import type { ProminenceProps } from '..' import { Link, PROMINENCES } from '..' -import type { Color } from '../../../theme' -import { SENTIMENTS } from '../../../theme' describe('Link', () => { test(`render correctly with no sentiment`, () => shouldMatchEmotionSnapshot(Hello)) describe('sentiment', () => { - test.each(SENTIMENTS.map(sentiment => [`render ${sentiment}`, sentiment]))( - '%s', - (_, sentiment) => - shouldMatchEmotionSnapshot( - - Hello - , - ), + test.each( + ['primary', 'info'].map(sentiment => [`render ${sentiment}`, sentiment]), + )('%s', (_, sentiment) => + shouldMatchEmotionSnapshot( + + Hello + , + ), ) }) diff --git a/packages/ui/src/components/Link/index.tsx b/packages/ui/src/components/Link/index.tsx index 1ad56fd4c9..eee5d3cc36 100644 --- a/packages/ui/src/components/Link/index.tsx +++ b/packages/ui/src/components/Link/index.tsx @@ -16,16 +16,18 @@ import type { } from 'react' import { forwardRef, useEffect, useMemo, useRef, useState } from 'react' import recursivelyGetChildrenString from '../../helpers/recursivelyGetChildrenString' -import type { ExtendedColor } from '../../theme' import capitalize from '../../utils/capitalize' import { Tooltip } from '../Tooltip' const StyledArrowLeftIcon = styled(ArrowLeftIcon)` - margin-left: ${({ theme }) => theme.space['1']}; + margin-right: ${({ theme }) => theme.space['0.5']}; ` -const StyledArrowRightIcon = StyledArrowLeftIcon.withComponent(ArrowRightIcon) -const StyledOpenInNewIcon = StyledArrowLeftIcon.withComponent(OpenInNewIcon) +const StyledArrowRightIcon = styled(ArrowRightIcon)` + margin-left: ${({ theme }) => theme.space['0.5']}; +` + +const StyledOpenInNewIcon = StyledArrowRightIcon.withComponent(OpenInNewIcon) export const PROMINENCES = { default: '', @@ -35,12 +37,6 @@ export const PROMINENCES = { } export type ProminenceProps = keyof typeof PROMINENCES -type SupportedSentiments = 'primary' - -/** - * @deprecated Only `primary` is supported - */ -type DeprecatedSentiments = Exclude type LinkSizes = 'large' | 'small' | 'xsmall' type LinkIconPosition = 'left' | 'right' @@ -48,11 +44,7 @@ type LinkProps = { children: ReactNode target?: HTMLAttributeAnchorTarget download?: string | boolean - /** - * **Only sentiment `primary` is supported.** - * All the other sentiments are deprecated - */ - sentiment?: SupportedSentiments | DeprecatedSentiments + sentiment?: 'primary' | 'info' prominence?: ProminenceProps size?: LinkSizes iconPosition?: LinkIconPosition @@ -62,13 +54,14 @@ type LinkProps = { // For react router shouldn't be used directly onClick?: MouseEventHandler 'aria-label'?: string + 'aria-current'?: AnchorHTMLAttributes['aria-current'] oneLine?: boolean 'data-testid'?: string variant?: 'inline' | 'standalone' } -const ICON_SIZE = 16 -const BLANK_TARGET_ICON_SIZE = 14 +const ICON_SIZE = 'small' +const BLANK_TARGET_ICON_SIZE = 'small' const TRANSITION_DURATION = 250 const StyledExternalIconContainer = styled.span` @@ -80,7 +73,7 @@ const StyledLink = styled('a', { shouldForwardProp: prop => !['sentiment', 'iconPosition', 'as', 'oneLine'].includes(prop), })<{ - sentiment: ExtendedColor + sentiment: 'primary' | 'info' prominence?: ProminenceProps variant: 'captionStrong' | 'bodySmallStrong' | 'bodyStrong' iconPosition?: LinkIconPosition @@ -90,17 +83,11 @@ const StyledLink = styled('a', { border: none; padding: 0; color: ${({ theme, sentiment, prominence }) => { - const isMonochrome = sentiment === 'white' || sentiment === 'black' - - if (!isMonochrome) { - const definedProminence = capitalize(PROMINENCES[prominence ?? 'default']) - const themeColor = theme.colors[sentiment] - const text = `text${definedProminence}` as keyof typeof themeColor - - return theme.colors[sentiment]?.[text] ?? theme.colors.neutral.text - } + const definedProminence = capitalize(PROMINENCES[prominence ?? 'default']) + const themeColor = theme.colors[sentiment] + const text = `text${definedProminence}` as keyof typeof themeColor - return theme.colors.other.monochrome[sentiment].text + return theme.colors[sentiment]?.[text] ?? theme.colors.neutral.text }}; text-decoration: underline; text-decoration-thickness: 1px; @@ -141,8 +128,17 @@ const StyledLink = styled('a', { &:visited { - color: ${({ theme }) => theme.colors.primary.text}; text-decoration-color: transparent; + + color: ${({ theme, prominence }) => { + const definedProminence = capitalize( + PROMINENCES[prominence ?? 'default'], + ) + const themeColor = theme.colors.primary + const text = `text${definedProminence}` as keyof typeof themeColor + + return theme.colors.primary[text] ?? theme.colors.primary.text + }}; } @@ -151,44 +147,43 @@ const StyledLink = styled('a', { ${StyledArrowLeftIcon}, ${StyledArrowRightIcon}, ${StyledOpenInNewIcon} { transform: ${({ theme, iconPosition }) => iconPosition === 'left' - ? `translate(${theme.space['0.5']}, 0)` - : `translate(-${theme.space['0.5']}, 0)`}; + ? `translate(${theme.space['0.25']}, 0)` + : `translate(-${theme.space['0.25']}, 0)`}; } outline: none; text-decoration: underline; text-decoration-thickness: 1px; ${({ theme, sentiment, prominence }) => { - const isMonochrome = sentiment === 'white' || sentiment === 'black' - - if (!isMonochrome) { - const definedProminence = capitalize( - PROMINENCES[prominence ?? 'default'], - ) + const definedProminence = capitalize(PROMINENCES[prominence ?? 'default']) - const themeColor = theme.colors[sentiment] + const themeColor = theme.colors[sentiment] - const text = `text${definedProminence}Hover` as keyof typeof themeColor + const text = `text${definedProminence}Hover` as keyof typeof themeColor - return ` + return ` color: ${ theme.colors[sentiment]?.[text] ?? theme.colors.neutral.textHover }; text-decoration-color: ${ theme.colors[sentiment]?.[text] ?? theme.colors.neutral.textHover };` - } - - return ` - color: ${theme.colors.other.monochrome[sentiment].textHover}; - text-decoration-color: ${theme.colors.other.monochrome[sentiment].textHover}; - ` }} &:visited { - color: ${({ theme }) => theme.colors.primary.textHover}; - text-decoration-color: ${({ theme }) => theme.colors.primary.textHover}; - } + text-decoration-color: transparent; + + color: ${({ theme, prominence }) => { + const definedProminence = capitalize( + PROMINENCES[prominence ?? 'default'], + ) + const themeColor = theme.colors.primary + const text = `text${definedProminence}` as keyof typeof themeColor + + return theme.colors.primary[text] ?? theme.colors.primary.text + }}; + } + } &[data-variant='inline'] { @@ -198,15 +193,8 @@ const StyledLink = styled('a', { &:hover::after, &:focus::after { - background-color: ${({ theme, sentiment }) => { - const isMonochrome = sentiment === 'white' || sentiment === 'black' - - if (!isMonochrome) { - return theme.colors[sentiment]?.text ?? theme.colors.neutral.text - } - - return theme.colors.other.monochrome[sentiment].text - }}; + background-color: ${({ theme, sentiment }) => + theme.colors[sentiment]?.text ?? theme.colors.neutral.text}; } &:active { @@ -232,6 +220,7 @@ export const Link = forwardRef( className, onClick, 'aria-label': ariaLabel, + 'aria-current': ariaCurrent, oneLine = false, 'data-testid': dataTestId, variant = 'standalone', @@ -277,6 +266,7 @@ export const Link = forwardRef( oneLine={oneLine} data-testid={dataTestId} data-variant={variant} + aria-current={ariaCurrent} > {!isBlank && iconPosition === 'left' ? ( diff --git a/packages/ui/src/components/List/Cell.tsx b/packages/ui/src/components/List/Cell.tsx index 41ede15b4e..696a50621f 100644 --- a/packages/ui/src/components/List/Cell.tsx +++ b/packages/ui/src/components/List/Cell.tsx @@ -1,7 +1,7 @@ 'use client' import styled from '@emotion/styled' -import type { KeyboardEventHandler, MouseEventHandler, ReactNode } from 'react' +import type { ReactNode } from 'react' import { forwardRef } from 'react' const StyledCell = styled.td` @@ -14,44 +14,19 @@ const StyledCell = styled.td` type CellProps = { children?: ReactNode className?: string - /** - * @deprecated: This prop won't be needed in the future as expandable will be triggered only via a button. - * - * Use this if you want to prevent onClick to be handled by parents (Like when you have an expandable content) - * */ - preventClick?: boolean 'data-testid'?: string colSpan?: number } export const Cell = forwardRef( - ( - { children, className, preventClick, 'data-testid': dataTestid, colSpan }, - ref, - ) => { - const handleClick: MouseEventHandler = event => { - if (preventClick) { - event.stopPropagation() - } - } - - const handleKeyDown: KeyboardEventHandler = event => { - if (preventClick) { - event.stopPropagation() - } - } - - return ( - - {children} - - ) - }, + ({ children, className, 'data-testid': dataTestid, colSpan }, ref) => ( + + {children} + + ), ) diff --git a/packages/ui/src/components/List/HeaderCell.tsx b/packages/ui/src/components/List/HeaderCell.tsx index ef2870e26f..cbf066e37a 100644 --- a/packages/ui/src/components/List/HeaderCell.tsx +++ b/packages/ui/src/components/List/HeaderCell.tsx @@ -2,7 +2,7 @@ import styled from '@emotion/styled' import { - InformationIcon, + InformationOutlineIcon, SortIcon as SortIconUV, SouthShortIcon, } from '@ultraviolet/icons' @@ -13,7 +13,8 @@ import { Tooltip } from '../Tooltip' const StyledSortIcon = styled(SouthShortIcon, { shouldForwardProp: prop => !['order'].includes(prop), })<{ order: 'ascending' | 'descending' }>` - transform: ${({ order }) => (order === 'ascending' ? 'rotate(-180deg)' : 'none')}; + transform: ${({ order }) => + order === 'ascending' ? 'rotate(-180deg)' : 'none'}; transition: transform 0.2s ease-in-out; ` @@ -113,8 +114,8 @@ export const HeaderCell = ({ {children} {info ? ( - diff --git a/packages/ui/src/components/List/HeaderRow.tsx b/packages/ui/src/components/List/HeaderRow.tsx index ae920dabaa..1f97749fda 100644 --- a/packages/ui/src/components/List/HeaderRow.tsx +++ b/packages/ui/src/components/List/HeaderRow.tsx @@ -12,21 +12,6 @@ const StyledHeaderRow = styled.tr` display: table-row; vertical-align: middle; padding: 0 ${({ theme }) => theme.space['2']}; - - &:before { - content: ""; - position: absolute; - top: 0; /* Adjust based on border width and spacing */ - left: 0; - right: 0; - bottom: 0; /* Adjust based on border width and spacing */ - border: 1px solid transparent; - border-radius: ${({ theme }) => theme.radii.default}; - pointer-events: none; - transition: - box-shadow 200ms ease, - border-color 200ms ease; - } ` const NoPaddingHeaderCell = styled(HeaderCell)` diff --git a/packages/ui/src/components/List/Row.tsx b/packages/ui/src/components/List/Row.tsx index e459825b1c..90d1f2de80 100644 --- a/packages/ui/src/components/List/Row.tsx +++ b/packages/ui/src/components/List/Row.tsx @@ -3,7 +3,8 @@ import type { Theme } from '@emotion/react' import { keyframes, useTheme } from '@emotion/react' import styled from '@emotion/styled' -import type { ReactNode, RefObject } from 'react' +import { ArrowDownIcon, ArrowUpIcon } from '@ultraviolet/icons' +import type { CSSProperties, ReactNode, RefObject } from 'react' import { Children, forwardRef, @@ -21,31 +22,33 @@ import { useListContext } from './ListContext' import { SELECTABLE_CHECKBOX_SIZE } from './constants' import type { ColumnProps } from './types' -const ExpandableWrapper = styled.tr` +export const ExpandableWrapper = styled.tr` width: 100%; display: table-row; vertical-align: middle; cursor: auto; background: ${({ theme }) => theme.colors.neutral.backgroundWeak}; - border-radius: 0 0 ${({ theme }) => theme.radii.default} ${({ theme }) => theme.radii.default}; + border-radius: 0 0 ${({ theme }) => theme.radii.default} ${({ theme }) => + theme.radii.default}; transform: translate3d(0, -${({ theme }) => theme.space['2']}, 0); position: relative; - &:before { - content: ""; - position: absolute; - top: 0; /* Adjust based on border width and spacing */ - left: 0; - right: 0; - bottom: 0; /* Adjust based on border width and spacing */ - border: 1px solid ${({ theme }) => theme.colors.neutral.border}; - border-top: none; - border-radius: 0 0 ${({ theme }) => theme.radii.default} ${({ theme }) => theme.radii.default}; - pointer-events: none; + td, td:first-child, td:last-child { transition: box-shadow 200ms ease, border-color 200ms ease; } + + td { + border: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-top: none; + border-radius: 0 0 ${({ theme }) => theme.radii.default} ${({ theme }) => + theme.radii.default}; + } + + &[data-highlight="true"] td { + border-color: ${({ theme }) => theme.colors.primary.border}; + } ` const StyledCheckbox = styled(Checkbox, { @@ -74,14 +77,20 @@ const colorChange = (theme: Theme) => keyframes` export const StyledRow = styled('tr', { shouldForwardProp: prop => - !['highlightAnimation', 'sentiment', 'columns', 'columnsStartAt'].includes( - prop, - ), + ![ + 'highlightAnimation', + 'sentiment', + 'columns', + 'columnsStartAt', + 'data-dragging', + 'pointerEvent', + ].includes(prop), })<{ sentiment: (typeof SENTIMENTS)[number] columns: ColumnProps[] columnsStartAt?: number highlightAnimation?: boolean + 'data-dragging'?: boolean }>` /* List itself also apply style about common templating between HeaderRow and other Rows */ @@ -99,31 +108,44 @@ export const StyledRow = styled('tr', { position: relative; - &:before { - content: ""; - position: absolute; - top: 0; /* Adjust based on border width and spacing */ - left: 0; - right: 0; - bottom: 0; /* Adjust based on border width and spacing */ - border: 1px solid ${({ theme }) => theme.colors.neutral.border}; - border-radius: ${({ theme }) => theme.radii.default}; - pointer-events: none; + td, td:first-child, td:last-child { transition: box-shadow 200ms ease, border-color 200ms ease; } - &:not([aria-disabled='true']):hover::before { + td { + border-top: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-bottom: 1px solid ${({ theme }) => theme.colors.neutral.border}; + } + td:first-child { + border-left: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-radius: ${({ theme }) => theme.radii.default} 0 0 ${({ theme }) => + theme.radii.default}; + } + td:last-child { + border-right: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-radius: 0 ${({ theme }) => theme.radii.default} ${({ theme }) => + theme.radii.default} 0; + } + + &:not([aria-disabled='true']):hover td, &:not([aria-disabled='true']):hover td:first-child, &:not([aria-disabled='true']):hover td:last-child { border-color: ${({ theme }) => theme.colors.primary.border}; } - &:not([aria-disabled='true']):hover + ${ExpandableWrapper}:before { + &:not([aria-disabled='true']):hover + ${ExpandableWrapper} td { border-color: ${({ theme }) => theme.colors.primary.border}; } - &[aria-expanded='true']:before { - border-radius: ${({ theme }) => theme.radii.default} ${({ theme }) => theme.radii.default} 0 0; + &[aria-expanded='true'] td { + &:first-child { + border-left: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-radius: ${({ theme }) => theme.radii.default} 0 0 0; + } + &:last-child { + border-right: 1px solid ${({ theme }) => theme.colors.neutral.border}; + border-radius: 0 ${({ theme }) => theme.radii.default} 0 0; + } border-bottom-color: ${({ theme }) => theme.colors.neutral.border}; } @@ -148,7 +170,10 @@ export const StyledRow = styled('tr', { `} &[data-highlight='true'] { - border-color: ${({ theme }) => theme.colors.primary.border}; + td, td:first-child, td:last-child { + border-color: ${({ theme }) => theme.colors.primary.border}; + } + box-shadow: ${({ theme }) => theme.shadows.hoverPrimary}; } @@ -195,7 +220,8 @@ const NoPaddingCell = styled(Cell, { const ExpandableCell = styled(Cell, { shouldForwardProp: prop => !['padding'].includes(prop), })<{ padding?: keyof typeof space }>` - padding: ${({ theme, padding }) => (padding ? theme.space[padding] : theme.space['2'])}; + padding: ${({ theme, padding }) => + padding ? theme.space[padding] : theme.space['2']}; ` type RowProps = { @@ -216,6 +242,8 @@ type RowProps = { expandablePadding?: keyof typeof space highlightAnimation?: boolean 'data-testid'?: string + style?: CSSProperties + 'data-dragging'?: boolean } export const Row = forwardRef( @@ -232,6 +260,8 @@ export const Row = forwardRef( className, expandablePadding, 'data-testid': dataTestid, + style, + 'data-dragging': dataDragging, }, forwardedRef, ) => { @@ -332,12 +362,11 @@ export const Row = forwardRef( columns={columns} columnsStartAt={(selectable ? 1 : 0) + (expandButton ? 1 : 0)} highlightAnimation={highlightAnimation} + style={style} + data-dragging={dataDragging} > {selectable ? ( - + ( ) : null} {children} @@ -380,6 +410,7 @@ export const Row = forwardRef( { diff --git a/packages/ui/src/components/List/SelectBar.tsx b/packages/ui/src/components/List/SelectBar.tsx index f8a3be1b59..a817d76fb8 100644 --- a/packages/ui/src/components/List/SelectBar.tsx +++ b/packages/ui/src/components/List/SelectBar.tsx @@ -1,21 +1,11 @@ 'use client' -import styled from '@emotion/styled' import type { ReactNode } from 'react' import { useMemo } from 'react' import { ActionBar } from '../ActionBar' +import { Stack } from '../Stack' import { useListContext } from './ListContext' -const StyledActionBar = styled(ActionBar)` - display: flex; - align-items: center; - padding: 0 ${({ theme }) => theme.space['1']}; -` - -const FlexDiv = styled.div` - flex: 1; -` - type SelectBarProps = { className?: string children: (p: { selectedItems: T[]; unselectAll: () => void }) => ReactNode @@ -44,13 +34,19 @@ export const SelectBar = ({ } return ( - - + + {children({ selectedItems, unselectAll, })} - - + + ) } diff --git a/packages/ui/src/components/List/__stories__/ColumnInfo.stories.tsx b/packages/ui/src/components/List/__stories__/ColumnInfo.stories.tsx index 4763029591..c3e789d604 100644 --- a/packages/ui/src/components/List/__stories__/ColumnInfo.stories.tsx +++ b/packages/ui/src/components/List/__stories__/ColumnInfo.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { List } from '..' import { data } from './resources' diff --git a/packages/ui/src/components/List/__stories__/Context.stories.tsx b/packages/ui/src/components/List/__stories__/Context.stories.tsx index 001681b58e..021bc6fa07 100644 --- a/packages/ui/src/components/List/__stories__/Context.stories.tsx +++ b/packages/ui/src/components/List/__stories__/Context.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { List } from '..' import { columns, data } from './resources' diff --git a/packages/ui/src/components/List/__stories__/Example.stories.tsx b/packages/ui/src/components/List/__stories__/Example.stories.tsx index 7314348400..2480c9293f 100644 --- a/packages/ui/src/components/List/__stories__/Example.stories.tsx +++ b/packages/ui/src/components/List/__stories__/Example.stories.tsx @@ -1,12 +1,13 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { PencilIcon } from '@ultraviolet/icons' import { useMemo, useState } from 'react' import { List } from '..' import { Button } from '../../Button/index' -import { MenuV2 } from '../../MenuV2' +import { Menu } from '../../Menu' import { Modal } from '../../Modal' import { Stack } from '../../Stack' import { Text } from '../../Text' -import { TextInputV2 } from '../../TextInputV2' +import { TextInput } from '../../TextInput' import { data as sourceData } from './resources' export const Example: StoryFn = args => { @@ -70,7 +71,8 @@ export const Example: StoryFn = args => {
A planet description
+ } @@ -79,7 +81,7 @@ export const Example: StoryFn = args => { Edit description - @@ -93,9 +95,9 @@ export const Example: StoryFn = args => { {planet.perihelion}AU {planet.aphelion}AU - Menu}> - MenuItem - + Menu}> + MenuItem + ))} diff --git a/packages/ui/src/components/List/__stories__/Expandable.stories.tsx b/packages/ui/src/components/List/__stories__/Expandable.stories.tsx index 96489b037a..9c6ad4b332 100644 --- a/packages/ui/src/components/List/__stories__/Expandable.stories.tsx +++ b/packages/ui/src/components/List/__stories__/Expandable.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { List } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/List/__stories__/HighlightAnimation.stories.tsx b/packages/ui/src/components/List/__stories__/HighlightAnimation.stories.tsx index 715914655d..ccb45de6f2 100644 --- a/packages/ui/src/components/List/__stories__/HighlightAnimation.stories.tsx +++ b/packages/ui/src/components/List/__stories__/HighlightAnimation.stories.tsx @@ -1,4 +1,5 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { PlusIcon, RestoreIcon } from '@ultraviolet/icons' import { useState } from 'react' import { List } from '..' import { Button } from '../../Button' @@ -28,14 +29,12 @@ export const HighlightAnimation: StoryFn = ({ ...props }) => { return ( - - diff --git a/packages/ui/src/components/List/__stories__/OnSelectedChange.stories.tsx b/packages/ui/src/components/List/__stories__/OnSelectedChange.stories.tsx index 860e2435e2..a0162ede10 100644 --- a/packages/ui/src/components/List/__stories__/OnSelectedChange.stories.tsx +++ b/packages/ui/src/components/List/__stories__/OnSelectedChange.stories.tsx @@ -1,8 +1,7 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { List } from '..' import { Button } from '../../Button' -import { Stack } from '../../Stack' import { Text } from '../../Text' import { Template } from './Template.stories' import { columns, data } from './resources' @@ -49,12 +48,7 @@ export const OnSelectedChange: StoryFn = args => { ))} {({ selectedItems, unselectAll }) => ( - + <> {selectedItems.length} item(s) selected @@ -68,7 +62,7 @@ export const OnSelectedChange: StoryFn = args => { > Delete - + )} @@ -107,12 +101,7 @@ OnSelectedChange.args = { ))} {({ selectedItems, unselectAll }) => ( - + <> {selectedItems.length} item(s) selected @@ -126,7 +115,7 @@ OnSelectedChange.args = { > Delete - + )} diff --git a/packages/ui/src/components/List/__stories__/Ordering.stories.tsx b/packages/ui/src/components/List/__stories__/Ordering.stories.tsx index 36e7b4fde8..32381dbcf4 100644 --- a/packages/ui/src/components/List/__stories__/Ordering.stories.tsx +++ b/packages/ui/src/components/List/__stories__/Ordering.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useMemo, useState } from 'react' import { List } from '..' import { data as sourceData } from './resources' diff --git a/packages/ui/src/components/List/__stories__/Overflow.stories.tsx b/packages/ui/src/components/List/__stories__/Overflow.stories.tsx index 3796729f05..bd045e3770 100644 --- a/packages/ui/src/components/List/__stories__/Overflow.stories.tsx +++ b/packages/ui/src/components/List/__stories__/Overflow.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { List } from '..' import { data, overflowColumns } from './resources' diff --git a/packages/ui/src/components/List/__stories__/PreventClick.stories.tsx b/packages/ui/src/components/List/__stories__/PreventClick.stories.tsx deleted file mode 100644 index 5347cbfb1b..0000000000 --- a/packages/ui/src/components/List/__stories__/PreventClick.stories.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { List } from '..' -import { Template } from './Template.stories' -import { columns, data } from './resources' - -export const PreventClick = Template.bind({}) - -PreventClick.args = { - ...Template.args, - columns: [...columns, { label: '', width: '80px' }], - autoCollapse: true, - children: data.map(planet => ( - - {planet.name} - {planet.perihelion}AU - {planet.aphelion}AU - - - - - )), -} - -PreventClick.parameters = { - docs: { - description: { - story: - "**DEPRECATED**: This prop won't be needed in the future as expandable will be triggered only via a button.\n\n By adding the prop `preventClick` on the `Cell`, you can limit any event propagation to go outside the cell. It can be used for prevent button to interfere with row expand onClick.", - }, - }, -} diff --git a/packages/ui/src/components/List/__stories__/Selectable.stories.tsx b/packages/ui/src/components/List/__stories__/Selectable.stories.tsx index f0b10776f1..06a8d58504 100644 --- a/packages/ui/src/components/List/__stories__/Selectable.stories.tsx +++ b/packages/ui/src/components/List/__stories__/Selectable.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { List } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/List/__stories__/Template.stories.tsx b/packages/ui/src/components/List/__stories__/Template.stories.tsx index 213da69652..56d1e4eee2 100644 --- a/packages/ui/src/components/List/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/List/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { List } from '..' import { columns, data } from './resources' diff --git a/packages/ui/src/components/List/__stories__/index.stories.tsx b/packages/ui/src/components/List/__stories__/index.stories.tsx index 62c55ab9f5..7f8d32192f 100644 --- a/packages/ui/src/components/List/__stories__/index.stories.tsx +++ b/packages/ui/src/components/List/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { List } from '..' export default { @@ -15,7 +15,6 @@ export { Loading } from './Loading.stories' export { Expandable } from './Expandable.stories' export { ExpandableAutocollapse } from './ExpandableAutocollapse.stories' export { ExpandButton } from './ExpandButton.stories' -export { PreventClick } from './PreventClick.stories' export { Selectable } from './Selectable.stories' export { OnSelectedChange } from './OnSelectedChange.stories' export { Sentiments } from './Sentiment.stories' diff --git a/packages/ui/src/components/List/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/List/__tests__/__snapshots__/index.test.tsx.snap index 9a027eba5a..d63f2e181f 100644 --- a/packages/ui/src/components/List/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/List/__tests__/__snapshots__/index.test.tsx.snap @@ -18,7 +18,6 @@ exports[`List > Should expand a row by pressing Space 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -27,7 +26,6 @@ exports[`List > Should expand a row by pressing Space 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -38,47 +36,19 @@ exports[`List > Should expand a row by pressing Space 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -102,7 +72,7 @@ exports[`List > Should expand a row by pressing Space 1`] = ` vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -125,10 +95,10 @@ exports[`List > Should expand a row by pressing Space 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -137,10 +107,10 @@ exports[`List > Should expand a row by pressing Space 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-8 { @@ -148,10 +118,10 @@ exports[`List > Should expand a row by pressing Space 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -160,10 +130,10 @@ exports[`List > Should expand a row by pressing Space 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -187,33 +157,52 @@ exports[`List > Should expand a row by pressing Space 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -224,10 +213,15 @@ exports[`List > Should expand a row by pressing Space 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -255,33 +249,52 @@ exports[`List > Should expand a row by pressing Space 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -292,10 +305,15 @@ exports[`List > Should expand a row by pressing Space 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -728,7 +746,6 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -737,7 +754,6 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -748,47 +764,19 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -812,7 +800,7 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -835,10 +823,10 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -847,10 +835,10 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-8 { @@ -858,10 +846,10 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -870,10 +858,10 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -897,33 +885,52 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.emotion-39:before { +.emotion-26:not([aria-disabled='true']):hover+.emotion-39 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -934,10 +941,15 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -965,33 +977,52 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.emotion-39:before { +.emotion-26:not([aria-disabled='true']):hover+.emotion-39 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -1002,10 +1033,15 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -1040,19 +1076,21 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`] position: relative; } -.emotion-38:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; +.emotion-38 td, +.emotion-38 td:first-child, +.emotion-38 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-38 td { border: 1px solid #d9dadd; border-top: none; border-radius: 0 0 0.25rem 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-38[data-highlight="true"] td { + border-color: #8c40ef; } .emotion-41 { @@ -1130,7 +1168,7 @@ exports[`List > Should not collapse a row by clicking on expandable content 1`]
Should not collapse a row by clicking on expandable content 1`] Should render correctly with isExpandable and autoClose rows the
Should render correctly 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -1493,27 +1531,13 @@ exports[`List > Should render correctly 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -1536,10 +1560,10 @@ exports[`List > Should render correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1548,10 +1572,10 @@ exports[`List > Should render correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -1575,33 +1599,52 @@ exports[`List > Should render correctly 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -1612,10 +1655,15 @@ exports[`List > Should render correctly 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -2030,7 +2078,6 @@ exports[`List > Should render correctly with bad sort value 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -2039,7 +2086,6 @@ exports[`List > Should render correctly with bad sort value 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -2050,47 +2096,19 @@ exports[`List > Should render correctly with bad sort value 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -2114,7 +2132,7 @@ exports[`List > Should render correctly with bad sort value 1`] = ` vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -2137,10 +2155,10 @@ exports[`List > Should render correctly with bad sort value 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2149,10 +2167,10 @@ exports[`List > Should render correctly with bad sort value 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-8 { @@ -2160,10 +2178,10 @@ exports[`List > Should render correctly with bad sort value 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2172,10 +2190,10 @@ exports[`List > Should render correctly with bad sort value 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -2199,33 +2217,52 @@ exports[`List > Should render correctly with bad sort value 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -2236,10 +2273,15 @@ exports[`List > Should render correctly with bad sort value 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -2267,33 +2309,52 @@ exports[`List > Should render correctly with bad sort value 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -2304,10 +2365,15 @@ exports[`List > Should render correctly with bad sort value 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -2723,7 +2789,6 @@ exports[`List > Should render correctly with disabled rows 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -2734,27 +2799,13 @@ exports[`List > Should render correctly with disabled rows 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -2777,10 +2828,10 @@ exports[`List > Should render correctly with disabled rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2789,10 +2840,10 @@ exports[`List > Should render correctly with disabled rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -2816,33 +2867,52 @@ exports[`List > Should render correctly with disabled rows 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -2853,10 +2923,15 @@ exports[`List > Should render correctly with disabled rows 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -3275,7 +3350,6 @@ exports[`List > Should render correctly with expandable rows 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -3286,27 +3360,13 @@ exports[`List > Should render correctly with expandable rows 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -3329,10 +3389,10 @@ exports[`List > Should render correctly with expandable rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3341,10 +3401,10 @@ exports[`List > Should render correctly with expandable rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -3368,33 +3428,52 @@ exports[`List > Should render correctly with expandable rows 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -3405,10 +3484,15 @@ exports[`List > Should render correctly with expandable rows 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -3843,7 +3927,6 @@ exports[`List > Should render correctly with info 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -3852,7 +3935,6 @@ exports[`List > Should render correctly with info 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -3863,47 +3945,19 @@ exports[`List > Should render correctly with info 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -3927,7 +3981,7 @@ exports[`List > Should render correctly with info 1`] = ` vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -3950,10 +4004,10 @@ exports[`List > Should render correctly with info 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3962,10 +4016,10 @@ exports[`List > Should render correctly with info 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-8 { @@ -3973,10 +4027,10 @@ exports[`List > Should render correctly with info 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3985,10 +4039,10 @@ exports[`List > Should render correctly with info 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-10 { @@ -4005,11 +4059,11 @@ exports[`List > Should render correctly with info 1`] = ` .emotion-12 { vertical-align: middle; - fill: #727683; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-12 .fillStroke { @@ -4038,33 +4092,52 @@ exports[`List > Should render correctly with info 1`] = ` cursor: pointer; } -.emotion-46:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-46 td, +.emotion-46 td:first-child, +.emotion-46 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-46:not([aria-disabled='true']):hover::before { +.emotion-46 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-46 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-46 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-46:not([aria-disabled='true']):hover td, +.emotion-46:not([aria-disabled='true']):hover td:first-child, +.emotion-46:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-46:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-46:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-46[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-46[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-46[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-46[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-46 [data-expandable-content] { border-color: #d9dadd; } @@ -4075,10 +4148,15 @@ exports[`List > Should render correctly with info 1`] = ` } .emotion-46[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-46[data-highlight='true'] td, +.emotion-46[data-highlight='true'] td:first-child, +.emotion-46[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-46[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -4106,33 +4184,52 @@ exports[`List > Should render correctly with info 1`] = ` cursor: pointer; } -.emotion-46:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-46 td, +.emotion-46 td:first-child, +.emotion-46 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-46:not([aria-disabled='true']):hover::before { +.emotion-46 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-46 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-46 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-46:not([aria-disabled='true']):hover td, +.emotion-46:not([aria-disabled='true']):hover td:first-child, +.emotion-46:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-46:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-46:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-46[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-46[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-46[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-46[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-46 [data-expandable-content] { border-color: #d9dadd; } @@ -4143,10 +4240,15 @@ exports[`List > Should render correctly with info 1`] = ` } .emotion-46[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-46[data-highlight='true'] td, +.emotion-46[data-highlight='true'] td:first-child, +.emotion-46[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-46[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -4189,18 +4291,18 @@ exports[`List > Should render correctly with info 1`] = ` > Column 1
@@ -4216,18 +4318,18 @@ exports[`List > Should render correctly with info 1`] = ` > Column 2
@@ -4243,18 +4345,18 @@ exports[`List > Should render correctly with info 1`] = ` > Column 3
@@ -4270,18 +4372,18 @@ exports[`List > Should render correctly with info 1`] = ` > Column 4
@@ -4297,18 +4399,18 @@ exports[`List > Should render correctly with info 1`] = ` > Column 5
@@ -4653,7 +4755,6 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -4662,7 +4763,6 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -4673,47 +4773,19 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -4737,7 +4809,7 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -4760,10 +4832,10 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4772,10 +4844,10 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-8 { @@ -4783,10 +4855,10 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4795,10 +4867,10 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -4822,33 +4894,52 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.emotion-51:before { +.emotion-26:not([aria-disabled='true']):hover+.emotion-51 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -4859,10 +4950,15 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -4890,33 +4986,52 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.emotion-51:before { +.emotion-26:not([aria-disabled='true']):hover+.emotion-51 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -4927,10 +5042,15 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -4965,19 +5085,21 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the position: relative; } -.emotion-50:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; +.emotion-50 td, +.emotion-50 td:first-child, +.emotion-50 td:last-child { + -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; + transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-50 td { border: 1px solid #d9dadd; border-top: none; border-radius: 0 0 0.25rem 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; +} + +.emotion-50[data-highlight="true"] td { + border-color: #8c40ef; } .emotion-53 { @@ -5087,7 +5209,7 @@ exports[`List > Should render correctly with isExpandable and autoClose rows the
Should render correctly with isExpandable rows then click 1`] = width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -5422,7 +5544,6 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -5433,47 +5554,19 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -5497,7 +5590,7 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -5520,10 +5613,10 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5532,10 +5625,10 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-8 { @@ -5543,10 +5636,10 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5555,10 +5648,10 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -5582,33 +5675,52 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -5619,10 +5731,15 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -5650,33 +5767,52 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -5687,10 +5823,15 @@ exports[`List > Should render correctly with isExpandable rows then click 1`] = } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -6136,7 +6277,6 @@ exports[`List > Should render correctly with loading 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -6147,27 +6287,13 @@ exports[`List > Should render correctly with loading 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -6190,10 +6316,10 @@ exports[`List > Should render correctly with loading 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6202,10 +6328,10 @@ exports[`List > Should render correctly with loading 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -6230,33 +6356,52 @@ exports[`List > Should render correctly with loading 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -6267,10 +6412,15 @@ exports[`List > Should render correctly with loading 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -6870,7 +7020,6 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -6881,27 +7030,13 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-7 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -6930,10 +7065,10 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6942,10 +7077,10 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-11 { @@ -6961,7 +7096,7 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` gap: 0.5rem; } -.emotion-11 .eqr7bqq4 { +.emotion-11 .eqr7bqq3 { cursor: pointer; } @@ -6970,7 +7105,7 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` color: #b5b7bd; } -.emotion-11[aria-disabled='true'] .eqr7bqq4 { +.emotion-11[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -7043,7 +7178,7 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` stroke: #e51963; } -.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq6 { +.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq5 { fill: #ffffff; } @@ -7176,7 +7311,7 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -7216,33 +7351,52 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` cursor: pointer; } -.emotion-39:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-39 td, +.emotion-39 td:first-child, +.emotion-39 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-39:not([aria-disabled='true']):hover::before { +.emotion-39 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-39 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-39 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-39:not([aria-disabled='true']):hover td, +.emotion-39:not([aria-disabled='true']):hover td:first-child, +.emotion-39:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-39:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-39:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-39[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-39[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-39[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-39[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-39 [data-expandable-content] { border-color: #d9dadd; } @@ -7253,10 +7407,15 @@ exports[`List > Should render correctly with loading with selectable 1`] = ` } .emotion-39[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-39[data-highlight='true'] td, +.emotion-39[data-highlight='true'] td:first-child, +.emotion-39[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-39[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -7911,7 +8070,6 @@ exports[`List > Should render correctly with preventClick cell then click but ev width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -7920,7 +8078,6 @@ exports[`List > Should render correctly with preventClick cell then click but ev width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -7931,47 +8088,19 @@ exports[`List > Should render correctly with preventClick cell then click but ev padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -7995,7 +8124,7 @@ exports[`List > Should render correctly with preventClick cell then click but ev vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -8018,10 +8147,10 @@ exports[`List > Should render correctly with preventClick cell then click but ev display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8030,10 +8159,10 @@ exports[`List > Should render correctly with preventClick cell then click but ev -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-8 { @@ -8041,10 +8170,10 @@ exports[`List > Should render correctly with preventClick cell then click but ev display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8053,10 +8182,10 @@ exports[`List > Should render correctly with preventClick cell then click but ev -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -8080,33 +8209,52 @@ exports[`List > Should render correctly with preventClick cell then click but ev cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -8117,10 +8265,15 @@ exports[`List > Should render correctly with preventClick cell then click but ev } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -8148,33 +8301,52 @@ exports[`List > Should render correctly with preventClick cell then click but ev cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -8185,10 +8357,15 @@ exports[`List > Should render correctly with preventClick cell then click but ev } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -8604,7 +8781,6 @@ exports[`List > Should render correctly with row expanded 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -8615,27 +8791,13 @@ exports[`List > Should render correctly with row expanded 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -8658,10 +8820,10 @@ exports[`List > Should render correctly with row expanded 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -8670,10 +8832,10 @@ exports[`List > Should render correctly with row expanded 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -8697,33 +8859,52 @@ exports[`List > Should render correctly with row expanded 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -8734,10 +8915,15 @@ exports[`List > Should render correctly with row expanded 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -9146,7 +9332,6 @@ exports[`List > Should render correctly with selectable 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -9157,27 +9342,13 @@ exports[`List > Should render correctly with selectable 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-7 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -9206,10 +9377,10 @@ exports[`List > Should render correctly with selectable 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -9218,10 +9389,10 @@ exports[`List > Should render correctly with selectable 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-11 { @@ -9237,7 +9408,7 @@ exports[`List > Should render correctly with selectable 1`] = ` gap: 0.5rem; } -.emotion-11 .eqr7bqq4 { +.emotion-11 .eqr7bqq3 { cursor: pointer; } @@ -9246,7 +9417,7 @@ exports[`List > Should render correctly with selectable 1`] = ` color: #b5b7bd; } -.emotion-11[aria-disabled='true'] .eqr7bqq4 { +.emotion-11[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -9319,7 +9490,7 @@ exports[`List > Should render correctly with selectable 1`] = ` stroke: #e51963; } -.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq6 { +.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq5 { fill: #ffffff; } @@ -9452,7 +9623,7 @@ exports[`List > Should render correctly with selectable 1`] = ` vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -9491,33 +9662,52 @@ exports[`List > Should render correctly with selectable 1`] = ` cursor: pointer; } -.emotion-39:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-39 td, +.emotion-39 td:first-child, +.emotion-39 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-39:not([aria-disabled='true']):hover::before { +.emotion-39 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-39 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-39 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-39:not([aria-disabled='true']):hover td, +.emotion-39:not([aria-disabled='true']):hover td:first-child, +.emotion-39:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-39:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-39:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-39[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-39[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-39[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-39[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-39 [data-expandable-content] { border-color: #d9dadd; } @@ -9528,10 +9718,15 @@ exports[`List > Should render correctly with selectable 1`] = ` } .emotion-39[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-39[data-highlight='true'] td, +.emotion-39[data-highlight='true'] td:first-child, +.emotion-39[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-39[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -9571,7 +9766,7 @@ exports[`List > Should render correctly with selectable 1`] = ` gap: 0.5rem; } -.emotion-47 .eqr7bqq4 { +.emotion-47 .eqr7bqq3 { cursor: pointer; } @@ -9580,7 +9775,7 @@ exports[`List > Should render correctly with selectable 1`] = ` color: #b5b7bd; } -.emotion-47[aria-disabled='true'] .eqr7bqq4 { +.emotion-47[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -9653,7 +9848,7 @@ exports[`List > Should render correctly with selectable 1`] = ` stroke: #e51963; } -.emotion-47 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq6 { +.emotion-47 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq5 { fill: #ffffff; } @@ -10677,7 +10872,6 @@ exports[`List > Should render correctly with selectable then click on first row width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -10686,7 +10880,6 @@ exports[`List > Should render correctly with selectable then click on first row width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -10697,47 +10890,19 @@ exports[`List > Should render correctly with selectable then click on first row padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-7 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -10767,7 +10932,7 @@ exports[`List > Should render correctly with selectable then click on first row vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -10796,10 +10961,10 @@ exports[`List > Should render correctly with selectable then click on first row display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -10808,10 +10973,10 @@ exports[`List > Should render correctly with selectable then click on first row -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-9 { @@ -10819,10 +10984,10 @@ exports[`List > Should render correctly with selectable then click on first row display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -10831,10 +10996,10 @@ exports[`List > Should render correctly with selectable then click on first row -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-11 { @@ -10850,7 +11015,7 @@ exports[`List > Should render correctly with selectable then click on first row gap: 0.5rem; } -.emotion-11 .eqr7bqq4 { +.emotion-11 .eqr7bqq3 { cursor: pointer; } @@ -10859,7 +11024,7 @@ exports[`List > Should render correctly with selectable then click on first row color: #b5b7bd; } -.emotion-11[aria-disabled='true'] .eqr7bqq4 { +.emotion-11[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -10932,7 +11097,7 @@ exports[`List > Should render correctly with selectable then click on first row stroke: #e51963; } -.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq6 { +.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq5 { fill: #ffffff; } @@ -10988,7 +11153,7 @@ exports[`List > Should render correctly with selectable then click on first row gap: 0.5rem; } -.emotion-11 .eqr7bqq4 { +.emotion-11 .eqr7bqq3 { cursor: pointer; } @@ -10997,7 +11162,7 @@ exports[`List > Should render correctly with selectable then click on first row color: #b5b7bd; } -.emotion-11[aria-disabled='true'] .eqr7bqq4 { +.emotion-11[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -11070,7 +11235,7 @@ exports[`List > Should render correctly with selectable then click on first row stroke: #e51963; } -.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq6 { +.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq5 { fill: #ffffff; } @@ -11287,7 +11452,7 @@ exports[`List > Should render correctly with selectable then click on first row vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -11311,7 +11476,7 @@ exports[`List > Should render correctly with selectable then click on first row vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -11350,33 +11515,52 @@ exports[`List > Should render correctly with selectable then click on first row cursor: pointer; } -.emotion-39:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-39 td, +.emotion-39 td:first-child, +.emotion-39 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-39:not([aria-disabled='true']):hover::before { +.emotion-39 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-39 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-39 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-39:not([aria-disabled='true']):hover td, +.emotion-39:not([aria-disabled='true']):hover td:first-child, +.emotion-39:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-39:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-39:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-39[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-39[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-39[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-39[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-39 [data-expandable-content] { border-color: #d9dadd; } @@ -11387,10 +11571,15 @@ exports[`List > Should render correctly with selectable then click on first row } .emotion-39[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-39[data-highlight='true'] td, +.emotion-39[data-highlight='true'] td:first-child, +.emotion-39[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-39[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -11418,33 +11607,52 @@ exports[`List > Should render correctly with selectable then click on first row cursor: pointer; } -.emotion-39:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-39 td, +.emotion-39 td:first-child, +.emotion-39 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-39:not([aria-disabled='true']):hover::before { +.emotion-39 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-39 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-39 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-39:not([aria-disabled='true']):hover td, +.emotion-39:not([aria-disabled='true']):hover td:first-child, +.emotion-39:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-39:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-39:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-39[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-39[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-39[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-39[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-39 [data-expandable-content] { border-color: #d9dadd; } @@ -11455,10 +11663,15 @@ exports[`List > Should render correctly with selectable then click on first row } .emotion-39[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-39[data-highlight='true'] td, +.emotion-39[data-highlight='true'] td:first-child, +.emotion-39[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-39[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -11518,7 +11731,7 @@ exports[`List > Should render correctly with selectable then click on first row gap: 0.5rem; } -.emotion-47 .eqr7bqq4 { +.emotion-47 .eqr7bqq3 { cursor: pointer; } @@ -11527,7 +11740,7 @@ exports[`List > Should render correctly with selectable then click on first row color: #b5b7bd; } -.emotion-47[aria-disabled='true'] .eqr7bqq4 { +.emotion-47[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -11600,7 +11813,7 @@ exports[`List > Should render correctly with selectable then click on first row stroke: #e51963; } -.emotion-47 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq6 { +.emotion-47 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq5 { fill: #ffffff; } @@ -11656,7 +11869,7 @@ exports[`List > Should render correctly with selectable then click on first row gap: 0.5rem; } -.emotion-47 .eqr7bqq4 { +.emotion-47 .eqr7bqq3 { cursor: pointer; } @@ -11665,7 +11878,7 @@ exports[`List > Should render correctly with selectable then click on first row color: #b5b7bd; } -.emotion-47[aria-disabled='true'] .eqr7bqq4 { +.emotion-47[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -11738,7 +11951,7 @@ exports[`List > Should render correctly with selectable then click on first row stroke: #e51963; } -.emotion-47 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq6 { +.emotion-47 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq5 { fill: #ffffff; } @@ -12769,7 +12982,6 @@ exports[`List > Should render correctly with selectable with shift click for mul width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -12778,7 +12990,6 @@ exports[`List > Should render correctly with selectable with shift click for mul width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -12789,47 +13000,19 @@ exports[`List > Should render correctly with selectable with shift click for mul padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-7 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -12859,7 +13042,7 @@ exports[`List > Should render correctly with selectable with shift click for mul vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -12888,10 +13071,10 @@ exports[`List > Should render correctly with selectable with shift click for mul display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12900,10 +13083,10 @@ exports[`List > Should render correctly with selectable with shift click for mul -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-9 { @@ -12911,10 +13094,10 @@ exports[`List > Should render correctly with selectable with shift click for mul display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -12923,10 +13106,10 @@ exports[`List > Should render correctly with selectable with shift click for mul -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-11 { @@ -12942,7 +13125,7 @@ exports[`List > Should render correctly with selectable with shift click for mul gap: 0.5rem; } -.emotion-11 .eqr7bqq4 { +.emotion-11 .eqr7bqq3 { cursor: pointer; } @@ -12951,7 +13134,7 @@ exports[`List > Should render correctly with selectable with shift click for mul color: #b5b7bd; } -.emotion-11[aria-disabled='true'] .eqr7bqq4 { +.emotion-11[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -13080,7 +13263,7 @@ exports[`List > Should render correctly with selectable with shift click for mul gap: 0.5rem; } -.emotion-11 .eqr7bqq4 { +.emotion-11 .eqr7bqq3 { cursor: pointer; } @@ -13089,7 +13272,7 @@ exports[`List > Should render correctly with selectable with shift click for mul color: #b5b7bd; } -.emotion-11[aria-disabled='true'] .eqr7bqq4 { +.emotion-11[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -13379,7 +13562,7 @@ exports[`List > Should render correctly with selectable with shift click for mul vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -13403,7 +13586,7 @@ exports[`List > Should render correctly with selectable with shift click for mul vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -13442,33 +13625,52 @@ exports[`List > Should render correctly with selectable with shift click for mul cursor: pointer; } -.emotion-41:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-41 td, +.emotion-41 td:first-child, +.emotion-41 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-41:not([aria-disabled='true']):hover::before { +.emotion-41 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-41 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-41 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-41:not([aria-disabled='true']):hover td, +.emotion-41:not([aria-disabled='true']):hover td:first-child, +.emotion-41:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-41:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-41:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-41[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-41[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-41[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-41[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-41 [data-expandable-content] { border-color: #d9dadd; } @@ -13479,10 +13681,15 @@ exports[`List > Should render correctly with selectable with shift click for mul } .emotion-41[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-41[data-highlight='true'] td, +.emotion-41[data-highlight='true'] td:first-child, +.emotion-41[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-41[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -13510,33 +13717,52 @@ exports[`List > Should render correctly with selectable with shift click for mul cursor: pointer; } -.emotion-41:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-41 td, +.emotion-41 td:first-child, +.emotion-41 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-41:not([aria-disabled='true']):hover::before { +.emotion-41 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-41 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-41 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-41:not([aria-disabled='true']):hover td, +.emotion-41:not([aria-disabled='true']):hover td:first-child, +.emotion-41:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-41:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-41:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-41[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-41[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-41[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-41[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-41 [data-expandable-content] { border-color: #d9dadd; } @@ -13547,10 +13773,15 @@ exports[`List > Should render correctly with selectable with shift click for mul } .emotion-41[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-41[data-highlight='true'] td, +.emotion-41[data-highlight='true'] td:first-child, +.emotion-41[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-41[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -13610,7 +13841,7 @@ exports[`List > Should render correctly with selectable with shift click for mul gap: 0.5rem; } -.emotion-49 .eqr7bqq4 { +.emotion-49 .eqr7bqq3 { cursor: pointer; } @@ -13619,7 +13850,7 @@ exports[`List > Should render correctly with selectable with shift click for mul color: #b5b7bd; } -.emotion-49[aria-disabled='true'] .eqr7bqq4 { +.emotion-49[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -13748,7 +13979,7 @@ exports[`List > Should render correctly with selectable with shift click for mul gap: 0.5rem; } -.emotion-49 .eqr7bqq4 { +.emotion-49 .eqr7bqq3 { cursor: pointer; } @@ -13757,7 +13988,7 @@ exports[`List > Should render correctly with selectable with shift click for mul color: #b5b7bd; } -.emotion-49[aria-disabled='true'] .eqr7bqq4 { +.emotion-49[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -13918,7 +14149,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select all" class="emotion-13 emotion-14" - id="«rb2»" + id="«rao»" name="list-select-checkbox" type="checkbox" value="all" @@ -14026,7 +14257,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rb6»" + id="«ras»" name="list-select-checkbox" type="checkbox" value="1" @@ -14109,7 +14340,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rba»" + id="«rb0»" name="list-select-checkbox" type="checkbox" value="2" @@ -14192,7 +14423,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rbe»" + id="«rb4»" name="list-select-checkbox" type="checkbox" value="3" @@ -14275,7 +14506,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rbi»" + id="«rb8»" name="list-select-checkbox" type="checkbox" value="4" @@ -14358,7 +14589,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rbm»" + id="«rbc»" name="list-select-checkbox" type="checkbox" value="5" @@ -14441,7 +14672,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rbq»" + id="«rbg»" name="list-select-checkbox" type="checkbox" value="6" @@ -14524,7 +14755,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rbu»" + id="«rbk»" name="list-select-checkbox" type="checkbox" value="7" @@ -14607,7 +14838,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rc2»" + id="«rbo»" name="list-select-checkbox" type="checkbox" value="8" @@ -14690,7 +14921,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rc6»" + id="«rbs»" name="list-select-checkbox" type="checkbox" value="9" @@ -14773,7 +15004,7 @@ exports[`List > Should render correctly with selectable with shift click for mul aria-invalid="false" aria-label="select" class="emotion-13 emotion-14" - id="«rca»" + id="«rc0»" name="list-select-checkbox" type="checkbox" value="10" @@ -14853,7 +15084,6 @@ exports[`List > Should render correctly with sentiment rows 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -14864,27 +15094,13 @@ exports[`List > Should render correctly with sentiment rows 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -14907,10 +15123,10 @@ exports[`List > Should render correctly with sentiment rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -14919,10 +15135,10 @@ exports[`List > Should render correctly with sentiment rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -14946,42 +15162,66 @@ exports[`List > Should render correctly with sentiment rows 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #005da3; } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -15410,7 +15650,6 @@ exports[`List > Should render correctly with sort 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -15421,27 +15660,13 @@ exports[`List > Should render correctly with sort 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -15464,10 +15689,10 @@ exports[`List > Should render correctly with sort 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -15476,10 +15701,10 @@ exports[`List > Should render correctly with sort 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-26 { @@ -15503,33 +15728,52 @@ exports[`List > Should render correctly with sort 1`] = ` cursor: pointer; } -.emotion-26:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-26 td, +.emotion-26 td:first-child, +.emotion-26 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-26:not([aria-disabled='true']):hover::before { +.emotion-26 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-26 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-26 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-26:not([aria-disabled='true']):hover td, +.emotion-26:not([aria-disabled='true']):hover td:first-child, +.emotion-26:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-26:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-26[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-26[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-26[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-26[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-26 [data-expandable-content] { border-color: #d9dadd; } @@ -15540,10 +15784,15 @@ exports[`List > Should render correctly with sort 1`] = ` } .emotion-26[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-26[data-highlight='true'] td, +.emotion-26[data-highlight='true'] td:first-child, +.emotion-26[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-26[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -15958,7 +16207,6 @@ exports[`List > Should render correctly with sort then click 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -15967,7 +16215,6 @@ exports[`List > Should render correctly with sort then click 1`] = ` width: 100%; box-sizing: content-box; gap: 0.5rem; - border-collapse: collapsed; border-spacing: 0 1rem; position: relative; } @@ -15978,47 +16225,19 @@ exports[`List > Should render correctly with sort then click 1`] = ` padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-4 { display: table-row; vertical-align: middle; padding: 0 1rem; } -.emotion-4:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid transparent; - border-radius: 0.25rem; - pointer-events: none; - -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; - transition: box-shadow 200ms ease,border-color 200ms ease; -} - .emotion-6 { display: table-cell; text-align: left; vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -16042,7 +16261,7 @@ exports[`List > Should render correctly with sort then click 1`] = ` vertical-align: middle; font-size: 0.875rem; font-weight: 400; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; color: #3f4250; gap: 0.5rem; padding: 0 1rem; @@ -16065,10 +16284,10 @@ exports[`List > Should render correctly with sort then click 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -16077,10 +16296,10 @@ exports[`List > Should render correctly with sort then click 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-8 { @@ -16088,10 +16307,10 @@ exports[`List > Should render correctly with sort then click 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -16100,10 +16319,10 @@ exports[`List > Should render correctly with sort then click 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-10 { @@ -16161,33 +16380,52 @@ exports[`List > Should render correctly with sort then click 1`] = ` cursor: pointer; } -.emotion-37:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-37 td, +.emotion-37 td:first-child, +.emotion-37 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-37:not([aria-disabled='true']):hover::before { +.emotion-37 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-37 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-37 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-37:not([aria-disabled='true']):hover td, +.emotion-37:not([aria-disabled='true']):hover td:first-child, +.emotion-37:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-37:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-37:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-37[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-37[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-37[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-37[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-37 [data-expandable-content] { border-color: #d9dadd; } @@ -16198,10 +16436,15 @@ exports[`List > Should render correctly with sort then click 1`] = ` } .emotion-37[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-37[data-highlight='true'] td, +.emotion-37[data-highlight='true'] td:first-child, +.emotion-37[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-37[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; @@ -16229,33 +16472,52 @@ exports[`List > Should render correctly with sort then click 1`] = ` cursor: pointer; } -.emotion-37:before { - content: ""; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - pointer-events: none; +.emotion-37 td, +.emotion-37 td:first-child, +.emotion-37 td:last-child { -webkit-transition: box-shadow 200ms ease,border-color 200ms ease; transition: box-shadow 200ms ease,border-color 200ms ease; } -.emotion-37:not([aria-disabled='true']):hover::before { +.emotion-37 td { + border-top: 1px solid #d9dadd; + border-bottom: 1px solid #d9dadd; +} + +.emotion-37 td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0.25rem; +} + +.emotion-37 td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0.25rem 0; +} + +.emotion-37:not([aria-disabled='true']):hover td, +.emotion-37:not([aria-disabled='true']):hover td:first-child, +.emotion-37:not([aria-disabled='true']):hover td:last-child { border-color: #8c40ef; } -.emotion-37:not([aria-disabled='true']):hover+.ei4uyz15:before { +.emotion-37:not([aria-disabled='true']):hover+.ei4uyz15 td { border-color: #8c40ef; } -.emotion-37[aria-expanded='true']:before { - border-radius: 0.25rem 0.25rem 0 0; +.emotion-37[aria-expanded='true'] td { border-bottom-color: #d9dadd; } +.emotion-37[aria-expanded='true'] td:first-child { + border-left: 1px solid #d9dadd; + border-radius: 0.25rem 0 0 0; +} + +.emotion-37[aria-expanded='true'] td:last-child { + border-right: 1px solid #d9dadd; + border-radius: 0 0.25rem 0 0; +} + .emotion-37 [data-expandable-content] { border-color: #d9dadd; } @@ -16266,10 +16528,15 @@ exports[`List > Should render correctly with sort then click 1`] = ` } .emotion-37[data-highlight='true'] { - border-color: #8c40ef; box-shadow: 0px 4px 16px 4px #f6f3ffcc; } +.emotion-37[data-highlight='true'] td, +.emotion-37[data-highlight='true'] td:first-child, +.emotion-37[data-highlight='true'] td:last-child { + border-color: #8c40ef; +} + .emotion-37[aria-disabled='true'] { background-color: #f3f3f4; color: #b5b7bd; diff --git a/packages/ui/src/components/List/__tests__/index.test.tsx b/packages/ui/src/components/List/__tests__/index.test.tsx index c7db49216f..983c48700b 100644 --- a/packages/ui/src/components/List/__tests__/index.test.tsx +++ b/packages/ui/src/components/List/__tests__/index.test.tsx @@ -431,29 +431,6 @@ describe('List', () => { expect(asFragment()).toMatchSnapshot() }) - test('Should render correctly with preventClick cell then click but event is prevented', async () => { - const { asFragment } = renderWithTheme( - - {data.map(({ id, columnA, columnB, columnC, columnD, columnE }) => ( - - {columnA} - {columnB} - {columnC} - {columnD} - {columnE} - - ))} - , - ) - - if (data[0]) { - const cell = screen.getByText(data[0].columnE) - await userEvent.click(cell) - } - - expect(asFragment()).toMatchSnapshot() - }) - test('Should render correctly with isExpandable and autoClose rows then click', async () => { const { asFragment } = renderWithTheme( diff --git a/packages/ui/src/components/List/index.tsx b/packages/ui/src/components/List/index.tsx index 5a056b4563..e769ecc18b 100644 --- a/packages/ui/src/components/List/index.tsx +++ b/packages/ui/src/components/List/index.tsx @@ -22,7 +22,6 @@ const StyledTable = styled.table` width: 100%; box-sizing: content-box; gap: ${({ theme }) => theme.space['1']}; - border-collapse: collapsed; border-spacing: 0 ${({ theme }) => theme.space['2']}; position: relative; ` @@ -45,6 +44,7 @@ type ListProps = { * Action when selection changes (get the list of selected rows) */ onSelectedChange?: Dispatch> + className?: string } const TableContainer = ({ children }: { children: ReactNode }) => { @@ -76,6 +76,7 @@ const BaseList = forwardRef( loading, autoCollapse = false, onSelectedChange, + className, }, ref, ) => ( @@ -87,7 +88,7 @@ const BaseList = forwardRef( columns={columns} > - + {columns.map((column, index) => ( ( - <> - {[...Object.keys(colors), 'tomato', '#6EB5FF'].map(color => ( - - ))} - -) - -Colors.parameters = { - docs: { - description: { - story: 'You can set the color of the component with the `color` prop.', - }, - }, -} diff --git a/packages/ui/src/components/Loader/__stories__/Percentages.stories.tsx b/packages/ui/src/components/Loader/__stories__/Percentages.stories.tsx index 0a6f7ad30e..2db9950aaa 100644 --- a/packages/ui/src/components/Loader/__stories__/Percentages.stories.tsx +++ b/packages/ui/src/components/Loader/__stories__/Percentages.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Loader } from '../index' export const Percentages: StoryFn = props => ( diff --git a/packages/ui/src/components/Loader/__stories__/Playground.stories.tsx b/packages/ui/src/components/Loader/__stories__/Playground.stories.tsx index 9acff8b19a..1bb1300883 100644 --- a/packages/ui/src/components/Loader/__stories__/Playground.stories.tsx +++ b/packages/ui/src/components/Loader/__stories__/Playground.stories.tsx @@ -1,3 +1,3 @@ -import { Template } from './Template' +import { Template } from './Template.stories' export const Playground = Template.bind({}) diff --git a/packages/ui/src/components/Loader/__stories__/Sentiments.stories.tsx b/packages/ui/src/components/Loader/__stories__/Sentiments.stories.tsx new file mode 100644 index 0000000000..d573faeb06 --- /dev/null +++ b/packages/ui/src/components/Loader/__stories__/Sentiments.stories.tsx @@ -0,0 +1,29 @@ +import type { StoryFn } from '@storybook/react-vite' +import { SENTIMENTS } from '../../../theme' +import type { ExtendedColor } from '../../../theme' +import { Stack } from '../../Stack' +import { Loader } from '../index' + +export const Sentiments: StoryFn = props => ( + + {[...SENTIMENTS, 'white', 'black'].map(sentiment => ( + + + {sentiment} + + ))} + +) + +Sentiments.parameters = { + docs: { + description: { + story: + 'You can set the color of the component with the `sentiment` prop.', + }, + }, +} diff --git a/packages/ui/src/components/Loader/__stories__/Sizes.stories.tsx b/packages/ui/src/components/Loader/__stories__/Sizes.stories.tsx index aa0a6d6950..1b7654379e 100644 --- a/packages/ui/src/components/Loader/__stories__/Sizes.stories.tsx +++ b/packages/ui/src/components/Loader/__stories__/Sizes.stories.tsx @@ -1,10 +1,10 @@ -import type { StoryFn } from '@storybook/react' -import { Loader } from '../index' +import type { StoryFn } from '@storybook/react-vite' +import { Loader, SIZES } from '../index' export const Sizes: StoryFn = props => ( <> - {[8, 32, 50, 75, 90, 100].map(size => ( - + {Object.keys(SIZES).map(size => ( + ))} ) diff --git a/packages/ui/src/components/Loader/__stories__/StrokeWidth.stories.tsx b/packages/ui/src/components/Loader/__stories__/StrokeWidth.stories.tsx deleted file mode 100644 index 45d8eb0a4f..0000000000 --- a/packages/ui/src/components/Loader/__stories__/StrokeWidth.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { Loader } from '../index' - -export const StrokeWidth: StoryFn = props => ( - <> - {[2, 8, 16, 24].map(strokeWidth => ( - - ))} - -) - -StrokeWidth.parameters = { - docs: { - description: { - story: 'You can also set the stroke width with the `strokeWidth` prop.', - }, - }, -} diff --git a/packages/ui/src/components/Loader/__stories__/Template.tsx b/packages/ui/src/components/Loader/__stories__/Template.stories.tsx similarity index 75% rename from packages/ui/src/components/Loader/__stories__/Template.tsx rename to packages/ui/src/components/Loader/__stories__/Template.stories.tsx index 72ec2e8f3d..accb3154ef 100644 --- a/packages/ui/src/components/Loader/__stories__/Template.tsx +++ b/packages/ui/src/components/Loader/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Loader } from '../index' export const Template: StoryFn = props => diff --git a/packages/ui/src/components/Loader/__stories__/Text.stories.tsx b/packages/ui/src/components/Loader/__stories__/Text.stories.tsx deleted file mode 100644 index 1e8e06afc3..0000000000 --- a/packages/ui/src/components/Loader/__stories__/Text.stories.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { Loader } from '../index' - -export const Text: StoryFn = props => ( - <> - {[0, 25, 50, 75, 100].map(percentage => ( - - ))} - -) - -Text.parameters = { - docs: { - description: { - story: - 'You can pass a text which will be inlined in the center of the circle with the `text` prop.', - }, - }, -} diff --git a/packages/ui/src/components/Loader/__stories__/TrailColor.stories.tsx b/packages/ui/src/components/Loader/__stories__/TrailColor.stories.tsx deleted file mode 100644 index c061e1051b..0000000000 --- a/packages/ui/src/components/Loader/__stories__/TrailColor.stories.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { colors } from '../../../theme' -import { Loader } from '../index' - -export const TrailColor: StoryFn = props => ( - <> - {[...Object.keys(colors), 'tomato', '#6EB5FF'].map(trailColor => ( - - ))} - -) - -TrailColor.parameters = { - docs: { - description: { - story: - 'You can set the trail color (background) of the component by using the `trailColor` prop. You can use theme color or a custom one.', - }, - }, -} diff --git a/packages/ui/src/components/Loader/__stories__/index.stories.tsx b/packages/ui/src/components/Loader/__stories__/index.stories.tsx index 8eb1fcb018..5438ba4992 100644 --- a/packages/ui/src/components/Loader/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Loader/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Loader } from '..' import { Stack } from '../../Stack' @@ -17,8 +17,5 @@ export default { export { Playground } from './Playground.stories' export { Percentages } from './Percentages.stories' export { Sizes } from './Sizes.stories' -export { Colors } from './Colors.stories' -export { TrailColor } from './TrailColor.stories' -export { StrokeWidth } from './StrokeWidth.stories' -export { Text } from './Text.stories' +export { Sentiments } from './Sentiments.stories' export { Active } from './Active.stories' diff --git a/packages/ui/src/components/Loader/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Loader/__tests__/__snapshots__/index.test.tsx.snap index b5611ecd93..bc4c896be6 100644 --- a/packages/ui/src/components/Loader/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Loader/__tests__/__snapshots__/index.test.tsx.snap @@ -8,6 +8,10 @@ exports[`Loader > renders active with custom percentage 1`] = ` } .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -23,19 +27,19 @@ exports[`Loader > renders active with custom percentage 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > renders active with default percentage 1`] = ` } .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -74,19 +82,19 @@ exports[`Loader > renders active with default percentage 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > renders active with default percentage 1`] = ` exports[`Loader > renders default props 1`] = ` .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -120,19 +132,19 @@ exports[`Loader > renders default props 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > renders default props 1`] = ` exports[`Loader > renders with color neutral and primary 1`] = ` .emotion-2 { - -webkit-transition: stroke-dashoffset 0.5s ease 0s; - transition: stroke-dashoffset 0.5s ease 0s; -} - -.emotion-3 { - fill: #e9eaeb; - font-size: 2.1875rem; - dominant-baseline: middle; - text-anchor: middle; + stroke: #d9dadd; } -.emotion-8 { - fill: #8c40ef; - font-size: 2.1875rem; - dominant-baseline: middle; - text-anchor: middle; +.emotion-4 { + -webkit-transition: stroke-dashoffset 0.5s ease 0s; + transition: stroke-dashoffset 0.5s ease 0s; }
renders with color neutral and primary 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > renders with color neutral and primary 1`] = ` stroke-linecap="round" stroke-width="16" /> - - Colored text - renders with color neutral and primary 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > renders with color neutral and primary 1`] = ` stroke-linecap="round" stroke-width="16" /> - - Colored text -
`; -exports[`Loader > renders with custom size 1`] = ` +exports[`Loader > renders with percentage 75 1`] = ` - .emotion-2 { + .emotion-0 { + -webkit-animation: spin 0.75s linear infinite; + animation: spin 0.75s linear infinite; +} + +.emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -268,30 +265,30 @@ exports[`Loader > renders with custom size 1`] = ` aria-label="Loading test" aria-valuemax="100" aria-valuemin="0" - aria-valuenow="20" - aria-valuetext="20%" + aria-valuenow="75" + aria-valuetext="75%" class="emotion-0 emotion-1" role="progressbar" - style="height: 100px; width: 100px;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > @@ -300,18 +297,15 @@ exports[`Loader > renders with custom size 1`] = ` `; -exports[`Loader > renders with inlined color 1`] = ` +exports[`Loader > renders with sentiment danger 1`] = ` .emotion-2 { - -webkit-transition: stroke-dashoffset 0.5s ease 0s; - transition: stroke-dashoffset 0.5s ease 0s; + stroke: #d9dadd; } -.emotion-3 { - fill: #ff0000; - font-size: 2.1875rem; - dominant-baseline: middle; - text-anchor: middle; +.emotion-4 { + -webkit-transition: stroke-dashoffset 0.5s ease 0s; + transition: stroke-dashoffset 0.5s ease 0s; }
renders with inlined color 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > - - Colored text -
`; -exports[`Loader > renders with inlined trailColor 1`] = ` +exports[`Loader > renders with sentiment neutral 1`] = ` .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -378,24 +369,24 @@ exports[`Loader > renders with inlined trailColor 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > renders with inlined trailColor 1`] = ` `; -exports[`Loader > renders with percentage 75 1`] = ` +exports[`Loader > renders with sentiment primary 1`] = ` - .emotion-0 { - -webkit-animation: spin 0.75s linear infinite; - animation: spin 0.75s linear infinite; + .emotion-2 { + stroke: #d9dadd; } -.emotion-2 { +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -425,30 +415,30 @@ exports[`Loader > renders with percentage 75 1`] = ` aria-label="Loading test" aria-valuemax="100" aria-valuemin="0" - aria-valuenow="75" - aria-valuetext="75%" + aria-valuenow="20" + aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > @@ -457,9 +447,13 @@ exports[`Loader > renders with percentage 75 1`] = ` `; -exports[`Loader > renders with strokeWidth 25 1`] = ` +exports[`Loader > renders with sentiment secondary 1`] = ` .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -475,46 +469,43 @@ exports[`Loader > renders with strokeWidth 25 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > `; -exports[`Loader > renders with text 100% 1`] = ` +exports[`Loader > renders with sentiment success 1`] = ` .emotion-2 { - -webkit-transition: stroke-dashoffset 0.5s ease 0s; - transition: stroke-dashoffset 0.5s ease 0s; + stroke: #d9dadd; } -.emotion-3 { - fill: #8c40ef; - font-size: 2.1875rem; - dominant-baseline: middle; - text-anchor: middle; +.emotion-4 { + -webkit-transition: stroke-dashoffset 0.5s ease 0s; + transition: stroke-dashoffset 0.5s ease 0s; }
renders with text 100% 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > - - 100% -
`; -exports[`Loader > renders with trailColor danger 1`] = ` +exports[`Loader > renders with size large 1`] = ` .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -581,19 +569,19 @@ exports[`Loader > renders with trailColor danger 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 1.5rem; width: 1.5rem;" viewBox="0 0 100 100" > renders with trailColor danger 1`] = ` `; -exports[`Loader > renders with trailColor neutral 1`] = ` +exports[`Loader > renders with size medium 1`] = ` .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -627,19 +619,19 @@ exports[`Loader > renders with trailColor neutral 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 1.25rem; width: 1.25rem;" viewBox="0 0 100 100" > renders with trailColor neutral 1`] = ` `; -exports[`Loader > renders with trailColor primary 1`] = ` +exports[`Loader > renders with size small 1`] = ` .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -673,19 +669,19 @@ exports[`Loader > renders with trailColor primary 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 1rem; width: 1rem;" viewBox="0 0 100 100" > renders with trailColor primary 1`] = ` `; -exports[`Loader > renders with trailColor secondary 1`] = ` +exports[`Loader > renders with size xlarge 1`] = ` .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -719,19 +719,19 @@ exports[`Loader > renders with trailColor secondary 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 2rem; width: 2rem;" viewBox="0 0 100 100" > renders with trailColor secondary 1`] = ` `; -exports[`Loader > renders with trailColor success 1`] = ` +exports[`Loader > renders with size xsmall 1`] = ` .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -765,19 +769,19 @@ exports[`Loader > renders with trailColor success 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 0.75rem; width: 0.75rem;" viewBox="0 0 100 100" > renders with trailColor success 1`] = ` `; -exports[`Loader > renders with unknown inlined color 1`] = ` +exports[`Loader > renders with size xxlarge 1`] = ` .emotion-2 { + stroke: #d9dadd; +} + +.emotion-4 { -webkit-transition: stroke-dashoffset 0.5s ease 0s; transition: stroke-dashoffset 0.5s ease 0s; } @@ -811,24 +819,24 @@ exports[`Loader > renders with unknown inlined color 1`] = ` aria-valuetext="20%" class="emotion-0 emotion-1" role="progressbar" - style="height: 2.5rem; width: 2.5rem;" + style="height: 3.5rem; width: 3.5rem;" viewBox="0 0 100 100" > { @@ -21,39 +22,25 @@ describe('Loader', () => { test(`renders with color neutral and primary`, () => shouldMatchEmotionSnapshot( <> - - + + , )) - test(`renders with inlined color`, () => - shouldMatchEmotionSnapshot( - , - )) - - test(`renders with unknown inlined color`, () => - shouldMatchEmotionSnapshot()) - SENTIMENTS.slice(0, 5).forEach(color => { - test(`renders with trailColor ${color}`, () => + test(`renders with sentiment ${color}`, () => shouldMatchEmotionSnapshot( - , + , )) }) - test(`renders with inlined trailColor`, () => - shouldMatchEmotionSnapshot( - , - )) - - test(`renders with strokeWidth 25`, () => - shouldMatchEmotionSnapshot( - , - )) - - test(`renders with text 100%`, () => - shouldMatchEmotionSnapshot()) - - test(`renders with custom size`, () => - shouldMatchEmotionSnapshot()) + Object.keys(SIZES).forEach(size => { + test(`renders with size ${size}`, () => + shouldMatchEmotionSnapshot( + ['size']} + />, + )) + }) }) diff --git a/packages/ui/src/components/Loader/index.tsx b/packages/ui/src/components/Loader/index.tsx index 5dc6d548f8..8a7a100904 100644 --- a/packages/ui/src/components/Loader/index.tsx +++ b/packages/ui/src/components/Loader/index.tsx @@ -2,14 +2,21 @@ import { css, useTheme } from '@emotion/react' import styled from '@emotion/styled' -import type { Color } from '../../theme' +import type { ExtendedColor } from '../../theme' const VIEWBOX_WIDTH = 100 const VIEWBOX_HEIGHT = 100 const HALF_VIEWBOX_WIDTH = VIEWBOX_WIDTH / 2 const HALF_VIEWBOX_HEIGHT = VIEWBOX_HEIGHT / 2 -export const LOADER_SIZE = '2.5rem' +export const SIZES = { + xsmall: '150', + small: '200', + medium: '250', + large: '300', + xlarge: '400', + xxlarge: '700', +} as const const StyledSvg = styled('svg', { shouldForwardProp: prop => !['active'].includes(prop), @@ -33,30 +40,17 @@ const StyledSvg = styled('svg', { type LoaderProps = { active?: boolean - color?: Color | (string & NonNullable) + sentiment?: ExtendedColor percentage?: number - size?: number | string - strokeWidth?: number - /** - * Text is placed in center of ProgressCircle. - */ - text?: string - trailColor?: Color | (string & NonNullable) + size?: keyof typeof SIZES /** * Label should be defined for accessibility, to indicate what is loading */ label?: string } -const Text = styled('text', { - shouldForwardProp: prop => !['color'].includes(prop), -})<{ color: Color | (string & NonNullable) }>` - fill: ${({ theme, color }) => - theme.colors[color as Color]?.backgroundStrong || color}; - - font-size: ${({ theme }) => theme.typography.headingLarge.fontSize}; - dominant-baseline: middle; - text-anchor: middle; +export const StyledCircle = styled.circle` +stroke: ${({ theme }) => theme.colors.neutral.border}; ` /** @@ -64,17 +58,14 @@ const Text = styled('text', { */ export const Loader = ({ percentage = 20, - text, - size = LOADER_SIZE, - strokeWidth = 16, - color = 'primary', - trailColor = 'neutral', + size = 'xlarge', + sentiment = 'primary', active = false, label = 'Loading', }: LoaderProps) => { const theme = useTheme() - const circleRadius = HALF_VIEWBOX_HEIGHT - strokeWidth / 2 + const circleRadius = HALF_VIEWBOX_HEIGHT - 8 const boundedPercentage = Math.min(Math.max(percentage, 0), 100) / 100 const circleDiameter = Math.PI * 2 * circleRadius @@ -89,17 +80,16 @@ export const Loader = ({ aria-valuetext={`${percentage}%`} viewBox={`0 0 ${VIEWBOX_WIDTH} ${VIEWBOX_HEIGHT}`} style={{ - height: typeof size === 'string' ? size : `${size}px`, - width: typeof size === 'string' ? size : `${size}px`, + height: theme.sizing[SIZES[size]], + width: theme.sizing[SIZES[size]], }} > - - {text ? ( - - {text} - - ) : null} ) } diff --git a/packages/ui/src/components/Menu/Item.tsx b/packages/ui/src/components/Menu/Item.tsx deleted file mode 100644 index aa2f4ba8cd..0000000000 --- a/packages/ui/src/components/Menu/Item.tsx +++ /dev/null @@ -1,154 +0,0 @@ -'use client' - -import type { Theme } from '@emotion/react' -import styled from '@emotion/styled' -import type { MouseEventHandler, ReactNode, Ref } from 'react' -import { forwardRef } from 'react' -import { Tooltip } from '../Tooltip' - -type MenuItemSentiment = 'neutral' | 'danger' - -const itemCoreStyle = ({ - theme, - borderless, - sentiment, - disabled, -}: { - theme: Theme - borderless: boolean - sentiment: MenuItemSentiment - disabled: boolean -}) => ` - display: inline-block; - font-size: ${theme.typography.bodySmall.fontSize}; - line-height: ${theme.typography.bodySmall.lineHeight}; - font-weight: inherit; - padding: ${`${theme.space['0.5']} ${theme.space['1']}`}; - border: none; - ${ - borderless ? '' : `border-bottom: 1px solid ${theme.colors.neutral.border};` - } - cursor: pointer; - min-width: 110px; - - color: ${theme.colors[sentiment][disabled ? 'textDisabled' : 'text']}; - svg { - fill: ${theme.colors[sentiment][disabled ? 'textDisabled' : 'text']}; - } - - ${ - disabled - ? ` - cursor: not-allowed; - ` - : ` - &:hover, - &:focus { - color: ${theme.colors[sentiment].textHover}; - svg { - fill: ${theme.colors[sentiment].textHover}; - } - }` - } - ` - -const StyledItem = styled('button', { - shouldForwardProp: prop => !['borderless', 'sentiment'].includes(prop), -})<{ - borderless: boolean - disabled: boolean - sentiment: MenuItemSentiment -}>` - ${({ theme, borderless, sentiment, disabled }) => - itemCoreStyle({ theme, borderless, sentiment, disabled })} - background: none; -` - -const StyledLinkItem = styled('a', { - shouldForwardProp: prop => !['borderless', 'sentiment'].includes(prop), -})<{ - borderless: boolean - disabled: boolean - sentiment: MenuItemSentiment -}>` - ${({ theme, borderless, sentiment, disabled }) => - itemCoreStyle({ theme, borderless, sentiment, disabled })} - text-decoration: none; - - &:focus { - text-decoration: none; - } -` - -type ItemProps = { - href?: string | undefined - disabled?: boolean | undefined - tooltip?: string | undefined - className?: string | undefined - children: ReactNode - onClick?: MouseEventHandler | undefined - borderless?: boolean - sentiment?: MenuItemSentiment - 'data-testid'?: string -} - -const Item = forwardRef( - ( - { - borderless = false, - disabled = false, - onClick, - sentiment = 'neutral', - href, - children, - tooltip, - className, - 'data-testid': dataTestId, - }, - ref, - ) => { - if (href && !disabled) { - return ( - - } - onClick={ - disabled - ? undefined - : (onClick as MouseEventHandler) - } - role="menuitem" - disabled={disabled} - sentiment={sentiment} - className={className} - data-testid={dataTestId} - > - {children} - - - ) - } - - return ( - - } - role="menuitem" - disabled={disabled} - onClick={onClick} - borderless={borderless} - sentiment={sentiment} - className={className} - data-testid={dataTestId} - > - {children} - - - ) - }, -) - -export default Item diff --git a/packages/ui/src/components/MenuV2/MenuContent.tsx b/packages/ui/src/components/Menu/MenuContent.tsx similarity index 54% rename from packages/ui/src/components/MenuV2/MenuContent.tsx rename to packages/ui/src/components/Menu/MenuContent.tsx index d096c39c0d..601fb69961 100644 --- a/packages/ui/src/components/MenuV2/MenuContent.tsx +++ b/packages/ui/src/components/Menu/MenuContent.tsx @@ -1,7 +1,13 @@ 'use client' import styled from '@emotion/styled' -import type { ButtonHTMLAttributes, MouseEvent, ReactNode, Ref } from 'react' +import type { + ButtonHTMLAttributes, + KeyboardEvent, + MouseEvent, + ReactNode, + Ref, +} from 'react' import { cloneElement, forwardRef, @@ -17,30 +23,34 @@ import { import { Popup } from '../Popup' import { SearchInput } from '../SearchInput' import { Stack } from '../Stack' -import { useMenu } from './MenuProvider' +import { DisclosureContext, useMenu } from './MenuProvider' import { SIZES } from './constants' -import { searchChildren } from './helpers' +import { getListItem, searchChildren } from './helpers' import type { MenuProps } from './types' const StyledPopup = styled(Popup, { - shouldForwardProp: prop => !['size', 'searchable'].includes(prop), -})<{ size?: keyof typeof SIZES; searchable: boolean }>` - background-color: ${({ theme }) => theme.colors.other.elevation.background.raised}; - box-shadow: ${({ theme }) => `${theme.shadows.raised[0]}, ${theme.shadows.raised[1]}`}; + shouldForwardProp: prop => !['searchable'].includes(prop), +})<{ searchable: boolean }>` + background-color: ${({ theme }) => + theme.colors.other.elevation.background.raised}; + box-shadow: ${({ theme }) => + `${theme.shadows.raised[0]}, ${theme.shadows.raised[1]}`}; padding: 0; &[data-has-arrow='true'] { &::after { - border-color: ${({ theme }) => theme.colors.other.elevation.background.raised} + border-color: ${({ theme }) => + theme.colors.other.elevation.background.raised} transparent transparent transparent; } } min-width: ${SIZES.small}; max-width: ${SIZES.large}; - ${({ size }) => (size ? `width: ${SIZES[size]};` : null)} + ${({ searchable }) => (searchable ? `min-width: 20rem` : null)}; padding: ${({ theme }) => `${theme.space['0.25']} 0`}; + ` const Content = styled(Stack)` @@ -56,7 +66,8 @@ const MenuList = styled(Stack, { })<{ height: string }>` overflow-y: auto; overflow-x: hidden; - max-height: calc(${({ height }) => height} - ${({ theme }) => theme.space['0.5']}); + max-height: calc(${({ height }) => height} - ${({ theme }) => + theme.space['0.5']}); &:after, &:before { border: solid transparent; @@ -97,9 +108,7 @@ export const Menu = forwardRef( className, 'data-testid': dataTestId, maxHeight, - maxWidth, portalTarget = document.body, - size, triggerMethod = 'click', dynamicDomRendering, align, @@ -108,14 +117,20 @@ export const Menu = forwardRef( }: MenuProps, ref: Ref, ) => { - const { isVisible, setIsVisible } = useMenu() + const { + isVisible, + setIsVisible, + isNested, + disclosureRef, + menuRef, + setShouldBeVisible, + shouldBeVisible, + } = useMenu() const searchInputRef = useRef(null) const [localChild, setLocalChild] = useState(null) - const popupRef = useRef(null) - const disclosureRef = useRef(null) + const contentRef = useRef(null) const tempId = useId() const finalId = `menu-${id ?? tempId}` - // if you need dialog inside your component, use function, otherwise component is fine const target = isValidElement>( disclosure, @@ -153,6 +168,36 @@ export const Menu = forwardRef( } }, [isVisible, searchable]) + useEffect(() => { + if (disclosureRef.current && triggerMethod === 'hover') { + const handler = (value: boolean | undefined) => { + setShouldBeVisible(value) + } + + disclosureRef.current.addEventListener('focus', () => handler(true)) + disclosureRef.current.addEventListener('mouseenter', () => + handler(true), + ) + disclosureRef.current.addEventListener('mouseleave', () => + handler(undefined), + ) + disclosureRef.current.addEventListener('keydown', event => { + if (event.key === 'ArrowDown' || event.key === 'ArrowUp') { + handler(false) // force close menu when navigating with arrow keys + } + }) + + return () => { + window.removeEventListener('focus', () => handler(undefined)) + window.removeEventListener('mouseenter', () => handler(undefined)) + window.removeEventListener('mouseleave', () => handler(undefined)) + window.removeEventListener('keydown', () => handler(undefined)) + } + } + + return undefined + }, [setShouldBeVisible, disclosureRef, triggerMethod]) + const finalChild = useMemo(() => { if (typeof children === 'function') { return children({ toggle: () => setIsVisible(!isVisible) }) @@ -165,36 +210,78 @@ export const Menu = forwardRef( return children }, [children, isVisible, localChild, searchable, setIsVisible]) + const handleTabOpen = (event: KeyboardEvent) => { + if (contentRef.current) { + const listItem = getListItem([...contentRef.current.children]) + if (listItem && isVisible && ['Tab', 'ArrowDown'].includes(event.key)) { + event?.preventDefault() + listItem[0]?.focus() + } + } + } + + const handleKeyDown = (event: KeyboardEvent) => { + if (contentRef.current) { + const listItem = getListItem([...contentRef.current.children]) + if (listItem) { + const currentElement = listItem.find( + item => item === document.activeElement, + ) + if (currentElement) { + if (event.key === 'ArrowDown') { + event.preventDefault() + const indexOfCurrent = listItem.indexOf(currentElement) + + if (indexOfCurrent < listItem.length - 1) { + listItem[indexOfCurrent + 1].focus() + } else listItem[0].focus() + } else if (event.key === 'ArrowUp') { + event.preventDefault() + + const indexOfCurrent = listItem.indexOf(currentElement) + if (indexOfCurrent > 0) { + listItem[indexOfCurrent - 1].focus() + } else listItem[listItem.length - 1].focus() + } else if (event.key === 'ArrowLeft' && triggerMethod === 'hover') { + disclosureRef.current?.focus() + setShouldBeVisible(undefined) + } + } + } + } + } + return ( { setIsVisible(false) setLocalChild(null) + if (triggerMethod === 'click') disclosureRef.current?.focus() + setShouldBeVisible(undefined) }} tabIndex={-1} maxHeight={maxHeight ?? '30rem'} - maxWidth={maxWidth} searchable={searchable} - size={size} text={ - + {searchable && typeof children !== 'function' ? ( - {finalDisclosure} + + {finalDisclosure} + ) }, diff --git a/packages/ui/src/components/Menu/MenuProvider.tsx b/packages/ui/src/components/Menu/MenuProvider.tsx new file mode 100644 index 0000000000..fdcb588c93 --- /dev/null +++ b/packages/ui/src/components/Menu/MenuProvider.tsx @@ -0,0 +1,77 @@ +'use client' + +import type { Dispatch, ReactNode, RefObject, SetStateAction } from 'react' +import { createContext, useContext, useMemo, useRef, useState } from 'react' + +type MenuContextProps = { + hideOnClickItem: boolean + isVisible: boolean + setIsVisible: Dispatch> + isNested: boolean + disclosureRef: RefObject + menuRef: RefObject + parentDisclosureRef?: RefObject + setShouldBeVisible: Dispatch> + shouldBeVisible: boolean | undefined +} + +const MenuContext = createContext(undefined) + +export const useMenu = () => { + const context = useContext(MenuContext) + if (!context) throw new Error('useMenu must be used in MenuProvider') + + return context +} + +type MenuProviderProps = { + hideOnClickItem?: boolean + children: ReactNode + visible?: boolean + parentDisclosureRef?: RefObject + triggerMethod?: 'hover' | 'click' +} + +export const MenuProvider = ({ + hideOnClickItem = false, + children, + visible = false, + parentDisclosureRef, +}: MenuProviderProps) => { + const [isVisible, setIsVisible] = useState(visible) + const [shouldBeVisible, setShouldBeVisible] = useState( + undefined, + ) + const disclosureRef = useRef(null) + const menuRef = useRef(null) + const parentMenu = useContext(MenuContext) + const isNested = !!parentMenu // If there is no parent Menu, then parentMenu is undefined (we do not use useMenu which will return an error) + + const values = useMemo( + () => ({ + hideOnClickItem, + isVisible, + setIsVisible, + isNested, + disclosureRef, + menuRef, + parentDisclosureRef: parentDisclosureRef ?? parentMenu?.disclosureRef, + shouldBeVisible, + setShouldBeVisible, + }), + [ + hideOnClickItem, + isVisible, + isNested, + parentDisclosureRef, + parentMenu?.disclosureRef, + shouldBeVisible, + setShouldBeVisible, + ], + ) + + return {children} +} + +export const DisclosureContext = createContext(false) +export const useDisclosureContext = () => useContext(DisclosureContext) diff --git a/packages/ui/src/components/MenuV2/__stories__/Active.stories.tsx b/packages/ui/src/components/Menu/__stories__/Active.stories.tsx similarity index 54% rename from packages/ui/src/components/MenuV2/__stories__/Active.stories.tsx rename to packages/ui/src/components/Menu/__stories__/Active.stories.tsx index 810e331b9a..f767c0fedf 100644 --- a/packages/ui/src/components/MenuV2/__stories__/Active.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/Active.stories.tsx @@ -1,18 +1,18 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { Menu } from '..' import { DefaultDisclosure } from './Template.stories' -export const Active: StoryFn = () => ( - - default (neutral) - +export const Active: StoryFn = () => ( + + default (neutral) + Active Danger - - Active Neutral - + + Active Neutral + Active Primary - - + + ) Active.parameters = { diff --git a/packages/ui/src/components/Menu/__stories__/Borderless.stories.tsx b/packages/ui/src/components/Menu/__stories__/Borderless.stories.tsx index f139e26e39..4bd143ef45 100644 --- a/packages/ui/src/components/Menu/__stories__/Borderless.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/Borderless.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Menu } from '..' import { DefaultDisclosure } from './Template.stories' @@ -34,7 +34,7 @@ Borderless.parameters = { Borderless.decorators = [ StoryComponent => ( -
+
), diff --git a/packages/ui/src/components/MenuV2/__stories__/Footer.stories.tsx b/packages/ui/src/components/Menu/__stories__/Footer.stories.tsx similarity index 57% rename from packages/ui/src/components/MenuV2/__stories__/Footer.stories.tsx rename to packages/ui/src/components/Menu/__stories__/Footer.stories.tsx index 11b7776aab..a66ab7be47 100644 --- a/packages/ui/src/components/MenuV2/__stories__/Footer.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/Footer.stories.tsx @@ -1,12 +1,12 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { Menu } from '..' import { Badge } from '../../Badge' import { Button } from '../../Button' import { Stack } from '../../Stack' import { DefaultDisclosure } from './Template.stories' -export const Footer: StoryFn = ({ ...props }) => ( - = ({ ...props }) => ( + = ({ ...props }) => ( } > - - + + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - Delete - - - + + Delete + + + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - Delete - - - + + Delete + + + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - Delete - - - + + Delete + + + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - + + Delete - - - + + + ) Footer.parameters = { diff --git a/packages/ui/src/components/MenuV2/__stories__/FunctionChildrenToggle.stories.tsx b/packages/ui/src/components/Menu/__stories__/FunctionChildrenToggle.stories.tsx similarity index 56% rename from packages/ui/src/components/MenuV2/__stories__/FunctionChildrenToggle.stories.tsx rename to packages/ui/src/components/Menu/__stories__/FunctionChildrenToggle.stories.tsx index 144346458b..465e4c6532 100644 --- a/packages/ui/src/components/MenuV2/__stories__/FunctionChildrenToggle.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/FunctionChildrenToggle.stories.tsx @@ -1,11 +1,11 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { Menu } from '..' import { Button } from '../../Button' -export const FunctionChildrenToggle: StoryFn = () => ( - MenuV2 }> - {({ toggle }) => MenuV2 1} - +export const FunctionChildrenToggle: StoryFn = () => ( + Menu }> + {({ toggle }) => Menu 1} + ) FunctionChildrenToggle.parameters = { diff --git a/packages/ui/src/components/Menu/__stories__/FunctionDisclosure.stories.tsx b/packages/ui/src/components/Menu/__stories__/FunctionDisclosure.stories.tsx index 957e2de88a..22e2325d14 100644 --- a/packages/ui/src/components/Menu/__stories__/FunctionDisclosure.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/FunctionDisclosure.stories.tsx @@ -1,10 +1,10 @@ -import type { StoryFn } from '@storybook/react' -import type { DisclosureProps } from '..' +import type { StoryFn } from '@storybook/react-vite' import { Menu } from '..' import { Button } from '../../Button' +import type { DisclosureProps } from '../types' const CustomDisclosure = ({ visible }: DisclosureProps) => ( - + ) export const FunctionDisclosure: StoryFn = () => ( @@ -24,7 +24,7 @@ FunctionDisclosure.parameters = { FunctionDisclosure.decorators = [ StoryComponent => ( -
+
), diff --git a/packages/ui/src/components/MenuV2/__stories__/Group.stories.tsx b/packages/ui/src/components/Menu/__stories__/Group.stories.tsx similarity index 64% rename from packages/ui/src/components/MenuV2/__stories__/Group.stories.tsx rename to packages/ui/src/components/Menu/__stories__/Group.stories.tsx index f139846249..c231cbd6d4 100644 --- a/packages/ui/src/components/MenuV2/__stories__/Group.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/Group.stories.tsx @@ -1,14 +1,14 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { InformationIcon } from '@ultraviolet/icons' -import { MenuV2 } from '..' +import { Menu } from '..' import { Badge } from '../../Badge' import { Stack } from '../../Stack' import { Tooltip } from '../../Tooltip' import { DefaultDisclosure } from './Template.stories' -export const Group: StoryFn = ({ ...props }) => ( - - = ({ ...props }) => ( + + @@ -16,7 +16,7 @@ export const Group: StoryFn = ({ ...props }) => ( } > - + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - Delete - - - + + Delete + + + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - + + Delete - - - + + + ) Group.parameters = { diff --git a/packages/ui/src/components/MenuV2/__stories__/LongMenu.stories.tsx b/packages/ui/src/components/Menu/__stories__/LongMenu.stories.tsx similarity index 53% rename from packages/ui/src/components/MenuV2/__stories__/LongMenu.stories.tsx rename to packages/ui/src/components/Menu/__stories__/LongMenu.stories.tsx index 9e9f1bc586..4a8f14c66a 100644 --- a/packages/ui/src/components/MenuV2/__stories__/LongMenu.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/LongMenu.stories.tsx @@ -1,13 +1,13 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { Menu } from '..' import { Badge } from '../../Badge' import { Stack } from '../../Stack' import { DefaultDisclosure } from './Template.stories' -export const LongMenu: StoryFn = ({ ...props }) => ( - - - +export const LongMenu: StoryFn = ({ ...props }) => ( + + + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - Delete - - - + + Delete + + + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - Delete - - - + + Delete + + + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - Delete - - - + + Delete + + + = ({ ...props }) => ( New - - Power on - + + Power on + Power off - - + + Delete - - - + + + ) LongMenu.parameters = { diff --git a/packages/ui/src/components/Menu/__stories__/Nested.stories.tsx b/packages/ui/src/components/Menu/__stories__/Nested.stories.tsx new file mode 100644 index 0000000000..0b416084b4 --- /dev/null +++ b/packages/ui/src/components/Menu/__stories__/Nested.stories.tsx @@ -0,0 +1,57 @@ +import type { StoryFn } from '@storybook/react-vite' +import { Menu } from '..' +import { DefaultDisclosure } from './Template.stories' + +export const Nested: StoryFn = ({ ...props }) => ( + + Power on + SubMenu click} + triggerMethod="click" + > + hi! + + SubMenu hover} + triggerMethod="hover" + > + hello + + {/** + * VERY NESTED MENUS + */} + click for a very nested menu}> + nested 1}> + Item + Item + nested 2}> + Item + nested 3}> + very nested + + Item + Item + Item + + + Item + + +) + +Nested.parameters = { + docs: { + description: { + story: + 'It is possible to have nested menus. Their positionning is automatic (right, or left if there is not enough available space on the rightt).', + }, + }, +} + +Nested.decorators = [ + StoryComponent => ( +
+ +
+ ), +] diff --git a/packages/ui/src/components/Menu/__stories__/Overflowing.stories.tsx b/packages/ui/src/components/Menu/__stories__/Overflowing.stories.tsx new file mode 100644 index 0000000000..8acd490fb5 --- /dev/null +++ b/packages/ui/src/components/Menu/__stories__/Overflowing.stories.tsx @@ -0,0 +1,77 @@ +import type { StoryFn } from '@storybook/react-vite' +import { Menu } from '..' +import { Stack } from '../../Stack' +import { DefaultDisclosure } from './Template.stories' + +export const Overflowing: StoryFn = () => ( + +
+ + Default + Default + Default + Default + Default + Default + Default + +
+
+ + Default + Default + Default + Default + Default + Default + Default + Default + +
+
+ + Default + Default + Default + Default + +
+
+ + Default + Default + Default + Default + Default + Default + Default + Default + Default + Default + +
+
+) + +Overflowing.parameters = { + docs: { + description: { + story: `This story is only to check the behavior of the menu when it overflows the parent container.`, + }, + }, +} + +Overflowing.decorators = [ + StoryComponent => ( +
+ +
+ ), +] diff --git a/packages/ui/src/components/Menu/__stories__/Playground.stories.tsx b/packages/ui/src/components/Menu/__stories__/Playground.stories.tsx index cccfb39cf1..ab699fc102 100644 --- a/packages/ui/src/components/Menu/__stories__/Playground.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/Playground.stories.tsx @@ -5,14 +5,17 @@ export const Playground = Template.bind({}) Playground.args = { children: [ - Menu Item 1, - Menu Item 2, + + Information with a very long name. Lorem ipsum dolor sit amet, consectetur + adipiscing elit. + , + Power on, ], } Playground.decorators = [ StoryComponent => ( -
+
), diff --git a/packages/ui/src/components/Menu/__stories__/Searchable.stories.tsx b/packages/ui/src/components/Menu/__stories__/Searchable.stories.tsx new file mode 100644 index 0000000000..98366b4c0f --- /dev/null +++ b/packages/ui/src/components/Menu/__stories__/Searchable.stories.tsx @@ -0,0 +1,80 @@ +import type { StoryFn } from '@storybook/react-vite' +import { DotsHorizontalIcon } from '@ultraviolet/icons' +import type { ComponentProps, ReactNode } from 'react' +import { Menu } from '..' +import { Avatar } from '../../Avatar' +import { Badge } from '../../Badge' +import { Button } from '../../Button' +import { Stack } from '../../Stack' + +type ItemProps = { + sentiment?: ComponentProps['sentiment'] + active?: boolean + colors: [string, string] + children: ReactNode + searchText?: string +} + +const Item = ({ + sentiment, + active, + colors, + children, + searchText, +}: ItemProps) => ( + + + + {children} + + +) + +export const Searchable: StoryFn = props => ( + + + + } + > + + + Default Project + + NEW + + + + + Project 1 + Project 2 + + +) + +Searchable.decorators = [ + StoryComponent => ( +
+ +
+ ), +] + +Searchable.parameters = { + docs: { + description: { + story: + 'You can add `searchable` prop to the Menu component to enable searching through the items.\n\n If `Menu.Item` has a complex children (not a string) you can specify `searchText` on `Menu.Item` prop to search through the item.', + }, + }, +} diff --git a/packages/ui/src/components/Menu/__stories__/Sentiments.stories.tsx b/packages/ui/src/components/Menu/__stories__/Sentiments.stories.tsx index 4dcc9d678e..6bacb14997 100644 --- a/packages/ui/src/components/Menu/__stories__/Sentiments.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/Sentiments.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Menu } from '..' import { DefaultDisclosure } from './Template.stories' @@ -7,6 +7,7 @@ export const Sentiments: StoryFn = () => ( Default Default Disabled Danger + Danger Danger Disabled @@ -14,6 +15,7 @@ export const Sentiments: StoryFn = () => ( Link Danger @@ -33,7 +35,7 @@ Sentiments.parameters = { Sentiments.decorators = [ StoryComponent => ( -
+
), diff --git a/packages/ui/src/components/Menu/__stories__/Template.stories.tsx b/packages/ui/src/components/Menu/__stories__/Template.stories.tsx index 51f5c23dfc..80cadaf1fa 100644 --- a/packages/ui/src/components/Menu/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/Template.stories.tsx @@ -1,14 +1,12 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' +import { DotsHorizontalIcon } from '@ultraviolet/icons' import { Menu } from '..' import { Button } from '../../index' export const DefaultDisclosure = ( - ) export const Template: StoryFn = ({ diff --git a/packages/ui/src/components/MenuV2/__stories__/TriggerMethod.stories.tsx b/packages/ui/src/components/Menu/__stories__/TriggerMethod.stories.tsx similarity index 60% rename from packages/ui/src/components/MenuV2/__stories__/TriggerMethod.stories.tsx rename to packages/ui/src/components/Menu/__stories__/TriggerMethod.stories.tsx index eef2fe0ed6..a4960f7940 100644 --- a/packages/ui/src/components/MenuV2/__stories__/TriggerMethod.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/TriggerMethod.stories.tsx @@ -1,34 +1,34 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { Menu } from '..' import { Stack } from '../../Stack' import { Text } from '../../Text' import { DefaultDisclosure } from './Template.stories' -export const TriggerMethod: StoryFn = () => ( +export const TriggerMethod: StoryFn = () => ( Menu with triggerMethod set to click: - - Item 1 - Item 2 - + + Item 1 + Item 2 + Item 3 - - + + Menu with triggerMethod set to hover: - - Item 1 - Item 2 - + + Item 1 + Item 2 + Item 3 - - + + ) diff --git a/packages/ui/src/components/Menu/__stories__/WithModal.stories.tsx b/packages/ui/src/components/Menu/__stories__/WithModal.stories.tsx index 349dbcbda5..dc99f59d2e 100644 --- a/packages/ui/src/components/Menu/__stories__/WithModal.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/WithModal.stories.tsx @@ -1,6 +1,7 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Menu } from '..' import { Modal } from '../../Modal' +import { TextInput } from '../../TextInput' import { DefaultDisclosure } from './Template.stories' const NestedModal = () => ( @@ -11,6 +12,7 @@ const NestedModal = () => (
Content should be present in center of the modal
+ ) @@ -32,7 +34,7 @@ WithModal.parameters = { WithModal.decorators = [ StoryComponent => ( -
+
), diff --git a/packages/ui/src/components/Menu/__stories__/index.stories.tsx b/packages/ui/src/components/Menu/__stories__/index.stories.tsx index 2ed31f3407..91f497df2a 100644 --- a/packages/ui/src/components/Menu/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Menu/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Menu } from '..' export default { @@ -10,21 +10,32 @@ export default {
), ], - tags: ['deprecated'], parameters: { - deprecated: true, - deprecatedReason: - 'This component is deprecated please do not use it any more.', - migrationLink: 'migrations-menu-to-menuv2', + docs: { + description: { + component: + 'A menu is a widget that offers a list of choices to the user, such as a set of actions or functions. A menu is usually opened, or made visible, by activating a menu button, choosing an item in a menu that opens a sub menu, or by invoking a command, such as Shift + F10 on Windows, that opens a context specific menu. When a user activates a choice in a menu, the menu usually closes unless the choice opened a submenu.', + }, + }, }, title: 'Components/Overlay/Menu', subcomponents: { 'Menu.Item': Menu.Item, + 'Menu.Group': Menu.Group, }, } as Meta export { Playground } from './Playground.stories' export { Sentiments } from './Sentiments.stories' export { Borderless } from './Borderless.stories' +export { Group } from './Group.stories' +export { Active } from './Active.stories' +export { Searchable } from './Searchable.stories' +export { LongMenu } from './LongMenu.stories' +export { TriggerMethod } from './TriggerMethod.stories' export { WithModal } from './WithModal.stories' export { FunctionDisclosure } from './FunctionDisclosure.stories' +export { FunctionChildrenToggle } from './FunctionChildrenToggle.stories' +export { Overflowing } from './Overflowing.stories' +export { Footer } from './Footer.stories' +export { Nested } from './Nested.stories' diff --git a/packages/ui/src/components/Menu/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Menu/__tests__/__snapshots__/index.test.tsx.snap index 14dc9d598a..3c7ed4906f 100644 --- a/packages/ui/src/components/Menu/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Menu/__tests__/__snapshots__/index.test.tsx.snap @@ -1,44 +1,121 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html +exports[`Menu > Menu.Item > render with active props 1`] = ` + + .emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +
+
+ +
+
+
+`; + exports[`Menu > Menu.Item > render with borderless props 1`] = ` .emotion-0 { - display: inline-block; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 110px; - color: #3f4250; - background: none; + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; } -.emotion-0 svg { - fill: #3f4250; +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; } -.emotion-0:hover, -.emotion-0:focus { - color: #222638; +.emotion-0[data-container-full-height="true"] { + height: 100%; } -.emotion-0:hover svg, -.emotion-0:focus svg { - fill: #222638; +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; }
- + +
`; @@ -46,71 +123,59 @@ exports[`Menu > Menu.Item > render with borderless props 1`] = ` exports[`Menu > Menu.Item > render with default props 1`] = ` .emotion-0 { - display: inline-block; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - border-bottom: 1px solid #d9dadd; - cursor: pointer; - min-width: 110px; - color: #3f4250; - background: none; + display: inherit; } -.emotion-0 svg { - fill: #3f4250; +.emotion-0[data-container-full-height="true"] { + height: 100%; } -.emotion-0:hover, -.emotion-0:focus { - color: #222638; +.emotion-0[data-container-full-width="true"] { + width: 100%; } -.emotion-0:hover svg, -.emotion-0:focus svg { - fill: #222638; +.emotion-0 { + display: inherit; } -.emotion-0 { - display: inline-block; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - border-bottom: 1px solid #d9dadd; - cursor: pointer; - min-width: 110px; - color: #3f4250; - background: none; +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; } -.emotion-0 svg { - fill: #3f4250; +.emotion-0 { + display: inherit; } -.emotion-0:hover, -.emotion-0:focus { - color: #222638; +.emotion-0[data-container-full-height="true"] { + height: 100%; } -.emotion-0:hover svg, -.emotion-0:focus svg { - fill: #222638; +.emotion-0[data-container-full-width="true"] { + width: 100%; }
- + +
`; @@ -118,54 +183,59 @@ exports[`Menu > Menu.Item > render with default props 1`] = ` exports[`Menu > Menu.Item > render with disabled props 1`] = ` .emotion-0 { - display: inline-block; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - border-bottom: 1px solid #d9dadd; - cursor: pointer; - min-width: 110px; - color: #b5b7bd; - cursor: not-allowed; - background: none; + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; } -.emotion-0 svg { - fill: #b5b7bd; +.emotion-0[data-container-full-width="true"] { + width: 100%; } .emotion-0 { - display: inline-block; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - border-bottom: 1px solid #d9dadd; - cursor: pointer; - min-width: 110px; - color: #b5b7bd; - cursor: not-allowed; - background: none; + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; } -.emotion-0 svg { - fill: #b5b7bd; +.emotion-0[data-container-full-width="true"] { + width: 100%; }
- + +
`; @@ -173,230 +243,839 @@ exports[`Menu > Menu.Item > render with disabled props 1`] = ` exports[`Menu > Menu.Item > render with sentiment danger 1`] = ` .emotion-0 { - display: inline-block; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - border-bottom: 1px solid #d9dadd; - cursor: pointer; - min-width: 110px; - color: #b3144d; - background: none; + display: inherit; } -.emotion-0 svg { - fill: #b3144d; +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; } -.emotion-0:hover, -.emotion-0:focus { - color: #92103f; +.emotion-0[data-container-full-height="true"] { + height: 100%; } -.emotion-0:hover svg, -.emotion-0:focus svg { - fill: #92103f; +.emotion-0[data-container-full-width="true"] { + width: 100%; }
- + +
`; -exports[`Menu > placement > renders "bottom" 1`] = ` +exports[`Menu > can navigate with arrow keys 1`] = ` -
- + +
`; -exports[`Menu > placement > renders "bottom-end" 1`] = ` +exports[`Menu > placement > renders bottom 1`] = ` -
- + +
`; -exports[`Menu > placement > renders "bottom-start" 1`] = ` +exports[`Menu > placement > renders left 1`] = ` -
+
+ +
+
+
+`; + +exports[`Menu > placement > renders right 1`] = ` + + .emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +
+
+ +
+
+
+`; + +exports[`Menu > placement > renders top 1`] = ` + + .emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +
- + +
`; -exports[`Menu > placement > renders "top" 1`] = ` +exports[`Menu > renders nested 1`] = ` -
- + +
`; -exports[`Menu > placement > renders "top-end" 1`] = ` +exports[`Menu > renders with Menu.Group 1`] = ` -
- + +
`; -exports[`Menu > placement > renders "top-start" 1`] = ` +exports[`Menu > renders with Menu.Group and labelDescription 1`] = ` -
- + +
`; exports[`Menu > renders with Menu.Item 1`] = ` -
- + +
`; exports[`Menu > renders with Menu.ItemLink & Menu.Item disabled 1`] = ` -
- + +
`; exports[`Menu > renders with Menu.ItemLink 1`] = ` -
- + +
`; exports[`Menu > renders with disclosure not a function 1`] = ` -
- + +
+ +
+`; + +exports[`Menu > renders with footer 1`] = ` + + .emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +
+
+ +
`; exports[`Menu > renders with visible=false 1`] = ` -
- +
+ +
+`; + +exports[`Menu > should search on simple childs 1`] = ` + + .emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +
+
+ +
+
+
+`; + +exports[`Menu > should search on simple complex childs 1`] = ` + + .emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +.emotion-0 { + display: inherit; +} + +.emotion-0[data-container-full-height="true"] { + height: 100%; +} + +.emotion-0[data-container-full-width="true"] { + width: 100%; +} + +
+
- Menu is visible - + +
`; diff --git a/packages/ui/src/components/Menu/__tests__/index.test.tsx b/packages/ui/src/components/Menu/__tests__/index.test.tsx index 583be59e74..0a6c8242f4 100644 --- a/packages/ui/src/components/Menu/__tests__/index.test.tsx +++ b/packages/ui/src/components/Menu/__tests__/index.test.tsx @@ -1,4 +1,4 @@ -import { screen } from '@testing-library/react' +import { fireEvent, screen, waitFor } from '@testing-library/react' import { userEvent } from '@testing-library/user-event' import { renderWithTheme, @@ -6,9 +6,13 @@ import { shouldMatchEmotionSnapshotWithPortal, } from '@utils/test' import { afterAll, beforeEach, describe, expect, test, vi } from 'vitest' -import { Menu, arrowPlacements } from '..' +import { Menu } from '..' -const mockOnClick = vi.fn() +const disclosure = ( + +) describe('Menu', () => { beforeEach(() => { @@ -21,51 +25,67 @@ describe('Menu', () => { test('renders with disclosure not a function', () => shouldMatchEmotionSnapshotWithPortal( - Menu is visible} - > + Menu.Item should not be visible in test , )) test('renders with visible=false', () => shouldMatchEmotionSnapshotWithPortal( - } - > + disclosure}> Menu.Item should not be visible in test , )) test(`renders with Menu.Item`, () => shouldMatchEmotionSnapshotWithPortal( - } - > + disclosure}> Menu.Item , )) + test(`renders with Menu.Group`, () => + shouldMatchEmotionSnapshotWithPortal( + disclosure}> + + Menu.Item + + , + )) + + test(`renders with Menu.Group and labelDescription`, () => + shouldMatchEmotionSnapshotWithPortal( + disclosure}> + + Menu.Item + + , + )) + test(`renders with Menu.ItemLink`, () => shouldMatchEmotionSnapshotWithPortal( - } - > + disclosure}> Menu.Item as Link , )) + test(`renders with triggerMethod "hover"`, async () => { + renderWithTheme( + disclosure} triggerMethod="hover"> + Menu.Item as Link + , + ) + + const disclosureMenu = screen.getByTestId('disclosure') + fireEvent.mouseEnter(disclosureMenu) + await waitFor(() => expect(screen.getByRole('menu')).toBeVisible()) + fireEvent.mouseLeave(disclosureMenu) + + await userEvent.hover(disclosureMenu) + await waitFor(() => expect(screen.getByRole('menu')).toBeVisible()) + }) + test(`renders with Menu.ItemLink & Menu.Item disabled`, () => shouldMatchEmotionSnapshotWithPortal( - } - > + disclosure}> Menu.Item disabled Menu.Item Link disabled @@ -73,77 +93,267 @@ describe('Menu', () => { , )) - test('disclosure function render onClick props is call', async () => { + test('disclosure Component render with function disclosure', async () => { renderWithTheme( - ( - - )} - > + disclosure}> Menu.Item as Link , ) const menuButton = screen.getByRole('button') + // Open and close + await userEvent.click(menuButton) await userEvent.click(menuButton) - expect(mockOnClick).toBeCalledTimes(1) }) - test('disclosure Component render onClick props is call', async () => { + test('disclosure Component render with function children', async () => { renderWithTheme( - ( - + disclosure}> + {({ toggle }) => ( + + Menu.Item as Button with toggle + )} - > - Menu.Item as Link , ) + const menuButton = screen.getByRole('button') + // Open Menu + await userEvent.click(menuButton) - const menuButton = screen.getByRole('button') + const menuLink = screen.getByRole('menuitem') + await userEvent.click(menuLink) + + await waitFor(() => { + expect(menuLink).not.toBeVisible() + }) + + await waitFor(() => { + expect(menuButton.getAttribute('aria-expanded')).toBe('false') + }) + }) + + test('should hideOnClickItem', async () => { + renderWithTheme( + disclosure}> + Test + , + ) + const menuButton = screen.getByRole('button') + // Open Menu await userEvent.click(menuButton) - expect(mockOnClick).toBeCalledTimes(1) + const dialog = screen.getByRole('dialog') + + await waitFor(() => { + expect(dialog).toBeVisible() + }) + + const item = screen.getByRole('menuitem') + await userEvent.click(item) + + await waitFor(() => { + expect(dialog).not.toBeVisible() + }) }) - describe('placement', () => { - test.each(arrowPlacements)('renders "%s"', placement => - shouldMatchEmotionSnapshot( + test('should search on simple childs', async () => { + const { asFragment } = renderWithTheme( + disclosure}> + Disk + Ram + , + ) + const menuButton = screen.getByRole('button') + // Open Menu + await userEvent.click(menuButton) + const dialog = screen.getByRole('dialog') + + await waitFor(() => { + expect(dialog).toBeVisible() + }) + + expect(asFragment()).toMatchSnapshot() + + const searchInput = screen.getByRole('textbox') + await userEvent.type(searchInput, 'Disk') + + const items = screen.getAllByRole('menuitem') + expect(items.length).toBe(1) + expect(items[0]).toHaveTextContent('Disk') + }) + + test('should search on simple complex childs', async () => { + const { asFragment } = renderWithTheme( + disclosure}> + +
+
Volume type:
+
Disk
+
+
+ +
+
Memory type:
+
Ram
+
+
+
, + ) + const menuButton = screen.getByRole('button') + // Open Menu + await userEvent.click(menuButton) + const dialog = screen.getByRole('dialog') + + await waitFor(() => { + expect(dialog).toBeVisible() + }) + + expect(asFragment()).toMatchSnapshot() + + const searchInput = screen.getByRole('textbox') + await userEvent.type(searchInput, 'Disk') + + const items = screen.getAllByRole('menuitem') + expect(items.length).toBe(1) + expect(items[0]).toHaveTextContent('Disk') + }) + test('renders with footer', () => + shouldMatchEmotionSnapshot( + disclosure}> + Not footer + , + )) + + test('renders nested', async () => { + const { asFragment } = renderWithTheme( + disclosure} searchable> + Power on } + disclosure={SubMenu click} + placement="right" + triggerMethod="click" > - {placement} - , - ), + hi! + +
, ) + + const menuButton = screen.getByRole('button') + // Open Menu + await userEvent.click(menuButton) + const dialog = screen.getByRole('dialog') + + await waitFor(() => { + expect(dialog).toBeVisible() + }) + + const nestedElement = screen.getByText('SubMenu click') + await userEvent.click(nestedElement) + expect(screen.getByText('hi!')).toBeVisible() + + expect(asFragment()).toMatchSnapshot() + }) + + test('can navigate with arrow keys', async () => { + const { asFragment } = renderWithTheme( + disclosure}> + + Power on + + SubMenu click + } + placement="right" + triggerMethod="click" + > + hi! + + , + ) + + const menuButton = screen.getByRole('button') + // Open Menu + await userEvent.click(menuButton) + const dialog = screen.getByRole('dialog') + + await waitFor(() => { + expect(dialog).toBeVisible() + }) + + const nestedElement = screen.getByTestId('nested-menu') + await userEvent.keyboard('[ArrowDown][ArrowDown]') + expect(nestedElement).toHaveFocus() + await userEvent.keyboard('[ArrowUp][ArrowUp]') + expect(nestedElement).toHaveFocus() + await userEvent.keyboard('[ArrowRight]') + + const nestedMenu = screen.getByTestId('nested-item') + expect(nestedMenu).toBeVisible() + await userEvent.keyboard('[ArrowLeft]') + expect(asFragment()).toMatchSnapshot() + }) + + describe('placement', () => { + test('renders top', () => + shouldMatchEmotionSnapshot( + disclosure}> + top + , + )) + + test('renders bottom', () => + shouldMatchEmotionSnapshot( + disclosure}> + bottom + , + )) + + test('renders left', () => + shouldMatchEmotionSnapshot( + disclosure}> + left + , + )) + test('renders right', () => + shouldMatchEmotionSnapshot( + disclosure}> + right + , + )) }) describe('Menu.Item', () => { test(`render with default props`, () => - shouldMatchEmotionSnapshot(Default Props)) + shouldMatchEmotionSnapshot( + + Default Props + , + )) test(`render with sentiment danger`, () => shouldMatchEmotionSnapshot( - Danger, + + Danger + , )) test(`render with disabled props`, () => shouldMatchEmotionSnapshot( - Disabled Props, + + Disabled Props + , )) test(`render with borderless props`, () => shouldMatchEmotionSnapshot( - Borderless Props, + + Borderless Props + , + )) + test(`render with active props`, () => + shouldMatchEmotionSnapshot( + + Active Props + , )) }) }) diff --git a/packages/ui/src/components/MenuV2/components/Group.tsx b/packages/ui/src/components/Menu/components/Group.tsx similarity index 100% rename from packages/ui/src/components/MenuV2/components/Group.tsx rename to packages/ui/src/components/Menu/components/Group.tsx diff --git a/packages/ui/src/components/MenuV2/components/Item.tsx b/packages/ui/src/components/Menu/components/Item.tsx similarity index 58% rename from packages/ui/src/components/MenuV2/components/Item.tsx rename to packages/ui/src/components/Menu/components/Item.tsx index 87b14bfa49..2e383c9aac 100644 --- a/packages/ui/src/components/MenuV2/components/Item.tsx +++ b/packages/ui/src/components/Menu/components/Item.tsx @@ -2,10 +2,19 @@ import type { Theme } from '@emotion/react' import styled from '@emotion/styled' -import type { MouseEvent, MouseEventHandler, ReactNode, Ref } from 'react' +import { ArrowRightIcon } from '@ultraviolet/icons' +import type { + KeyboardEvent, + MouseEvent, + MouseEventHandler, + ReactNode, + Ref, +} from 'react' import { forwardRef, useCallback } from 'react' +import { Stack } from '../../Stack' import { Tooltip } from '../../Tooltip' -import { useMenu } from '../MenuProvider' +import { useDisclosureContext, useMenu } from '../MenuProvider' +import { getListItem } from '../helpers' type MenuItemSentiment = 'neutral' | 'primary' | 'danger' @@ -50,7 +59,7 @@ const itemCoreStyle = ({ ` : ` &:hover, - &:focus, &[data-active='true'] { + &:focus-visible, &[data-active='true'] { background-color: ${theme.colors[sentiment].backgroundHover}; color: ${theme.colors[sentiment].textHover}; svg { @@ -58,7 +67,7 @@ const itemCoreStyle = ({ } }` } - ` +` const Container = styled('div', { shouldForwardProp: prop => !['borderless'].includes(prop), @@ -74,6 +83,7 @@ const Container = styled('div', { &:last-child { border: none; } + width: 100%; ` const StyledItem = styled('button', { @@ -117,6 +127,10 @@ type ItemProps = { sentiment?: MenuItemSentiment active?: boolean 'data-testid'?: string + /** + * If you children is complex and you want to specify the search text use this prop. + */ + searchText?: string } const Item = forwardRef( @@ -133,11 +147,21 @@ const Item = forwardRef( tooltip, active, className, + searchText, 'data-testid': dataTestId, }, ref, ) => { - const { hideOnClickItem, setIsVisible } = useMenu() + const { + hideOnClickItem, + setIsVisible, + isVisible, + menuRef, + isNested, + parentDisclosureRef, + disclosureRef, + } = useMenu() + const isDisclosure = useDisclosureContext() const onClickHandle = useCallback( (event: MouseEvent) => { @@ -152,9 +176,50 @@ const Item = forwardRef( [disabled, hideOnClickItem, onClick, setIsVisible], ) + const handleKeyDown = ( + event: KeyboardEvent, + ) => { + if (isDisclosure && ['Enter', ' ', 'ArrowRight'].includes(event.key)) { + disclosureRef?.current?.click() + setTimeout(() => { + if (menuRef.current?.children) { + const listItem = getListItem([ + ...menuRef.current.children[0].children[0].children, + ]) + if (listItem) { + const firstElementInNestedMenu = listItem[0] + if ( + firstElementInNestedMenu && + ['BUTTON', 'A'].includes(firstElementInNestedMenu.tagName) + ) { + ;(firstElementInNestedMenu as HTMLElement).focus() + } else if ( + firstElementInNestedMenu && + firstElementInNestedMenu.firstChild instanceof HTMLElement + ) { + // Another nested menu + firstElementInNestedMenu.firstChild.focus() + } + } + } + }, 50) + } else if ( + event.key === 'ArrowLeft' && + isNested && + ((isDisclosure && + parentDisclosureRef?.current?.dataset['isMenuItem']) || + !isDisclosure) && + parentDisclosureRef?.current + ) { + // Focus the disclosure in the parent menu & close the nested menu + // When the item is a disclosure, we must click the parent disclosure (since disclosureRef is the Item itself) + ;(isDisclosure ? parentDisclosureRef : disclosureRef).current?.click() + } + } + if (href && !disabled) { return ( - + ( sentiment={sentiment} className={className} data-testid={dataTestId} + data-is-disclosure={isDisclosure} + data-is-menu-item + onKeyDown={handleKeyDown} > - {children} + {isDisclosure ? ( + + {children} + + ) : ( + children + )} @@ -178,7 +257,7 @@ const Item = forwardRef( } return ( - + ( sentiment={sentiment} className={className} data-testid={dataTestId} - data-active={active} + data-active={active || (isVisible && isDisclosure)} + data-is-disclosure={isDisclosure} + data-is-menu-item + onKeyDown={handleKeyDown} > - {children} + {isDisclosure ? ( + + {children} + + ) : ( + children + )} diff --git a/packages/ui/src/components/MenuV2/constants.ts b/packages/ui/src/components/Menu/constants.ts similarity index 100% rename from packages/ui/src/components/MenuV2/constants.ts rename to packages/ui/src/components/Menu/constants.ts diff --git a/packages/ui/src/components/Menu/helpers.ts b/packages/ui/src/components/Menu/helpers.ts new file mode 100644 index 0000000000..c5f737ecca --- /dev/null +++ b/packages/ui/src/components/Menu/helpers.ts @@ -0,0 +1,90 @@ +import type { ReactNode } from 'react' +import { Children, cloneElement, isValidElement } from 'react' + +type ChildType = { + children: ReactNode + label?: string + disclosure?: { props: ChildType } + searchText?: string +} +/** + * Search inside a children (React Element) recursively until a result is found + */ +export const searchChildren = ( + children: ReactNode, + searchString: string, +): ReactNode[] => { + const searchRegex = new RegExp(searchString, 'i') + + const matches = Children.map(children, child => { + if (typeof child === 'string' && child.match(searchRegex)) { + return child + } + + if (isValidElement(child)) { + const childProps = child.props as ChildType + + if (childProps?.searchText?.match(searchRegex)) { + return cloneElement(child, { + children: childProps.children, + } as { children: ReactNode }) + } + + // This is the case where there is a Menu.Group we want to search the Menu.Item only + if (childProps?.label) { + return cloneElement(child, { + children: searchChildren(childProps.children, searchString), + } as { children: ReactNode }) + } + + // In the case of a nested menu, we want to search both in the disclosure and in the nested elements + // Recursively search on the nested menu + if ( + childProps.disclosure && + typeof childProps.disclosure.props.children === 'string' && + childProps.disclosure.props.children.match(searchRegex) + ) { + return child + } + + // Recursively search the children of this element + const childMatches = searchChildren(childProps.children, searchString) + + if (childMatches.length > 0) { + // If any matches are found within this child's children, return the entire child element + return child + } + } + + return null + }) + + // Filter out null values and flatten the array + return matches ? matches.filter(Boolean) : [] +} + +const getButtonOrLink = (element: Element | null) => { + const tag = element?.firstElementChild?.tagName.toLowerCase() + if (element) { + if ( + tag === 'button' && + !(element.firstElementChild as HTMLButtonElement).disabled + ) { + return element.firstElementChild as HTMLButtonElement + } + if (tag === 'a') { + return element.firstElementChild as HTMLAnchorElement + } + } + + return false +} + +export const getListItem = (listItems: Element[]) => + listItems + .map(child => + getButtonOrLink(child) + ? getButtonOrLink(child) + : getButtonOrLink(child.firstElementChild), + ) + .filter(element => typeof element !== 'boolean') diff --git a/packages/ui/src/components/Menu/index.tsx b/packages/ui/src/components/Menu/index.tsx index 2b7347a9a8..1b39a8ef96 100644 --- a/packages/ui/src/components/Menu/index.tsx +++ b/packages/ui/src/components/Menu/index.tsx @@ -1,256 +1,24 @@ 'use client' -import type { Theme } from '@emotion/react' -import { css } from '@emotion/react' -import styled from '@emotion/styled' -import type { - ButtonHTMLAttributes, - MouseEvent, - ReactElement, - ReactNode, - Ref, -} from 'react' -import { - cloneElement, - forwardRef, - isValidElement, - useImperativeHandle, - useRef, -} from 'react' -import type { PopoverStateReturn } from 'reakit/Popover' -import { Popover, PopoverDisclosure, usePopoverState } from 'reakit/Popover' -import { Portal } from 'reakit/Portal' -import Item from './Item' - -export type DisclosureProps = Partial - -type DisclosureElement = - | (( - popover: Partial, - ) => ReactElement>) - | (ReactElement> & { - ref?: Ref - }) - -const StyledPopover = styled(Popover)` - border-radius: ${({ theme }) => theme.radii.default}; - background-color: ${({ theme }) => theme.colors.neutral.background}; - color: ${({ theme }) => theme.colors.neutral.text}; - box-shadow: ${({ theme }) => theme.shadows.dropdown}; -` - -const bottomStyles = (theme: Theme) => css` - box-shadow: ${theme.shadows.menu}; - &:after, - &:before { - bottom: 100%; - } - &:after { - border-bottom-color: ${theme.colors.neutral.background}; - } - &:before { - border-bottom-color: transparent; - } -` -const topStyles = (theme: Theme) => css` - box-shadow: ${theme.shadows.menu}; - &:after, - &:before { - top: 100%; - } - &:after { - border-top-color: ${theme.colors.neutral.background}; - } - &:before { - border-top-color: rgba(165, 165, 205, 0.4); - } -` -const endStyles = css` - &:after { - margin-left: -9px; - right: 24px; - } - &:before { - margin-left: -11px; - right: 24px; - } -` -const startStyles = css` - &:after { - margin-right: -9px; - left: 24px; - } - &:before { - margin-right: -11px; - left: 24px; - } -` - -const centerStyles = css` - &:after, - &:before { - left: 50%; - transform: translateX(-50%); - } -` - -const arrowPlacementStyles = { - bottom: (theme: Theme) => css` - ${centerStyles}; - ${bottomStyles(theme)}; - `, - 'bottom-end': (theme: Theme) => css` - ${endStyles}; - ${bottomStyles(theme)}; - `, - 'bottom-start': (theme: Theme) => css` - ${startStyles}; - ${bottomStyles(theme)}; - `, - top: (theme: Theme) => css` - ${centerStyles}; - ${topStyles(theme)}; - `, - 'top-end': (theme: Theme) => css` - ${endStyles}; - ${topStyles(theme)}; - `, - 'top-start': (theme: Theme) => css` - ${startStyles}; - ${topStyles(theme)}; - `, -} as const - -type ArrowPlacement = keyof typeof arrowPlacementStyles -type MenuListProps = { - hasArrow: boolean - placement: ArrowPlacement -} -export const arrowPlacements = Object.keys( - arrowPlacementStyles, -) as ArrowPlacement[] - -type MenuProps = { - ariaLabel?: string - id?: string - placement?: ArrowPlacement - children?: ((props: PopoverStateReturn) => ReactNode) | ReactNode - className?: string - disclosure: DisclosureElement - hasArrow?: boolean - visible?: boolean - 'data-testid'?: string -} - -const MenuList = styled.div` - &:after, - &:before { - border: solid transparent; - border-width: 9px; - content: ' '; - height: 0; - width: 0; - position: absolute; - pointer-events: none; - } - - &:after { - border-color: transparent; - } - &:before { - border-color: transparent; - } - background-color: ${({ theme }) => - theme.colors.neutral.backgroundWeakElevated}; - display: flex; - flex-direction: column; - text-align: center; - justify-content: center; - color: ${({ theme }) => theme.colors.neutral.text}; - border-radius: ${({ theme }) => theme.radii.default}; - position: relative; - ${({ placement, theme, hasArrow }) => - hasArrow && arrowPlacementStyles[placement]?.(theme)} -` - -const FwdMenu = forwardRef( +import type { Ref } from 'react' +import { forwardRef } from 'react' +import { Menu as MenuContent } from './MenuContent' +import { MenuProvider } from './MenuProvider' +import { Group } from './components/Group' +import Item from './components/Item' +import type { MenuProps } from './types' + +const Component = forwardRef( ( - { - ariaLabel = 'Menu', - id, - children, - disclosure, - hasArrow = true, - placement = 'bottom', - visible = false, - className, - 'data-testid': dataTestId, - }: MenuProps, - ref: Ref, - ) => { - const popover = usePopoverState({ - baseId: id, - placement, - visible, - }) - - // if you need dialog inside your component, use function, otherwise component is fine - const target = isValidElement>( - disclosure, - ) - ? disclosure - : disclosure(popover) - const innerRef = useRef(target as unknown as HTMLButtonElement) - useImperativeHandle(ref, () => innerRef.current) - - return ( - <> - {disclosure && ( - // @ts-expect-error reakit types are invalid, no need to pass as something, default is div - ) => { - target?.props?.onClick?.(event) - }} - ref={innerRef} - > - {disclosureProps => cloneElement(target, disclosureProps)} - - )} - - - { - /* Required to avoid loading menu content if not visible */ - popover.visible ? ( - - {typeof children === 'function' - ? children(popover) - : children} - - ) : null - } - - - - ) - }, + { children, visible, hideOnClickItem, ...props }: MenuProps, + ref: Ref, + ) => ( + + + {children} + + + ), ) -/** - * A menu is a widget that offers a list of choices to the user, such as a set of actions or functions. - * A menu is usually opened, or made visible, by activating a menu button, choosing an item in a menu that opens a - * sub menu, or by invoking a command, such as `Shift + F10` on Windows, that opens a context specific menu. - * When a user activates a choice in a menu, the menu usually closes unless the choice opened a submenu. - * @deprecated use MenuV2 component instead - */ -export const Menu = Object.assign(FwdMenu, { Item }) +export const Menu = Object.assign(Component, { Item, Group }) diff --git a/packages/ui/src/components/MenuV2/types.ts b/packages/ui/src/components/Menu/types.ts similarity index 76% rename from packages/ui/src/components/MenuV2/types.ts rename to packages/ui/src/components/Menu/types.ts index 4c19d29b72..acdeda6dda 100644 --- a/packages/ui/src/components/MenuV2/types.ts +++ b/packages/ui/src/components/Menu/types.ts @@ -6,7 +6,6 @@ import type { Ref, } from 'react' import type { Popup } from '../Popup' -import type { SIZES } from './constants' type ChildMenuProps = { toggle: () => void @@ -25,9 +24,6 @@ export type DisclosureProps = { visible: boolean } export type MenuProps = { id?: string ariaLabel?: string - /* - * CHILDREN AS FUNCTION IS DEPRECATED: use `hideOnClickWithin` prop instead - */ children?: ReactNode | (({ toggle }: ChildMenuProps) => ReactNode) className?: string disclosure: DisclosureElement @@ -35,19 +31,11 @@ export type MenuProps = { visible?: boolean 'data-testid'?: string maxHeight?: string - /** - * @deprecated: use `size` instead - */ - maxWidth?: string /** * By default, the portal target is children container or document.body if children is a function. You can override this * behavior by setting a portalTarget prop. */ portalTarget?: HTMLElement - /** - * @deprecated The size of the menu is automatic now to fit the content. Use this prop to set a fixed size. - */ - size?: keyof typeof SIZES /** * The behavior of the menu when it is opened. If set to `click`, the menu will open when the user clicks on the disclosure. * If set to `hover`, the menu will open when the user hovers over the disclosure. @@ -59,11 +47,9 @@ export type MenuProps = { */ searchable?: boolean /** - * When set to true the menu will automatically close when a `MenuV2.Item` is clicked. + * When set to true the menu will automatically close when a `Menu.Item` is clicked. */ hideOnClickItem?: boolean footer?: ReactNode -} & Pick< - ComponentProps, - 'placement' | 'dynamicDomRendering' | 'align' -> + placement?: Exclude['placement'], 'nested-menu'> +} & Pick, 'dynamicDomRendering' | 'align'> diff --git a/packages/ui/src/components/MenuV2/MenuProvider.tsx b/packages/ui/src/components/MenuV2/MenuProvider.tsx deleted file mode 100644 index 0091fc884e..0000000000 --- a/packages/ui/src/components/MenuV2/MenuProvider.tsx +++ /dev/null @@ -1,48 +0,0 @@ -'use client' - -import type { Dispatch, ReactNode, SetStateAction } from 'react' -import { createContext, useContext, useMemo, useState } from 'react' - -type MenuContextProps = { - hideOnClickItem: boolean - isVisible: boolean - setIsVisible: Dispatch> -} - -const MenuContext = createContext({ - hideOnClickItem: false, - isVisible: false, - setIsVisible: () => {}, -}) - -export const useMenu = () => { - const context = useContext(MenuContext) - if (!context) throw new Error('useMenu must be used in MenuProvider') - - return context -} - -type MenuProviderProps = { - hideOnClickItem?: boolean - children: ReactNode - visible?: boolean -} - -export const MenuProvider = ({ - hideOnClickItem = false, - children, - visible = false, -}: MenuProviderProps) => { - const [isVisible, setIsVisible] = useState(visible) - - const values = useMemo( - () => ({ - hideOnClickItem, - isVisible, - setIsVisible, - }), - [hideOnClickItem, isVisible], - ) - - return {children} -} diff --git a/packages/ui/src/components/MenuV2/__stories__/Borderless.stories.tsx b/packages/ui/src/components/MenuV2/__stories__/Borderless.stories.tsx deleted file mode 100644 index 0de9c64457..0000000000 --- a/packages/ui/src/components/MenuV2/__stories__/Borderless.stories.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' -import { DefaultDisclosure } from './Template.stories' - -export const Borderless: StoryFn = () => ( - - default (neutral) - - Danger - - - Link Neutral - - - Link Danger - - -) - -Borderless.parameters = { - docs: { - description: { - story: 'Property `borderless` removes border of the menu item.', - }, - }, -} - -Borderless.decorators = [ - StoryComponent => ( -
- -
- ), -] diff --git a/packages/ui/src/components/MenuV2/__stories__/FunctionDisclosure.stories.tsx b/packages/ui/src/components/MenuV2/__stories__/FunctionDisclosure.stories.tsx deleted file mode 100644 index 1137bb1bc9..0000000000 --- a/packages/ui/src/components/MenuV2/__stories__/FunctionDisclosure.stories.tsx +++ /dev/null @@ -1,31 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' -import { Button } from '../../Button' -import type { DisclosureProps } from '../types' - -const CustomDisclosure = ({ visible }: DisclosureProps) => ( - -) - -export const FunctionDisclosure: StoryFn = () => ( - - MenuV2 1 - -) - -FunctionDisclosure.parameters = { - docs: { - description: { - story: - 'You can specify a function as disclosure and get popover props as argument', - }, - }, -} - -FunctionDisclosure.decorators = [ - StoryComponent => ( -
- -
- ), -] diff --git a/packages/ui/src/components/MenuV2/__stories__/Overflowing.stories.tsx b/packages/ui/src/components/MenuV2/__stories__/Overflowing.stories.tsx deleted file mode 100644 index 4336d66792..0000000000 --- a/packages/ui/src/components/MenuV2/__stories__/Overflowing.stories.tsx +++ /dev/null @@ -1,77 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' -import { Stack } from '../../Stack' -import { DefaultDisclosure } from './Template.stories' - -export const Overflowing: StoryFn = () => ( - -
- - Default - Default - Default - Default - Default - Default - Default - -
-
- - Default - Default - Default - Default - Default - Default - Default - Default - -
-
- - Default - Default - Default - Default - -
-
- - Default - Default - Default - Default - Default - Default - Default - Default - Default - Default - -
-
-) - -Overflowing.parameters = { - docs: { - description: { - story: `This story is only to check the behavior of the menu when it overflows the parent container.`, - }, - }, -} - -Overflowing.decorators = [ - StoryComponent => ( -
- -
- ), -] diff --git a/packages/ui/src/components/MenuV2/__stories__/Playground.stories.tsx b/packages/ui/src/components/MenuV2/__stories__/Playground.stories.tsx deleted file mode 100644 index 422408b263..0000000000 --- a/packages/ui/src/components/MenuV2/__stories__/Playground.stories.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { MenuV2 } from '..' -import { Template } from './Template.stories' - -export const Playground = Template.bind({}) - -Playground.args = { - children: [ - - Information with a very long name. Lorem ipsum dolor sit amet, consectetur - adipiscing elit. - , - Power on, - ], -} - -Playground.decorators = [ - StoryComponent => ( -
- -
- ), -] diff --git a/packages/ui/src/components/MenuV2/__stories__/Searchable.stories.tsx b/packages/ui/src/components/MenuV2/__stories__/Searchable.stories.tsx deleted file mode 100644 index 5ca97032c3..0000000000 --- a/packages/ui/src/components/MenuV2/__stories__/Searchable.stories.tsx +++ /dev/null @@ -1,65 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' -import { AvatarV2 } from '../../AvatarV2' -import { Button } from '../../Button' -import { Stack } from '../../Stack' - -export const Searchable: StoryFn = () => ( - - } - > - - - - - Default Project - - - - - - Project 1 - - - - - - Project 2 - - - - -) - -Searchable.decorators = [ - StoryComponent => ( -
- -
- ), -] diff --git a/packages/ui/src/components/MenuV2/__stories__/Sentiments.stories.tsx b/packages/ui/src/components/MenuV2/__stories__/Sentiments.stories.tsx deleted file mode 100644 index a851d2ded7..0000000000 --- a/packages/ui/src/components/MenuV2/__stories__/Sentiments.stories.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' -import { DefaultDisclosure } from './Template.stories' - -export const Sentiments: StoryFn = () => ( - - Default - Default Disabled - Danger - Danger - - Danger Disabled - - - Link - - - Link Danger - - -) - -Sentiments.parameters = { - docs: { - description: { - story: `A set of sentiment you can add on MenuV2Item (neutral, danger). You can use either props on MenuItem : -- \`onClick\` to define menu actions. -- \`to\` to define as a \`React Router Link\`. -- \`href\` to define as a native link \`a\`.`, - }, - }, -} - -Sentiments.decorators = [ - StoryComponent => ( -
- -
- ), -] diff --git a/packages/ui/src/components/MenuV2/__stories__/Template.stories.tsx b/packages/ui/src/components/MenuV2/__stories__/Template.stories.tsx deleted file mode 100644 index 519dbc174d..0000000000 --- a/packages/ui/src/components/MenuV2/__stories__/Template.stories.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { MenuV2 } from '..' -import { Button } from '../../index' - -export const DefaultDisclosure = ( - - - - -`; - -exports[`Menu > Menu.Item > render with borderless props 1`] = ` - - .emotion-0 { - padding: 0.125rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - -webkit-justify-content: start; - justify-content: start; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 2rem; - max-height: 2.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 6.875rem; - width: 100%; - border-radius: 0.25rem; - -webkit-transition: background-color 200ms,color 200ms; - transition: background-color 200ms,color 200ms; - color: #3f4250; - background: none; -} - -.emotion-2 svg { - fill: #3f4250; -} - -.emotion-2:hover, -.emotion-2:focus, -.emotion-2[data-active='true'] { - background-color: #e9eaeb; - color: #222638; -} - -.emotion-2:hover svg, -.emotion-2:focus svg, -.emotion-2[data-active='true'] svg { - fill: #222638; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - -webkit-justify-content: start; - justify-content: start; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 2rem; - max-height: 2.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 6.875rem; - width: 100%; - border-radius: 0.25rem; - -webkit-transition: background-color 200ms,color 200ms; - transition: background-color 200ms,color 200ms; - color: #3f4250; - background: none; -} - -.emotion-2 svg { - fill: #3f4250; -} - -.emotion-2:hover, -.emotion-2:focus, -.emotion-2[data-active='true'] { - background-color: #e9eaeb; - color: #222638; -} - -.emotion-2:hover svg, -.emotion-2:focus svg, -.emotion-2[data-active='true'] svg { - fill: #222638; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - -webkit-justify-content: start; - justify-content: start; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 2rem; - max-height: 2.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 6.875rem; - width: 100%; - border-radius: 0.25rem; - -webkit-transition: background-color 200ms,color 200ms; - transition: background-color 200ms,color 200ms; - color: #3f4250; - background: none; -} - -.emotion-2 svg { - fill: #3f4250; -} - -.emotion-2:hover, -.emotion-2:focus, -.emotion-2[data-active='true'] { - background-color: #e9eaeb; - color: #222638; -} - -.emotion-2:hover svg, -.emotion-2:focus svg, -.emotion-2[data-active='true'] svg { - fill: #222638; -} - -
-
- -
-
-
-`; - -exports[`Menu > Menu.Item > render with default props 1`] = ` - - .emotion-0 { - border-bottom: 1px solid #d9dadd; - padding: 0.25rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-0 { - border-bottom: 1px solid #d9dadd; - padding: 0.25rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-0 { - border-bottom: 1px solid #d9dadd; - padding: 0.25rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - -webkit-justify-content: start; - justify-content: start; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 2rem; - max-height: 2.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 6.875rem; - width: 100%; - border-radius: 0.25rem; - -webkit-transition: background-color 200ms,color 200ms; - transition: background-color 200ms,color 200ms; - color: #3f4250; - background: none; -} - -.emotion-2 svg { - fill: #3f4250; -} - -.emotion-2:hover, -.emotion-2:focus, -.emotion-2[data-active='true'] { - background-color: #e9eaeb; - color: #222638; -} - -.emotion-2:hover svg, -.emotion-2:focus svg, -.emotion-2[data-active='true'] svg { - fill: #222638; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - -webkit-justify-content: start; - justify-content: start; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 2rem; - max-height: 2.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 6.875rem; - width: 100%; - border-radius: 0.25rem; - -webkit-transition: background-color 200ms,color 200ms; - transition: background-color 200ms,color 200ms; - color: #3f4250; - background: none; -} - -.emotion-2 svg { - fill: #3f4250; -} - -.emotion-2:hover, -.emotion-2:focus, -.emotion-2[data-active='true'] { - background-color: #e9eaeb; - color: #222638; -} - -.emotion-2:hover svg, -.emotion-2:focus svg, -.emotion-2[data-active='true'] svg { - fill: #222638; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - -webkit-justify-content: start; - justify-content: start; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 2rem; - max-height: 2.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 6.875rem; - width: 100%; - border-radius: 0.25rem; - -webkit-transition: background-color 200ms,color 200ms; - transition: background-color 200ms,color 200ms; - color: #3f4250; - background: none; -} - -.emotion-2 svg { - fill: #3f4250; -} - -.emotion-2:hover, -.emotion-2:focus, -.emotion-2[data-active='true'] { - background-color: #e9eaeb; - color: #222638; -} - -.emotion-2:hover svg, -.emotion-2:focus svg, -.emotion-2[data-active='true'] svg { - fill: #222638; -} - -
-
- -
-
-
-`; - -exports[`Menu > Menu.Item > render with disabled props 1`] = ` - - .emotion-0 { - border-bottom: 1px solid #d9dadd; - padding: 0.25rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-0 { - border-bottom: 1px solid #d9dadd; - padding: 0.25rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-0 { - border-bottom: 1px solid #d9dadd; - padding: 0.25rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - -webkit-justify-content: start; - justify-content: start; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 2rem; - max-height: 2.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 6.875rem; - width: 100%; - border-radius: 0.25rem; - -webkit-transition: background-color 200ms,color 200ms; - transition: background-color 200ms,color 200ms; - color: #b5b7bd; - cursor: not-allowed; - background: none; -} - -.emotion-2 svg { - fill: #b5b7bd; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - -webkit-justify-content: start; - justify-content: start; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 2rem; - max-height: 2.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 6.875rem; - width: 100%; - border-radius: 0.25rem; - -webkit-transition: background-color 200ms,color 200ms; - transition: background-color 200ms,color 200ms; - color: #b5b7bd; - cursor: not-allowed; - background: none; -} - -.emotion-2 svg { - fill: #b5b7bd; -} - -
-
- -
-
-
-`; - -exports[`Menu > Menu.Item > render with sentiment danger 1`] = ` - - .emotion-0 { - border-bottom: 1px solid #d9dadd; - padding: 0.25rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-0 { - border-bottom: 1px solid #d9dadd; - padding: 0.25rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-0 { - border-bottom: 1px solid #d9dadd; - padding: 0.25rem 0.25rem; -} - -.emotion-0:last-child { - border: none; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -ms-flex-pack: start; - -webkit-justify-content: start; - justify-content: start; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - min-height: 2rem; - max-height: 2.5rem; - font-size: 0.875rem; - line-height: 1.25rem; - font-weight: inherit; - padding: 0.25rem 0.5rem; - border: none; - cursor: pointer; - min-width: 6.875rem; - width: 100%; - border-radius: 0.25rem; - -webkit-transition: background-color 200ms,color 200ms; - transition: background-color 200ms,color 200ms; - color: #b3144d; - background: none; -} - -.emotion-2 svg { - fill: #b3144d; -} - -.emotion-2:hover, -.emotion-2:focus, -.emotion-2[data-active='true'] { - background-color: #ffd3e3; - color: #92103f; -} - -.emotion-2:hover svg, -.emotion-2:focus svg, -.emotion-2[data-active='true'] svg { - fill: #92103f; -} - -
-
- -
-
-
-`; - -exports[`Menu > placement > renders bottom 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > placement > renders left 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > placement > renders right 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > placement > renders top 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > renders with Menu.Group 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > renders with Menu.Group and labelDescription 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > renders with Menu.Item 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > renders with Menu.ItemLink & Menu.Item disabled 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > renders with Menu.ItemLink 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > renders with disclosure not a function 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > renders with footer 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > renders with visible=false 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > should search on simple childs 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > should search on simple complex childs 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > sizes > renders large 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > sizes > renders medium 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; - -exports[`Menu > sizes > renders small 1`] = ` - - .emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -.emotion-0 { - display: inherit; -} - -.emotion-0[data-container-full-height="true"] { - height: 100%; -} - -.emotion-0[data-container-full-width="true"] { - width: 100%; -} - -
-
- -
-
-
-`; diff --git a/packages/ui/src/components/MenuV2/__tests__/index.test.tsx b/packages/ui/src/components/MenuV2/__tests__/index.test.tsx deleted file mode 100644 index ffd3c53067..0000000000 --- a/packages/ui/src/components/MenuV2/__tests__/index.test.tsx +++ /dev/null @@ -1,322 +0,0 @@ -import { screen, waitFor } from '@testing-library/react' -import { userEvent } from '@testing-library/user-event' -import { - renderWithTheme, - shouldMatchEmotionSnapshot, - shouldMatchEmotionSnapshotWithPortal, -} from '@utils/test' -import { afterAll, beforeEach, describe, expect, test, vi } from 'vitest' -import { MenuV2 } from '..' - -describe('Menu', () => { - beforeEach(() => { - vi.clearAllMocks() - }) - - afterAll(() => { - vi.restoreAllMocks() - }) - - test('renders with disclosure not a function', () => - shouldMatchEmotionSnapshotWithPortal( - Menu is visible}> - Menu.Item should not be visible in test - , - )) - test('renders with visible=false', () => - shouldMatchEmotionSnapshotWithPortal( - }> - Menu.Item should not be visible in test - , - )) - test(`renders with Menu.Item`, () => - shouldMatchEmotionSnapshotWithPortal( - }> - Menu.Item - , - )) - - test(`renders with Menu.Group`, () => - shouldMatchEmotionSnapshotWithPortal( - }> - - Menu.Item - - , - )) - - test(`renders with Menu.Group and labelDescription`, () => - shouldMatchEmotionSnapshotWithPortal( - }> - - Menu.Item - - , - )) - - test(`renders with Menu.ItemLink`, () => - shouldMatchEmotionSnapshotWithPortal( - }> - Menu.Item as Link - , - )) - - test(`renders with Menu.ItemLink & Menu.Item disabled`, () => - shouldMatchEmotionSnapshotWithPortal( - }> - Menu.Item disabled - - Menu.Item Link disabled - - , - )) - - test('disclosure Component render with function disclosure', async () => { - renderWithTheme( - }> - Menu.Item as Link - , - ) - - const menuButton = screen.getByRole('button') - // Open and close - await userEvent.click(menuButton) - await userEvent.click(menuButton) - }) - - test('disclosure Component render with function children', async () => { - renderWithTheme( - }> - {({ toggle }) => ( - - Menu.Item as Button with toggle - - )} - , - ) - const menuButton = screen.getByRole('button') - // Open Menu - await userEvent.click(menuButton) - - const menuLink = screen.getByRole('menuitem') - await userEvent.click(menuLink) - - await waitFor(() => { - expect(menuLink).not.toBeVisible() - }) - - await waitFor(() => { - expect(menuButton.getAttribute('aria-expanded')).toBe('false') - }) - }) - - test('should hideOnClickItem', async () => { - renderWithTheme( - } - > - Test - , - ) - const menuButton = screen.getByRole('button') - // Open Menu - await userEvent.click(menuButton) - const dialog = screen.getByRole('dialog') - - await waitFor(() => { - expect(dialog).toBeVisible() - }) - - const item = screen.getByRole('menuitem') - await userEvent.click(item) - - await waitFor(() => { - expect(dialog).not.toBeVisible() - }) - }) - - test('should search on simple childs', async () => { - const { asFragment } = renderWithTheme( - } - > - Disk - Ram - , - ) - const menuButton = screen.getByRole('button') - // Open Menu - await userEvent.click(menuButton) - const dialog = screen.getByRole('dialog') - - await waitFor(() => { - expect(dialog).toBeVisible() - }) - - expect(asFragment()).toMatchSnapshot() - - const searchInput = screen.getByRole('textbox') - await userEvent.type(searchInput, 'Disk') - - const items = screen.getAllByRole('menuitem') - expect(items.length).toBe(1) - expect(items[0]).toHaveTextContent('Disk') - }) - - test('should search on simple complex childs', async () => { - const { asFragment } = renderWithTheme( - } - > - -
-
Volume type:
-
Disk
-
-
- -
-
Memory type:
-
Ram
-
-
-
, - ) - const menuButton = screen.getByRole('button') - // Open Menu - await userEvent.click(menuButton) - const dialog = screen.getByRole('dialog') - - await waitFor(() => { - expect(dialog).toBeVisible() - }) - - expect(asFragment()).toMatchSnapshot() - - const searchInput = screen.getByRole('textbox') - await userEvent.type(searchInput, 'Disk') - - const items = screen.getAllByRole('menuitem') - expect(items.length).toBe(1) - expect(items[0]).toHaveTextContent('Disk') - }) - test('renders with footer', () => - shouldMatchEmotionSnapshot( - } - > - Not footer - , - )) - - describe('placement', () => { - test('renders top', () => - shouldMatchEmotionSnapshot( - } - > - top - , - )) - - test('renders bottom', () => - shouldMatchEmotionSnapshot( - } - > - bottom - , - )) - - test('renders left', () => - shouldMatchEmotionSnapshot( - } - > - left - , - )) - test('renders right', () => - shouldMatchEmotionSnapshot( - } - > - right - , - )) - }) - - describe('sizes', () => { - test('renders small', () => - shouldMatchEmotionSnapshot( - } - > - small - , - )) - - test('renders medium', () => - shouldMatchEmotionSnapshot( - } - > - medium - , - )) - - test('renders large', () => - shouldMatchEmotionSnapshot( - } - > - large - , - )) - }) - - describe('Menu.Item', () => { - test(`render with default props`, () => - shouldMatchEmotionSnapshot(Default Props)) - - test(`render with sentiment danger`, () => - shouldMatchEmotionSnapshot( - Danger, - )) - - test(`render with disabled props`, () => - shouldMatchEmotionSnapshot( - Disabled Props, - )) - test(`render with borderless props`, () => - shouldMatchEmotionSnapshot( - Borderless Props, - )) - test(`render with active props`, () => - shouldMatchEmotionSnapshot( - Active Props, - )) - }) -}) diff --git a/packages/ui/src/components/MenuV2/helpers.ts b/packages/ui/src/components/MenuV2/helpers.ts deleted file mode 100644 index bc63d2a83a..0000000000 --- a/packages/ui/src/components/MenuV2/helpers.ts +++ /dev/null @@ -1,42 +0,0 @@ -import type { ReactNode } from 'react' -import { Children, cloneElement, isValidElement } from 'react' - -/** - * Search inside a children (React Element) recursively until a result is found - */ -export const searchChildren = ( - children: ReactNode, - searchString: string, -): ReactNode[] => { - const searchRegex = new RegExp(searchString, 'i') - - const matches = Children.map(children, child => { - if (typeof child === 'string' && child.match(searchRegex)) { - return child - } - - if (isValidElement(child)) { - const childProps = child.props as { children: ReactNode; label?: string } - - // This is the case where there is a Menu.Group we want to search the Menu.Item only - if (childProps?.label) { - return cloneElement(child, { - children: searchChildren(childProps.children, searchString), - } as { children: ReactNode }) - } - - // Recursively search the children of this element - const childMatches = searchChildren(childProps.children, searchString) - - if (childMatches.length > 0) { - // If any matches are found within this child's children, return the entire child element - return child - } - } - - return null - }) - - // Filter out null values and flatten the array - return matches ? matches.filter(Boolean) : [] -} diff --git a/packages/ui/src/components/MenuV2/index.tsx b/packages/ui/src/components/MenuV2/index.tsx deleted file mode 100644 index 63ca634920..0000000000 --- a/packages/ui/src/components/MenuV2/index.tsx +++ /dev/null @@ -1,24 +0,0 @@ -'use client' - -import type { Ref } from 'react' -import { forwardRef } from 'react' -import { Menu } from './MenuContent' -import { MenuProvider } from './MenuProvider' -import { Group } from './components/Group' -import Item from './components/Item' -import type { MenuProps } from './types' - -const Component = forwardRef( - ( - { children, visible, hideOnClickItem, ...props }: MenuProps, - ref: Ref, - ) => ( - - - {children} - - - ), -) - -export const MenuV2 = Object.assign(Component, { Item, Group }) diff --git a/packages/ui/src/components/Meter/__stories__/Playground.stories.tsx b/packages/ui/src/components/Meter/__stories__/Playground.stories.tsx index 3163a2700c..96b53315ca 100644 --- a/packages/ui/src/components/Meter/__stories__/Playground.stories.tsx +++ b/packages/ui/src/components/Meter/__stories__/Playground.stories.tsx @@ -1,9 +1,9 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useEffect, useState } from 'react' import zxcvbn from 'zxcvbn' import { Meter } from '..' import { colors } from '../../../theme' -import { TextInputV2 } from '../../TextInputV2' +import { TextInput } from '../../TextInput' const strength = [ { color: colors.danger.text, text: 'veryWeak' }, @@ -25,7 +25,7 @@ export const Playground: StoryFn = args => { return (
- render with 1`] = ` .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -15,7 +15,7 @@ exports[`Meter > render with 1`] = ` .emotion-3 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -81,7 +81,7 @@ exports[`Meter > render with medium password 1`] = ` .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -92,7 +92,7 @@ exports[`Meter > render with medium password 1`] = ` .emotion-3 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -158,7 +158,7 @@ exports[`Meter > render with strong value 1`] = ` .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -169,7 +169,7 @@ exports[`Meter > render with strong value 1`] = ` .emotion-3 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -235,7 +235,7 @@ exports[`Meter > render with very strong value 1`] = ` .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -246,7 +246,7 @@ exports[`Meter > render with very strong value 1`] = ` .emotion-3 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -312,7 +312,7 @@ exports[`Meter > render with weak value 1`] = ` .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -323,7 +323,7 @@ exports[`Meter > render with weak value 1`] = ` .emotion-3 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; diff --git a/packages/ui/src/components/Modal/ModalContent.tsx b/packages/ui/src/components/Modal/ModalContent.tsx index ece760b781..5983f4f8fb 100644 --- a/packages/ui/src/components/Modal/ModalContent.tsx +++ b/packages/ui/src/components/Modal/ModalContent.tsx @@ -1,6 +1,7 @@ 'use client' import styled from '@emotion/styled' +import { CloseIcon } from '@ultraviolet/icons' import type { ComponentProps } from 'react' import type { Modal } from '.' import { Button } from '../Button' @@ -16,7 +17,6 @@ const StyledContainer = styled.div` type ModalContentProps = ComponentProps & { visible: boolean open: boolean - opened: boolean placement: ModalPlacement finalSize: ModalSize finalId: string @@ -30,7 +30,6 @@ type ModalContentProps = ComponentProps & { export const ModalContent = ({ visible, open, - opened, placement, finalSize, ariaLabel, @@ -41,8 +40,6 @@ export const ModalContent = ({ className, backdropClassName, dataTestId, - customDialogStyles, - customDialogBackdropStyles, isClosable, children, handleOpen, @@ -50,9 +47,9 @@ export const ModalContent = ({ finalId, image, }: ModalContentProps) => - visible || open || opened ? ( + visible || open ? ( <> {typeof children === 'function' ? children({ visible, - onClose: handleClose, - onOpen: handleOpen, toggle: handleToggle, modalId: finalId, - hide: handleClose, close: handleClose, show: handleOpen, }) @@ -90,10 +82,11 @@ export const ModalContent = ({ onClick={handleClose} variant="ghost" size="small" - icon="close" sentiment="neutral" aria-label="close" - /> + > + + ) : null} diff --git a/packages/ui/src/components/Modal/__stories__/AutoFocus.stories.tsx b/packages/ui/src/components/Modal/__stories__/AutoFocus.stories.tsx index d853dc9e67..afb96d2ebf 100644 --- a/packages/ui/src/components/Modal/__stories__/AutoFocus.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/AutoFocus.stories.tsx @@ -1,7 +1,7 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' -import { TextInputV2 } from '../../TextInputV2' +import { TextInput } from '../../TextInput' export const DefaultDisclosure = @@ -9,8 +9,8 @@ export const AutoFocus: StoryFn = props => (
The second input will autofocus - - + { if (ref) { diff --git a/packages/ui/src/components/Modal/__stories__/Carousel.stories.tsx b/packages/ui/src/components/Modal/__stories__/Carousel.stories.tsx index 1ee75bbe6b..9037613c7a 100644 --- a/packages/ui/src/components/Modal/__stories__/Carousel.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/Carousel.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { Modal } from '..' import { Button } from '../../Button' @@ -22,7 +22,7 @@ export const Carousel: StoryFn = props => { return ( setStep(0)}>Open Carousel Modal } @@ -67,7 +67,7 @@ export const Carousel: StoryFn = props => { Carousel.parameters = { docs: { description: { - story: 'Add an image at the top of the modal.', + story: 'It is possible to create a carousel', }, }, } diff --git a/packages/ui/src/components/Modal/__stories__/FunctionChildren.stories.tsx b/packages/ui/src/components/Modal/__stories__/FunctionChildren.stories.tsx index 9cacd294ee..7c31cfc2b9 100644 --- a/packages/ui/src/components/Modal/__stories__/FunctionChildren.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/FunctionChildren.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Modal/__stories__/HideOnClickOutside.stories.tsx b/packages/ui/src/components/Modal/__stories__/HideOnClickOutside.stories.tsx index 5918742faf..e5ea3d8251 100644 --- a/packages/ui/src/components/Modal/__stories__/HideOnClickOutside.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/HideOnClickOutside.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Modal/__stories__/HideOnEsc.stories.tsx b/packages/ui/src/components/Modal/__stories__/HideOnEsc.stories.tsx index 4567ea9421..e6f45e89dd 100644 --- a/packages/ui/src/components/Modal/__stories__/HideOnEsc.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/HideOnEsc.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Modal/__stories__/Image.stories.tsx b/packages/ui/src/components/Modal/__stories__/Image.stories.tsx index ab291437a5..d2f37dd0da 100644 --- a/packages/ui/src/components/Modal/__stories__/Image.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/Image.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Badge } from '../../Badge' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Modal/__stories__/IsClosable.stories.tsx b/packages/ui/src/components/Modal/__stories__/IsClosable.stories.tsx index 436b9a5122..e1af166967 100644 --- a/packages/ui/src/components/Modal/__stories__/IsClosable.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/IsClosable.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Modal/__stories__/NestedModal.stories.tsx b/packages/ui/src/components/Modal/__stories__/NestedModal.stories.tsx index 4646d694e5..53a3f6bfdd 100644 --- a/packages/ui/src/components/Modal/__stories__/NestedModal.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/NestedModal.stories.tsx @@ -1,6 +1,6 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Button } from '../../Button' -import { SelectInputV2 } from '../../SelectInputV2' +import { SelectInput } from '../../SelectInput' import { Stack } from '../../Stack' import { Modal } from '../index' @@ -76,7 +76,7 @@ export const NestedModal: StoryFn = props => ( esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - ( <> - {Object.keys(MODAL_WIDTH).map(width => ( -
+ {Object.keys(MODAL_WIDTH).map(size => ( +
{width}} + size={size as keyof typeof MODAL_WIDTH} + disclosure={} > -
Content of the {width} modal
+
Content of the {size} modal
))} @@ -21,6 +21,6 @@ export const Size: StoryFn = props => ( Size.parameters = { docs: { - description: { story: 'Here is a list of all the width values we support' }, + description: { story: 'Here is a list of all the size values we support' }, }, } diff --git a/packages/ui/src/components/Modal/__stories__/Template.stories.tsx b/packages/ui/src/components/Modal/__stories__/Template.stories.tsx index 20a266e892..e4694dc88e 100644 --- a/packages/ui/src/components/Modal/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' import { Text } from '../../Text' diff --git a/packages/ui/src/components/Modal/__stories__/Toggle.stories.tsx b/packages/ui/src/components/Modal/__stories__/Toggle.stories.tsx index 25a7d9a3f7..95081051e5 100644 --- a/packages/ui/src/components/Modal/__stories__/Toggle.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/Toggle.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { Modal } from '..' import { Toggle } from '../../Toggle' diff --git a/packages/ui/src/components/Modal/__stories__/WithDisclosureBeingANativeElement.stories.tsx b/packages/ui/src/components/Modal/__stories__/WithDisclosureBeingANativeElement.stories.tsx index f8447616b8..dbf7670e13 100644 --- a/packages/ui/src/components/Modal/__stories__/WithDisclosureBeingANativeElement.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/WithDisclosureBeingANativeElement.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' export const WithDisclosureBeingANativeElement: StoryFn = props => ( diff --git a/packages/ui/src/components/Modal/__stories__/WithDisclosureFunction.stories.tsx b/packages/ui/src/components/Modal/__stories__/WithDisclosureFunction.stories.tsx index 35946b9730..b0129f56cb 100644 --- a/packages/ui/src/components/Modal/__stories__/WithDisclosureFunction.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/WithDisclosureFunction.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Modal/__stories__/WithLotsOfContent.stories.tsx b/packages/ui/src/components/Modal/__stories__/WithLotsOfContent.stories.tsx index 33c267183b..88246157a0 100644 --- a/packages/ui/src/components/Modal/__stories__/WithLotsOfContent.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/WithLotsOfContent.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Modal/__stories__/WithSelectInput.stories copy.tsx b/packages/ui/src/components/Modal/__stories__/WithSelectInput.stories copy.tsx index f79ff11fc2..c720a2ec73 100644 --- a/packages/ui/src/components/Modal/__stories__/WithSelectInput.stories copy.tsx +++ b/packages/ui/src/components/Modal/__stories__/WithSelectInput.stories copy.tsx @@ -1,7 +1,7 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' -import { SelectInputV2 } from '../../SelectInputV2' +import { SelectInput } from '../../SelectInput' const OPTIONS = [ { @@ -21,11 +21,7 @@ const OPTIONS = [ export const WithSelectInput: StoryFn = props => ( Open Modal with SelectInput} {...props}>
- +
) diff --git a/packages/ui/src/components/Modal/__stories__/WithSelectInput.stories.tsx b/packages/ui/src/components/Modal/__stories__/WithSelectInput.stories.tsx index f79ff11fc2..c720a2ec73 100644 --- a/packages/ui/src/components/Modal/__stories__/WithSelectInput.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/WithSelectInput.stories.tsx @@ -1,7 +1,7 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' -import { SelectInputV2 } from '../../SelectInputV2' +import { SelectInput } from '../../SelectInput' const OPTIONS = [ { @@ -21,11 +21,7 @@ const OPTIONS = [ export const WithSelectInput: StoryFn = props => ( Open Modal with SelectInput} {...props}>
- +
) diff --git a/packages/ui/src/components/Modal/__stories__/WithSelectInputAsDisclosure.stories.tsx b/packages/ui/src/components/Modal/__stories__/WithSelectInputAsDisclosure.stories.tsx index 3868355eba..8f25343059 100644 --- a/packages/ui/src/components/Modal/__stories__/WithSelectInputAsDisclosure.stories.tsx +++ b/packages/ui/src/components/Modal/__stories__/WithSelectInputAsDisclosure.stories.tsx @@ -1,7 +1,7 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Modal } from '..' import { Button } from '../../Button' -import { SelectInputV2 } from '../../SelectInputV2' +import { SelectInput } from '../../SelectInput' const OPTIONS = [ { @@ -19,7 +19,7 @@ const OPTIONS = [ ] export const WithSelectInputAsDisclosure: StoryFn = props => ( - renders open custom size 1`] = ` `; -exports[`Modal > renders open custom size and width (size take predecence) 1`] = ` - -
- -`; - -exports[`Modal > renders open custom width 1`] = ` - -
- -`; - exports[`Modal > renders with custom classNames 1`] = `
renders with custom classNames 1`] = ` `; -exports[`Modal > renders with customStyle 1`] = ` - -
- -`; - exports[`Modal > renders with default Props 1`] = `
renders with disclosure and onClose 1`] = ` } } -@keyframes animation-0 { - 0% { - -webkit-transform: translateY(+100%); - -moz-transform: translateY(+100%); - -ms-transform: translateY(+100%); - transform: translateY(+100%); - } - - 100% { - -webkit-transform: translateY(0%); - -moz-transform: translateY(0%); - -ms-transform: translateY(0%); - transform: translateY(0%); - } -} - .emotion-0 { position: fixed; top: 0; @@ -427,7 +387,7 @@ exports[`Modal > renders with disclosure and onClose 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -442,7 +402,7 @@ exports[`Modal > renders with disclosure and onClose 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -462,6 +422,10 @@ exports[`Modal > renders with disclosure and onClose 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-6:hover, .emotion-6:active { background: #e9eaeb; @@ -482,7 +446,7 @@ exports[`Modal > renders with disclosure and onClose 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -497,7 +461,7 @@ exports[`Modal > renders with disclosure and onClose 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -517,6 +481,10 @@ exports[`Modal > renders with disclosure and onClose 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-6:hover, .emotion-6:active { background: #e9eaeb; @@ -526,10 +494,10 @@ exports[`Modal > renders with disclosure and onClose 1`] = ` .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-8 .fillStroke { @@ -537,17 +505,13 @@ exports[`Modal > renders with disclosure and onClose 1`] = ` fill: none; } -.emotion-8 path { - fill: currentColor; -} - .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-8 .fillStroke { @@ -555,10 +519,6 @@ exports[`Modal > renders with disclosure and onClose 1`] = ` fill: none; } -.emotion-8 path { - fill: currentColor; -} -
renders with disclosure and onClose 1`] = ` { , )) - test(`renders open custom width`, () => - shouldMatchEmotionSnapshotWithPortal( - -
test
- , - )) - test(`renders open custom size`, () => shouldMatchEmotionSnapshotWithPortal( @@ -87,24 +80,6 @@ describe('Modal', () => { , )) - test(`renders open custom size and width (size take predecence)`, () => - shouldMatchEmotionSnapshotWithPortal( - -
test
-
, - )) - - test(`renders with customStyle`, () => - shouldMatchEmotionSnapshotWithPortal( - -
test
-
, - )) - test(`renders with custom classNames`, () => shouldMatchEmotionSnapshotWithPortal( { expect(mockOnClick).toBeCalledTimes(1) }) - test(`should call 'hide' prop from render props`, async () => { - renderWithTheme( - - {({ hide }) => ( - - )} - , - ) - const modalButton = screen.getByRole('button', { name: 'Close' }) - await userEvent.click(modalButton) - expect(mockOnClick).toBeCalledTimes(1) - }) - test(`should call 'close' prop from render props`, async () => { renderWithTheme( diff --git a/packages/ui/src/components/Modal/components/Dialog.tsx b/packages/ui/src/components/Modal/components/Dialog.tsx index 7fef4fbddc..89d85e8937 100644 --- a/packages/ui/src/components/Modal/components/Dialog.tsx +++ b/packages/ui/src/components/Modal/components/Dialog.tsx @@ -79,7 +79,8 @@ export const StyledDialog = styled('dialog', { border: 0; padding: ${({ theme }) => theme.space['3']}; width: ${MODAL_WIDTH.medium}rem; - box-shadow: ${({ theme }) => `${theme.shadows.overlay[0]}, ${theme.shadows.overlay[1]}`}; + box-shadow: ${({ theme }) => + `${theme.shadows.overlay[0]}, ${theme.shadows.overlay[1]}`}; @@ -137,8 +138,6 @@ export const Dialog = ({ preventBodyScroll, hideOnEsc, backdropClassName, - dialogCss, - backdropCss, image, }: DialogProps) => { const [isVisible, setIsVisible] = useState(false) @@ -309,7 +308,6 @@ export const Dialog = ({ data-open onClick={handleClose} className={backdropClassName} - css={backdropCss} data-testid={dataTestId ? `${dataTestId}-backdrop` : undefined} onFocus={stopFocus} data-animation={animation} @@ -317,7 +315,6 @@ export const Dialog = ({ id="backdrop-modal" > { - const disclosureRef = createRef() - useEffect(() => { - const element = disclosureRef.current + const element = ref.current element?.addEventListener('click', handleOpen) return () => { element?.removeEventListener('click', handleOpen) } - }, [handleOpen, disclosureRef]) + }, [handleOpen, ref, disclosure]) const finalDisclosure = useMemo(() => { if (typeof disclosure === 'function') { return disclosure({ visible, - onClose: handleClose, toggle, - onOpen: handleOpen, modalId: id, - hide: handleClose, close: handleClose, show: handleOpen, }) @@ -51,8 +40,8 @@ export const Disclosure = ({ } return cloneElement(finalDisclosure, { - ref: disclosureRef, + ref, 'aria-controls': id, 'aria-haspopup': 'dialog', - } as unknown as PropsWithRef) + } as unknown as typeof disclosure) } diff --git a/packages/ui/src/components/Modal/index.tsx b/packages/ui/src/components/Modal/index.tsx index 629f3fa21c..cdd81e1a55 100644 --- a/packages/ui/src/components/Modal/index.tsx +++ b/packages/ui/src/components/Modal/index.tsx @@ -1,8 +1,7 @@ 'use client' import type { ReactElement, ReactNode } from 'react' -import type React from 'react' -import { useCallback, useContext, useId, useState } from 'react' +import { useCallback, useContext, useId, useRef, useState } from 'react' import { ModalContent } from './ModalContent' import { ModalContext, ModalProvider } from './ModalProvider' import { Disclosure } from './components/Disclosure' @@ -19,28 +18,12 @@ export type ModalProps = { onClose?: () => void onBeforeClose?: () => Promise | void open?: boolean - /** - * @deprecated You should use open prop instead - */ - opened?: boolean placement?: ModalPlacement size?: ModalSize - /** - * @deprecated You should use size prop instead - */ - width?: ModalSize children: ReactNode | ((args: ModalState) => ReactNode) className?: string 'data-testid'?: string backdropClassName?: string - /** - * @deprecated You should use backdropClassName instead - */ - customDialogBackdropStyles?: React.JSX.IntrinsicAttributes['css'] - /** - * @deprecated You should use className instead - */ - customDialogStyles?: React.JSX.IntrinsicAttributes['css'] /** * Add an image a the top of the modal. */ @@ -61,27 +44,25 @@ export const Modal = ({ onClose, onBeforeClose, open = false, - opened = false, placement = 'center', preventBodyScroll = true, - size, + size = 'small', className, 'data-testid': dataTestId, backdropClassName, - width = 'small', - customDialogStyles, - customDialogBackdropStyles, image, }: ModalProps) => { // Used for disclosure usage only const [visible, setVisible] = useState(false) const controlId = useId() - + const disclosureRef = useRef(null) const handleOpen = useCallback(() => { setVisible(true) }, []) const handleClose = useCallback(() => { + disclosureRef.current?.focus() + if (onClose) { onClose() } else { @@ -94,11 +75,11 @@ export const Modal = ({ }, [onBeforeClose, onClose]) const handleToggle = useCallback(() => { + disclosureRef.current?.focus() setVisible(current => !current) }, []) const finalId = id ?? controlId - const finalSize = size ?? width // using context we can check if the modal is being used inside another modal // the first modal to render will create the context, and the others will use it. @@ -114,16 +95,16 @@ export const Modal = ({ handleClose={handleClose} visible={visible} toggle={handleToggle} + ref={disclosureRef} /> ) : null} {!context ? ( void - /** - * @deprecated use close - */ - onClose: () => void toggle: () => void visible: boolean modalId: string - /** - * @deprecated use close - */ - hide: () => void close: () => void show: () => void } @@ -41,6 +28,7 @@ export type DisclosureProps = { visible: ModalState['visible'] toggle: ModalState['toggle'] id: string + ref: RefObject } export type DialogProps = { @@ -57,7 +45,5 @@ export type DialogProps = { onClose: () => void 'data-testid'?: string children: ReactNode - backdropCss: React.JSX.IntrinsicAttributes['css'] - dialogCss: React.JSX.IntrinsicAttributes['css'] image?: string } diff --git a/packages/ui/src/components/Notice/__stories__/Template.stories.tsx b/packages/ui/src/components/Notice/__stories__/Template.stories.tsx index 1b324c4e87..77e2db8234 100644 --- a/packages/ui/src/components/Notice/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Notice/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Notice } from '..' export const Template: StoryFn = args => ( diff --git a/packages/ui/src/components/Notice/__stories__/index.stories.tsx b/packages/ui/src/components/Notice/__stories__/index.stories.tsx index b4ac8f0285..71eac3ac5f 100644 --- a/packages/ui/src/components/Notice/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Notice/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Notice } from '..' export default { diff --git a/packages/ui/src/components/Notice/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Notice/__tests__/__snapshots__/index.test.tsx.snap index fefaa3e5fb..161739171d 100644 --- a/packages/ui/src/components/Notice/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Notice/__tests__/__snapshots__/index.test.tsx.snap @@ -5,7 +5,7 @@ exports[`Notice > renders correctly with default props 1`] = ` .emotion-1 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -25,7 +25,7 @@ exports[`Notice > renders correctly with default props 1`] = ` .emotion-3 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1rem; width: 1rem; min-width: 1rem; diff --git a/packages/ui/src/components/Notification/__stories__/Children.tsx b/packages/ui/src/components/Notification/__stories__/Children.tsx index acb001a6a8..94e3bd3b7e 100644 --- a/packages/ui/src/components/Notification/__stories__/Children.tsx +++ b/packages/ui/src/components/Notification/__stories__/Children.tsx @@ -1,6 +1,6 @@ -import type { Decorator, StoryFn } from '@storybook/react' +import type { Decorator, StoryFn } from '@storybook/react-vite' import { NotificationContainer, notification } from '..' -import { AvatarV2, Button, Stack, Text } from '../../index' +import { Avatar, Button, Stack, Text } from '../../index' export const Children: StoryFn = args => (
@@ -37,7 +37,7 @@ export const Children: StoryFn = args => ( ), 'Invitation', - , + , false, ) } diff --git a/packages/ui/src/components/Notification/__stories__/ContainerId.tsx b/packages/ui/src/components/Notification/__stories__/ContainerId.tsx index 76bf7996ee..22a7065c65 100644 --- a/packages/ui/src/components/Notification/__stories__/ContainerId.tsx +++ b/packages/ui/src/components/Notification/__stories__/ContainerId.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { VerifyCardProductIcon } from '@ultraviolet/icons/product' import { NotificationContainer, notification } from '..' import { Button, Stack, Text } from '../../index' diff --git a/packages/ui/src/components/Notification/__stories__/Template.stories.tsx b/packages/ui/src/components/Notification/__stories__/Template.stories.tsx index 9fe68eed10..2f544041a3 100644 --- a/packages/ui/src/components/Notification/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Notification/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { VerifyCardProductIcon } from '@ultraviolet/icons/product' import { NotificationContainer, notification } from '..' import { Button, Text } from '../../index' diff --git a/packages/ui/src/components/Notification/__stories__/index.stories.tsx b/packages/ui/src/components/Notification/__stories__/index.stories.tsx index ab89e2a7df..151f3041db 100644 --- a/packages/ui/src/components/Notification/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Notification/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { NotificationContainer } from '..' export default { diff --git a/packages/ui/src/components/Notification/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Notification/__tests__/__snapshots__/index.test.tsx.snap index cfaf778ebc..b702d7eae3 100644 --- a/packages/ui/src/components/Notification/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Notification/__tests__/__snapshots__/index.test.tsx.snap @@ -4,7 +4,7 @@ exports[`Toaster > renders correctly with close button 1`] = ` [ .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.25rem; @@ -49,10 +49,10 @@ exports[`Toaster > renders correctly with close button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -61,10 +61,10 @@ exports[`Toaster > renders correctly with close button 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-3 { @@ -72,10 +72,10 @@ exports[`Toaster > renders correctly with close button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -84,15 +84,14 @@ exports[`Toaster > renders correctly with close button 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-5 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.25rem; @@ -115,7 +114,7 @@ exports[`Toaster > renders correctly with close button 2`] = ` gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; - width: 1.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -130,7 +129,7 @@ exports[`Toaster > renders correctly with close button 2`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -150,6 +149,10 @@ exports[`Toaster > renders correctly with close button 2`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-7 .e1y1n78x0 { + stroke: transparent; +} + .emotion-7:hover, .emotion-7:active { background: #e9eaeb; @@ -159,10 +162,10 @@ exports[`Toaster > renders correctly with close button 2`] = ` .emotion-9 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-9 .fillStroke { @@ -170,10 +173,6 @@ exports[`Toaster > renders correctly with close button 2`] = ` fill: none; } -.emotion-9 path { - fill: currentColor; -} -
@@ -220,7 +219,6 @@ exports[`Toaster > renders correctly with close button 2`] = ` renders correctly with custom close button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -300,10 +298,10 @@ exports[`Toaster > renders correctly with custom close button 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-3 { @@ -311,10 +309,10 @@ exports[`Toaster > renders correctly with custom close button 2`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -323,15 +321,14 @@ exports[`Toaster > renders correctly with custom close button 2`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-5 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.25rem; diff --git a/packages/ui/src/components/Notification/index.tsx b/packages/ui/src/components/Notification/index.tsx index 5fc24c38e4..50cb1d8d5a 100644 --- a/packages/ui/src/components/Notification/index.tsx +++ b/packages/ui/src/components/Notification/index.tsx @@ -1,7 +1,8 @@ 'use client' import type { Theme } from '@emotion/react' -import { ClassNames, css, useTheme } from '@emotion/react' +import { ClassNames, Global, css, useTheme } from '@emotion/react' +import { CloseIcon } from '@ultraviolet/icons' import type { ReactNode } from 'react' import { ToastContainer as BaseToastContainer, @@ -30,6 +31,13 @@ type CloseButtonProps = { theme: ThemeToastify } +const toaster = css` + ${PREFIX} { + z-index: 1; + position: fixed; + } +` + const styles = { toast: ({ theme }: StylesProps) => css` border-radius: ${theme.radii.default}; @@ -56,12 +64,13 @@ const styles = { const closeButton = (props: CloseButtonProps) => ( + > + + ) export const notification = ( @@ -130,20 +139,23 @@ export const NotificationContainer = ({ {/* eslint-disable-next-line @typescript-eslint/unbound-method */} {({ css: localCss }) => ( - + <> + + + )} ) diff --git a/packages/ui/src/components/NumberInput/__stories__/Controlled.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Controlled.stories.tsx deleted file mode 100644 index a61bef182f..0000000000 --- a/packages/ui/src/components/NumberInput/__stories__/Controlled.stories.tsx +++ /dev/null @@ -1,26 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { useState } from 'react' -import { NumberInput } from '..' -import { Button, Stack } from '../..' - -export const Controlled: StoryFn = args => { - const min = 10 - const max = 100 - const [value, setState] = useState(20) - - return ( - - - - - - setState(val)} - /> - - ) -} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Controls.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Controls.stories.tsx similarity index 100% rename from packages/ui/src/components/NumberInputV2/__stories__/Controls.stories.tsx rename to packages/ui/src/components/NumberInput/__stories__/Controls.stories.tsx diff --git a/packages/ui/src/components/NumberInput/__stories__/DefaultValue.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/DefaultValue.stories.tsx deleted file mode 100644 index 9172b0b01f..0000000000 --- a/packages/ui/src/components/NumberInput/__stories__/DefaultValue.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { Template } from './Template.stories' - -export const DefaultValue = Template.bind({}) - -DefaultValue.args = { - minValue: 0, - maxValue: 100, - defaultValue: 20, -} - -DefaultValue.parameters = { - docs: { - description: { - story: - 'If you use this component as an uncontrolled component you can use the prop `defaultValue` to define the initial value. If defaultValue is not in minValue/maxValue range it will be set to closest valid value.', - }, - }, -} diff --git a/packages/ui/src/components/NumberInput/__stories__/Disabled.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Disabled.stories.tsx index c6be4e3e63..9a363f3e8a 100644 --- a/packages/ui/src/components/NumberInput/__stories__/Disabled.stories.tsx +++ b/packages/ui/src/components/NumberInput/__stories__/Disabled.stories.tsx @@ -3,7 +3,17 @@ import { Template } from './Template.stories' export const Disabled = Template.bind({}) Disabled.args = { - minValue: 0, - maxValue: 100, disabled: true, + id: 'number-input', + label: 'Number Input', + name: 'number-input', + onChange: () => {}, +} + +Disabled.parameters = { + docs: { + description: { + story: `The \`disabled\` prop can be used to disable the input. Disabled inputs cannot be focused.`, + }, + }, } diff --git a/packages/ui/src/components/NumberInput/__stories__/DisabledTooltip.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/DisabledTooltip.stories.tsx deleted file mode 100644 index b544b0a567..0000000000 --- a/packages/ui/src/components/NumberInput/__stories__/DisabledTooltip.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { Template } from './Template.stories' - -export const DisabledTooltip = Template.bind({}) - -DisabledTooltip.args = { - minValue: 0, - maxValue: 1, - disabledTooltip: 'This is the content of the disabled tooltip', -} - -DisabledTooltip.parameters = { - docs: { - description: { - story: - 'You can add a tooltip on left and rights button by using `disabledTooltip` prop. Try to hover on the "-" and "+".', - }, - }, -} diff --git a/packages/ui/src/components/NumberInput/__stories__/Error.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Error.stories.tsx index 5c7839f63a..a3536610fd 100644 --- a/packages/ui/src/components/NumberInput/__stories__/Error.stories.tsx +++ b/packages/ui/src/components/NumberInput/__stories__/Error.stories.tsx @@ -3,7 +3,17 @@ import { Template } from './Template.stories' export const Error = Template.bind({}) Error.args = { - minValue: 0, - maxValue: 100, - error: 'There is an error', + id: 'number-input', + label: 'Number Input', + name: 'number-input', + onChange: () => {}, + error: 'Your input is invalid', +} + +Error.parameters = { + docs: { + description: { + story: `The \`error\` prop can be used to display an error message below the input. It can be used to provide additional information about the expected input.`, + }, + }, } diff --git a/packages/ui/src/components/NumberInput/__stories__/Events.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Events.stories.tsx deleted file mode 100644 index f24f8b4eda..0000000000 --- a/packages/ui/src/components/NumberInput/__stories__/Events.stories.tsx +++ /dev/null @@ -1,16 +0,0 @@ -// oxlint-disable eslint/no-console -import { Template } from './Template.stories' - -export const Events = Template.bind({}) - -Events.args = { - minValue: 50, - maxValue: 100, - defaultValue: 50, - - onChange: () => console.log('onChange'), - onFocus: () => console.log('onFocus'), - onBlur: () => console.log('onBlur'), - onMinCrossed: () => console.log('onMinCrossed'), - onMaxCrossed: () => console.log('onMaxCrossed'), -} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Helper.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Helper.stories.tsx similarity index 100% rename from packages/ui/src/components/NumberInputV2/__stories__/Helper.stories.tsx rename to packages/ui/src/components/NumberInput/__stories__/Helper.stories.tsx diff --git a/packages/ui/src/components/NumberInputV2/__stories__/LabelDescription.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/LabelDescription.stories.tsx similarity index 81% rename from packages/ui/src/components/NumberInputV2/__stories__/LabelDescription.stories.tsx rename to packages/ui/src/components/NumberInput/__stories__/LabelDescription.stories.tsx index 425b8d7a27..45541fe4bc 100644 --- a/packages/ui/src/components/NumberInputV2/__stories__/LabelDescription.stories.tsx +++ b/packages/ui/src/components/NumberInput/__stories__/LabelDescription.stories.tsx @@ -1,27 +1,27 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { AlertCircleOutlineIcon } from '@ultraviolet/icons' import type { ComponentProps } from 'react' import { Badge } from '../../Badge' import { Stack } from '../../Stack' import { Tooltip } from '../../Tooltip' -import { NumberInputV2 } from '../index' +import { NumberInput } from '../index' export const LabelDescription: StoryFn = ( - args: ComponentProps, + args: ComponentProps, ) => ( - New} required /> - - + } required diff --git a/packages/ui/src/components/NumberInputV2/__stories__/MinMax.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/MinMax.stories.tsx similarity index 74% rename from packages/ui/src/components/NumberInputV2/__stories__/MinMax.stories.tsx rename to packages/ui/src/components/NumberInput/__stories__/MinMax.stories.tsx index 596791f444..6c8df739fd 100644 --- a/packages/ui/src/components/NumberInputV2/__stories__/MinMax.stories.tsx +++ b/packages/ui/src/components/NumberInput/__stories__/MinMax.stories.tsx @@ -1,11 +1,11 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' -import { NumberInputV2 } from '..' +import { NumberInput } from '..' -export const Template: StoryFn = props => { +export const Template: StoryFn = props => { const [value, setValue] = useState(10) - return + return } export const MinMax = Template.bind({}) diff --git a/packages/ui/src/components/NumberInput/__stories__/Placeholder.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Placeholder.stories.tsx index 6b11afcfbc..7cda8dd82b 100644 --- a/packages/ui/src/components/NumberInput/__stories__/Placeholder.stories.tsx +++ b/packages/ui/src/components/NumberInput/__stories__/Placeholder.stories.tsx @@ -3,14 +3,17 @@ import { Template } from './Template.stories' export const Placeholder = Template.bind({}) Placeholder.args = { - placeholder: 'Type a number here', + id: 'number-input', + label: 'Number Input', + name: 'number-input', + onChange: () => {}, + placeholder: '50', } Placeholder.parameters = { docs: { description: { - story: - 'You can change the placeholder inside the input by passing a string to the `placeholder` prop.', + story: `The \`placeholder\` prop can be used to display a placeholder text when the input is empty. It can be used to provide additional information about the expected input.`, }, }, } diff --git a/packages/ui/src/components/NumberInput/__stories__/Playground.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Playground.stories.tsx index 1bb1300883..ac22ec3e7d 100644 --- a/packages/ui/src/components/NumberInput/__stories__/Playground.stories.tsx +++ b/packages/ui/src/components/NumberInput/__stories__/Playground.stories.tsx @@ -1,3 +1,12 @@ import { Template } from './Template.stories' export const Playground = Template.bind({}) + +Playground.args = { + readOnly: false, + disabled: false, + id: 'number-input', + label: 'Number Input', + name: 'number-input', + onChange: () => {}, +} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/ReadOnly.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/ReadOnly.stories.tsx similarity index 100% rename from packages/ui/src/components/NumberInputV2/__stories__/ReadOnly.stories.tsx rename to packages/ui/src/components/NumberInput/__stories__/ReadOnly.stories.tsx diff --git a/packages/ui/src/components/NumberInput/__stories__/Sizes.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Sizes.stories.tsx index 87554916f6..57a2af5f6e 100644 --- a/packages/ui/src/components/NumberInput/__stories__/Sizes.stories.tsx +++ b/packages/ui/src/components/NumberInput/__stories__/Sizes.stories.tsx @@ -1,21 +1,25 @@ -import type { Decorator } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' -import { NumberInput } from '..' import { Stack } from '../../Stack' +import { NumberInput } from '../index' -const sizes: ComponentProps['size'][] = [ - 'large', - 'medium', - 'small', -] +export const Sizes: StoryFn = (args: ComponentProps) => ( + + {(['small', 'medium', 'large'] as const).map(size => ( + + ))} + +) -export const Sizes = (props: ComponentProps) => - sizes.map(size => ) - -Sizes.decorators = [ - Story => ( - - - - ), -] as Decorator[] +Sizes.args = { + id: 'number-input', + label: 'Number Input', + name: 'number-input', + onChange: () => {}, +} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Step.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Step.stories.tsx similarity index 100% rename from packages/ui/src/components/NumberInputV2/__stories__/Step.stories.tsx rename to packages/ui/src/components/NumberInput/__stories__/Step.stories.tsx diff --git a/packages/ui/src/components/NumberInput/__stories__/Steps.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Steps.stories.tsx deleted file mode 100644 index e514a0b8b3..0000000000 --- a/packages/ui/src/components/NumberInput/__stories__/Steps.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { Template } from './Template.stories' - -export const Steps = Template.bind({}) - -Steps.args = { - minValue: 0, - maxValue: 100, - step: 10, -} - -Steps.parameters = { - docs: { - description: { - story: - 'You can change step size of your `NumberInput` component. If you set it to 10 for example, your `NumberInput` will increase & decrease by steps of 10.', - }, - }, -} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Success.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Success.stories.tsx similarity index 100% rename from packages/ui/src/components/NumberInputV2/__stories__/Success.stories.tsx rename to packages/ui/src/components/NumberInput/__stories__/Success.stories.tsx diff --git a/packages/ui/src/components/NumberInput/__stories__/Template.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Template.stories.tsx index 0fcf3ed67d..64b33b1fab 100644 --- a/packages/ui/src/components/NumberInput/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/NumberInput/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { NumberInput } from '..' export const Template: StoryFn = props => ( diff --git a/packages/ui/src/components/NumberInput/__stories__/Text.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Text.stories.tsx deleted file mode 100644 index 1cb7bdc14d..0000000000 --- a/packages/ui/src/components/NumberInput/__stories__/Text.stories.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { Template } from './Template.stories' - -export const Text = Template.bind({}) - -Text.args = { - text: 'GB', - placeholder: 'Storage in GB', -} - -Text.parameters = { - docs: { - description: { - story: - 'You can change text inside NumberInput by using `text` prop. You can pass directly a text or a component.', - }, - }, -} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Unit.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/Unit.stories.tsx similarity index 100% rename from packages/ui/src/components/NumberInputV2/__stories__/Unit.stories.tsx rename to packages/ui/src/components/NumberInput/__stories__/Unit.stories.tsx diff --git a/packages/ui/src/components/NumberInput/__stories__/index.stories.tsx b/packages/ui/src/components/NumberInput/__stories__/index.stories.tsx index c887fa7dd4..b68b779ade 100644 --- a/packages/ui/src/components/NumberInput/__stories__/index.stories.tsx +++ b/packages/ui/src/components/NumberInput/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { NumberInput } from '..' export default { @@ -7,32 +7,26 @@ export default { StoryComponent => (
), ], - tags: ['deprecated'], - parameters: { - deprecated: true, - deprecatedReason: - 'This component is deprecated. Please use NumberInputV2 instead.', - migrationLink: 'Migrations/NumberInput to NumberInputV2', - }, title: 'Components/Data Entry/NumberInput', } as Meta export { Playground } from './Playground.stories' -export { Placeholder } from './Placeholder.stories' -export { Text } from './Text.stories' -export { DisabledTooltip } from './DisabledTooltip.stories' -export { Steps } from './Steps.stories' export { Sizes } from './Sizes.stories' +export { Placeholder } from './Placeholder.stories' +export { Helper } from './Helper.stories' +export { MinMax } from './MinMax.stories' +export { Step } from './Step.stories' +export { Unit } from './Unit.stories' export { Disabled } from './Disabled.stories' +export { ReadOnly } from './ReadOnly.stories' export { Error } from './Error.stories' -export { Events } from './Events.stories' -export { Controlled } from './Controlled.stories' -export { DefaultValue } from './DefaultValue.stories' +export { Success } from './Success.stories' +export { LabelDescription } from './LabelDescription.stories' +export { Controls } from './Controls.stories' diff --git a/packages/ui/src/components/NumberInput/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/NumberInput/__tests__/__snapshots__/index.test.tsx.snap index ebf7e08fb3..fe4afedc6e 100644 --- a/packages/ui/src/components/NumberInput/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/NumberInput/__tests__/__snapshots__/index.test.tsx.snap @@ -1,16 +1,16 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`NumberInput > should click on center button 1`] = ` +exports[`NumberInput > should click on min button 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`NumberInput > should click on center button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -30,33 +30,10 @@ exports[`NumberInput > should click on center button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -65,10 +42,10 @@ exports[`NumberInput > should click on center button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -76,107 +53,202 @@ exports[`NumberInput > should click on center button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-4 { - background-color: #ffffff; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; +} + +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; } -.emotion-4[aria-disabled='true'] { +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; } .emotion-4 { - background-color: #ffffff; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7 { +.emotion-4[data-size='small'] { + height: 2rem; +} + +.emotion-4[data-size='medium'] { + height: 2.5rem; +} + +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -205,7 +277,7 @@ exports[`NumberInput > should click on center button 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -213,28 +285,29 @@ exports[`NumberInput > should click on center button 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-7 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -263,7 +336,7 @@ exports[`NumberInput > should click on center button 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -271,119 +344,108 @@ exports[`NumberInput > should click on center button 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -392,75 +454,168 @@ exports[`NumberInput > should click on center button 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13 { +.emotion-13:-moz-read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13::placeholder { +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; +} + +.emotion-13 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-13::-webkit-outer-spin-button, +.emotion-13::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-13[data-size='small'] { + height: 2rem; +} + +.emotion-13[data-size='medium'] { + height: 2.5rem; +} + +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13[disabled] { +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-15 { - color: #3f4250; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; - margin-right: 0.5rem; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; }
should click on center button 1`] = `
-
+
- + + + + +
-
- + + + + +
@@ -530,17 +696,17 @@ exports[`NumberInput > should click on center button 1`] = `
`; -exports[`NumberInput > should click on min button 1`] = ` +exports[`NumberInput > should click on plus button with a step value 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -549,10 +715,10 @@ exports[`NumberInput > should click on min button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -560,33 +726,10 @@ exports[`NumberInput > should click on min button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -595,10 +738,10 @@ exports[`NumberInput > should click on min button 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -606,107 +749,202 @@ exports[`NumberInput > should click on min button 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-4 { - background-color: #ffffff; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; +} + +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; } .emotion-4 { - background-color: #ffffff; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7 { +.emotion-4[data-size='small'] { + height: 2rem; +} + +.emotion-4[data-size='medium'] { + height: 2.5rem; +} + +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -735,7 +973,7 @@ exports[`NumberInput > should click on min button 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -743,28 +981,29 @@ exports[`NumberInput > should click on min button 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-7 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -793,7 +1032,7 @@ exports[`NumberInput > should click on min button 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -801,119 +1040,108 @@ exports[`NumberInput > should click on min button 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -922,39 +1150,93 @@ exports[`NumberInput > should click on min button 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13[disabled] { +.emotion-13:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13 { - color: #3f4250; - background-color: transparent; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; font-size: 1rem; - border: none; +} + +.emotion-13[data-controls='false'] { + text-align: left; +} + +.emotion-13 { outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -963,34 +1245,73 @@ exports[`NumberInput > should click on min button 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13[disabled] { +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-15 { - color: #3f4250; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; - margin-right: 0.5rem; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; }
should click on min button 1`] = `
-
+
- + + + + +
-
- + + + + +
@@ -1060,40 +1391,17 @@ exports[`NumberInput > should click on min button 1`] = `
`; -exports[`NumberInput > should click on plus button with a step value 1`] = ` +exports[`NumberInput > should click on plus button with a step value and an in-between value set 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1102,44 +1410,21 @@ exports[`NumberInput > should click on plus button with a step value 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-2 { +.emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1148,110 +1433,228 @@ exports[`NumberInput > should click on plus button with a step value 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; } -.emotion-4 { - background-color: #ffffff; +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; +.emotion-2[data-size='small'] { height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; +} + +.emotion-4[data-size='small'] { + height: 2rem; +} + +.emotion-4[data-size='medium'] { + height: 2.5rem; +} + +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; +} + +.emotion-4[data-size='small'] { + height: 2rem; +} + +.emotion-4[data-size='medium'] { + height: 2.5rem; +} + +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-6 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + position: relative; + height: 2rem; + padding: 0 0.5rem; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + border-radius: 0.25rem; + box-sizing: border-box; + width: auto; + -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; @@ -1265,7 +1668,7 @@ exports[`NumberInput > should click on plus button with a step value 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1273,28 +1676,29 @@ exports[`NumberInput > should click on plus button with a step value 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-7 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1323,7 +1727,7 @@ exports[`NumberInput > should click on plus button with a step value 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1331,119 +1735,108 @@ exports[`NumberInput > should click on plus button with a step value 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -1452,39 +1845,93 @@ exports[`NumberInput > should click on plus button with a step value 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13[disabled] { +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13 { - color: #3f4250; - background-color: transparent; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; font-size: 1rem; - border: none; +} + +.emotion-13[data-controls='false'] { + text-align: left; +} + +.emotion-13 { outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -1493,34 +1940,73 @@ exports[`NumberInput > should click on plus button with a step value 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13[disabled] { +.emotion-13:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-15 { - color: #3f4250; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; - margin-right: 0.5rem; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; }
should click on plus button with a step value 1`] = `
-
+
- + + + + +
-
- + + + + +
@@ -1590,17 +2086,17 @@ exports[`NumberInput > should click on plus button with a step value 1`] = `
`; -exports[`NumberInput > should click on plus button with a step value and an in-between value set 1`] = ` +exports[`NumberInput > should focus input and modify value 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1609,10 +2105,10 @@ exports[`NumberInput > should click on plus button with a step value and an in-b -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -1620,10 +2116,10 @@ exports[`NumberInput > should click on plus button with a step value and an in-b display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1632,10 +2128,10 @@ exports[`NumberInput > should click on plus button with a step value and an in-b -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -1643,130 +2139,202 @@ exports[`NumberInput > should click on plus button with a step value and an in-b display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4 { - background-color: #ffffff; +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; +} + +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; } -.emotion-4[aria-disabled='true'] { +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; } .emotion-4 { - background-color: #ffffff; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7 { +.emotion-4[data-size='small'] { + height: 2rem; +} + +.emotion-4[data-size='medium'] { + height: 2.5rem; +} + +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1795,7 +2363,7 @@ exports[`NumberInput > should click on plus button with a step value and an in-b -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1803,28 +2371,29 @@ exports[`NumberInput > should click on plus button with a step value and an in-b text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-7 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -1853,7 +2422,7 @@ exports[`NumberInput > should click on plus button with a step value and an in-b -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1861,119 +2430,108 @@ exports[`NumberInput > should click on plus button with a step value and an in-b text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -1982,39 +2540,93 @@ exports[`NumberInput > should click on plus button with a step value and an in-b margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13[disabled] { +.emotion-13:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13 { - color: #3f4250; - background-color: transparent; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; font-size: 1rem; - border: none; +} + +.emotion-13[data-controls='false'] { + text-align: left; +} + +.emotion-13 { outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -2023,96 +2635,146 @@ exports[`NumberInput > should click on plus button with a step value and an in-b margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-15 { +.emotion-13:read-only { color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -
-
+
- + + + + +
-
- + + + + +
@@ -2120,17 +2782,17 @@ exports[`NumberInput > should click on plus button with a step value and an in-b
`; -exports[`NumberInput > should focus input and modify value 1`] = ` +exports[`NumberInput > should focus input and modify value when value > max 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2139,10 +2801,10 @@ exports[`NumberInput > should focus input and modify value 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -2150,33 +2812,10 @@ exports[`NumberInput > should focus input and modify value 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2185,10 +2824,10 @@ exports[`NumberInput > should focus input and modify value 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -2196,107 +2835,202 @@ exports[`NumberInput > should focus input and modify value 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; + border-radius: 0.25rem; } -.emotion-4 { - background-color: #ffffff; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; +} + +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; } .emotion-4 { - background-color: #ffffff; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7 { +.emotion-4[data-size='small'] { + height: 2rem; +} + +.emotion-4[data-size='medium'] { + height: 2.5rem; +} + +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2325,7 +3059,7 @@ exports[`NumberInput > should focus input and modify value 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2333,28 +3067,29 @@ exports[`NumberInput > should focus input and modify value 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-7 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2383,7 +3118,7 @@ exports[`NumberInput > should focus input and modify value 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2391,119 +3126,108 @@ exports[`NumberInput > should focus input and modify value 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -2512,39 +3236,93 @@ exports[`NumberInput > should focus input and modify value 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13[disabled] { +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13 { - color: #3f4250; - background-color: transparent; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; font-size: 1rem; - border: none; +} + +.emotion-13[data-controls='false'] { + text-align: left; +} + +.emotion-13 { outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -2553,34 +3331,73 @@ exports[`NumberInput > should focus input and modify value 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13[disabled] { +.emotion-13:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-15 { - color: #3f4250; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; - margin-right: 0.5rem; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; }
should focus input and modify value 1`] = `
-
+
- + + + + +
-
- + + + + +
@@ -2650,40 +3478,17 @@ exports[`NumberInput > should focus input and modify value 1`] = `
`; -exports[`NumberInput > should focus input and modify value onMaxCrossed 1`] = ` +exports[`NumberInput > should renders correctly 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2692,199 +3497,113 @@ exports[`NumberInput > should focus input and modify value onMaxCrossed 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-error='true'] { + border-color: #b3144d; } -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; +.emotion-2:hover { + border-color: #792dd4; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -2913,7 +3632,7 @@ exports[`NumberInput > should focus input and modify value onMaxCrossed 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2921,119 +3640,77 @@ exports[`NumberInput > should focus input and modify value onMaxCrossed 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -3042,127 +3719,277 @@ exports[`NumberInput > should focus input and modify value onMaxCrossed 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13 { +.emotion-13:read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-13::placeholder { +.emotion-13:placeholder-shown~.exvap482 { color: #727683; + font-size: 1rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13[data-controls='false'] { + text-align: left; } -.emotion-15 { - color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; +
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+`; + +exports[`NumberInput > should renders correctly all sizes > with size large 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-18 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; +.emotion-2 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - gap: 0.5rem; + border: 1px solid #d9dadd; border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +} + +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; +} + +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: not-allowed; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-18:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-18 { +.emotion-4[data-size='medium'] { + height: 2.5rem; +} + +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3181,7 +4008,7 @@ exports[`NumberInput > should focus input and modify value onMaxCrossed 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: not-allowed; + cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; @@ -3191,7 +4018,7 @@ exports[`NumberInput > should focus input and modify value onMaxCrossed 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3199,148 +4026,241 @@ exports[`NumberInput > should focus input and modify value onMaxCrossed 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-18:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-20 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-20 .fillStroke { - stroke: #d8c5fc; - fill: none; +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; } -.emotion-20 { +.emotion-8 { vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-20 .fillStroke { - stroke: #d8c5fc; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } -
-
-
-
- -
- - -
- -
+.emotion-11 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-13 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-13::-webkit-outer-spin-button, +.emotion-13::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-13[data-size='small'] { + height: 2rem; +} + +.emotion-13[data-size='medium'] { + height: 2.5rem; +} + +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; +} + +
+
+
+
+
+ +
+
+ +
+
+ +
+
`; -exports[`NumberInput > should focus input and modify value onMinCrossed 1`] = ` +exports[`NumberInput > should renders correctly all sizes > with size large and unit 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3349,141 +4269,113 @@ exports[`NumberInput > should focus input and modify value onMinCrossed 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; } .emotion-4 { - background-color: #ffffff; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3502,7 +4394,7 @@ exports[`NumberInput > should focus input and modify value onMinCrossed 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: not-allowed; + cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; @@ -3512,7 +4404,7 @@ exports[`NumberInput > should focus input and modify value onMinCrossed 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3520,159 +4412,77 @@ exports[`NumberInput > should focus input and modify value onMinCrossed 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-8 { vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #d8c5fc; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } -.emotion-9 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #d8c5fc; - fill: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -3681,136 +4491,305 @@ exports[`NumberInput > should focus input and modify value onMinCrossed 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13 { +.emotion-13:read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-13:-moz-read-only~.emotion-15 { + background: #f9f9fa; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13:read-only~.emotion-15 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13:disabled~.emotion-15 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-13::placeholder { +.emotion-13:placeholder-shown~.emotion-15 { color: #727683; + font-size: 1rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13[data-controls='false'] { + text-align: left; } -.emotion-15 { +.emotion-16 { color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + 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; + padding: 0.5rem; + height: 3rem; + font-size: 1rem; } -.emotion-18 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; +
+
+
+
+
+ +
+
+ + + GB + +
+
+ +
+
+
+
+
+
+`; + +exports[`NumberInput > should renders correctly all sizes > with size medium 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-2 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - gap: 0.5rem; + border: 1px solid #d9dadd; border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +} + +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; +} + +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-18:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-18:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-18:hover, -.emotion-18:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-18 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -3839,7 +4818,7 @@ exports[`NumberInput > should focus input and modify value onMinCrossed 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3847,116 +4826,223 @@ exports[`NumberInput > should focus input and modify value onMinCrossed 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-18:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-18:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-18:hover, -.emotion-18:active { - background: #e5dbfd; - color: #521094; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-20 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-20 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; } -.emotion-20 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-20 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } -
+.emotion-11 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-13 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-13::-webkit-outer-spin-button, +.emotion-13::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-13[data-size='small'] { + height: 2rem; +} + +.emotion-13[data-size='medium'] { + height: 2.5rem; +} + +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; +} + +
-
+
- + + + + +
-
- + + + + +
@@ -3964,40 +5050,17 @@ exports[`NumberInput > should focus input and modify value onMinCrossed 1`] = ` `; -exports[`NumberInput > should increase and decrease input with arrow up and down 1`] = ` +exports[`NumberInput > should renders correctly all sizes > with size medium and unit 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4006,199 +5069,113 @@ exports[`NumberInput > should increase and decrease input with arrow up and down -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-error='true'] { + border-color: #b3144d; } -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; +.emotion-2:hover { + border-color: #792dd4; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -4227,7 +5204,7 @@ exports[`NumberInput > should increase and decrease input with arrow up and down -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -4235,2695 +5212,77 @@ exports[`NumberInput > should increase and decrease input with arrow up and down text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; -} - -.emotion-13:-ms-input-placeholder { - color: #727683; -} - -.emotion-13::placeholder { - color: #727683; -} - -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; -} - -.emotion-13:-ms-input-placeholder { - color: #727683; -} - -.emotion-13::placeholder { - color: #727683; -} - -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -.emotion-15 { - color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; -} - -.emotion-18 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-18:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-18 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-18:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-20 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-20 .fillStroke { - stroke: #d8c5fc; - fill: none; -} - -.emotion-20 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-20 .fillStroke { - stroke: #d8c5fc; - fill: none; -} - -
-
-
-
- -
- - -
- -
-
-
-
-
-`; - -exports[`NumberInput > should increase and decrease input with arrow up and down, step and an in-between value set 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; -} - -.emotion-13:-ms-input-placeholder { - color: #727683; -} - -.emotion-13::placeholder { - color: #727683; -} - -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; -} - -.emotion-13:-ms-input-placeholder { - color: #727683; -} - -.emotion-13::placeholder { - color: #727683; -} - -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -.emotion-15 { - color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; -} - -.emotion-18 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-18:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-18 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-18:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-20 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-20 .fillStroke { - stroke: #d8c5fc; - fill: none; -} - -.emotion-20 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-20 .fillStroke { - stroke: #d8c5fc; - fill: none; -} - -
-
-
-
- -
- - -
- -
-
-
-
-
-`; - -exports[`NumberInput > should not changed controlled value on click min button 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; -} - -.emotion-13:-ms-input-placeholder { - color: #727683; -} - -.emotion-13::placeholder { - color: #727683; -} - -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; -} - -.emotion-13:-ms-input-placeholder { - color: #727683; -} - -.emotion-13::placeholder { - color: #727683; -} - -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -.emotion-15 { - color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; -} - -
-
-
-
- -
- - -
- -
-
-
-
-
-`; - -exports[`NumberInput > should renders correctly 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; -} - -.emotion-13:-ms-input-placeholder { - color: #727683; -} - -.emotion-13::placeholder { - color: #727683; -} - -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -
-
-
-
- -
- -
- -
-
-
-
-
-`; - -exports[`NumberInput > should renders correctly disabled 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-9 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #d8c5fc; - fill: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; -} - -.emotion-13:-ms-input-placeholder { - color: #727683; -} - -.emotion-13::placeholder { - color: #727683; -} - -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13::-webkit-input-placeholder { - color: #727683; -} - -.emotion-13::-moz-placeholder { - color: #727683; -} - -.emotion-13:-ms-input-placeholder { - color: #727683; -} - -.emotion-13::placeholder { - color: #727683; -} - -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; -} - -
-
-
-
- -
- -
- -
-
-
-
-
-`; - -exports[`NumberInput > should renders correctly max value 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; -} - -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; -} - -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -6932,66 +5291,96 @@ exports[`NumberInput > should renders correctly max value 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13 { +.emotion-13:read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-13:-moz-read-only~.emotion-15 { + background: #f9f9fa; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13:read-only~.emotion-15 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13:disabled~.emotion-15 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-13::placeholder { +.emotion-13:placeholder-shown~.emotion-15 { color: #727683; + font-size: 1rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13[data-controls='false'] { + text-align: left; +} + +.emotion-16 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + 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; + padding: 0.5rem; + height: 2.5rem; + font-size: 0.875rem; }
should renders correctly max value 1`] = `
-
+
- + + + + +
+ + GB +
- + + + + +
@@ -7058,40 +5464,17 @@ exports[`NumberInput > should renders correctly max value 1`] = `
`; -exports[`NumberInput > should renders correctly min value 1`] = ` +exports[`NumberInput > should renders correctly all sizes > with size small 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7100,210 +5483,124 @@ exports[`NumberInput > should renders correctly min value 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-error='true'] { + border-color: #b3144d; } -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; +.emotion-2:hover { + border-color: #792dd4; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; position: relative; - height: 2rem; - padding: 0 0.5rem; + height: 1.5rem; + padding: 0 0.25rem; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - gap: 0.5rem; + gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; width: auto; @@ -7321,7 +5618,7 @@ exports[`NumberInput > should renders correctly min value 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -7329,119 +5626,77 @@ exports[`NumberInput > should renders correctly min value 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -7450,66 +5705,73 @@ exports[`NumberInput > should renders correctly min value 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13 { +.emotion-13:read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-13::placeholder { +.emotion-13:placeholder-shown~.exvap482 { color: #727683; + font-size: 1rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13[data-controls='false'] { + text-align: left; }
should renders correctly min value 1`] = `
-
+
- + + + + +
- + + + + +
@@ -7576,40 +5850,17 @@ exports[`NumberInput > should renders correctly min value 1`] = `
`; -exports[`NumberInput > should renders correctly with error 1`] = ` +exports[`NumberInput > should renders correctly all sizes > with size small and unit 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7618,210 +5869,124 @@ exports[`NumberInput > should renders correctly with error 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-error='true'] { + border-color: #b3144d; } -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; +.emotion-2:hover { + border-color: #792dd4; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; position: relative; - height: 2rem; - padding: 0 0.5rem; + height: 1.5rem; + padding: 0 0.25rem; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - gap: 0.5rem; + gap: 0.25rem; border-radius: 0.25rem; box-sizing: border-box; width: auto; @@ -7839,7 +6004,7 @@ exports[`NumberInput > should renders correctly with error 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -7847,119 +6012,77 @@ exports[`NumberInput > should renders correctly with error 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -7968,78 +6091,96 @@ exports[`NumberInput > should renders correctly with error 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13 { +.emotion-13:read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-13:-moz-read-only~.emotion-15 { + background: #f9f9fa; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13:read-only~.emotion-15 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13:disabled~.emotion-15 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-13::placeholder { +.emotion-13:placeholder-shown~.emotion-15 { color: #727683; + font-size: 1rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13[data-controls='false'] { + text-align: left; } -.emotion-20 { - color: #b3144d; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; +.emotion-16 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; - line-height: 1.25rem; + line-height: 1.5rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + 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; + padding: 0.5rem; + height: 2rem; + font-size: 0.875rem; }
should renders correctly with error 1`] = `
-
+
- + + + + +
+ + GB +
- + + + + +
- - This is an error -
`; -exports[`NumberInput > should renders correctly with placeholder 1`] = ` +exports[`NumberInput > should renders correctly disabled 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8153,199 +6283,113 @@ exports[`NumberInput > should renders correctly with placeholder 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; +.emotion-2[data-size='small'] { height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -8364,7 +6408,7 @@ exports[`NumberInput > should renders correctly with placeholder 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; + cursor: not-allowed; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; @@ -8374,7 +6418,7 @@ exports[`NumberInput > should renders correctly with placeholder 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8382,119 +6426,68 @@ exports[`NumberInput > should renders correctly with placeholder 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; + color: #b5b7bd; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; -} - -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; -} - -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -8503,66 +6496,73 @@ exports[`NumberInput > should renders correctly with placeholder 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13 { +.emotion-13:read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-13::placeholder { +.emotion-13:placeholder-shown~.exvap482 { color: #727683; + font-size: 1rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13[data-controls='false'] { + text-align: left; }
should renders correctly with placeholder 1`] = `
-
+
- + + + + +
- + + + + +
@@ -8630,40 +6644,17 @@ exports[`NumberInput > should renders correctly with placeholder 1`] = `
`; -exports[`NumberInput > should renders large size 1`] = ` +exports[`NumberInput > should renders correctly max value 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8672,199 +6663,113 @@ exports[`NumberInput > should renders large size 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + display: -ms-flexbox; + display: flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-error='true'] { + border-color: #b3144d; } -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; +.emotion-2:hover { + border-color: #792dd4; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -8893,7 +6798,7 @@ exports[`NumberInput > should renders large size 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -8901,119 +6806,77 @@ exports[`NumberInput > should renders large size 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -9022,66 +6885,73 @@ exports[`NumberInput > should renders large size 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13 { +.emotion-13:read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-13::placeholder { +.emotion-13:placeholder-shown~.exvap482 { color: #727683; + font-size: 1rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13[data-controls='false'] { + text-align: left; }
should renders large size 1`] = `
-
+
- + + + + +
- + + + + +
@@ -9148,63 +7030,17 @@ exports[`NumberInput > should renders large size 1`] = `
`; -exports[`NumberInput > should renders small size 1`] = ` +exports[`NumberInput > should renders correctly min value 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9213,135 +7049,113 @@ exports[`NumberInput > should renders small size 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 32px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; +.emotion-2[data-size='small'] { height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -9370,7 +7184,7 @@ exports[`NumberInput > should renders small size 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -9378,79 +7192,77 @@ exports[`NumberInput > should renders small size 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 22px; - width: 22px; - min-width: 22px; - min-height: 22px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 24px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } .emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } .emotion-13::-webkit-outer-spin-button, @@ -9459,66 +7271,73 @@ exports[`NumberInput > should renders small size 1`] = ` margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13 { +.emotion-13:read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-13::placeholder { +.emotion-13:placeholder-shown~.exvap482 { color: #727683; + font-size: 1rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-13[data-controls='false'] { + text-align: left; }
should renders small size 1`] = `
-
+
- + + + + +
- + + + + +
@@ -9585,40 +7416,17 @@ exports[`NumberInput > should renders small size 1`] = `
`; -exports[`NumberInput > should use maxValue instead of defaultValue if default value is higher than maxValue 1`] = ` +exports[`NumberInput > should renders correctly with error 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9627,141 +7435,113 @@ exports[`NumberInput > should use maxValue instead of defaultValue if default va -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; } .emotion-4 { - background-color: #ffffff; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -9790,7 +7570,7 @@ exports[`NumberInput > should use maxValue instead of defaultValue if default va -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -9798,257 +7578,386 @@ exports[`NumberInput > should use maxValue instead of defaultValue if default va text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-8 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-8 .fillStroke { + stroke: currentColor; + fill: none; +} + +.emotion-11 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-13 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; + font-family: Inter,sans-serif; + font-weight: Regular; line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; + text-align: center; + padding: 0.5rem; background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-13::-webkit-outer-spin-button, +.emotion-13::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-13[data-size='small'] { + height: 2rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-13[data-size='medium'] { + height: 2.5rem; } -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-11 { +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; +} + +.emotion-21 { + color: #b3144d; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+ + This is an error + +
+
+
+`; + +exports[`NumberInput > should renders correctly with label 1`] = ` + + .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-11 { +.emotion-3 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + cursor: pointer; +} + +.emotion-5 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-5:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-5[data-success='true'] { + border-color: #22674e; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-5[data-error='true'] { + border-color: #b3144d; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-5:hover { + border-color: #792dd4; } -.emotion-13::placeholder { - color: #727683; +.emotion-5[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-13[disabled] { - color: #b5b7bd; +.emotion-5[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; cursor: not-allowed; } -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; +.emotion-5[data-controls='false']>.emotion-13 { + border-width: 0; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-5[data-size='small'] { + height: 2rem; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-5[data-size='medium'] { + height: 2.5rem; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-5[data-size='large'] { + height: 3rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-7[data-size='small'] { + height: 2rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-7[data-size='medium'] { + height: 2.5rem; } -.emotion-15 { - color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; +.emotion-7[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-18 { +.emotion-9 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -10067,7 +7976,7 @@ exports[`NumberInput > should use maxValue instead of defaultValue if default va -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: not-allowed; + cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; @@ -10077,7 +7986,7 @@ exports[`NumberInput > should use maxValue instead of defaultValue if default va -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -10085,93 +7994,152 @@ exports[`NumberInput > should use maxValue instead of defaultValue if default va text-case: none; background: none; border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-18:hover { +.emotion-9:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-18 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +.emotion-9:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; +} + +.emotion-9 .e1y1n78x0 { + stroke: transparent; +} + +.emotion-9:hover, +.emotion-9:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-11 { + vertical-align: middle; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + +.emotion-11 .fillStroke { + stroke: currentColor; + fill: none; +} + +.emotion-14 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-16 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; + font-family: Inter,sans-serif; + font-weight: Regular; line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; + text-align: center; + padding: 0.5rem; background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; } -.emotion-18:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-16[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; } -.emotion-20 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-16::-webkit-outer-spin-button, +.emotion-16::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; } -.emotion-20 .fillStroke { - stroke: #d8c5fc; - fill: none; +.emotion-16 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-20 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-16[data-size='small'] { + height: 2rem; } -.emotion-20 .fillStroke { - stroke: #d8c5fc; - fill: none; +.emotion-16[data-size='medium'] { + height: 2.5rem; +} + +.emotion-16[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-16:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-16:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-16:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-16:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-16:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-16:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-16:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-16[data-controls='false'] { + text-align: left; }
should use maxValue instead of defaultValue if default va
-
+ Label + +
- + + + + +
-
- + + + + +
@@ -10242,40 +8224,17 @@ exports[`NumberInput > should use maxValue instead of defaultValue if default va
`; -exports[`NumberInput > should use minValue instead of defaultValue if default value is lower than minValue 1`] = ` +exports[`NumberInput > should renders correctly with label description 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10284,10 +8243,10 @@ exports[`NumberInput > should use minValue instead of defaultValue if default va -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -10295,179 +8254,138 @@ exports[`NumberInput > should use minValue instead of defaultValue if default va display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } -.emotion-4 { - background-color: #ffffff; +.emotion-5 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + cursor: pointer; +} + +.emotion-7 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-7:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-7[data-success='true'] { + border-color: #22674e; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-7[data-error='true'] { + border-color: #b3144d; } -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; +.emotion-7:hover { + border-color: #792dd4; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-7[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-4[aria-disabled='true'] { +.emotion-7[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; -} - -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-7[data-controls='false']>.emotion-15 { + border-width: 0; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +.emotion-7[data-size='small'] { + height: 2rem; +} + +.emotion-7[data-size='medium'] { + height: 2.5rem; +} + +.emotion-7[data-size='large'] { + height: 3rem; +} + +.emotion-9 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: not-allowed; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-9[data-size='small'] { + height: 2rem; } -.emotion-7 { +.emotion-9[data-size='medium'] { + height: 2.5rem; +} + +.emotion-9[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; +} + +.emotion-11 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -10486,7 +8404,7 @@ exports[`NumberInput > should use minValue instead of defaultValue if default va -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: not-allowed; + cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; @@ -10496,7 +8414,7 @@ exports[`NumberInput > should use minValue instead of defaultValue if default va -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -10504,248 +8422,367 @@ exports[`NumberInput > should use minValue instead of defaultValue if default va text-case: none; background: none; border: none; - color: #641cb3; - color: #d8c5fc; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-11:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-9 { - vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-11:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-9 .fillStroke { - stroke: #d8c5fc; - fill: none; +.emotion-11 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 { +.emotion-11:hover, +.emotion-11:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-13 { vertical-align: middle; - fill: #d8c5fc; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #d8c5fc; +.emotion-13 .fillStroke { + stroke: currentColor; fill: none; } -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; +.emotion-16 { + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; +.emotion-18 { outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; -} - -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { +.emotion-18[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-18::-webkit-outer-spin-button, +.emotion-18::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-18 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-18[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-18[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-18[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-18:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13 { +.emotion-18:read-only { color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; + background: #f9f9fa; + border-block: 1px solid #d9dadd; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-18:-moz-read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-18:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-18:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-18:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-13::placeholder { +.emotion-18:placeholder-shown~.exvap482 { color: #727683; + font-size: 1rem; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-18[data-controls='false'] { + text-align: left; } -.emotion-15 { - color: #3f4250; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - margin-right: 0.5rem; +
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+`; + +exports[`NumberInput > should renders correctly with placeholder 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-18 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; +.emotion-2 { + 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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; - gap: 0.5rem; + border: 1px solid #d9dadd; border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +} + +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-2[data-success='true'] { + border-color: #22674e; +} + +.emotion-2[data-error='true'] { + border-color: #b3144d; +} + +.emotion-2:hover { + border-color: #792dd4; +} + +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; +} + +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; +} + +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; +} + +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } -.emotion-18:hover { - -webkit-text-decoration: none; - text-decoration: none; +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-18:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-18:hover, -.emotion-18:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-18 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -10774,7 +8811,7 @@ exports[`NumberInput > should use minValue instead of defaultValue if default va -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -10782,53 +8819,152 @@ exports[`NumberInput > should use minValue instead of defaultValue if default va text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-18:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-18:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-18:hover, -.emotion-18:active { - background: #e5dbfd; - color: #521094; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-20 { +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-20 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } -.emotion-20 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-11 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; } -.emotion-20 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-13 { + outline: none; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; +} + +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-13::-webkit-outer-spin-button, +.emotion-13::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-13[data-size='small'] { + height: 2rem; +} + +.emotion-13[data-size='medium'] { + height: 2.5rem; +} + +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; }
should use minValue instead of defaultValue if default va
-
+
- + + + + +
-
- + + + + +
@@ -10899,40 +9043,17 @@ exports[`NumberInput > should use minValue instead of defaultValue if default va
`; -exports[`NumberInput > should use the defaultValue 1`] = ` +exports[`NumberInput > should renders correctly with success 1`] = ` .emotion-0 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10941,199 +9062,113 @@ exports[`NumberInput > should use the defaultValue 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-4 { - background-color: #ffffff; +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; border: 1px solid #d9dadd; border-radius: 0.25rem; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; -} - -.emotion-4[aria-disabled='true'] { - background: #f3f3f4; - cursor: not-allowed; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-error='true'] { + border-color: #b3144d; } -.emotion-4 { - background-color: #ffffff; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - font-weight: 500; - height: 48px; - border: 1px solid #d9dadd; - border-radius: 0.25rem; +.emotion-2:hover { + border-color: #792dd4; } -.emotion-4[data-error='true'] { - border: 1px solid #b3144d; +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-4[aria-disabled='true'] { +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; background: #f3f3f4; cursor: not-allowed; } -.emotion-4:not([aria-disabled='true']) .emotion-12:hover, -.emotion-4:not([aria-disabled='true']) .emotion-12:focus { - border: 1px solid #792dd4; +.emotion-2[data-controls='false']>.emotion-10 { + border-width: 0; } -.emotion-4:not([aria-disabled='true']) .emotion-12:focus-within { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border: 1px solid #792dd4; +.emotion-2[data-size='small'] { + height: 2rem; } -.emotion-7 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: auto; +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + padding: 0.125rem 0.5rem; } - -.emotion-7:hover { - -webkit-text-decoration: none; - text-decoration: none; + +.emotion-4[data-size='small'] { + height: 2rem; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-4[data-size='medium'] { + height: 2.5rem; } -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-4[data-size='large'] { + height: 3rem; + padding: 0.25rem 0.5rem; } -.emotion-7 { +.emotion-6 { display: -webkit-inline-box; display: -webkit-inline-flex; display: -ms-inline-flexbox; @@ -11162,7 +9197,7 @@ exports[`NumberInput > should use the defaultValue 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -11170,196 +9205,446 @@ exports[`NumberInput > should use the defaultValue 1`] = ` text-case: none; background: none; border: none; - color: #641cb3; - margin: 0 0.5rem; - width: 32px; - height: 32px; + color: #3f4250; } -.emotion-7:hover { +.emotion-6:hover { -webkit-text-decoration: none; text-decoration: none; } -.emotion-7:active { - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7:hover, -.emotion-7:active { - background: #e5dbfd; - color: #521094; +.emotion-6:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; } -.emotion-9 { - vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; +.emotion-6 .e1y1n78x0 { + stroke: transparent; } -.emotion-9 .fillStroke { - stroke: #641cb3; - fill: none; +.emotion-6:hover, +.emotion-6:active { + background: #e9eaeb; + color: #222638; } -.emotion-9 { +.emotion-8 { vertical-align: middle; - fill: #641cb3; - height: 26px; - width: 26px; - min-width: 26px; - min-height: 26px; + fill: currentColor; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-9 .fillStroke { - stroke: #641cb3; +.emotion-8 .fillStroke { + stroke: currentColor; fill: none; } .emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; + display: grid; + grid-template-columns: 1fr auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-13 { outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; + text-align: center; + padding: 0.5rem; + background: none; } -.emotion-11 { +.emotion-13[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-13::-webkit-outer-spin-button, +.emotion-13::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.emotion-13 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; +} + +.emotion-13[data-size='small'] { + height: 2rem; +} + +.emotion-13[data-size='medium'] { + height: 2.5rem; +} + +.emotion-13[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-13:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-13:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-13:disabled { + color: #b5b7bd; + background: #f3f3f4; + cursor: not-allowed; + border-block: 1px solid #e9eaeb; +} + +.emotion-13:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-13:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-13[data-controls='false'] { + text-align: left; +} + +.emotion-21 { + color: #22674e; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+ + This is a success + +
+
+
+`; + +exports[`NumberInput > should renders correctly without controls 1`] = ` + + .emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-2 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 32px; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - outline: none; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + border: 1px solid #d9dadd; border-radius: 0.25rem; - border: 1px solid transparent; - max-width: 100%; } -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; - outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; - text-align: center; - -moz-appearance: textfield; +.emotion-2:focus-within { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; +.emotion-2[data-success='true'] { + border-color: #22674e; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-2[data-error='true'] { + border-color: #b3144d; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-2:hover { + border-color: #792dd4; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-2[data-readonly='true'] { + border-color: #d9dadd; + background: #f9f9fa; + cursor: not-allowed; } -.emotion-13::placeholder { - color: #727683; +.emotion-2[data-disabled='true'] { + border-color: #e9eaeb; + background: #f3f3f4; + cursor: not-allowed; } -.emotion-13[disabled] { - color: #b5b7bd; - cursor: not-allowed; +.emotion-2[data-controls='false']>.emotion-4 { + border-width: 0; } -.emotion-13 { - color: #3f4250; - background-color: transparent; - font-size: 1rem; - border: none; +.emotion-2[data-size='small'] { + height: 2rem; +} + +.emotion-2[data-size='medium'] { + height: 2.5rem; +} + +.emotion-2[data-size='large'] { + height: 3rem; +} + +.emotion-5 { + display: grid; + grid-template-columns: 1fr auto; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; +} + +.emotion-7 { outline: none; - position: relative; - margin-right: 0.25rem; - max-width: 100%; - font-weight: 500; + border: none; + padding: 0; + width: 100%; + color: #3f4250; + font-size: 0.875rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.25rem; text-align: center; - -moz-appearance: textfield; + padding: 0.5rem; + background: none; } -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { +.emotion-7[data-has-unit='true'] { + text-align: left; + padding: 0.5rem 0 0.5rem 0.5rem; +} + +.emotion-7::-webkit-outer-spin-button, +.emotion-7::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } -.emotion-13::-webkit-input-placeholder { - color: #727683; +.emotion-7 { + -moz-appearance: textfield; + -webkit-appearance: textfield; + -moz-appearance: textfield; + -ms-appearance: textfield; + appearance: textfield; } -.emotion-13::-moz-placeholder { - color: #727683; +.emotion-7[data-size='small'] { + height: 2rem; } -.emotion-13:-ms-input-placeholder { - color: #727683; +.emotion-7[data-size='medium'] { + height: 2.5rem; } -.emotion-13::placeholder { - color: #727683; +.emotion-7[data-size='large'] { + height: 3rem; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: Regular; + line-height: 1.5rem; +} + +.emotion-7:-moz-read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-7:read-only { + color: #3f4250; + background: #f9f9fa; + border-block: 1px solid #d9dadd; +} + +.emotion-7:-moz-read-only~.exvap482 { + background: #f9f9fa; +} + +.emotion-7:read-only~.exvap482 { + background: #f9f9fa; } -.emotion-13[disabled] { +.emotion-7:disabled { color: #b5b7bd; + background: #f3f3f4; cursor: not-allowed; + border-block: 1px solid #e9eaeb; } -.emotion-15 { - color: #3f4250; +.emotion-7:disabled~.exvap482 { + background: #f3f3f4; + cursor: not-allowed; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; - margin-right: 0.5rem; +} + +.emotion-7:placeholder-shown~.exvap482 { + color: #727683; + font-size: 1rem; +} + +.emotion-7[data-controls='false'] { + text-align: left; }
should use the defaultValue 1`] = `
-
+
-
-
-
diff --git a/packages/ui/src/components/NumberInput/__tests__/index.test.tsx b/packages/ui/src/components/NumberInput/__tests__/index.test.tsx index 5a9ed98b00..9e622a2f83 100644 --- a/packages/ui/src/components/NumberInput/__tests__/index.test.tsx +++ b/packages/ui/src/components/NumberInput/__tests__/index.test.tsx @@ -1,74 +1,65 @@ -import { act, fireEvent, screen, waitFor } from '@testing-library/react' +import { screen, waitFor } from '@testing-library/react' import { userEvent } from '@testing-library/user-event' import { renderWithTheme, shouldMatchEmotionSnapshot } from '@utils/test' -import { describe, expect, it } from 'vitest' +import { describe, expect, it, vi } from 'vitest' import { NumberInput } from '..' describe('NumberInput', () => { - it('should renders correctly', () => { - const { asFragment } = renderWithTheme( - {}} - />, - ) - expect(asFragment()).toMatchSnapshot() - }) + it('should renders correctly', () => + shouldMatchEmotionSnapshot( + {}} />, + )) - it('should renders correctly disabled', () => { - shouldMatchEmotionSnapshot() - }) + it('should renders correctly disabled', () => + shouldMatchEmotionSnapshot()) - it('should renders correctly with error', () => - shouldMatchEmotionSnapshot()) + it('should renders correctly without controls', () => + shouldMatchEmotionSnapshot()) - it('should renders correctly with placeholder', () => { - shouldMatchEmotionSnapshot() - }) + it('should renders correctly with label', () => + shouldMatchEmotionSnapshot()) - it('should renders correctly min value', () => { + it('should renders correctly with label description', () => shouldMatchEmotionSnapshot( - , - ) - }) + label description
} />, + )) - it('should renders correctly max value', () => { - shouldMatchEmotionSnapshot( - , - ) - }) + it('should renders correctly with error', () => + shouldMatchEmotionSnapshot()) - it('should renders large size', () => { - shouldMatchEmotionSnapshot( - , - ) - }) + it('should renders correctly with success', () => + shouldMatchEmotionSnapshot()) - it('should renders small size', () => { + it('should renders correctly with placeholder', () => shouldMatchEmotionSnapshot( - , - ) - }) - - it('should click on center button', async () => { - const { asFragment } = renderWithTheme( - , - ) - const inputButton = screen.getByLabelText('Number Input') - const input = screen.getByRole('spinbutton') - - await userEvent.click(inputButton) - await waitFor(() => expect(input.value).toBe('10')) - expect(asFragment()).toMatchSnapshot() + , + )) + + it('should renders correctly min value', () => + shouldMatchEmotionSnapshot()) + + it('should renders correctly max value', () => + shouldMatchEmotionSnapshot()) + + describe('should renders correctly all sizes', () => { + ;(['large', 'medium', 'small'] as const).forEach(size => { + it(`with size ${size}`, () => + shouldMatchEmotionSnapshot( + , + )) + it(`with size ${size} and unit`, () => + shouldMatchEmotionSnapshot( + , + )) + }) }) it('should click on min button', async () => { const { asFragment } = renderWithTheme( - , + , ) - const minus = screen.getByLabelText('Minus') + + const minus = screen.getByLabelText('minus') const input = screen.getByRole('spinbutton') await userEvent.click(minus) @@ -81,253 +72,92 @@ describe('NumberInput', () => { it('should click on plus button with a step value', async () => { const { asFragment } = renderWithTheme( - {}} - />, + {}} />, ) - const plus = screen.getByLabelText('Plus') + const plus = screen.getByLabelText('plus') const input = screen.getByRole('spinbutton') await userEvent.click(plus) - await waitFor(() => expect(input.value).toBe('20')) + await waitFor(() => expect(input.value).toBe('10')) await userEvent.click(plus) - await waitFor(() => expect(input.value).toBe('30')) + await waitFor(() => expect(input.value).toBe('20')) expect(asFragment()).toMatchSnapshot() }) it('should focus input and modify value', async () => { + const onChange = vi.fn() const { asFragment } = renderWithTheme( - , + , ) - const buttonContainer = screen.getByLabelText('Number Input') const input = screen.getByRole('spinbutton') - await userEvent.click(buttonContainer) + await userEvent.click(input) await waitFor(() => expect(input).toHaveFocus()) - act(() => { - input.blur() - }) - - await userEvent.click(buttonContainer) - await userEvent.clear(input) - await userEvent.type(input, '20') - await waitFor(() => expect(input.value).toBe('20')) - expect(asFragment()).toMatchSnapshot() - }) + input.blur() - it('should focus input and modify value onMinCrossed', async () => { - const { asFragment } = renderWithTheme( - {}} - />, - ) - const input = screen.getByRole('spinbutton') - // eslint-disable-next-line testing-library/no-node-access - if (input.parentElement) await userEvent.click(input.parentElement) await userEvent.clear(input) - await userEvent.type(input, '1') - await waitFor(() => expect(input.value).toBe('1')) - act(() => { - input.blur() - }) - await waitFor(() => expect(input.value).toBe('10')) + expect(onChange).toHaveBeenCalledTimes(2) expect(asFragment()).toMatchSnapshot() }) - - it('should focus input and modify value onMaxCrossed', async () => { + it('should focus input and modify value when value > max', async () => { + const onChange = vi.fn() const { asFragment } = renderWithTheme( - {}} - />, + , ) const input = screen.getByRole('spinbutton') - // eslint-disable-next-line testing-library/no-node-access - if (input.parentElement) await userEvent.click(input.parentElement) - await userEvent.clear(input) - await userEvent.type(input, '120') - await waitFor(() => expect(input.value).toBe('120')) - act(() => { - input.blur() - }) - await waitFor(() => expect(input.value).toBe('100')) - expect(asFragment()).toMatchSnapshot() - }) - it('should increase and decrease input with arrow up and down', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByRole('spinbutton') - // eslint-disable-next-line testing-library/no-node-access - if (input.parentElement) await userEvent.click(input.parentElement) await userEvent.click(input) - fireEvent.keyDown(input, { - key: 'ArrowUp', - keyCode: 38, - }) - await waitFor(() => expect(input.value).toBe('31')) - fireEvent.keyDown(input, { - key: 'ArrowDown', - keyCode: 40, - }) - await waitFor(() => expect(input.value).toBe('30')) - await userEvent.clear(input) - await userEvent.type(input, '10') - fireEvent.keyDown(input, { - key: 'ArrowDown', - keyCode: 40, - }) - await waitFor(() => expect(input.value).toBe('10')) + await waitFor(() => expect(input).toHaveFocus()) + input.blur() + await userEvent.clear(input) - await userEvent.type(input, '100') - fireEvent.keyDown(input, { - key: 'ArrowUp', - keyCode: 38, - }) - await waitFor(() => expect(input.value).toBe('100')) + expect(onChange).toHaveBeenCalledTimes(2) expect(asFragment()).toMatchSnapshot() }) it('should click on plus button with a step value and an in-between value set', async () => { const { asFragment } = renderWithTheme( - {}} - />, + {}} />, ) - const plus = screen.getByLabelText('Plus') + const plus = screen.getByLabelText('plus') const input = screen.getByRole('spinbutton') await userEvent.click(plus) - await waitFor(() => expect(input.value).toBe('20')) - - await userEvent.click(plus) - await waitFor(() => expect(input.value).toBe('30')) - expect(asFragment()).toMatchSnapshot() - }) - - it('should increase and decrease input with arrow up and down, step and an in-between value set', async () => { - const { asFragment } = renderWithTheme( - , - ) - - const input = screen.getByRole('spinbutton') - await waitFor(() => expect(input.value).toBe('32')) - - act(() => { - input.focus() - }) - expect(input).toHaveFocus() - - fireEvent.keyDown(input, { - key: 'ArrowUp', - keyCode: 38, - }) - await waitFor(() => expect(input.value).toBe('40')) - - fireEvent.keyDown(input, { - key: 'ArrowDown', - keyCode: 40, - }) - await waitFor(() => expect(input.value).toBe('30')) - await userEvent.clear(input) - await userEvent.type(input, '12') - fireEvent.keyDown(input, { - key: 'ArrowDown', - keyCode: 40, - }) await waitFor(() => expect(input.value).toBe('10')) - await userEvent.clear(input) - await userEvent.type(input, '99') - fireEvent.keyDown(input, { - key: 'ArrowUp', - keyCode: 38, - }) - await waitFor(() => expect(input.value).toBe('100')) - expect(asFragment()).toMatchSnapshot() - }) - - it('should not changed controlled value on click min button', async () => { - const { asFragment } = renderWithTheme( - , - ) - const minus = screen.getByLabelText('Minus') - const input = screen.getByRole('spinbutton') - - await userEvent.click(minus) - await waitFor(() => expect(input.value).toBe('10')) - expect(asFragment()).toMatchSnapshot() - }) - - it('should use the defaultValue', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByRole('spinbutton') - await waitFor(() => expect(input.value).toBe('10')) - expect(asFragment()).toMatchSnapshot() - }) - - it('should use minValue instead of defaultValue if default value is lower than minValue', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByRole('spinbutton') + await userEvent.click(plus) await waitFor(() => expect(input.value).toBe('20')) expect(asFragment()).toMatchSnapshot() }) - it('should use maxValue instead of defaultValue if default value is higher than maxValue', async () => { - const { asFragment } = renderWithTheme( - , - ) + it('should set value at min when value is lesser than min', async () => { + renderWithTheme() const input = screen.getByRole('spinbutton') - await waitFor(() => expect(input.value).toBe('100')) - expect(asFragment()).toMatchSnapshot() - }) + const plusButton = screen.getByLabelText('plus') - it('should set value at minValue when value is lesser than minValue', async () => { - renderWithTheme() - const buttonContainer = screen.getByLabelText('Number Input') - const input = screen.getByRole('spinbutton') - - await userEvent.click(buttonContainer) await userEvent.clear(input) await userEvent.type(input, '5') - act(() => { - input.blur() - }) + await userEvent.click(plusButton) await waitFor(() => expect(input.value).toBe('10')) }) - it('should set value at maxValue when value is greater than maxValue', async () => { - renderWithTheme() - const buttonContainer = screen.getByLabelText('Number Input') + it('should set value at max when value is greater than max', async () => { + renderWithTheme() const input = screen.getByRole('spinbutton') + const minusButton = screen.getByLabelText('minus') - await userEvent.click(buttonContainer) await userEvent.clear(input) await userEvent.type(input, '15') - act(() => { - input.blur() - }) + await userEvent.click(minusButton) await waitFor(() => expect(input.value).toBe('10')) }) }) diff --git a/packages/ui/src/components/NumberInput/helpers.ts b/packages/ui/src/components/NumberInput/helpers.ts deleted file mode 100644 index e5fdefaf3c..0000000000 --- a/packages/ui/src/components/NumberInput/helpers.ts +++ /dev/null @@ -1,17 +0,0 @@ -export const bounded = (value: number, min: number, max: number) => - Math.max(min, Math.min(value, max)) - -export const roundStep = (value: number, step: number, direction: number) => - direction === -1 - ? Math.floor(value / step) * step - : Math.ceil(value / step) * step - -export const getMinusRoundedValue = (currentValue: number, step: number) => - currentValue % step === 0 - ? roundStep(currentValue - step, step, -1) - : roundStep(currentValue, step, -1) - -export const getPlusRoundedValue = (currentValue: number, step: number) => - currentValue % step === 0 - ? roundStep(currentValue + step, step, 1) - : roundStep(currentValue, step, 1) diff --git a/packages/ui/src/components/NumberInput/index.tsx b/packages/ui/src/components/NumberInput/index.tsx index 2ca34e3467..bae79d3152 100644 --- a/packages/ui/src/components/NumberInput/index.tsx +++ b/packages/ui/src/components/NumberInput/index.tsx @@ -2,436 +2,479 @@ import styled from '@emotion/styled' import { MinusIcon, PlusIcon } from '@ultraviolet/icons' -import type { - ChangeEventHandler, - FocusEventHandler, - InputHTMLAttributes, - KeyboardEventHandler, +import type { ForwardedRef, InputHTMLAttributes, ReactNode } from 'react' +import { + forwardRef, + useCallback, + useId, + useImperativeHandle, + useMemo, + useRef, } from 'react' -import { useId, useMemo, useRef, useState } from 'react' import { Button } from '../Button' +import { Label } from '../Label' +import { Row } from '../Row' import { Stack } from '../Stack' import { Text } from '../Text' import { Tooltip } from '../Tooltip' -import { - bounded, - getMinusRoundedValue, - getPlusRoundedValue, - roundStep, -} from './helpers' - -const containerSizes = { - large: 48, - medium: 40, - small: 32, -} -type ContainerSizesType = keyof typeof containerSizes +const SIZES = { + small: '400', // sizing theme tokens key + medium: '500', + large: '600', +} as const -const iconSizes = { - large: 26, - medium: 24, - small: 22, -} +type Sizes = keyof typeof SIZES + +const SideContainer = styled(Stack)` + padding: ${({ theme }) => `${theme.space['0.25']} ${theme.space['1']}`}; + + &[data-size='small'] { + height: ${({ theme }) => theme.sizing[SIZES.small]}; + } -const BASE_INPUT_WIDTH = 34 + &[data-size='medium'] { + height: ${({ theme }) => theme.sizing[SIZES.medium]}; + } + + &[data-size='large'] { + height: ${({ theme }) => theme.sizing[SIZES.large]}; + padding: ${({ theme }) => `${theme.space['0.5']} ${theme.space['1']}`}; + } +` -const StyledSelectButton = styled(Button)` - margin: 0 ${({ theme }) => theme.space['1']}; - width: 32px; - height: 32px; +const InputContainer = styled(Row)` + border-width: 0 1px 0 1px; + border-style: solid; + border-color: inherit; + background: inherit; + width: 100%; ` -const StyledCenterBox = styled('div', { +const Unit = styled(Text, { shouldForwardProp: prop => !['size'].includes(prop), -})<{ size: ContainerSizesType }>` +})<{ size: Sizes }>` display: flex; - flex: 1; - flex-direction: row; - height: ${({ size }) => (size === 'small' ? '24px' : '32px')}; align-items: center; - outline: none; - justify-content: center; - border-radius: ${({ theme }) => theme.radii.default}; - border: 1px solid transparent; - max-width: 100%; + padding: ${({ theme }) => theme.space['1']}; + height: ${({ size }) => + ({ theme }) => + theme.sizing[SIZES[size]]}; + font-size: ${({ theme, size }) => + size === 'large' + ? theme.typography.body.fontSize + : theme.typography.bodySmall.fontSize}; ` -const StyledInput = styled.input` - color: ${({ theme }) => theme.colors.neutral.text}; - background-color: transparent; - font-size: ${({ theme }) => theme.typography.bodyStrong.fontSize}; - border: none; +const Input = styled.input` outline: none; - position: relative; - margin-right: ${({ theme }) => theme.space['0.5']}; - max-width: 100%; - font-weight: ${({ theme }) => theme.typography.bodyStrong.weight}; + border: none; + padding: 0; + width: 100%; + color: ${({ theme }) => theme.colors.neutral.text}; + font-size: ${({ theme }) => theme.typography.bodySmall.fontSize}; + font-family: ${({ theme }) => theme.typography.bodySmall.fontFamily}; + font-weight: ${({ theme }) => theme.typography.bodySmall.fontWeight}; + line-height: ${({ theme }) => theme.typography.bodySmall.lineHeight}; text-align: center; + padding: ${({ theme }) => theme.space['1']}; + background: none; + &[data-has-unit='true'] { + text-align: left; + padding: ${({ theme }) => + `${theme.space['1']} 0 ${theme.space['1']} ${theme.space['1']}`}; + } + + // Remove native arrows from input[type=number] &::-webkit-outer-spin-button, &::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } - ::placeholder { - color: ${({ theme }) => theme.colors.neutral.textWeak}; + & { + -moz-appearance: textfield; + appearance: textfield; } - -moz-appearance: textfield; + &[data-size='small'] { + height: ${({ theme }) => theme.sizing[SIZES.small]}; + } + + &[data-size='medium'] { + height: ${({ theme }) => theme.sizing[SIZES.medium]}; + } + + &[data-size='large'] { + height: ${({ theme }) => theme.sizing[SIZES.large]}; + font-size: ${({ theme }) => theme.typography.body.fontSize}; + font-family: ${({ theme }) => theme.typography.body.fontFamily}; + font-weight: ${({ theme }) => theme.typography.body.fontWeight}; + line-height: ${({ theme }) => theme.typography.body.lineHeight}; + + } - &[disabled] { + &:read-only { + color: ${({ theme }) => theme.colors.neutral.text}; + background: ${({ theme }) => theme.colors.neutral.backgroundWeak}; + border-block: 1px solid ${({ theme }) => theme.colors.neutral.border}; + + & ~ ${Unit} { + background: ${({ theme }) => theme.colors.neutral.backgroundWeak}; + } + } + + &:disabled { color: ${({ theme }) => theme.colors.neutral.textDisabled}; + background: ${({ theme }) => theme.colors.neutral.backgroundDisabled}; cursor: not-allowed; + border-block: 1px solid ${({ theme }) => theme.colors.neutral.borderDisabled}; + + & ~ ${Unit} { + background: ${({ theme }) => theme.colors.neutral.backgroundDisabled}; + cursor: not-allowed; + user-select: none; + } + } + + &:placeholder-shown ~ ${Unit} { + color: ${({ theme }) => theme.colors.neutral.textWeak}; + font-size: ${({ theme }) => theme.typography.body.fontSize} } -` -const StyledText = styled('span', { - shouldForwardProp: prop => !['disabled'].includes(prop), -})<{ disabled: boolean }>` - color: ${({ theme, disabled }) => - disabled ? theme.colors.neutral.textDisabled : theme.colors.neutral.text}; - user-select: none; - margin-right: ${({ theme }) => theme.space['1']}; + &[data-controls='false'] { + text-align: left; +} ` -const StyledContainer = styled('div', { - shouldForwardProp: prop => !['size'].includes(prop), -})<{ size: ContainerSizesType }>` - background-color: ${({ theme }) => theme.colors.neutral.background}; +const Container = styled.div` display: flex; - flex-direction: row; align-items: center; - align-self: stretch; - font-weight: 500; - height: ${({ size }) => containerSizes[size]}px; + justify-content: space-between; + flex-direction: row; border: 1px solid ${({ theme }) => theme.colors.neutral.border}; border-radius: ${({ theme }) => theme.radii.default}; + &:focus-within { + border-color: ${({ theme }) => theme.colors.primary.borderHover}; + box-shadow: ${({ theme }) => theme.shadows.focusPrimary}; + } + + &[data-success='true'] { + border-color: ${({ theme }) => theme.colors.success.border}; + } + &[data-error='true'] { - border: 1px solid ${({ theme }) => theme.colors.danger.border}; + border-color: ${({ theme }) => theme.colors.danger.border}; } - &[aria-disabled='true'] { + &:hover { + border-color: ${({ theme }) => theme.colors.primary.borderHover}; + } + + &[data-readonly='true'] { + border-color: ${({ theme }) => theme.colors.neutral.border}; + background: ${({ theme }) => theme.colors.neutral.backgroundWeak}; + cursor: not-allowed; + } + + &[data-disabled='true'] { + border-color: ${({ theme }) => theme.colors.neutral.borderDisabled}; background: ${({ theme }) => theme.colors.neutral.backgroundDisabled}; cursor: not-allowed; } - &:not([aria-disabled='true']) { - ${StyledCenterBox}:hover, - ${StyledCenterBox}:focus { - border: 1px solid ${({ theme }) => theme.colors.primary.borderHover}; - } + &[data-controls='false'] { + & > ${InputContainer} { + border-width: 0; + }; + } - ${StyledCenterBox}:focus-within { - box-shadow: ${({ theme }) => theme.shadows.focusPrimary}; - border: 1px solid ${({ theme }) => theme.colors.primary.borderHover}; - } + &[data-size='small'] { + height: ${({ theme }) => theme.sizing[SIZES.small]}; + } + + &[data-size='medium'] { + height: ${({ theme }) => theme.sizing[SIZES.medium]}; + } + + &[data-size='large'] { + height: ${({ theme }) => theme.sizing[SIZES.large]}; } ` type NumberInputProps = { - disabled?: boolean - maxValue?: number - minValue?: number - name?: string - onChange?: (input: number | undefined) => void - onMaxCrossed?: () => void - onMinCrossed?: () => void - size?: ContainerSizesType - /** - * Define how much will stepper increase / decrease each time you click on + / - button. - */ - step?: number + size?: Sizes /** * Text displayed into component at the right of number value. */ - text?: string - defaultValue?: number - value?: number | null - disabledTooltip?: string + unit?: string + tooltip?: string className?: string 'data-testid'?: string label?: string - 'aria-label'?: string - 'aria-describedby'?: string - id?: string - placeholder?: string - error?: string | boolean -} & Omit< + /** + * Label description displayed right next to the label. It allows you to customize the label content. + */ + labelDescription?: ReactNode + /** + * Whether to show controls + */ + controls?: boolean + error?: string + success?: string | boolean + helper?: ReactNode + value?: number | null + onChange?: (newValue: number | null) => void + min?: number + max?: number +} & Pick< InputHTMLAttributes, - 'size' | 'onChange' | 'value' | 'defaultValue' + | 'onFocus' + | 'onBlur' + | 'name' + | 'id' + | 'placeholder' + | 'aria-label' + | 'disabled' + | 'step' + | 'readOnly' + | 'required' + | 'autoFocus' > /** - * @deprecated This component is deprecated. Please use `NumberInputV2` instead. + * NumberInput component is used to increment / decrement a number value by clicking on + / - buttons or + * by typing into input. If the value is out of the min / max range, the input will automatically be the min / max value on blur. */ -export const NumberInput = ({ - disabled = false, - maxValue, - minValue = 0, - name = 'numberinput', - onChange, - onFocus, - onBlur, - onMaxCrossed, - onMinCrossed, - size = 'large', - step = 1, - text, - defaultValue, - value, - disabledTooltip, - className, - label, - id, - placeholder, - error, - 'aria-label': ariaLabel, - 'aria-describedby': ariaDescribedBy, - 'data-testid': dataTestId, -}: NumberInputProps) => { - const inputRef = useRef(null) - - const uniqueId = useId() - - // local state used if component is not controlled (no value prop provided) - const [inputValue, setInputValue] = useState(() => { - if (defaultValue && minValue && defaultValue < minValue) { - return minValue - } - if (defaultValue && maxValue && defaultValue > maxValue) { - return maxValue - } - - return defaultValue - }) - - const currentValue = - value !== undefined && value !== null ? value : inputValue - - const setValue = ( - newValue: number | undefined, - /** - * If true, will check if newValue is between minValue and maxValue and set it to minValue or maxValue if it's not. - */ - hasMinMaxVerification = true, +export const NumberInput = forwardRef( + ( + { + disabled = false, + max = Number.MAX_SAFE_INTEGER, + min = 0, + name, + onChange, + onFocus, + onBlur, + size = 'large', + step, + unit, + value, + tooltip, + className, + label, + labelDescription, + id, + controls = true, + placeholder = '', + error, + success, + helper, + 'aria-label': ariaLabel, + 'data-testid': dataTestId, + required, + autoFocus, + readOnly, + }: NumberInputProps, + ref: ForwardedRef, ) => { - let nextValue = newValue - if (value === undefined && hasMinMaxVerification) { - if (newValue !== undefined && newValue < minValue) { - nextValue = minValue - } - - if ( - newValue !== undefined && - maxValue !== undefined && - newValue > maxValue - ) { - nextValue = maxValue - } - } - setInputValue(nextValue) - onChange?.(nextValue) - } - - const offsetFn = (direction: number) => () => { - const localValue = currentValue ?? 0 - const newValue = - localValue % step === 0 ? localValue + step * direction : localValue - const roundedValue = roundStep(newValue, step, direction) - - setValue(roundedValue) - } - - const handleChange: ChangeEventHandler = event => { - setValue( - event.currentTarget.value ? Number(event.currentTarget.value) : undefined, - false, + const localRef = useRef(null) + useImperativeHandle(ref, () => localRef.current as HTMLInputElement) + + const uniqueId = useId() + const localId = id ?? uniqueId + + const onClickSideButton = useCallback( + (direction: 'up' | 'down') => () => { + if (direction === 'up') { + localRef.current?.stepUp() + } else if (direction === 'down') { + localRef.current?.stepDown() + } + onChange?.(Number.parseFloat(localRef.current?.value ?? '') ?? min) + }, + [localRef, min, onChange], ) - } - - const handleOnBlur: FocusEventHandler = event => { - if (currentValue) { - const boundedValue = bounded( - currentValue, - minValue ?? currentValue, - maxValue ?? currentValue, - ) - - if (maxValue && currentValue > maxValue) onMaxCrossed?.() - if (minValue && currentValue < minValue) onMinCrossed?.() - - setValue(boundedValue) - - onBlur?.(event) - } - } - const onKeyDown: KeyboardEventHandler = event => { - if (event.key === 'ArrowUp') { - event.stopPropagation() - event.preventDefault() - - const direction = 1 - const localValue = currentValue ?? 0 - - const newValue = - localValue % step === 0 ? localValue + step * direction : localValue - const roundedValue = roundStep(newValue, step, direction) - - if (maxValue === undefined) { - setValue(roundedValue) - - return + const isMinusDisabled = useMemo(() => { + if (!localRef?.current?.value || localRef?.current?.value === '') { + return false } - setValue(Math.min(roundedValue, maxValue)) - } + const numericValue = Number(localRef?.current?.value) + if (Number.isNaN(numericValue)) return false - if (event.key === 'ArrowDown') { - event.stopPropagation() - event.preventDefault() + const minValue = typeof min === 'number' ? min : Number(min) - const direction = -1 - const localValue = currentValue ?? 0 + return Number.isNaN(numericValue) || numericValue <= minValue + }, [localRef?.current?.value, min]) - const newValue = - localValue % step === 0 ? localValue + step * direction : localValue - const roundedValue = roundStep(newValue, step, direction) + const isPlusDisabled = useMemo(() => { + if (!localRef?.current?.value || localRef?.current?.value === '') { + return false + } - setValue(Math.max(roundedValue, minValue)) - } - } + const numericValue = Number(localRef?.current?.value) + if (Number.isNaN(numericValue)) return false - const isMinusDisabled = useMemo(() => { - if (disabled) return true - if (currentValue === undefined) return false - if (getMinusRoundedValue(currentValue, step) < minValue) { - return true - } + const maxValue = typeof max === 'number' ? max : Number(max) - return disabled - }, [currentValue, disabled, minValue, step]) + return numericValue >= maxValue + }, [localRef?.current?.value, max]) - const isPlusDisabled = useMemo(() => { - if (disabled) return true - if (currentValue === undefined) return false - if (maxValue && getPlusRoundedValue(currentValue, step) > maxValue) { - return true - } + const helperSentiment = useMemo(() => { + if (error) { + return 'danger' + } - return disabled - }, [currentValue, disabled, maxValue, step]) + if (success) { + return 'success' + } - const inputWidth = useMemo(() => { - if (placeholder && currentValue === undefined) { - return placeholder.length * 12 - } + return 'neutral' + }, [error, success]) - if (currentValue !== undefined) { - return currentValue.toString().length * 16 + let inputValue: string | undefined + if (value !== undefined) { + inputValue = + value !== null && typeof value === 'number' ? value.toString() : '' } - return BASE_INPUT_WIDTH - }, [currentValue, placeholder]) - - return ( - - {label ? ( - - {label} - - ) : null} - - - - - - - - - + {label || labelDescription ? ( + - - - + ) : null} +
+ + - - + {controls ? ( + + + + ) : null} + + { + const newNumber = Number.parseFloat( + event.target.value, + ) + onChange(Number.isNaN(newNumber) ? null : newNumber) + } + : undefined + } + value={inputValue} + onFocus={onFocus} + onBlur={event => { + if (value && value > max) { + onChange?.(max) + } else if (value && value < min) { + onChange?.(min) + } + onBlur?.(event) + }} + step={step} + disabled={disabled} + aria-label={ariaLabel} + data-testid={dataTestId} + min={min} + max={max} + required={required} + autoFocus={autoFocus} + readOnly={readOnly} + data-has-unit={!!unit} + data-controls={controls} + /> + {unit ? ( + + {unit} + + ) : null} + + {controls ? ( + + + + ) : null} + - - {typeof error === 'string' ? ( +
+ {error || typeof success === 'string' || typeof helper === 'string' ? ( - {error} + {error || success || helper} ) : null} + {!error && !success && typeof helper !== 'string' && helper + ? helper + : null}
-
- ) -} + ) + }, +) diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Disabled.stories.tsx b/packages/ui/src/components/NumberInputV2/__stories__/Disabled.stories.tsx deleted file mode 100644 index 9a363f3e8a..0000000000 --- a/packages/ui/src/components/NumberInputV2/__stories__/Disabled.stories.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { Template } from './Template.stories' - -export const Disabled = Template.bind({}) - -Disabled.args = { - disabled: true, - id: 'number-input', - label: 'Number Input', - name: 'number-input', - onChange: () => {}, -} - -Disabled.parameters = { - docs: { - description: { - story: `The \`disabled\` prop can be used to disable the input. Disabled inputs cannot be focused.`, - }, - }, -} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Error.stories.tsx b/packages/ui/src/components/NumberInputV2/__stories__/Error.stories.tsx deleted file mode 100644 index a3536610fd..0000000000 --- a/packages/ui/src/components/NumberInputV2/__stories__/Error.stories.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { Template } from './Template.stories' - -export const Error = Template.bind({}) - -Error.args = { - id: 'number-input', - label: 'Number Input', - name: 'number-input', - onChange: () => {}, - error: 'Your input is invalid', -} - -Error.parameters = { - docs: { - description: { - story: `The \`error\` prop can be used to display an error message below the input. It can be used to provide additional information about the expected input.`, - }, - }, -} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Placeholder.stories.tsx b/packages/ui/src/components/NumberInputV2/__stories__/Placeholder.stories.tsx deleted file mode 100644 index 7cda8dd82b..0000000000 --- a/packages/ui/src/components/NumberInputV2/__stories__/Placeholder.stories.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { Template } from './Template.stories' - -export const Placeholder = Template.bind({}) - -Placeholder.args = { - id: 'number-input', - label: 'Number Input', - name: 'number-input', - onChange: () => {}, - placeholder: '50', -} - -Placeholder.parameters = { - docs: { - description: { - story: `The \`placeholder\` prop can be used to display a placeholder text when the input is empty. It can be used to provide additional information about the expected input.`, - }, - }, -} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Playground.stories.tsx b/packages/ui/src/components/NumberInputV2/__stories__/Playground.stories.tsx deleted file mode 100644 index ac22ec3e7d..0000000000 --- a/packages/ui/src/components/NumberInputV2/__stories__/Playground.stories.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import { Template } from './Template.stories' - -export const Playground = Template.bind({}) - -Playground.args = { - readOnly: false, - disabled: false, - id: 'number-input', - label: 'Number Input', - name: 'number-input', - onChange: () => {}, -} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Sizes.stories.tsx b/packages/ui/src/components/NumberInputV2/__stories__/Sizes.stories.tsx deleted file mode 100644 index af549e33d3..0000000000 --- a/packages/ui/src/components/NumberInputV2/__stories__/Sizes.stories.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import type { ComponentProps } from 'react' -import { Stack } from '../../Stack' -import { NumberInputV2 } from '../index' - -export const Sizes: StoryFn = (args: ComponentProps) => ( - - {(['small', 'medium', 'large'] as const).map(size => ( - - ))} - -) - -Sizes.args = { - id: 'number-input', - label: 'Number Input', - name: 'number-input', - onChange: () => {}, -} diff --git a/packages/ui/src/components/NumberInputV2/__stories__/Template.stories.tsx b/packages/ui/src/components/NumberInputV2/__stories__/Template.stories.tsx deleted file mode 100644 index 9489d1989b..0000000000 --- a/packages/ui/src/components/NumberInputV2/__stories__/Template.stories.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { NumberInputV2 } from '..' - -export const Template: StoryFn = props => ( - -) diff --git a/packages/ui/src/components/NumberInputV2/__stories__/index.stories.tsx b/packages/ui/src/components/NumberInputV2/__stories__/index.stories.tsx deleted file mode 100644 index 82886d3dea..0000000000 --- a/packages/ui/src/components/NumberInputV2/__stories__/index.stories.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import type { Meta } from '@storybook/react' -import { NumberInputV2 } from '..' - -export default { - component: NumberInputV2, - decorators: [ - StoryComponent => ( -
- -
- ), - ], - parameters: { - experimental: true, - }, - tags: ['experimental'], - title: 'Components/Data Entry/NumberInputV2', -} as Meta - -export { Playground } from './Playground.stories' -export { Sizes } from './Sizes.stories' -export { Placeholder } from './Placeholder.stories' -export { Helper } from './Helper.stories' -export { MinMax } from './MinMax.stories' -export { Step } from './Step.stories' -export { Unit } from './Unit.stories' -export { Disabled } from './Disabled.stories' -export { ReadOnly } from './ReadOnly.stories' -export { Error } from './Error.stories' -export { Success } from './Success.stories' -export { LabelDescription } from './LabelDescription.stories' -export { Controls } from './Controls.stories' diff --git a/packages/ui/src/components/NumberInputV2/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/NumberInputV2/__tests__/__snapshots__/index.test.tsx.snap deleted file mode 100644 index 2f1d7d105f..0000000000 --- a/packages/ui/src/components/NumberInputV2/__tests__/__snapshots__/index.test.tsx.snap +++ /dev/null @@ -1,9751 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`NumberInputV2 > should click on min button 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should click on plus button with a step value 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should click on plus button with a step value and an in-between value set 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should focus input and modify value 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should focus input and modify value when value > max 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly all sizes > with size large 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly all sizes > with size large and unit 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.emotion-15 { - background: #f9f9fa; -} - -.emotion-13:read-only~.emotion-15 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.emotion-15 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.emotion-15 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-16 { - color: #3f4250; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - 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; - padding: 0.5rem; - height: 3rem; - font-size: 1rem; -} - -
-
-
-
-
- -
-
- - - GB - -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly all sizes > with size medium 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly all sizes > with size medium and unit 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.emotion-15 { - background: #f9f9fa; -} - -.emotion-13:read-only~.emotion-15 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.emotion-15 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.emotion-15 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-16 { - color: #3f4250; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - 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; - padding: 0.5rem; - height: 2.5rem; - font-size: 0.875rem; -} - -
-
-
-
-
- -
-
- - - GB - -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly all sizes > with size small 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 1.5rem; - padding: 0 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.25rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 1.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly all sizes > with size small and unit 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 1.5rem; - padding: 0 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.25rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 1.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.emotion-15 { - background: #f9f9fa; -} - -.emotion-13:read-only~.emotion-15 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.emotion-15 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.emotion-15 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-16 { - color: #3f4250; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - 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; - padding: 0.5rem; - height: 2rem; - font-size: 0.875rem; -} - -
-
-
-
-
- -
-
- - - GB - -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly disabled 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; - color: #b5b7bd; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly max value 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly min value 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly with error 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-21 { - color: #b3144d; - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
- - This is an error - -
-
-
-`; - -exports[`NumberInputV2 > should renders correctly with label 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-3 { - color: #3f4250; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; -} - -.emotion-5 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-5:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-5[data-success='true'] { - border-color: #22674e; -} - -.emotion-5[data-error='true'] { - border-color: #b3144d; -} - -.emotion-5:hover { - border-color: #792dd4; -} - -.emotion-5[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-5[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-5[data-controls='false']>.emotion-13 { - border-width: 0; -} - -.emotion-5[data-size='small'] { - height: 2rem; -} - -.emotion-5[data-size='medium'] { - height: 2.5rem; -} - -.emotion-5[data-size='large'] { - height: 3rem; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-7[data-size='small'] { - height: 2rem; -} - -.emotion-7[data-size='medium'] { - height: 2.5rem; -} - -.emotion-7[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-9 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-9:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-9:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-9:hover, -.emotion-9:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-11 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-11 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-11 path { - fill: currentColor; -} - -.emotion-14 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-16 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-16[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-16::-webkit-outer-spin-button, -.emotion-16::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-16 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-16[data-size='small'] { - height: 2rem; -} - -.emotion-16[data-size='medium'] { - height: 2.5rem; -} - -.emotion-16[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-16:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-16:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-16:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-16:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-16:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-16:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-16:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-16[data-controls='false'] { - text-align: left; -} - -
-
- -
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly with label description 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-5 { - color: #3f4250; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.5rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; -} - -.emotion-7 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-7:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-7[data-success='true'] { - border-color: #22674e; -} - -.emotion-7[data-error='true'] { - border-color: #b3144d; -} - -.emotion-7:hover { - border-color: #792dd4; -} - -.emotion-7[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-7[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-7[data-controls='false']>.emotion-15 { - border-width: 0; -} - -.emotion-7[data-size='small'] { - height: 2rem; -} - -.emotion-7[data-size='medium'] { - height: 2.5rem; -} - -.emotion-7[data-size='large'] { - height: 3rem; -} - -.emotion-9 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-9[data-size='small'] { - height: 2rem; -} - -.emotion-9[data-size='medium'] { - height: 2.5rem; -} - -.emotion-9[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-11 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-11:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-11:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-11:hover, -.emotion-11:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-13 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-13 path { - fill: currentColor; -} - -.emotion-16 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-18 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-18[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-18::-webkit-outer-spin-button, -.emotion-18::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-18 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-18[data-size='small'] { - height: 2rem; -} - -.emotion-18[data-size='medium'] { - height: 2.5rem; -} - -.emotion-18[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-18:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-18:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-18:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-18:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-18:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-18:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-18:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-18[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly with placeholder 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
-
-
-
-`; - -exports[`NumberInputV2 > should renders correctly with success 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-10 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 0.125rem 0.5rem; -} - -.emotion-4[data-size='small'] { - height: 2rem; -} - -.emotion-4[data-size='medium'] { - height: 2.5rem; -} - -.emotion-4[data-size='large'] { - height: 3rem; - padding: 0.25rem 0.5rem; -} - -.emotion-6 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-6:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-6:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-6:hover, -.emotion-6:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-8 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-8 path { - fill: currentColor; -} - -.emotion-11 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-13 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-13[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-13::-webkit-outer-spin-button, -.emotion-13::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-13 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-13[data-size='small'] { - height: 2rem; -} - -.emotion-13[data-size='medium'] { - height: 2.5rem; -} - -.emotion-13[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-13:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-13:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-13:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-13:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-13:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-13[data-controls='false'] { - text-align: left; -} - -.emotion-21 { - color: #22674e; - font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 1rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -
-
-
-
-
- -
-
- -
-
- -
-
-
- - This is a success - -
-
-
-`; - -exports[`NumberInputV2 > should renders correctly without controls 1`] = ` - - .emotion-0 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-2 { - 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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - border: 1px solid #d9dadd; - border-radius: 0.25rem; -} - -.emotion-2:focus-within { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-2[data-success='true'] { - border-color: #22674e; -} - -.emotion-2[data-error='true'] { - border-color: #b3144d; -} - -.emotion-2:hover { - border-color: #792dd4; -} - -.emotion-2[data-readonly='true'] { - border-color: #d9dadd; - background: #f9f9fa; - cursor: not-allowed; -} - -.emotion-2[data-disabled='true'] { - border-color: #e9eaeb; - background: #f3f3f4; - cursor: not-allowed; -} - -.emotion-2[data-controls='false']>.emotion-4 { - border-width: 0; -} - -.emotion-2[data-size='small'] { - height: 2rem; -} - -.emotion-2[data-size='medium'] { - height: 2.5rem; -} - -.emotion-2[data-size='large'] { - height: 3rem; -} - -.emotion-5 { - display: grid; - grid-template-columns: 1fr auto; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -} - -.emotion-7 { - outline: none; - border: none; - padding: 0; - width: 100%; - color: #3f4250; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.25rem; - text-align: center; - padding: 0.5rem; - background: none; -} - -.emotion-7[data-has-unit='true'] { - text-align: left; - padding: 0.5rem 0 0.5rem 0.5rem; -} - -.emotion-7::-webkit-outer-spin-button, -.emotion-7::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} - -.emotion-7 { - -moz-appearance: textfield; - -webkit-appearance: textfield; - -moz-appearance: textfield; - -ms-appearance: textfield; - appearance: textfield; -} - -.emotion-7[data-size='small'] { - height: 2rem; -} - -.emotion-7[data-size='medium'] { - height: 2.5rem; -} - -.emotion-7[data-size='large'] { - height: 3rem; - font-size: 1rem; - font-family: Inter,Asap,sans-serif; - font-weight: Regular; - line-height: 1.5rem; -} - -.emotion-7:-moz-read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-7:read-only { - color: #3f4250; - background: #f9f9fa; - border-block: 1px solid #d9dadd; -} - -.emotion-7:-moz-read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-7:read-only~.e1b9qdjy2 { - background: #f9f9fa; -} - -.emotion-7:disabled { - color: #b5b7bd; - background: #f3f3f4; - cursor: not-allowed; - border-block: 1px solid #e9eaeb; -} - -.emotion-7:disabled~.e1b9qdjy2 { - background: #f3f3f4; - cursor: not-allowed; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-7:placeholder-shown~.e1b9qdjy2 { - color: #727683; - font-size: 1rem; -} - -.emotion-7[data-controls='false'] { - text-align: left; -} - -
-
-
-
-
- -
-
-
-
-
-
-`; diff --git a/packages/ui/src/components/NumberInputV2/__tests__/index.test.tsx b/packages/ui/src/components/NumberInputV2/__tests__/index.test.tsx deleted file mode 100644 index 0105d613a0..0000000000 --- a/packages/ui/src/components/NumberInputV2/__tests__/index.test.tsx +++ /dev/null @@ -1,163 +0,0 @@ -import { screen, waitFor } from '@testing-library/react' -import { userEvent } from '@testing-library/user-event' -import { renderWithTheme, shouldMatchEmotionSnapshot } from '@utils/test' -import { describe, expect, it, vi } from 'vitest' -import { NumberInputV2 } from '..' - -describe('NumberInputV2', () => { - it('should renders correctly', () => - shouldMatchEmotionSnapshot( - {}} />, - )) - - it('should renders correctly disabled', () => - shouldMatchEmotionSnapshot()) - - it('should renders correctly without controls', () => - shouldMatchEmotionSnapshot()) - - it('should renders correctly with label', () => - shouldMatchEmotionSnapshot()) - - it('should renders correctly with label description', () => - shouldMatchEmotionSnapshot( - label description
} />, - )) - - it('should renders correctly with error', () => - shouldMatchEmotionSnapshot()) - - it('should renders correctly with success', () => - shouldMatchEmotionSnapshot()) - - it('should renders correctly with placeholder', () => - shouldMatchEmotionSnapshot( - , - )) - - it('should renders correctly min value', () => - shouldMatchEmotionSnapshot()) - - it('should renders correctly max value', () => - shouldMatchEmotionSnapshot()) - - describe('should renders correctly all sizes', () => { - ;(['large', 'medium', 'small'] as const).forEach(size => { - it(`with size ${size}`, () => - shouldMatchEmotionSnapshot( - , - )) - it(`with size ${size} and unit`, () => - shouldMatchEmotionSnapshot( - , - )) - }) - }) - - it('should click on min button', async () => { - const { asFragment } = renderWithTheme( - , - ) - - const minus = screen.getByLabelText('minus') - const input = screen.getByRole('spinbutton') - - await userEvent.click(minus) - await waitFor(() => expect(input.value).toBe('9')) - - await userEvent.click(minus) - await waitFor(() => expect(input.value).toBe('8')) - expect(asFragment()).toMatchSnapshot() - }) - - it('should click on plus button with a step value', async () => { - const { asFragment } = renderWithTheme( - {}} />, - ) - const plus = screen.getByLabelText('plus') - const input = screen.getByRole('spinbutton') - - await userEvent.click(plus) - await waitFor(() => expect(input.value).toBe('10')) - - await userEvent.click(plus) - await waitFor(() => expect(input.value).toBe('20')) - expect(asFragment()).toMatchSnapshot() - }) - - it('should focus input and modify value', async () => { - const onChange = vi.fn() - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByRole('spinbutton') - - await userEvent.click(input) - await waitFor(() => expect(input).toHaveFocus()) - input.blur() - - await userEvent.clear(input) - expect(onChange).toHaveBeenCalledTimes(2) - expect(asFragment()).toMatchSnapshot() - }) - it('should focus input and modify value when value > max', async () => { - const onChange = vi.fn() - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByRole('spinbutton') - - await userEvent.click(input) - await waitFor(() => expect(input).toHaveFocus()) - input.blur() - - await userEvent.clear(input) - expect(onChange).toHaveBeenCalledTimes(2) - expect(asFragment()).toMatchSnapshot() - }) - - it('should click on plus button with a step value and an in-between value set', async () => { - const { asFragment } = renderWithTheme( - {}} />, - ) - const plus = screen.getByLabelText('plus') - const input = screen.getByRole('spinbutton') - - await userEvent.click(plus) - await waitFor(() => expect(input.value).toBe('10')) - - await userEvent.click(plus) - await waitFor(() => expect(input.value).toBe('20')) - expect(asFragment()).toMatchSnapshot() - }) - - it('should set value at min when value is lesser than min', async () => { - renderWithTheme() - const input = screen.getByRole('spinbutton') - const plusButton = screen.getByLabelText('plus') - - await userEvent.clear(input) - await userEvent.type(input, '5') - - await userEvent.click(plusButton) - await waitFor(() => expect(input.value).toBe('10')) - }) - - it('should set value at max when value is greater than max', async () => { - renderWithTheme() - const input = screen.getByRole('spinbutton') - const minusButton = screen.getByLabelText('minus') - - await userEvent.clear(input) - await userEvent.type(input, '15') - - await userEvent.click(minusButton) - await waitFor(() => expect(input.value).toBe('10')) - }) -}) diff --git a/packages/ui/src/components/NumberInputV2/index.tsx b/packages/ui/src/components/NumberInputV2/index.tsx deleted file mode 100644 index fcc413300c..0000000000 --- a/packages/ui/src/components/NumberInputV2/index.tsx +++ /dev/null @@ -1,477 +0,0 @@ -'use client' - -import styled from '@emotion/styled' -import type { ForwardedRef, InputHTMLAttributes, ReactNode } from 'react' -import { - forwardRef, - useCallback, - useId, - useImperativeHandle, - useMemo, - useRef, -} from 'react' -import { Button } from '../Button' -import { Label } from '../Label' -import { Row } from '../Row' -import { Stack } from '../Stack' -import { Text } from '../Text' -import { Tooltip } from '../Tooltip' - -const SIZES = { - small: '400', // sizing theme tokens key - medium: '500', - large: '600', -} as const - -type Sizes = keyof typeof SIZES - -const SideContainer = styled(Stack)` - padding: ${({ theme }) => `${theme.space['0.25']} ${theme.space['1']}`}; - - &[data-size='small'] { - height: ${({ theme }) => theme.sizing[SIZES.small]}; - } - - &[data-size='medium'] { - height: ${({ theme }) => theme.sizing[SIZES.medium]}; - } - - &[data-size='large'] { - height: ${({ theme }) => theme.sizing[SIZES.large]}; - padding: ${({ theme }) => `${theme.space['0.5']} ${theme.space['1']}`}; - } -` - -const InputContainer = styled(Row)` - border-width: 0 1px 0 1px; - border-style: solid; - border-color: inherit; - background: inherit; - width: 100%; -` - -const Unit = styled(Text, { - shouldForwardProp: prop => !['size'].includes(prop), -})<{ size: Sizes }>` - display: flex; - align-items: center; - padding: ${({ theme }) => theme.space['1']}; - height: ${({ size }) => - ({ theme }) => - theme.sizing[SIZES[size]]}; - font-size: ${({ theme, size }) => - size === 'large' - ? theme.typography.body.fontSize - : theme.typography.bodySmall.fontSize}; -` - -const Input = styled.input` - outline: none; - border: none; - padding: 0; - width: 100%; - color: ${({ theme }) => theme.colors.neutral.text}; - font-size: ${({ theme }) => theme.typography.bodySmall.fontSize}; - font-family: ${({ theme }) => theme.typography.bodySmall.fontFamily}; - font-weight: ${({ theme }) => theme.typography.bodySmall.fontWeight}; - line-height: ${({ theme }) => theme.typography.bodySmall.lineHeight}; - text-align: center; - padding: ${({ theme }) => theme.space['1']}; - background: none; - - &[data-has-unit='true'] { - text-align: left; - padding: ${({ theme }) => - `${theme.space['1']} 0 ${theme.space['1']} ${theme.space['1']}`}; - } - - // Remove native arrows from input[type=number] - &::-webkit-outer-spin-button, - &::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; - } - - & { - -moz-appearance: textfield; - appearance: textfield; - } - - &[data-size='small'] { - height: ${({ theme }) => theme.sizing[SIZES.small]}; - } - - &[data-size='medium'] { - height: ${({ theme }) => theme.sizing[SIZES.medium]}; - } - - &[data-size='large'] { - height: ${({ theme }) => theme.sizing[SIZES.large]}; - font-size: ${({ theme }) => theme.typography.body.fontSize}; - font-family: ${({ theme }) => theme.typography.body.fontFamily}; - font-weight: ${({ theme }) => theme.typography.body.fontWeight}; - line-height: ${({ theme }) => theme.typography.body.lineHeight}; - - } - - &:read-only { - color: ${({ theme }) => theme.colors.neutral.text}; - background: ${({ theme }) => theme.colors.neutral.backgroundWeak}; - border-block: 1px solid ${({ theme }) => theme.colors.neutral.border}; - - & ~ ${Unit} { - background: ${({ theme }) => theme.colors.neutral.backgroundWeak}; - } - } - - &:disabled { - color: ${({ theme }) => theme.colors.neutral.textDisabled}; - background: ${({ theme }) => theme.colors.neutral.backgroundDisabled}; - cursor: not-allowed; - border-block: 1px solid ${({ theme }) => theme.colors.neutral.borderDisabled}; - - & ~ ${Unit} { - background: ${({ theme }) => theme.colors.neutral.backgroundDisabled}; - cursor: not-allowed; - user-select: none; - } - } - - &:placeholder-shown ~ ${Unit} { - color: ${({ theme }) => theme.colors.neutral.textWeak}; - font-size: ${({ theme }) => theme.typography.body.fontSize} - } - - &[data-controls='false'] { - text-align: left; -} -` - -const Container = styled.div` - display: flex; - align-items: center; - justify-content: space-between; - flex-direction: row; - border: 1px solid ${({ theme }) => theme.colors.neutral.border}; - border-radius: ${({ theme }) => theme.radii.default}; - - &:focus-within { - border-color: ${({ theme }) => theme.colors.primary.borderHover}; - box-shadow: ${({ theme }) => theme.shadows.focusPrimary}; - } - - &[data-success='true'] { - border-color: ${({ theme }) => theme.colors.success.border}; - } - - &[data-error='true'] { - border-color: ${({ theme }) => theme.colors.danger.border}; - } - - &:hover { - border-color: ${({ theme }) => theme.colors.primary.borderHover}; - } - - &[data-readonly='true'] { - border-color: ${({ theme }) => theme.colors.neutral.border}; - background: ${({ theme }) => theme.colors.neutral.backgroundWeak}; - cursor: not-allowed; - } - - &[data-disabled='true'] { - border-color: ${({ theme }) => theme.colors.neutral.borderDisabled}; - background: ${({ theme }) => theme.colors.neutral.backgroundDisabled}; - cursor: not-allowed; - } - - &[data-controls='false'] { - & > ${InputContainer} { - border-width: 0; - }; - } - - &[data-size='small'] { - height: ${({ theme }) => theme.sizing[SIZES.small]}; - } - - &[data-size='medium'] { - height: ${({ theme }) => theme.sizing[SIZES.medium]}; - } - - &[data-size='large'] { - height: ${({ theme }) => theme.sizing[SIZES.large]}; - } -` - -type NumberInputProps = { - size?: Sizes - /** - * Text displayed into component at the right of number value. - */ - unit?: string - tooltip?: string - className?: string - 'data-testid'?: string - label?: string - /** - * Label description displayed right next to the label. It allows you to customize the label content. - */ - labelDescription?: ReactNode - /** - * Whether to show controls - */ - controls?: boolean - error?: string - success?: string | boolean - helper?: ReactNode - value?: number | null - onChange?: (newValue: number | null) => void - min?: number - max?: number -} & Pick< - InputHTMLAttributes, - | 'onFocus' - | 'onBlur' - | 'name' - | 'id' - | 'placeholder' - | 'aria-label' - | 'disabled' - | 'step' - | 'readOnly' - | 'required' - | 'autoFocus' -> - -/** - * NumberInputV2 component is used to increment / decrement a number value by clicking on + / - buttons or - * by typing into input. If the value is out of the min / max range, the input will automatically be the min / max value on blur. - */ -export const NumberInputV2 = forwardRef( - ( - { - disabled = false, - max = Number.MAX_SAFE_INTEGER, - min = 0, - name, - onChange, - onFocus, - onBlur, - size = 'large', - step, - unit, - value, - tooltip, - className, - label, - labelDescription, - id, - controls = true, - placeholder = '', - error, - success, - helper, - 'aria-label': ariaLabel, - 'data-testid': dataTestId, - required, - autoFocus, - readOnly, - }: NumberInputProps, - ref: ForwardedRef, - ) => { - const localRef = useRef(null) - useImperativeHandle(ref, () => localRef.current as HTMLInputElement) - - const uniqueId = useId() - const localId = id ?? uniqueId - - const onClickSideButton = useCallback( - (direction: 'up' | 'down') => () => { - if (direction === 'up') { - localRef.current?.stepUp() - } else if (direction === 'down') { - localRef.current?.stepDown() - } - onChange?.(Number.parseFloat(localRef.current?.value ?? '') ?? min) - }, - [localRef, min, onChange], - ) - - const isMinusDisabled = useMemo(() => { - if (!localRef?.current?.value || localRef?.current?.value === '') { - return false - } - - const numericValue = Number(localRef?.current?.value) - if (Number.isNaN(numericValue)) return false - - const minValue = typeof min === 'number' ? min : Number(min) - - return Number.isNaN(numericValue) || numericValue <= minValue - }, [localRef?.current?.value, min]) - - const isPlusDisabled = useMemo(() => { - if (!localRef?.current?.value || localRef?.current?.value === '') { - return false - } - - const numericValue = Number(localRef?.current?.value) - if (Number.isNaN(numericValue)) return false - - const maxValue = typeof max === 'number' ? max : Number(max) - - return numericValue >= maxValue - }, [localRef?.current?.value, max]) - - const helperSentiment = useMemo(() => { - if (error) { - return 'danger' - } - - if (success) { - return 'success' - } - - return 'neutral' - }, [error, success]) - - let inputValue: string | undefined - if (value !== undefined) { - inputValue = - value !== null && typeof value === 'number' ? value.toString() : '' - } - - return ( - - {label || labelDescription ? ( - - ) : null} -
- - - {controls ? ( - -
- {error || typeof success === 'string' || typeof helper === 'string' ? ( - - {error || success || helper} - - ) : null} - {!error && !success && typeof helper !== 'string' && helper - ? helper - : null} -
- ) - }, -) diff --git a/packages/ui/src/components/Pagination/PaginationButtons.tsx b/packages/ui/src/components/Pagination/PaginationButtons.tsx index e61f6119a9..fb2a557a49 100644 --- a/packages/ui/src/components/Pagination/PaginationButtons.tsx +++ b/packages/ui/src/components/Pagination/PaginationButtons.tsx @@ -1,6 +1,7 @@ 'use client' import styled from '@emotion/styled' +import { ArrowLeftIcon, ArrowRightIcon } from '@ultraviolet/icons' import { useCallback, useMemo } from 'react' import { Button } from '../Button' import { Stack } from '../Stack' @@ -122,9 +123,10 @@ export const PaginationButtons = ({ variant="outlined" sentiment="primary" onClick={goToPreviousPage} - icon="arrow-left" size={perPage ? 'small' : 'medium'} - /> + > + + {pageNumbersToDisplay.map((pageNumber, index) => ( @@ -151,9 +153,10 @@ export const PaginationButtons = ({ variant="outlined" sentiment="primary" onClick={goToNextPage} - icon="arrow-right" size={perPage ? 'small' : 'medium'} - /> + > + + ) diff --git a/packages/ui/src/components/Pagination/PerPage.tsx b/packages/ui/src/components/Pagination/PerPage.tsx index 1c3664eae9..abd9bd3c30 100644 --- a/packages/ui/src/components/Pagination/PerPage.tsx +++ b/packages/ui/src/components/Pagination/PerPage.tsx @@ -2,7 +2,7 @@ import styled from '@emotion/styled' import type { Dispatch, SetStateAction } from 'react' -import { SelectInputV2 } from '../SelectInputV2' +import { SelectInput } from '../SelectInput' import { Stack } from '../Stack' import { Text } from '../Text' @@ -25,7 +25,7 @@ const optionsItemsPerPage = [ }, ] -const StyledSelectInput = styled(SelectInputV2)` +const StyledSelectInput = styled(SelectInput)` width: fit-content; min-width: none; ` diff --git a/packages/ui/src/components/Pagination/__stories__/Controlled.stories.tsx b/packages/ui/src/components/Pagination/__stories__/Controlled.stories.tsx index 1640dd48a4..5b15afc45a 100644 --- a/packages/ui/src/components/Pagination/__stories__/Controlled.stories.tsx +++ b/packages/ui/src/components/Pagination/__stories__/Controlled.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { Pagination } from '..' import { Badge } from '../../Badge' diff --git a/packages/ui/src/components/Pagination/__stories__/PerPage.stories.tsx b/packages/ui/src/components/Pagination/__stories__/PerPage.stories.tsx index 770a60d50e..61b61ab157 100644 --- a/packages/ui/src/components/Pagination/__stories__/PerPage.stories.tsx +++ b/packages/ui/src/components/Pagination/__stories__/PerPage.stories.tsx @@ -1,5 +1,5 @@ import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { Pagination } from '..' import { Badge } from '../../Badge' diff --git a/packages/ui/src/components/Pagination/__stories__/Template.stories.tsx b/packages/ui/src/components/Pagination/__stories__/Template.stories.tsx index b721031b5d..2bc9c51e88 100644 --- a/packages/ui/src/components/Pagination/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Pagination/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Pagination } from '..' export const Template: StoryFn = args => ( diff --git a/packages/ui/src/components/Pagination/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Pagination/__tests__/__snapshots__/index.test.tsx.snap index ec3bb33fea..87ee3dc7b7 100644 --- a/packages/ui/src/components/Pagination/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Pagination/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`Pagination > should render correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -18,10 +18,9 @@ exports[`Pagination > should render correctly 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-2 { @@ -29,10 +28,10 @@ exports[`Pagination > should render correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -41,10 +40,9 @@ exports[`Pagination > should render correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -52,10 +50,10 @@ exports[`Pagination > should render correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -64,10 +62,10 @@ exports[`Pagination > should render correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-6 { @@ -84,7 +82,7 @@ exports[`Pagination > should render correctly 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -99,7 +97,7 @@ exports[`Pagination > should render correctly 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -117,13 +115,17 @@ exports[`Pagination > should render correctly 1`] = ` text-decoration: none; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-8 .fillStroke { @@ -131,19 +133,15 @@ exports[`Pagination > should render correctly 1`] = ` fill: none; } -.emotion-8 path { - fill: currentColor; -} - .emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -152,10 +150,10 @@ exports[`Pagination > should render correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; margin: 0 0.5rem; } @@ -188,7 +186,7 @@ exports[`Pagination > should render correctly 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -209,6 +207,10 @@ exports[`Pagination > should render correctly 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-13:hover, .emotion-13:active { background: #792dd4; @@ -244,7 +246,7 @@ exports[`Pagination > should render correctly 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -265,6 +267,10 @@ exports[`Pagination > should render correctly 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-16 .e1y1n78x0 { + stroke: transparent; +} + .emotion-16:hover, .emotion-16:active { background: #e9eaeb; @@ -286,7 +292,7 @@ exports[`Pagination > should render correctly 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -301,7 +307,7 @@ exports[`Pagination > should render correctly 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -321,6 +327,10 @@ exports[`Pagination > should render correctly 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-29 .e1y1n78x0 { + stroke: transparent; +} + .emotion-29:hover, .emotion-29:active { background: #e5dbfd; @@ -349,7 +359,6 @@ exports[`Pagination > should render correctly 1`] = ` should render correctly 1`] = ` should render correctly component with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -443,10 +451,9 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-2 { @@ -454,10 +461,10 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -466,10 +473,9 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -477,10 +483,10 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -489,10 +495,10 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-6 { @@ -509,7 +515,7 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -524,7 +530,7 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -542,13 +548,17 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` text-decoration: none; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-8 .fillStroke { @@ -556,19 +566,15 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` fill: none; } -.emotion-8 path { - fill: currentColor; -} - .emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -577,10 +583,10 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; margin: 0 0.5rem; } @@ -613,7 +619,7 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -632,10 +638,14 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` text-decoration: none; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-16 { color: #b5b7bd; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -680,7 +690,7 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -699,6 +709,10 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` text-decoration: none; } +.emotion-22 .e1y1n78x0 { + stroke: transparent; +} +
@@ -720,7 +734,6 @@ exports[`Pagination > should render correctly component with disabled 1`] = ` should render correctly component with disabled 1`] = ` should render correctly component with pageTabCount 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -830,10 +842,9 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-2 { @@ -841,10 +852,10 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -853,10 +864,9 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -864,10 +874,10 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -876,10 +886,10 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-6 { @@ -896,7 +906,7 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -911,7 +921,7 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -931,6 +941,10 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-6:hover, .emotion-6:active { background: #e5dbfd; @@ -941,10 +955,10 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-8 .fillStroke { @@ -952,19 +966,15 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = fill: none; } -.emotion-8 path { - fill: currentColor; -} - .emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -973,10 +983,10 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; margin: 0 0.5rem; } @@ -1009,7 +1019,7 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1030,6 +1040,10 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-13:hover, .emotion-13:active { background: #e9eaeb; @@ -1040,7 +1054,7 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = .emotion-16 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1085,7 +1099,7 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1106,6 +1120,10 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-22 .e1y1n78x0 { + stroke: transparent; +} + .emotion-22:hover, .emotion-22:active { background: #792dd4; @@ -1132,7 +1150,6 @@ exports[`Pagination > should render correctly component with pageTabCount 1`] = should render correctly component with pageTabCount 1`] = should render correctly with page < 1 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1236,10 +1252,9 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-2 { @@ -1247,10 +1262,10 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1259,21 +1274,20 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + .emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1282,10 +1296,10 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-6 { @@ -1302,7 +1316,7 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1317,7 +1331,7 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1335,13 +1349,17 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` text-decoration: none; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-8 .fillStroke { @@ -1349,19 +1367,15 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` fill: none; } -.emotion-8 path { - fill: currentColor; -} - .emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1370,10 +1384,10 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; margin: 0 0.5rem; } @@ -1406,7 +1420,7 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1427,6 +1441,10 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-13:hover, .emotion-13:active { background: #e9eaeb; @@ -1448,7 +1466,7 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1463,7 +1481,7 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1483,6 +1501,10 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-20 .e1y1n78x0 { + stroke: transparent; +} + .emotion-20:hover, .emotion-20:active { background: #e5dbfd; @@ -1511,7 +1533,6 @@ exports[`Pagination > should render correctly with page < 1 1`] = ` should render correctly with page < 1 1`] = ` should render correctly with page > pageCount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1584,10 +1604,9 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-2 { @@ -1595,10 +1614,10 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1607,10 +1626,9 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -1618,10 +1636,10 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1630,10 +1648,10 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-6 { @@ -1650,7 +1668,7 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1665,7 +1683,7 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1685,6 +1703,10 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-6:hover, .emotion-6:active { background: #e5dbfd; @@ -1695,10 +1717,10 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-8 .fillStroke { @@ -1706,19 +1728,15 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` fill: none; } -.emotion-8 path { - fill: currentColor; -} - .emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1727,10 +1745,10 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; margin: 0 0.5rem; } @@ -1763,7 +1781,7 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1784,6 +1802,10 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-13:hover, .emotion-13:active { background: #e9eaeb; @@ -1805,7 +1827,7 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1820,7 +1842,7 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1838,6 +1860,10 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` text-decoration: none; } +.emotion-20 .e1y1n78x0 { + stroke: transparent; +} +
@@ -1858,7 +1884,6 @@ exports[`Pagination > should render correctly with page > pageCount 1`] = ` should render correctly with page > pageCount 1`] = ` should render correctly with pageClick 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1932,10 +1956,9 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-2 { @@ -1943,10 +1966,10 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1955,10 +1978,9 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -1966,10 +1988,10 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1978,10 +2000,10 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-6 { @@ -1998,7 +2020,7 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2013,7 +2035,7 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2033,6 +2055,10 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-6:hover, .emotion-6:active { background: #e5dbfd; @@ -2043,10 +2069,10 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-8 .fillStroke { @@ -2054,19 +2080,15 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` fill: none; } -.emotion-8 path { - fill: currentColor; -} - .emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2075,10 +2097,10 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; margin: 0 0.5rem; } @@ -2111,7 +2133,7 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2132,6 +2154,10 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-13:hover, .emotion-13:active { background: #e9eaeb; @@ -2168,7 +2194,7 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2189,6 +2215,10 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-16 .e1y1n78x0 { + stroke: transparent; +} + .emotion-16:hover, .emotion-16:active { background: #792dd4; @@ -2198,7 +2228,7 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` .emotion-28 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2234,7 +2264,6 @@ exports[`Pagination > should render correctly with pageClick 1`] = ` should render correctly with pageClick 1`] = ` should render correctly with pageCount is 1 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2340,10 +2368,9 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-2 { @@ -2351,10 +2378,10 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2363,10 +2390,9 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -2374,10 +2400,10 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2386,10 +2412,10 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-6 { @@ -2406,7 +2432,7 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2.5rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2421,7 +2447,7 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2439,33 +2465,33 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` text-decoration: none; } +.emotion-6 .e1y1n78x0 { + stroke: transparent; +} + .emotion-8 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; +} + .emotion-8 .fillStroke { stroke: currentColor; fill: none; } -.emotion-8 path { - fill: currentColor; -} - .emotion-10 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2474,10 +2500,10 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; margin: 0 0.5rem; } @@ -2510,7 +2536,7 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2531,6 +2557,10 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-13 .e1y1n78x0 { + stroke: transparent; +} + .emotion-13:hover, .emotion-13:active { background: #792dd4; @@ -2558,7 +2588,6 @@ exports[`Pagination > should render correctly with pageCount is 1 1`] = ` should render correctly with pageCount is 1 1`] = ` should render correctly with perPage - default values 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2625,10 +2653,9 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-2 { @@ -2636,10 +2663,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2648,16 +2675,16 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2691,10 +2718,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2703,36 +2730,17 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; + display: grid; + width: 100%; gap: 0.5rem; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; + grid-template-columns: 1fr auto; padding: 0.5rem; padding-right: 0; padding-left: 1rem; @@ -2741,7 +2749,6 @@ exports[`Pagination > should render correctly with perPage - default values 1`] background: #ffffff; border-radius: 0.25rem; width: 100%; - overflow: hidden; } .emotion-13[data-size='small'] { @@ -2825,7 +2832,7 @@ exports[`Pagination > should render correctly with perPage - default values 1`] .emotion-16 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -2835,6 +2842,9 @@ exports[`Pagination > should render correctly with perPage - default values 1`] text-overflow: ellipsis; overflow: hidden; white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } .emotion-18 { @@ -2842,10 +2852,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2854,10 +2864,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-right: 1rem; display: -webkit-box; display: -webkit-flex; @@ -2884,10 +2894,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2896,10 +2906,9 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-26 { @@ -2907,10 +2916,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2919,10 +2928,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-28 { @@ -2939,7 +2948,7 @@ exports[`Pagination > should render correctly with perPage - default values 1`] gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2954,7 +2963,7 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -2974,6 +2983,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-28 .e1y1n78x0 { + stroke: transparent; +} + .emotion-28:hover, .emotion-28:active { background: #e5dbfd; @@ -2984,10 +2997,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] .emotion-30 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-30 .fillStroke { @@ -2995,19 +3008,15 @@ exports[`Pagination > should render correctly with perPage - default values 1`] fill: none; } -.emotion-30 path { - fill: currentColor; -} - .emotion-32 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3016,10 +3025,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; margin: 0 0.5rem; } @@ -3052,7 +3061,7 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3073,6 +3082,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-35 .e1y1n78x0 { + stroke: transparent; +} + .emotion-35:hover, .emotion-35:active { background: #e9eaeb; @@ -3109,7 +3122,7 @@ exports[`Pagination > should render correctly with perPage - default values 1`] -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3130,6 +3143,10 @@ exports[`Pagination > should render correctly with perPage - default values 1`] box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-38 .e1y1n78x0 { + stroke: transparent; +} + .emotion-38:hover, .emotion-38:active { background: #792dd4; @@ -3139,7 +3156,7 @@ exports[`Pagination > should render correctly with perPage - default values 1`] .emotion-50 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -3239,9 +3256,8 @@ exports[`Pagination > should render correctly with perPage - default values 1`] type="button" > should render correctly with perPage - default values 1`] type="button" > should render correctly with perPage 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3347,10 +3362,9 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-2 { @@ -3358,10 +3372,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3370,16 +3384,16 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-4 { color: #727683; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -3413,10 +3427,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3425,36 +3439,17 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; + display: grid; + width: 100%; gap: 0.5rem; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; + grid-template-columns: 1fr auto; padding: 0.5rem; padding-right: 0; padding-left: 1rem; @@ -3463,7 +3458,6 @@ exports[`Pagination > should render correctly with perPage 1`] = ` background: #ffffff; border-radius: 0.25rem; width: 100%; - overflow: hidden; } .emotion-13[data-size='small'] { @@ -3547,7 +3541,7 @@ exports[`Pagination > should render correctly with perPage 1`] = ` .emotion-16 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -3557,6 +3551,9 @@ exports[`Pagination > should render correctly with perPage 1`] = ` text-overflow: ellipsis; overflow: hidden; white-space: nowrap; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; } .emotion-18 { @@ -3564,10 +3561,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3576,10 +3573,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding-right: 1rem; display: -webkit-box; display: -webkit-flex; @@ -3606,10 +3603,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3618,10 +3615,9 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-26 { @@ -3629,10 +3625,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3641,10 +3637,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-28 { @@ -3661,7 +3657,7 @@ exports[`Pagination > should render correctly with perPage 1`] = ` gap: 0.5rem; border-radius: 0.25rem; box-sizing: border-box; - width: 2rem; + width: auto; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3676,7 +3672,7 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3696,6 +3692,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-28 .e1y1n78x0 { + stroke: transparent; +} + .emotion-28:hover, .emotion-28:active { background: #e5dbfd; @@ -3706,10 +3706,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` .emotion-30 { vertical-align: middle; fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-30 .fillStroke { @@ -3717,19 +3717,15 @@ exports[`Pagination > should render correctly with perPage 1`] = ` fill: none; } -.emotion-30 path { - fill: currentColor; -} - .emotion-32 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3738,10 +3734,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; margin: 0 0.5rem; } @@ -3774,7 +3770,7 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3795,6 +3791,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` box-shadow: 0px 0px 0px 3px #151a2d5c; } +.emotion-35 .e1y1n78x0 { + stroke: transparent; +} + .emotion-35:hover, .emotion-35:active { background: #e9eaeb; @@ -3831,7 +3831,7 @@ exports[`Pagination > should render correctly with perPage 1`] = ` -webkit-text-decoration: none; text-decoration: none; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -3852,6 +3852,10 @@ exports[`Pagination > should render correctly with perPage 1`] = ` box-shadow: 0px 0px 0px 3px #8c40ef40; } +.emotion-38 .e1y1n78x0 { + stroke: transparent; +} + .emotion-38:hover, .emotion-38:active { background: #792dd4; @@ -3861,7 +3865,7 @@ exports[`Pagination > should render correctly with perPage 1`] = ` .emotion-50 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -3961,9 +3965,8 @@ exports[`Pagination > should render correctly with perPage 1`] = ` type="button" > should render correctly with perPage 1`] = ` type="button" > = args => ( diff --git a/packages/ui/src/components/PasswordCheck/__stories__/index.stories.tsx b/packages/ui/src/components/PasswordCheck/__stories__/index.stories.tsx index 0cfa10f634..2c159f9f48 100644 --- a/packages/ui/src/components/PasswordCheck/__stories__/index.stories.tsx +++ b/packages/ui/src/components/PasswordCheck/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { PasswordCheck } from '..' export default { diff --git a/packages/ui/src/components/PasswordCheck/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/PasswordCheck/__tests__/__snapshots__/index.test.tsx.snap index 6f6b0a1fe7..8453e6d6f7 100644 --- a/packages/ui/src/components/PasswordCheck/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/PasswordCheck/__tests__/__snapshots__/index.test.tsx.snap @@ -13,10 +13,10 @@ exports[`PasswordCheck > render with custom values 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -25,15 +25,15 @@ exports[`PasswordCheck > render with custom values 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-4 { vertical-align: middle; - fill: #727683; + fill: #3f4250; height: 1.5rem; width: 1.5rem; min-width: 1.5rem; @@ -47,7 +47,7 @@ exports[`PasswordCheck > render with custom values 1`] = ` .emotion-6 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -66,7 +66,7 @@ exports[`PasswordCheck > render with custom values 1`] = ` } .emotion-10 .fillStroke { - stroke: #22674e; + stroke: success; fill: none; } diff --git a/packages/ui/src/components/PasswordStrengthMeter/__stories__/Estimate.stories.tsx b/packages/ui/src/components/PasswordStrengthMeter/__stories__/Estimate.stories.tsx deleted file mode 100644 index 247c87b3d8..0000000000 --- a/packages/ui/src/components/PasswordStrengthMeter/__stories__/Estimate.stories.tsx +++ /dev/null @@ -1,85 +0,0 @@ -import { useState } from 'react' -import { colors } from '../../../theme' -import { TextInputV2 } from '../../TextInputV2' -import { PasswordStrengthMeter } from '../index' - -type PasswordStrengthScore = - | 'unknown_score' - | 'very_weak' - | 'weak' - | 'medium' - | 'strong' - | 'very_strong' - -type PasswordStrength = { - score: PasswordStrengthScore -} - -const defaultScore = 0 as const -const mapScoreValue = { - unknown_score: 0, - very_weak: 0, - weak: 1, - medium: 2, - strong: 3, - very_strong: 4, -} as const - -const estimate = async (passwordToTest: string, userInputs: string[]) => { - if (passwordToTest.length > 1) { - const { score } = await fetch( - 'https://api.scaleway.com/account/v3/compute-password-strength', - { - body: JSON.stringify({ - password: passwordToTest, - userInputs, - }), - headers: new Headers({ - 'content-type': 'application/json', - }), - method: 'POST', - }, - ).then(r => { - if (!r.ok) { - return r.json().then(json => { - throw json - }) - } - - return r.json() as Promise - }) - - return { score: mapScoreValue[score] } - } - - return { score: defaultScore } -} - -export const Estimate = () => { - const [value, setValue] = useState('') - - return ( -
- - - -
- ) -} diff --git a/packages/ui/src/components/PasswordStrengthMeter/__stories__/ForbiddenInputs.stories.tsx b/packages/ui/src/components/PasswordStrengthMeter/__stories__/ForbiddenInputs.stories.tsx deleted file mode 100644 index dc9d4a0733..0000000000 --- a/packages/ui/src/components/PasswordStrengthMeter/__stories__/ForbiddenInputs.stories.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { useState } from 'react' -import zxcvbn from 'zxcvbn' -import { colors } from '../../../theme' -import { TextInputV2 } from '../../TextInputV2' -import { PasswordStrengthMeter } from '../index' - -export const ForbiddenInputs = () => { - const [value, setValue] = useState('') - - return ( -
- - -
- ) -} - -ForbiddenInputs.parameters = { - docs: { - description: { - story: `__forbiddenInputs__ properties can be used to specify which word shouldn't be used for a password. That way you can force user to avoid using sensitive data such as: their email, login, name, etc. - -In this example try to type __qwerty__, the score should be really low as the word has been "banned" using __forbiddenInputs__ properties.`, - }, - }, -} diff --git a/packages/ui/src/components/PasswordStrengthMeter/__stories__/Playground.stories.tsx b/packages/ui/src/components/PasswordStrengthMeter/__stories__/Playground.stories.tsx deleted file mode 100644 index 86497258fd..0000000000 --- a/packages/ui/src/components/PasswordStrengthMeter/__stories__/Playground.stories.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { useState } from 'react' -import zxcvbn from 'zxcvbn' -import { colors } from '../../../theme' -import { TextInputV2 } from '../../TextInputV2' -import { PasswordStrengthMeter } from '../index' - -export const Playground = () => { - const [value, setValue] = useState('') - - return ( -
- - -
- ) -} diff --git a/packages/ui/src/components/PasswordStrengthMeter/__stories__/index.stories.tsx b/packages/ui/src/components/PasswordStrengthMeter/__stories__/index.stories.tsx deleted file mode 100644 index 2047d867e8..0000000000 --- a/packages/ui/src/components/PasswordStrengthMeter/__stories__/index.stories.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import type { Meta } from '@storybook/react' -import { PasswordStrengthMeter } from '..' - -export default { - component: PasswordStrengthMeter, - tags: ['deprecated'], - parameters: { - deprecated: true, - deprecatedReason: 'This component is deprecated, please use Meter instead.', - }, - title: 'Components/Feedback/PasswordStrengthMeter', -} as Meta - -export { Playground } from './Playground.stories' -export { ForbiddenInputs } from './ForbiddenInputs.stories' -export { Estimate } from './Estimate.stories' diff --git a/packages/ui/src/components/PasswordStrengthMeter/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/PasswordStrengthMeter/__tests__/__snapshots__/index.test.tsx.snap deleted file mode 100644 index 2a4b48acec..0000000000 --- a/packages/ui/src/components/PasswordStrengthMeter/__tests__/__snapshots__/index.test.tsx.snap +++ /dev/null @@ -1,381 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`PasswordStrengthMeter > render with empty password 1`] = ` - - .emotion-1 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: inline-block; - vertical-align: top; - line-height: 22px; -} - -.emotion-4 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - float: right; - vertical-align: top; - color: #b3144d; -} - -.emotion-6 { - background-color: #f3f3f4; - border-radius: 0.25rem; - height: 8px; - margin-top: 0.5rem; - margin-bottom: 1rem; -} - -.emotion-8 { - border-radius: 0.25rem; - height: 100%; - -webkit-transition: all 0.5s; - transition: all 0.5s; -} - -
-
-

- MyTitle -

- - veryWeak - -
-
-
-
-
- -`; - -exports[`PasswordStrengthMeter > render with medium password 1`] = ` - - .emotion-1 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: inline-block; - vertical-align: top; - line-height: 22px; -} - -.emotion-4 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - float: right; - vertical-align: top; - color: #b3144d; -} - -.emotion-6 { - background-color: #f3f3f4; - border-radius: 0.25rem; - height: 8px; - margin-top: 0.5rem; - margin-bottom: 1rem; -} - -.emotion-8 { - border-radius: 0.25rem; - height: 100%; - -webkit-transition: all 0.5s; - transition: all 0.5s; -} - -
-
-

- MyTitle -

- - veryWeak - -
-
-
-
-
- -`; - -exports[`PasswordStrengthMeter > render with strong password 1`] = ` - - .emotion-1 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: inline-block; - vertical-align: top; - line-height: 22px; -} - -.emotion-4 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - float: right; - vertical-align: top; - color: #b3144d; -} - -.emotion-6 { - background-color: #f3f3f4; - border-radius: 0.25rem; - height: 8px; - margin-top: 0.5rem; - margin-bottom: 1rem; -} - -.emotion-8 { - border-radius: 0.25rem; - height: 100%; - -webkit-transition: all 0.5s; - transition: all 0.5s; -} - -
-
-

- MyTitle -

- - veryWeak - -
-
-
-
-
- -`; - -exports[`PasswordStrengthMeter > render with very strong password 1`] = ` - - .emotion-1 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: inline-block; - vertical-align: top; - line-height: 22px; -} - -.emotion-4 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - float: right; - vertical-align: top; - color: #b3144d; -} - -.emotion-6 { - background-color: #f3f3f4; - border-radius: 0.25rem; - height: 8px; - margin-top: 0.5rem; - margin-bottom: 1rem; -} - -.emotion-8 { - border-radius: 0.25rem; - height: 100%; - -webkit-transition: all 0.5s; - transition: all 0.5s; -} - -
-
-

- MyTitle -

- - veryWeak - -
-
-
-
-
- -`; - -exports[`PasswordStrengthMeter > render with weak password 1`] = ` - - .emotion-1 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: inline-block; - vertical-align: top; - line-height: 22px; -} - -.emotion-4 { - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - float: right; - vertical-align: top; - color: #b3144d; -} - -.emotion-6 { - background-color: #f3f3f4; - border-radius: 0.25rem; - height: 8px; - margin-top: 0.5rem; - margin-bottom: 1rem; -} - -.emotion-8 { - border-radius: 0.25rem; - height: 100%; - -webkit-transition: all 0.5s; - transition: all 0.5s; -} - -
-
-

- MyTitle -

- - veryWeak - -
-
-
-
-
- -`; diff --git a/packages/ui/src/components/PasswordStrengthMeter/__tests__/index.test.tsx b/packages/ui/src/components/PasswordStrengthMeter/__tests__/index.test.tsx deleted file mode 100644 index 7cf9f3debb..0000000000 --- a/packages/ui/src/components/PasswordStrengthMeter/__tests__/index.test.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import { shouldMatchEmotionSnapshot } from '@utils/test' -import { describe, test } from 'vitest' -import { PasswordStrengthMeter } from '..' -import { colors } from '../../../theme' - -describe('PasswordStrengthMeter', () => { - const strengthLevels = [ - { color: colors.danger.text, t: 'veryWeak' }, - { color: colors.warning.text, t: 'weak' }, - { color: 'yellow', t: 'medium' }, - { color: colors.success.text, t: 'strong' }, - { color: colors.success.text, t: 'veryStrong' }, - ] - - test('render with empty password', () => - shouldMatchEmotionSnapshot( - , - )) - - test('render with weak password', () => - shouldMatchEmotionSnapshot( - , - )) - - test('render with medium password', () => - shouldMatchEmotionSnapshot( - , - )) - - test('render with strong password', () => - shouldMatchEmotionSnapshot( - , - )) - - test('render with very strong password', () => - shouldMatchEmotionSnapshot( - , - )) -}) diff --git a/packages/ui/src/components/PasswordStrengthMeter/index.tsx b/packages/ui/src/components/PasswordStrengthMeter/index.tsx deleted file mode 100644 index dbb19235cf..0000000000 --- a/packages/ui/src/components/PasswordStrengthMeter/index.tsx +++ /dev/null @@ -1,156 +0,0 @@ -'use client' - -import { useTheme } from '@emotion/react' -import styled from '@emotion/styled' -import { useCallback, useEffect, useState } from 'react' -import { Text } from '../Text' - -const StyledTitle = styled(Text)` - display: inline-block; - vertical-align: top; - line-height: 22px; -` - -const StyledStrength = styled(Text)<{ strength: Strength }>` - float: right; - vertical-align: top; - color: ${({ strength }) => strength.color}; -` - -const StyledWrapper = styled.div` - background-color: ${({ theme }) => theme.colors.neutral.backgroundDisabled}; - border-radius: ${({ theme }) => theme.radii.default}; - height: 8px; - margin-top: ${({ theme }) => theme.space['1']}; - margin-bottom: ${({ theme }) => theme.space['2']}; -` - -const StyledMeter = styled.div` - border-radius: ${({ theme }) => theme.radii.default}; - height: 100%; - transition: all 0.5s; -` - -type Strength = { - /** - * Color to display - */ - color: string - /** - * Text to display - */ - t: string -} - -type Score = 0 | 1 | 2 | 3 | 4 - -type ResponseEstimate = { - score: Score -} - -type PasswordStrengthMeterProps = { - /** - * A function that should return a score based on password (index of strength array). The higher score is the stronger password is. - */ - estimate?: - | (( - passwordToTest: string, - userInputs: string[], - ) => Promise) - | ((passwordToTest: string, userInputs: string[]) => ResponseEstimate) - onChange?: (score: number) => unknown - password?: string - /** - * Strength is used for defining different color and text associated with it. - */ - strength: Strength[] - title: string - /** - * An array of string that defines what word shouldn't be used in the password. - */ - forbiddenInputs?: string[] - className?: string - 'data-testid'?: string -} - -const DEFAULT_ESTIMATE = () => ({ score: 0 as Score }) -const DEFAULT_FORBIDDEN_WORDS: PasswordStrengthMeterProps['forbiddenInputs'] = - [] - -/** - * PasswordStrengthMeter is a component that displays a password strength meter. - * @deprecated use Meter component instead - */ -export const PasswordStrengthMeter = ({ - password = '', - onChange, - strength, - title, - estimate = DEFAULT_ESTIMATE, - forbiddenInputs = DEFAULT_FORBIDDEN_WORDS, - className, - 'data-testid': dataTestId, -}: PasswordStrengthMeterProps) => { - const [score, setScore] = useState(0) - const theme = useTheme() - const [backgroundColor, setBackgroundColor] = useState( - strength[0]?.color || theme.colors.success.backgroundStrong, - ) - const [width, setWidth] = useState(0) - - const getScore = useCallback( - async (passwordToTest: string) => { - const { score: internalScore = 0 } = await estimate( - passwordToTest || '', - forbiddenInputs, - ) - - return internalScore - }, - [estimate, forbiddenInputs], - ) - - const handleChange = useCallback((e: number) => onChange?.(e), [onChange]) - - useEffect(() => { - setBackgroundColor(strength[score].color) - handleChange(score) - getScore(password) - .then(s => setScore(s)) - .catch(() => null) - - const toValue = ((score + 1) / strength.length) * 100 - setWidth(`${toValue}%`) - }, [getScore, handleChange, password, score, strength]) - - return ( -
- - {title} - - - - {strength[score]?.t} - - - - - -
- ) -} diff --git a/packages/ui/src/components/PieChart/__stories__/Template.stories.tsx b/packages/ui/src/components/PieChart/__stories__/Template.stories.tsx index 75802a10af..1acc55333b 100644 --- a/packages/ui/src/components/PieChart/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/PieChart/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { PieChart } from '..' import { data } from './mockData' diff --git a/packages/ui/src/components/PieChart/__stories__/index.stories.tsx b/packages/ui/src/components/PieChart/__stories__/index.stories.tsx index 54d82e230e..b3e424c698 100644 --- a/packages/ui/src/components/PieChart/__stories__/index.stories.tsx +++ b/packages/ui/src/components/PieChart/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { PieChart } from '..' export default { diff --git a/packages/ui/src/components/PieChart/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/PieChart/__tests__/__snapshots__/index.test.tsx.snap index adc29594b0..b4fd1926c4 100644 --- a/packages/ui/src/components/PieChart/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/PieChart/__tests__/__snapshots__/index.test.tsx.snap @@ -1478,7 +1478,7 @@ exports[`PieChart > renders correctly with empty legend placeholder 1`] = ` .emotion-4 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; diff --git a/packages/ui/src/components/PieChart/index.tsx b/packages/ui/src/components/PieChart/index.tsx index 7fbec6b13f..52b4e4d121 100644 --- a/packages/ui/src/components/PieChart/index.tsx +++ b/packages/ui/src/components/PieChart/index.tsx @@ -7,6 +7,7 @@ import { Pie } from '@nivo/pie' import type { ReactNode } from 'react' import { useCallback, useState } from 'react' import { getLegendColor } from '../../helpers/legend' +import { getNivoTheme } from '../../helpers/nivoTheme' import { Text } from '../Text' import Legends from './Legends' import type { Data } from './types' @@ -148,6 +149,7 @@ export const PieChart = ({ } }} onMouseLeave={() => setCurrentFocusIndex(undefined)} + theme={getNivoTheme(theme)} {...chartProps} /> {content ? {content} : null} diff --git a/packages/ui/src/components/Popover/__stories__/AdvancedUsage.stories.tsx b/packages/ui/src/components/Popover/__stories__/AdvancedUsage.stories.tsx index 405e39eee4..d7ce84bedb 100644 --- a/packages/ui/src/components/Popover/__stories__/AdvancedUsage.stories.tsx +++ b/packages/ui/src/components/Popover/__stories__/AdvancedUsage.stories.tsx @@ -1,18 +1,18 @@ import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { useCallback, useState } from 'react' import { Button } from '../../Button' import { Modal } from '../../Modal' -import { SelectInputV2 } from '../../SelectInputV2' -import { TextInputV2 } from '../../TextInputV2' +import { SelectInput } from '../../SelectInput' +import { TextInput } from '../../TextInput' import { Popover } from '../index' const StyledPopover = styled(Popover)` height: 400px; ` -const options: ComponentProps['options'] = [ +const options: ComponentProps['options'] = [ { value: 'option 1', label: 'Option 1', @@ -42,20 +42,20 @@ export const AdvancedUsage: StoryFn = () => { >
Modal
- - +
- - + } > diff --git a/packages/ui/src/components/Popover/__stories__/Playground.stories.tsx b/packages/ui/src/components/Popover/__stories__/Playground.stories.tsx index 094b02bcc4..408a31f450 100644 --- a/packages/ui/src/components/Popover/__stories__/Playground.stories.tsx +++ b/packages/ui/src/components/Popover/__stories__/Playground.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useCallback, useState } from 'react' import { Button } from '../../Button' import { Popover } from '../index' diff --git a/packages/ui/src/components/Popover/__stories__/Sentiments.stories.tsx b/packages/ui/src/components/Popover/__stories__/Sentiments.stories.tsx index cc6761c3dc..397b6b1ec8 100644 --- a/packages/ui/src/components/Popover/__stories__/Sentiments.stories.tsx +++ b/packages/ui/src/components/Popover/__stories__/Sentiments.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { Dispatch, SetStateAction } from 'react' import { useCallback, useState } from 'react' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Popover/__stories__/Sizes.stories.tsx b/packages/ui/src/components/Popover/__stories__/Sizes.stories.tsx index 68dadbcec6..b4eff1893c 100644 --- a/packages/ui/src/components/Popover/__stories__/Sizes.stories.tsx +++ b/packages/ui/src/components/Popover/__stories__/Sizes.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { Dispatch, SetStateAction } from 'react' import { useCallback, useState } from 'react' import { Button } from '../../Button' diff --git a/packages/ui/src/components/Popover/__stories__/Template.stories.tsx b/packages/ui/src/components/Popover/__stories__/Template.stories.tsx index 31e2e4a768..f5b79bcba1 100644 --- a/packages/ui/src/components/Popover/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Popover/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { HelpCircleOutlineIcon } from '@ultraviolet/icons' import { Popover } from '..' @@ -9,6 +9,6 @@ export const Template: StoryFn = props => ( title="Popover Title" content="This is a simple text content inside the popover. You can customize it by passing text into content property." > - + ) diff --git a/packages/ui/src/components/Popover/__stories__/index.stories.tsx b/packages/ui/src/components/Popover/__stories__/index.stories.tsx index 0fdbdb7e35..a289455194 100644 --- a/packages/ui/src/components/Popover/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Popover/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Popover } from '..' export default { diff --git a/packages/ui/src/components/Popover/__tests__/index.test.tsx b/packages/ui/src/components/Popover/__tests__/index.test.tsx index c75a22868c..3d30eff644 100644 --- a/packages/ui/src/components/Popover/__tests__/index.test.tsx +++ b/packages/ui/src/components/Popover/__tests__/index.test.tsx @@ -8,14 +8,14 @@ import { describe, expect, test, vi } from 'vitest' import { Popover } from '..' import { Button } from '../../Button' import { Modal } from '../../Modal' -import { SelectInputV2 } from '../../SelectInputV2' -import { TextInputV2 } from '../../TextInputV2' +import { SelectInput } from '../../SelectInput' +import { TextInput } from '../../TextInput' const StyledPopover = styled(Popover)` height: 600px; ` -const options: ComponentProps['options'] = [ +const options: ComponentProps['options'] = [ { value: 'option 1', label: 'Option 1', @@ -50,23 +50,23 @@ const AdvancedPopover = () => { >
Modal
- -
- - diff --git a/packages/ui/src/components/Popover/index.tsx b/packages/ui/src/components/Popover/index.tsx index 09cabe4963..b96df4bbe3 100644 --- a/packages/ui/src/components/Popover/index.tsx +++ b/packages/ui/src/components/Popover/index.tsx @@ -1,6 +1,7 @@ 'use client' import styled from '@emotion/styled' +import { CloseIcon } from '@ultraviolet/icons' import type { ComponentProps, ReactNode, Ref } from 'react' import { forwardRef, @@ -36,12 +37,19 @@ const StyledPopup = styled(Popup, { max-width: ${({ size }) => SIZES_WIDTH[size]}rem; text-align: initial; box-shadow: ${({ theme }) => theme.shadows.popover}; - background: ${({ theme, sentiment }) => (sentiment === 'neutral' ? theme.colors.neutral.background : theme.colors.primary.backgroundStrong)}; + background: ${({ theme, sentiment }) => + sentiment === 'neutral' + ? theme.colors.neutral.background + : theme.colors.primary.backgroundStrong}; // Overrides the default popup arrow color to match the background color &[data-has-arrow="true"] { &::after { - border-color: ${({ theme, sentiment }) => (sentiment === 'neutral' ? theme.colors.neutral.background : theme.colors.primary.backgroundStrong)} transparent transparent transparent; + border-color: ${({ theme, sentiment }) => + sentiment === 'neutral' + ? theme.colors.neutral.background + : theme.colors.primary + .backgroundStrong} transparent transparent transparent; } } ` @@ -77,9 +85,10 @@ const ContentWrapper = ({ sentiment={sentiment === 'neutral' ? 'neutral' : 'primary'} onClick={onClose} size="small" - icon="close" aria-label="close" - /> + > + + {typeof children === 'string' ? ( , - 'placement' | 'dynamicDomRendering' | 'align' -> + placement?: Exclude['placement'], 'nested-menu'> +} & Pick, 'dynamicDomRendering' | 'align'> /** * Popover component is used to display additional information or actions on top of the main content of the page. diff --git a/packages/ui/src/components/Popup/helpers.ts b/packages/ui/src/components/Popup/helpers.ts index 4cd86924e5..9f636f03aa 100644 --- a/packages/ui/src/components/Popup/helpers.ts +++ b/packages/ui/src/components/Popup/helpers.ts @@ -1,6 +1,12 @@ import type { RefObject } from 'react' -export type PopupPlacement = 'top' | 'right' | 'bottom' | 'left' | 'auto' +export type PopupPlacement = + | 'top' + | 'right' + | 'bottom' + | 'left' + | 'auto' + | 'nested-menu' export type PopupAlign = 'start' | 'center' export const DEFAULT_ARROW_WIDTH = 8 // in px const SPACE = 4 // in px @@ -21,6 +27,7 @@ type ComputePlacementTypes = { popupPortalTarget: HTMLElement offsetParentRect: DOMRect offsetParent: Element + isNestedMenu?: boolean } /** @@ -32,6 +39,7 @@ const computePlacement = ({ offsetParentRect, offsetParent, popupPortalTarget, + isNestedMenu, }: ComputePlacementTypes) => { const { top: childrenTop, @@ -57,6 +65,17 @@ const computePlacement = ({ const { width: popupWidth, height: popupHeight } = popupStructuredRef + if (isNestedMenu) { + if ( + overloadedChildrenRight + popupWidth + TOTAL_USED_SPACE > + window.innerWidth + ) { + return 'left' + } + + return 'right' + } + if (overloadedChildrenTop - popupHeight - TOTAL_USED_SPACE < 0) { return 'bottom' } @@ -116,7 +135,7 @@ const findOffsetParent = (element: RefObject) => { * @param popupStructuredRef the rect of the popup, the popup itself */ const getPopupOverflowFromParent = ( - position: 'top' | 'right' | 'bottom' | 'left', + position: 'top' | 'right' | 'bottom' | 'left' | 'nested-menu', offsetParentRect: { top: number; left: number; right: number }, childrenRect: DOMRect, popupStructuredRef: DOMRect, @@ -298,9 +317,9 @@ export const computePositions = ({ arrowTransform: '', placement: 'bottom', rotate: 180, - popupInitialPosition: `translate3d(${!isAligned ? positionX + popupOverflow : positionX}px, ${ - positionY - TOTAL_USED_SPACE - }px, 0)`, + popupInitialPosition: `translate3d(${ + !isAligned ? positionX + popupOverflow : positionX + }px, ${positionY - TOTAL_USED_SPACE}px, 0)`, popupPosition: `translate3d(${ !isAligned ? positionX + popupOverflow : positionX }px, ${positionY}px, 0)`, @@ -357,6 +376,66 @@ export const computePositions = ({ }px, 0)`, } } + case 'nested-menu': { + if ( + computePlacement({ + childrenStructuredRef: childrenRect, + popupStructuredRef, + offsetParentRect, + popupPortalTarget, + offsetParent, + isNestedMenu: true, + }) === 'right' + ) { + // Place the menu top-right + const positionX = overloadedChildrenRight + arrowWidth + SPACE * 2 + const positionY = isAligned + ? overloadedChildrenTop + scrollTopValue + : overloadedChildrenTop + scrollTopValue - popupHeight / 8 + + return { + arrowLeft: -arrowWidth - 5, + arrowTop: isAligned + ? childrenHeight / 2 - arrowWidth + : popupHeight / 2 + popupOverflow * -1, + arrowTransform: 'translate(50%, -50%)', + placement: 'right', + rotate: 90, + popupInitialPosition: `translate3d(${ + positionX - TOTAL_USED_SPACE + }px, ${positionY + popupOverflow}px, 0)`, + popupPosition: `translate3d(${positionX}px, ${ + positionY + popupOverflow + }px, 0)`, + } + } + + // Place it top-left + const positionX = + overloadedChildrenLeft - popupWidth - arrowWidth - SPACE * 2 + const positionY = isAligned + ? overloadedChildrenTop + scrollTopValue + : overloadedChildrenTop + + scrollTopValue - + popupHeight / 2 + + childrenHeight / 2 + + return { + arrowLeft: popupWidth + arrowWidth + 5, + arrowTop: isAligned + ? childrenHeight / 2 - arrowWidth + : popupHeight / 2 + popupOverflow * -1, + arrowTransform: 'translate(-50%, -50%)', + placement: 'left', + rotate: -90, + popupInitialPosition: `translate3d(${positionX + TOTAL_USED_SPACE}px, ${ + positionY + popupOverflow + }px, 0)`, + popupPosition: `translate3d(${positionX}px, ${ + positionY + popupOverflow + }px, 0)`, + } + } default: { // top placement is default value const positionX = isAligned @@ -377,9 +456,9 @@ export const computePositions = ({ arrowTransform: '', placement: 'top', rotate: 0, - popupInitialPosition: `translate3d(${!isAligned ? positionX + popupOverflow : positionX}px, ${ - positionY + TOTAL_USED_SPACE - }px, 0)`, + popupInitialPosition: `translate3d(${ + !isAligned ? positionX + popupOverflow : positionX + }px, ${positionY + TOTAL_USED_SPACE}px, 0)`, popupPosition: `translate3d(${ !isAligned ? positionX + popupOverflow : positionX }px, ${positionY}px, 0)`, diff --git a/packages/ui/src/components/Popup/index.tsx b/packages/ui/src/components/Popup/index.tsx index 35e09e401c..7bbefa9f27 100644 --- a/packages/ui/src/components/Popup/index.tsx +++ b/packages/ui/src/components/Popup/index.tsx @@ -114,7 +114,7 @@ const StyledPopup = styled('div', { } ` -const StyledChildrenContainer = styled.div` +export const StyledChildrenContainer = styled.div` display: inherit; diff --git a/packages/ui/src/components/ProgressBar/__stories__/Cap.stories.tsx b/packages/ui/src/components/ProgressBar/__stories__/Cap.stories.tsx index 4af7a2cb91..5cef0e66df 100644 --- a/packages/ui/src/components/ProgressBar/__stories__/Cap.stories.tsx +++ b/packages/ui/src/components/ProgressBar/__stories__/Cap.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { ProgressBar } from '..' export const Cap: StoryFn = props => ( diff --git a/packages/ui/src/components/ProgressBar/__stories__/Direction.stories.tsx b/packages/ui/src/components/ProgressBar/__stories__/Direction.stories.tsx index f5c6e99fa9..095f34742c 100644 --- a/packages/ui/src/components/ProgressBar/__stories__/Direction.stories.tsx +++ b/packages/ui/src/components/ProgressBar/__stories__/Direction.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { ProgressBar } from '..' import { Badge } from '../../Badge' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/ProgressBar/__stories__/Label.stories.tsx b/packages/ui/src/components/ProgressBar/__stories__/Label.stories.tsx index b3f0654105..cdeb69a36c 100644 --- a/packages/ui/src/components/ProgressBar/__stories__/Label.stories.tsx +++ b/packages/ui/src/components/ProgressBar/__stories__/Label.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { ProgressBar } from '..' import { Badge } from '../../Badge' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/ProgressBar/__stories__/Max.stories.tsx b/packages/ui/src/components/ProgressBar/__stories__/Max.stories.tsx index a9e61fbb93..b1e10abcd6 100644 --- a/packages/ui/src/components/ProgressBar/__stories__/Max.stories.tsx +++ b/packages/ui/src/components/ProgressBar/__stories__/Max.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { ProgressBar } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/ProgressBar/__stories__/PrefixSuffix.stories.tsx b/packages/ui/src/components/ProgressBar/__stories__/PrefixSuffix.stories.tsx index b482525e92..09e009c7ab 100644 --- a/packages/ui/src/components/ProgressBar/__stories__/PrefixSuffix.stories.tsx +++ b/packages/ui/src/components/ProgressBar/__stories__/PrefixSuffix.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { ProgressBar } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/ProgressBar/__stories__/Sentiments.stories.tsx b/packages/ui/src/components/ProgressBar/__stories__/Sentiments.stories.tsx index d3497db8de..5555465d99 100644 --- a/packages/ui/src/components/ProgressBar/__stories__/Sentiments.stories.tsx +++ b/packages/ui/src/components/ProgressBar/__stories__/Sentiments.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { progressBarSentiments } from '..' import UncontrolledProgressBar from './UncontrolledProgressBar' diff --git a/packages/ui/src/components/ProgressBar/__stories__/ShowProgress.stories.tsx b/packages/ui/src/components/ProgressBar/__stories__/ShowProgress.stories.tsx index 107d6049bf..d322e40150 100644 --- a/packages/ui/src/components/ProgressBar/__stories__/ShowProgress.stories.tsx +++ b/packages/ui/src/components/ProgressBar/__stories__/ShowProgress.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useEffect, useState } from 'react' import { ProgressBar } from '..' diff --git a/packages/ui/src/components/ProgressBar/__stories__/Template.stories.tsx b/packages/ui/src/components/ProgressBar/__stories__/Template.stories.tsx index 02c60065b5..8c453e72f2 100644 --- a/packages/ui/src/components/ProgressBar/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/ProgressBar/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { ProgressBar } from '..' export const Template: StoryFn = args => ( diff --git a/packages/ui/src/components/ProgressBar/__stories__/index.stories.tsx b/packages/ui/src/components/ProgressBar/__stories__/index.stories.tsx index 239de02b37..5c0d49d5cd 100644 --- a/packages/ui/src/components/ProgressBar/__stories__/index.stories.tsx +++ b/packages/ui/src/components/ProgressBar/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { ProgressBar } from '..' export default { diff --git a/packages/ui/src/components/ProgressBar/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/ProgressBar/__tests__/__snapshots__/index.test.tsx.snap index 0a47e21856..547b92725c 100644 --- a/packages/ui/src/components/ProgressBar/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/ProgressBar/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`ProgressBar > renders correctly when value < 0 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -19,10 +19,10 @@ exports[`ProgressBar > renders correctly when value < 0 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -77,10 +77,10 @@ exports[`ProgressBar > renders correctly when value > 100 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -89,10 +89,10 @@ exports[`ProgressBar > renders correctly when value > 100 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -147,10 +147,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -159,10 +159,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -170,10 +170,11 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -181,11 +182,9 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -193,10 +192,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -205,16 +204,16 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-7 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -226,7 +225,7 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr .emotion-9 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -238,7 +237,7 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr .emotion-11 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -323,10 +322,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -335,10 +334,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-2 { @@ -346,10 +345,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -358,16 +357,16 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-5 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -379,7 +378,7 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr .emotion-7 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -416,10 +415,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -428,10 +427,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; @@ -440,7 +439,7 @@ exports[`ProgressBar > renders correctly with label, labelDescription and showPr .emotion-16 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -504,10 +503,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -516,10 +515,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -527,10 +526,11 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -538,11 +538,9 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -550,10 +548,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -562,16 +560,16 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-7 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -649,10 +647,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -661,10 +659,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-2 { @@ -672,10 +670,10 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -684,16 +682,16 @@ exports[`ProgressBar > renders correctly with label, labelDescription as ReactNo -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; } .emotion-5 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -767,10 +765,10 @@ exports[`ProgressBar > renders correctly with max 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -779,16 +777,16 @@ exports[`ProgressBar > renders correctly with max 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-3 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -855,10 +853,10 @@ exports[`ProgressBar > renders correctly with only label, direction column 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -867,10 +865,10 @@ exports[`ProgressBar > renders correctly with only label, direction column 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -878,10 +876,11 @@ exports[`ProgressBar > renders correctly with only label, direction column 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -889,17 +888,15 @@ exports[`ProgressBar > renders correctly with only label, direction column 1`] = -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-5 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -970,10 +967,10 @@ exports[`ProgressBar > renders correctly with only showProgress, direction colum display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -982,10 +979,10 @@ exports[`ProgressBar > renders correctly with only showProgress, direction colum -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -993,10 +990,11 @@ exports[`ProgressBar > renders correctly with only showProgress, direction colum display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1005,17 +1003,15 @@ exports[`ProgressBar > renders correctly with only showProgress, direction colum -ms-flex-pack: right; -webkit-justify-content: right; justify-content: right; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-5 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1028,7 +1024,7 @@ exports[`ProgressBar > renders correctly with only showProgress, direction colum .emotion-7 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1102,10 +1098,10 @@ exports[`ProgressBar > renders correctly with only showProgress, direction row 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1114,10 +1110,10 @@ exports[`ProgressBar > renders correctly with only showProgress, direction row 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-2 { @@ -1148,10 +1144,10 @@ exports[`ProgressBar > renders correctly with only showProgress, direction row 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1160,10 +1156,10 @@ exports[`ProgressBar > renders correctly with only showProgress, direction row 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; @@ -1172,7 +1168,7 @@ exports[`ProgressBar > renders correctly with only showProgress, direction row 1 .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1222,10 +1218,10 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction colum display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1234,10 +1230,10 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction colum -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -1245,10 +1241,11 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction colum display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1256,17 +1253,15 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction colum -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-5 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1279,7 +1274,7 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction colum .emotion-7 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1355,10 +1350,10 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction row 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 1rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1367,16 +1362,16 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction row 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; } .emotion-3 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -1414,10 +1409,10 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction row 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1426,10 +1421,10 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction row 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; @@ -1438,7 +1433,7 @@ exports[`ProgressBar > renders correctly with suffix and prefix, direction row 1 .emotion-12 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1493,10 +1488,10 @@ exports[`ProgressBar > renders danger 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1505,10 +1500,10 @@ exports[`ProgressBar > renders danger 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -1563,10 +1558,10 @@ exports[`ProgressBar > renders info 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1575,10 +1570,10 @@ exports[`ProgressBar > renders info 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -1633,10 +1628,10 @@ exports[`ProgressBar > renders primary 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1645,10 +1640,10 @@ exports[`ProgressBar > renders primary 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -1713,10 +1708,10 @@ exports[`ProgressBar > renders progression 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1725,10 +1720,10 @@ exports[`ProgressBar > renders progression 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -1790,10 +1785,10 @@ exports[`ProgressBar > renders success 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1802,10 +1797,10 @@ exports[`ProgressBar > renders success 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -1860,10 +1855,10 @@ exports[`ProgressBar > renders warning 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1872,10 +1867,10 @@ exports[`ProgressBar > renders warning 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { diff --git a/packages/ui/src/components/Radio/__stories__/Controlled.stories.tsx b/packages/ui/src/components/Radio/__stories__/Controlled.stories.tsx index ec664d0c68..07a76c486b 100644 --- a/packages/ui/src/components/Radio/__stories__/Controlled.stories.tsx +++ b/packages/ui/src/components/Radio/__stories__/Controlled.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { Radio } from '..' diff --git a/packages/ui/src/components/Radio/__stories__/Disabled.stories.tsx b/packages/ui/src/components/Radio/__stories__/Disabled.stories.tsx index 7147b17694..20278547e6 100644 --- a/packages/ui/src/components/Radio/__stories__/Disabled.stories.tsx +++ b/packages/ui/src/components/Radio/__stories__/Disabled.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { Radio } from '..' diff --git a/packages/ui/src/components/Radio/__stories__/Error.stories.tsx b/packages/ui/src/components/Radio/__stories__/Error.stories.tsx index 9d39923237..0101ce9792 100644 --- a/packages/ui/src/components/Radio/__stories__/Error.stories.tsx +++ b/packages/ui/src/components/Radio/__stories__/Error.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { Radio } from '..' diff --git a/packages/ui/src/components/Radio/__stories__/Helper.stories.tsx b/packages/ui/src/components/Radio/__stories__/Helper.stories.tsx index ca926fecd9..28ad7db1f6 100644 --- a/packages/ui/src/components/Radio/__stories__/Helper.stories.tsx +++ b/packages/ui/src/components/Radio/__stories__/Helper.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Radio } from '..' export const Helper: StoryFn = args => ( diff --git a/packages/ui/src/components/Radio/__stories__/Template.stories.tsx b/packages/ui/src/components/Radio/__stories__/Template.stories.tsx index 6f39945db2..d32629038a 100644 --- a/packages/ui/src/components/Radio/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Radio/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Radio } from '..' export const Template: StoryFn = args => diff --git a/packages/ui/src/components/Radio/__stories__/index.stories.tsx b/packages/ui/src/components/Radio/__stories__/index.stories.tsx index c5512d8b79..131f95b5ef 100644 --- a/packages/ui/src/components/Radio/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Radio/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Radio } from '..' export default { diff --git a/packages/ui/src/components/Radio/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Radio/__tests__/__snapshots__/index.test.tsx.snap index 5c3e9c48ba..cd3d5babca 100644 --- a/packages/ui/src/components/Radio/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Radio/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`Radio > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`Radio > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -157,7 +157,7 @@ exports[`Radio > renders correctly 1`] = ` .emotion-13 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -234,10 +234,10 @@ exports[`Radio > renders correctly when checked 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -246,10 +246,10 @@ exports[`Radio > renders correctly when checked 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -384,7 +384,7 @@ exports[`Radio > renders correctly when checked 1`] = ` .emotion-13 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -462,10 +462,10 @@ exports[`Radio > renders correctly when disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -474,10 +474,10 @@ exports[`Radio > renders correctly when disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -612,7 +612,7 @@ exports[`Radio > renders correctly when disabled 1`] = ` .emotion-13 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -690,10 +690,10 @@ exports[`Radio > renders correctly when error 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -702,10 +702,10 @@ exports[`Radio > renders correctly when error 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -840,7 +840,7 @@ exports[`Radio > renders correctly when error 1`] = ` .emotion-13 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -918,10 +918,10 @@ exports[`Radio > renders correctly when helper 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -930,10 +930,10 @@ exports[`Radio > renders correctly when helper 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -1068,7 +1068,7 @@ exports[`Radio > renders correctly when helper 1`] = ` .emotion-13 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1084,7 +1084,7 @@ exports[`Radio > renders correctly when helper 1`] = ` .emotion-16 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1175,10 +1175,10 @@ exports[`Radio > renders correctly with tooltip 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1187,10 +1187,10 @@ exports[`Radio > renders correctly with tooltip 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -1325,7 +1325,7 @@ exports[`Radio > renders correctly with tooltip 1`] = ` .emotion-15 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1409,10 +1409,10 @@ exports[`Radio > renders without name 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1421,10 +1421,10 @@ exports[`Radio > renders without name 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -1559,7 +1559,7 @@ exports[`Radio > renders without name 1`] = ` .emotion-13 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; diff --git a/packages/ui/src/components/RadioGroup/__stories__/Controlled.stories.tsx b/packages/ui/src/components/RadioGroup/__stories__/Controlled.stories.tsx index 23169e75fd..9e713e1134 100644 --- a/packages/ui/src/components/RadioGroup/__stories__/Controlled.stories.tsx +++ b/packages/ui/src/components/RadioGroup/__stories__/Controlled.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { RadioGroup } from '..' diff --git a/packages/ui/src/components/RadioGroup/__stories__/Template.stories.tsx b/packages/ui/src/components/RadioGroup/__stories__/Template.stories.tsx index fe8f2176f7..5149db4f96 100644 --- a/packages/ui/src/components/RadioGroup/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/RadioGroup/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { RadioGroup } from '..' export const Template: StoryFn = args => ( diff --git a/packages/ui/src/components/RadioGroup/__stories__/index.stories.tsx b/packages/ui/src/components/RadioGroup/__stories__/index.stories.tsx index 5481b5c753..3ec27dd42c 100644 --- a/packages/ui/src/components/RadioGroup/__stories__/index.stories.tsx +++ b/packages/ui/src/components/RadioGroup/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { RadioGroup } from '..' export default { diff --git a/packages/ui/src/components/RadioGroup/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/RadioGroup/__tests__/__snapshots__/index.test.tsx.snap index fe94c8454b..940915f0ba 100644 --- a/packages/ui/src/components/RadioGroup/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/RadioGroup/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`RadioGroup > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`RadioGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -36,10 +36,10 @@ exports[`RadioGroup > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -48,10 +48,10 @@ exports[`RadioGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; } .emotion-6 { @@ -59,10 +59,10 @@ exports[`RadioGroup > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -71,33 +71,34 @@ exports[`RadioGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-8 { - color: #222638; +.emotion-9 { + color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + cursor: text; } -.emotion-10 { +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -106,21 +107,21 @@ exports[`RadioGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } -.emotion-12 { +.emotion-13 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -129,13 +130,13 @@ exports[`RadioGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-14 { +.emotion-15 { position: relative; display: -webkit-box; display: -webkit-flex; @@ -151,47 +152,47 @@ exports[`RadioGroup > renders correctly 1`] = ` gap: 0.5rem; } -.emotion-14[aria-disabled='false'], -.emotion-14[aria-disabled='false']>label { +.emotion-15[aria-disabled='false'], +.emotion-15[aria-disabled='false']>label { cursor: pointer; } -.emotion-14:hover[aria-disabled='false'] .emotion-17+.emotion-19 { +.emotion-15:hover[aria-disabled='false'] .emotion-18+.emotion-20 { fill: #8c40ef; } -.emotion-14:hover[aria-disabled='false'] .emotion-17+.emotion-19 .emotion-21 { +.emotion-15:hover[aria-disabled='false'] .emotion-18+.emotion-20 .emotion-22 { fill: #e5dbfd; } -.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true']+.emotion-19 { +.emotion-15:hover[aria-disabled='false'] .emotion-18[aria-invalid='true']+.emotion-20 { fill: #b3144d; } -.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true']+.emotion-19 .emotion-21 { +.emotion-15:hover[aria-disabled='false'] .emotion-18[aria-invalid='true']+.emotion-20 .emotion-22 { fill: #ffd3e3; } -.emotion-14[aria-disabled='true'] { +.emotion-15[aria-disabled='true'] { cursor: not-allowed; color: #b5b7bd; } -.emotion-14[aria-disabled='true']>label, -.emotion-14[aria-disabled='true'] .emotion-17 { +.emotion-15[aria-disabled='true']>label, +.emotion-15[aria-disabled='true'] .emotion-18 { cursor: not-allowed; } -.emotion-14[aria-disabled='true'] .emotion-19 { +.emotion-15[aria-disabled='true'] .emotion-20 { fill: #e9eaeb; cursor: not-allowed; } -.emotion-14[aria-disabled='true'] .emotion-19 .emotion-21 { +.emotion-15[aria-disabled='true'] .emotion-20 .emotion-22 { fill: #f3f3f4; } -.emotion-16 { +.emotion-17 { cursor: pointer; position: absolute; height: 1.5rem; @@ -201,7 +202,7 @@ exports[`RadioGroup > renders correctly 1`] = ` border-width: 0; } -.emotion-16+.emotion-19 .emotion-23 { +.emotion-17+.emotion-20 .emotion-24 { transform-origin: center; -webkit-transition: 200ms -webkit-transform ease-in-out; transition: 200ms transform ease-in-out; @@ -211,48 +212,48 @@ exports[`RadioGroup > renders correctly 1`] = ` transform: scale(0); } -.emotion-16:checked+svg .emotion-23 { +.emotion-17:checked+svg .emotion-24 { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } -.emotion-16:checked[aria-disabled='false'][aria-invalid='false']+.emotion-19 { +.emotion-17:checked[aria-disabled='false'][aria-invalid='false']+.emotion-20 { fill: #8c40ef; } -.emotion-16:checked[aria-disabled='true'][aria-invalid='false']+.emotion-19 { +.emotion-17:checked[aria-disabled='true'][aria-invalid='false']+.emotion-20 { fill: #d8c5fc; } -.emotion-16[aria-invalid='true']:not([aria-disabled='true'])+.emotion-19 { +.emotion-17[aria-invalid='true']:not([aria-disabled='true'])+.emotion-20 { fill: #e51963; } -.emotion-16[aria-disabled='false']:active+.emotion-19 { +.emotion-17[aria-disabled='false']:active+.emotion-20 { background-color: #5e127e40; fill: #8c40ef; } -.emotion-16[aria-disabled='false']:active+.emotion-19 .emotion-21 { +.emotion-17[aria-disabled='false']:active+.emotion-20 .emotion-22 { fill: #f1eefc; } -.emotion-16[aria-disabled='false']:focus-visible+.emotion-19 { +.emotion-17[aria-disabled='false']:focus-visible+.emotion-20 { outline: -webkit-focus-ring-color auto 1px; } -.emotion-16[aria-invalid='true']:focus+.emotion-19 { +.emotion-17[aria-invalid='true']:focus+.emotion-20 { background-color: #f91b6c40; fill: #e51963; } -.emotion-16[aria-invalid='true']:focus+.emotion-19 .emotion-21 { +.emotion-17[aria-invalid='true']:focus+.emotion-20 .emotion-22 { fill: #ffebf2; } -.emotion-18 { +.emotion-19 { height: 1.5rem; width: 1.5rem; min-width: 1.5rem; @@ -261,13 +262,13 @@ exports[`RadioGroup > renders correctly 1`] = ` fill: #d9dadd; } -.emotion-18 .emotion-21 { +.emotion-19 .emotion-22 { fill: #ffffff; } -.emotion-25 { +.emotion-26 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -296,20 +297,20 @@ exports[`RadioGroup > renders correctly 1`] = ` class="emotion-6 emotion-1" > - Label  + Label
@@ -317,14 +318,14 @@ exports[`RadioGroup > renders correctly 1`] = ` aria-disabled="false" aria-invalid="false" checked="" - class="emotion-16 emotion-17" + class="emotion-17 emotion-18" id="«r1»" name="radio" type="radio" value="value-1" /> @@ -335,13 +336,13 @@ exports[`RadioGroup > renders correctly 1`] = ` stroke-width="2" /> renders correctly 1`] = `
@@ -386,13 +387,13 @@ exports[`RadioGroup > renders correctly 1`] = ` stroke-width="2" /> renders correctly 1`] = `
@@ -732,14 +734,14 @@ exports[`RadioGroup > renders correctly with direction row 1`] = ` aria-disabled="false" aria-invalid="false" checked="" - class="emotion-16 emotion-17" + class="emotion-17 emotion-18" id="«r8»" name="radio" type="radio" value="value-1" /> @@ -750,13 +752,13 @@ exports[`RadioGroup > renders correctly with direction row 1`] = ` stroke-width="2" /> renders correctly with direction row 1`] = `
@@ -801,13 +803,13 @@ exports[`RadioGroup > renders correctly with direction row 1`] = ` stroke-width="2" /> renders correctly with direction row 1`] = `
@@ -1159,14 +1162,14 @@ exports[`RadioGroup > renders correctly with error content 1`] = ` aria-disabled="false" aria-invalid="true" checked="" - class="emotion-16 emotion-17" + class="emotion-17 emotion-18" id="«rn»" name="radio" type="radio" value="value-1" /> @@ -1177,13 +1180,13 @@ exports[`RadioGroup > renders correctly with error content 1`] = ` stroke-width="2" /> renders correctly with error content 1`] = `
@@ -1228,13 +1231,13 @@ exports[`RadioGroup > renders correctly with error content 1`] = ` stroke-width="2" /> renders correctly with error content 1`] = `
Eror content @@ -1269,10 +1272,10 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1281,10 +1284,10 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -1298,10 +1301,10 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1310,10 +1313,10 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; } .emotion-6 { @@ -1321,10 +1324,10 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1333,33 +1336,34 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-8 { - color: #222638; +.emotion-9 { + color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + cursor: text; } -.emotion-10 { +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1368,21 +1372,21 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } -.emotion-12 { +.emotion-13 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1391,13 +1395,13 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } -.emotion-14 { +.emotion-15 { position: relative; display: -webkit-box; display: -webkit-flex; @@ -1413,47 +1417,47 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` gap: 0.5rem; } -.emotion-14[aria-disabled='false'], -.emotion-14[aria-disabled='false']>label { +.emotion-15[aria-disabled='false'], +.emotion-15[aria-disabled='false']>label { cursor: pointer; } -.emotion-14:hover[aria-disabled='false'] .emotion-17+.emotion-19 { +.emotion-15:hover[aria-disabled='false'] .emotion-18+.emotion-20 { fill: #8c40ef; } -.emotion-14:hover[aria-disabled='false'] .emotion-17+.emotion-19 .emotion-21 { +.emotion-15:hover[aria-disabled='false'] .emotion-18+.emotion-20 .emotion-22 { fill: #e5dbfd; } -.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true']+.emotion-19 { +.emotion-15:hover[aria-disabled='false'] .emotion-18[aria-invalid='true']+.emotion-20 { fill: #b3144d; } -.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true']+.emotion-19 .emotion-21 { +.emotion-15:hover[aria-disabled='false'] .emotion-18[aria-invalid='true']+.emotion-20 .emotion-22 { fill: #ffd3e3; } -.emotion-14[aria-disabled='true'] { +.emotion-15[aria-disabled='true'] { cursor: not-allowed; color: #b5b7bd; } -.emotion-14[aria-disabled='true']>label, -.emotion-14[aria-disabled='true'] .emotion-17 { +.emotion-15[aria-disabled='true']>label, +.emotion-15[aria-disabled='true'] .emotion-18 { cursor: not-allowed; } -.emotion-14[aria-disabled='true'] .emotion-19 { +.emotion-15[aria-disabled='true'] .emotion-20 { fill: #e9eaeb; cursor: not-allowed; } -.emotion-14[aria-disabled='true'] .emotion-19 .emotion-21 { +.emotion-15[aria-disabled='true'] .emotion-20 .emotion-22 { fill: #f3f3f4; } -.emotion-16 { +.emotion-17 { cursor: pointer; position: absolute; height: 1.5rem; @@ -1463,7 +1467,7 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` border-width: 0; } -.emotion-16+.emotion-19 .emotion-23 { +.emotion-17+.emotion-20 .emotion-24 { transform-origin: center; -webkit-transition: 200ms -webkit-transform ease-in-out; transition: 200ms transform ease-in-out; @@ -1473,48 +1477,48 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` transform: scale(0); } -.emotion-16:checked+svg .emotion-23 { +.emotion-17:checked+svg .emotion-24 { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } -.emotion-16:checked[aria-disabled='false'][aria-invalid='false']+.emotion-19 { +.emotion-17:checked[aria-disabled='false'][aria-invalid='false']+.emotion-20 { fill: #8c40ef; } -.emotion-16:checked[aria-disabled='true'][aria-invalid='false']+.emotion-19 { +.emotion-17:checked[aria-disabled='true'][aria-invalid='false']+.emotion-20 { fill: #d8c5fc; } -.emotion-16[aria-invalid='true']:not([aria-disabled='true'])+.emotion-19 { +.emotion-17[aria-invalid='true']:not([aria-disabled='true'])+.emotion-20 { fill: #e51963; } -.emotion-16[aria-disabled='false']:active+.emotion-19 { +.emotion-17[aria-disabled='false']:active+.emotion-20 { background-color: #5e127e40; fill: #8c40ef; } -.emotion-16[aria-disabled='false']:active+.emotion-19 .emotion-21 { +.emotion-17[aria-disabled='false']:active+.emotion-20 .emotion-22 { fill: #f1eefc; } -.emotion-16[aria-disabled='false']:focus-visible+.emotion-19 { +.emotion-17[aria-disabled='false']:focus-visible+.emotion-20 { outline: -webkit-focus-ring-color auto 1px; } -.emotion-16[aria-invalid='true']:focus+.emotion-19 { +.emotion-17[aria-invalid='true']:focus+.emotion-20 { background-color: #f91b6c40; fill: #e51963; } -.emotion-16[aria-invalid='true']:focus+.emotion-19 .emotion-21 { +.emotion-17[aria-invalid='true']:focus+.emotion-20 .emotion-22 { fill: #ffebf2; } -.emotion-18 { +.emotion-19 { height: 1.5rem; width: 1.5rem; min-width: 1.5rem; @@ -1523,13 +1527,13 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` fill: #d9dadd; } -.emotion-18 .emotion-21 { +.emotion-19 .emotion-22 { fill: #ffffff; } -.emotion-25 { +.emotion-26 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1542,10 +1546,10 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` cursor: pointer; } -.emotion-42 { +.emotion-43 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1570,20 +1574,20 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` class="emotion-6 emotion-1" > - Label  + Label
@@ -1591,14 +1595,14 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` aria-disabled="false" aria-invalid="false" checked="" - class="emotion-16 emotion-17" + class="emotion-17 emotion-18" id="«rf»" name="radio" type="radio" value="value-1" /> @@ -1609,13 +1613,13 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` stroke-width="2" /> renders correctly with helper content 1`] = `
@@ -1660,13 +1664,13 @@ exports[`RadioGroup > renders correctly with helper content 1`] = ` stroke-width="2" /> renders correctly with helper content 1`] = `
Helper content diff --git a/packages/ui/src/components/RadioGroup/__tests__/index.test.tsx b/packages/ui/src/components/RadioGroup/__tests__/index.test.tsx index 11e54780e0..02abaab9d0 100644 --- a/packages/ui/src/components/RadioGroup/__tests__/index.test.tsx +++ b/packages/ui/src/components/RadioGroup/__tests__/index.test.tsx @@ -12,8 +12,8 @@ describe('RadioGroup', () => { name="radio" legend="Label" > - - + + , )) @@ -26,8 +26,8 @@ describe('RadioGroup', () => { legend="Label" direction="row" > - - + + , )) @@ -40,8 +40,8 @@ describe('RadioGroup', () => { legend="Label" helper="Helper content" > - - + + , )) @@ -54,16 +54,14 @@ describe('RadioGroup', () => { legend="Label" error="Eror content" > - - + + , )) test('throws if RadioGroup.Radio used without RadioGroup', () => { expect(() => - render( - , - ), + render(), ).toThrow('RadioGroup.Radio can only be used inside a RadioGroup') }) }) diff --git a/packages/ui/src/components/RadioGroup/index.tsx b/packages/ui/src/components/RadioGroup/index.tsx index b7f4569106..e50976ce8c 100644 --- a/packages/ui/src/components/RadioGroup/index.tsx +++ b/packages/ui/src/components/RadioGroup/index.tsx @@ -1,9 +1,9 @@ 'use client' import styled from '@emotion/styled' -import { AsteriskIcon } from '@ultraviolet/icons' import type { ComponentProps, InputHTMLAttributes, ReactNode } from 'react' import { createContext, useContext, useMemo } from 'react' +import { Label } from '../Label' import { Radio } from '../Radio' import { Stack } from '../Stack' import { Text } from '../Text' @@ -21,20 +21,13 @@ const RadioGroupContext = createContext( type RadioGroupRadioProps = Omit< ComponentProps, - 'onChange' | 'checked' | 'required' -> & { - /** - * @deprecated you don't need to use `name` anymore, the name will be passed from the parent `RadioGroup`. - */ - name?: string -} - + 'onChange' | 'checked' | 'required' | 'name' +> const RadioGroupRadio = ({ onFocus, onBlur, disabled, error, - name, value, label, helper, @@ -60,7 +53,7 @@ const RadioGroupRadio = ({ onBlur={onBlur} disabled={disabled} error={error || errorContext} - name={groupName ?? name} + name={groupName} value={value} label={label} helper={helper} @@ -79,12 +72,9 @@ const FieldSet = styled.fieldset` margin: 0; ` -const StyledRequiredIcon = styled(AsteriskIcon)` - vertical-align: super; -` - type RadioGroupProps = { - legend?: ReactNode + legend?: string + legendDescription?: ReactNode value: string | number className?: string helper?: ReactNode @@ -100,6 +90,7 @@ type RadioGroupProps = { */ export const RadioGroup = ({ legend, + legendDescription, value, className, helper, @@ -130,17 +121,13 @@ export const RadioGroup = ({ {legend || description ? ( {legend ? ( - - {legend}  - {required ? ( - - ) : null} - + {legend} + ) : null} {description ? ( theme.colors.primary.background}; - color: ${({ theme }) => theme.colors.primary.text}; -` +import { Separator } from '../../Separator' +import { Stack } from '../../Stack' +import { Text } from '../../Text' +import { DivWithBackground } from './DivWithBackground' export const AlignItems: StoryFn = args => ( - - - 100px height & default align - - - 50px height & default align - - auto height & default align + + alignItems=“start“ + + + 1fr + 1fr + 1fr + + + + alignItems=“center“ + + + 1fr + 1fr + 1fr - - - 100px height & align center - - - 50px height & align center - - auto height & align center + + alignItems=“end“ + + + 1fr + 1fr + 1fr ) diff --git a/packages/ui/src/components/Row/__stories__/DivWithBackground.ts b/packages/ui/src/components/Row/__stories__/DivWithBackground.ts new file mode 100644 index 0000000000..de75609063 --- /dev/null +++ b/packages/ui/src/components/Row/__stories__/DivWithBackground.ts @@ -0,0 +1,12 @@ +import styled from '@emotion/styled' + +export const DivWithBackground = styled.div` + padding: ${({ theme }) => theme.space[1]}; + background: ${({ theme }) => theme.colors.primary.background}; + color: ${({ theme }) => theme.colors.primary.text}; + border-radius: ${({ theme }) => theme.radii.default}; + border: 1px solid ${({ theme }) => theme.colors.primary.border}; + display: flex; + align-items: center; + justify-content: center; +` diff --git a/packages/ui/src/components/Row/__stories__/Example.stories.tsx b/packages/ui/src/components/Row/__stories__/Example.stories.tsx index e5ff6167f1..e2f736b809 100644 --- a/packages/ui/src/components/Row/__stories__/Example.stories.tsx +++ b/packages/ui/src/components/Row/__stories__/Example.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Row } from '..' import { Card, Separator, Stack, Status, Text } from '../..' diff --git a/packages/ui/src/components/Row/__stories__/Gap.stories.tsx b/packages/ui/src/components/Row/__stories__/Gap.stories.tsx index c6db2fcdb7..729d748f86 100644 --- a/packages/ui/src/components/Row/__stories__/Gap.stories.tsx +++ b/packages/ui/src/components/Row/__stories__/Gap.stories.tsx @@ -3,7 +3,7 @@ import { Template } from './Template.stories' export const Gap = Template.bind({}) Gap.args = { - gap: 2, + gap: 10, } Gap.parameters = { diff --git a/packages/ui/src/components/Row/__stories__/Padding.stories.tsx b/packages/ui/src/components/Row/__stories__/Padding.stories.tsx index f2d916d0ef..1187a17dfc 100644 --- a/packages/ui/src/components/Row/__stories__/Padding.stories.tsx +++ b/packages/ui/src/components/Row/__stories__/Padding.stories.tsx @@ -1,33 +1,23 @@ -import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Row } from '..' -import { Separator, Stack } from '../..' - -const DivWithBackground = styled.div` - background: ${({ theme }) => theme.colors.neutral.background}; - color: ${({ theme }) => theme.colors.primary.text}; -` -const StackWithBackground = styled(Stack)` -background-color: ${({ theme }) => theme.colors.primary.background}; -` +import { Stack } from '../../Stack' +import { DivWithBackground } from './DivWithBackground' export const Padding: StoryFn = args => ( - + Padding-top and bottom: 50px - Padding-left and right: 50px - Padding-left: 8px, padding-right: 32px, padding-top: 16px, padding-bottom: 24px; - + ) Padding.parameters = { diff --git a/packages/ui/src/components/Row/__stories__/Playground.stories.tsx b/packages/ui/src/components/Row/__stories__/Playground.stories.tsx index 1bb1300883..65711108b1 100644 --- a/packages/ui/src/components/Row/__stories__/Playground.stories.tsx +++ b/packages/ui/src/components/Row/__stories__/Playground.stories.tsx @@ -1,3 +1,7 @@ import { Template } from './Template.stories' export const Playground = Template.bind({}) + +Playground.args = { + gap: 1, +} diff --git a/packages/ui/src/components/Row/__stories__/Responsive.stories.tsx b/packages/ui/src/components/Row/__stories__/Responsive.stories.tsx new file mode 100644 index 0000000000..0845ce4ba8 --- /dev/null +++ b/packages/ui/src/components/Row/__stories__/Responsive.stories.tsx @@ -0,0 +1,113 @@ +import type { StoryFn } from '@storybook/react-vite' +import { consoleLightTheme } from '@ultraviolet/themes' +import { useEffect, useState } from 'react' +import { Row } from '..' +import { Stack } from '../../Stack' +import { DivWithBackground } from './DivWithBackground' + +export const Responsive: StoryFn = props => { + const [breakpoint, setBreakpoint] = useState<'xxsmall' | 'xsmall' | 'small'>( + 'xxsmall', + ) + + useEffect(() => { + const calc = () => { + if ( + window.innerWidth <= + Number(consoleLightTheme.breakpoints.xxsmall.replace('px', '')) + ) { + setBreakpoint('xxsmall') + } else if ( + window.innerWidth <= + Number(consoleLightTheme.breakpoints.xsmall.replace('px', '')) + ) { + setBreakpoint('xsmall') + } else { + setBreakpoint('small') + } + } + calc() + window.addEventListener('resize', calc) + + return () => window.removeEventListener('resize', calc) + }, []) + + const row1Columns = { + xxsmall: ['1fr', '1fr', '1fr'], + xsmall: ['2fr', '2fr', '2fr'], + small: ['3fr', '6fr', '3fr'], + } as const + + const row2Columns = { + xxsmall: ['1fr', '1fr', '1fr'], + xsmall: ['2fr', '2fr', '2fr'], + small: ['4fr', '3fr', '4fr'], + } as const + + // Helper to get current columns for a row + const getColumns = (columnsMap: typeof row1Columns | typeof row2Columns) => + columnsMap[breakpoint] || columnsMap.xxsmall + + const row1Current = getColumns(row1Columns) + const row2Current = getColumns(row2Columns) + + return ( + + + {row1Current.map((col, idx) => { + const sentiments = ['primary', 'success', 'danger'] + + return ( + + {col} + + ) + })} + + + {row2Current.map((col, idx) => { + const sentiments = ['primary', 'success', 'danger'] + + return ( + + {col} + + ) + })} + + + ) +} + +Responsive.parameters = { + docs: { + description: { + story: + 'You can set different type of `templateColumns` and `gap` according to theme breakpoints. We recommend switching to [story view mode](/story/components-layout-row--responsive) and in the top bar select screen size to test on different breakpoints.', + }, + }, +} diff --git a/packages/ui/src/components/Row/__stories__/Template.stories.tsx b/packages/ui/src/components/Row/__stories__/Template.stories.tsx index 6f1dbf410e..84e662ff90 100644 --- a/packages/ui/src/components/Row/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Row/__stories__/Template.stories.tsx @@ -1,16 +1,19 @@ -import styled from '@emotion/styled' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Row } from '..' - -const DivWithBackground = styled.div` - background: ${({ theme }) => theme.colors.primary.background}; - color: ${({ theme }) => theme.colors.primary.text}; -` +import { Stack } from '../../Stack' +import { DivWithBackground } from './DivWithBackground' export const Template: StoryFn = ({ ...props }) => ( - - 3fr | 3/12 - 6fr | 6/12 - 3fr | 3/12 - + + + 3fr + 6fr + 3fr + + + 4fr + 3fr + 4fr + + ) diff --git a/packages/ui/src/components/Row/__stories__/index.stories.tsx b/packages/ui/src/components/Row/__stories__/index.stories.tsx index b4bb64c73f..0ee67ec895 100644 --- a/packages/ui/src/components/Row/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Row/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Row } from '..' export default { @@ -10,4 +10,5 @@ export { Playground } from './Playground.stories' export { Gap } from './Gap.stories' export { AlignItems } from './AlignItems.stories' export { Padding } from './Padding.stories' +export { Responsive } from './Responsive.stories' export { Example } from './Example.stories' diff --git a/packages/ui/src/components/Row/index.tsx b/packages/ui/src/components/Row/index.tsx index 9f44d6f784..1769ce7f3c 100644 --- a/packages/ui/src/components/Row/index.tsx +++ b/packages/ui/src/components/Row/index.tsx @@ -28,15 +28,68 @@ export const StyledRow = styled('div', { justifyContent = 'normal', padding, }) => ` - grid-template-columns: ${templateColumns}; + + ${ + typeof templateColumns === 'object' + ? Object.entries(templateColumns) + .map( + ([breakpoint, value]) => + `@media (min-width: ${theme.breakpoints[breakpoint as keyof UltravioletUITheme['breakpoints']]}) { + grid-template-columns: ${value}; + }`, + ) + .join(' ') + : `${templateColumns ? `grid-template-columns: ${templateColumns};` : ''}` + } + + ${ + gap && typeof gap === 'object' + ? Object.entries(gap) + .map( + ([breakpoint, value]) => + `@media (min-width: ${theme.breakpoints[breakpoint as keyof UltravioletUITheme['breakpoints']]}) { + gap: ${theme.space[value.toString() as keyof UltravioletUITheme['space']]}; + }`, + ) + .join(' ') + : `${gap ? `gap: ${theme.space[gap as keyof UltravioletUITheme['space']]};` : ''}` + } + ${ + alignItems && typeof alignItems === 'object' + ? Object.entries(alignItems) + .map( + ([breakpoint, value]) => + `@media (min-width: ${theme.breakpoints[breakpoint as keyof UltravioletUITheme['breakpoints']]}) { + align-items: ${value}; + }`, + ) + .join(' ') + : `${alignItems ? `align-items: ${alignItems};` : ''}` + } + ${ + justifyContent && typeof justifyContent === 'object' + ? Object.entries(justifyContent) + .map( + ([breakpoint, value]) => + `@media (min-width: ${theme.breakpoints[breakpoint as keyof UltravioletUITheme['breakpoints']]}) { + justify-content: ${value}; + }`, + ) + .join(' ') + : `${justifyContent ? `justify-content: ${justifyContent};` : ''}` + } ${ - gap - ? `gap: ${theme.space[gap as keyof UltravioletUITheme['space']]};` - : '' + padding && typeof padding === 'object' + ? Object.entries(padding) + .map( + ([breakpoint, value]) => + `@media (min-width: ${theme.breakpoints[breakpoint as keyof UltravioletUITheme['breakpoints']]}) { + padding: ${value}; + }`, + ) + .join(' ') + : `${padding ? `padding: ${padding};` : ''}` } - align-items: ${alignItems}; - justify-content: ${justifyContent}; - ${padding ? `padding: ${padding};` : ''} `} ` @@ -44,11 +97,42 @@ type RowProps = { className?: string 'data-testid'?: string children: ReactNode - templateColumns: string - gap?: keyof UltravioletUITheme['space'] | number - alignItems?: CSSProperties['alignItems'] - justifyContent?: CSSProperties['justifyContent'] - padding?: CSSProperties['padding'] + templateColumns: + | string + | Partial> + gap?: + | keyof UltravioletUITheme['space'] + | number + | Partial< + Record< + keyof UltravioletUITheme['breakpoints'], + keyof UltravioletUITheme['space'] | number + > + > + alignItems?: + | CSSProperties['alignItems'] + | Partial< + Record< + keyof UltravioletUITheme['breakpoints'], + CSSProperties['alignItems'] + > + > + justifyContent?: + | CSSProperties['justifyContent'] + | Partial< + Record< + keyof UltravioletUITheme['breakpoints'], + CSSProperties['justifyContent'] + > + > + padding?: + | CSSProperties['padding'] + | Partial< + Record< + keyof UltravioletUITheme['breakpoints'], + CSSProperties['padding'] + > + > } /** diff --git a/packages/ui/src/components/SearchInput/__stories__/Standalone.stories.tsx b/packages/ui/src/components/SearchInput/__stories__/Standalone.stories.tsx index 150c18c6ff..4feeab43aa 100644 --- a/packages/ui/src/components/SearchInput/__stories__/Standalone.stories.tsx +++ b/packages/ui/src/components/SearchInput/__stories__/Standalone.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { SearchInput } from '..' import { Button } from '../../Button' diff --git a/packages/ui/src/components/SearchInput/__stories__/Template.stories.tsx b/packages/ui/src/components/SearchInput/__stories__/Template.stories.tsx index 4a5fcfec63..ac6107d947 100644 --- a/packages/ui/src/components/SearchInput/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/SearchInput/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { SearchInput } from '..' import { Text } from '../../Text' diff --git a/packages/ui/src/components/SearchInput/__stories__/index.stories.tsx b/packages/ui/src/components/SearchInput/__stories__/index.stories.tsx index 8e44cd923f..207a966364 100644 --- a/packages/ui/src/components/SearchInput/__stories__/index.stories.tsx +++ b/packages/ui/src/components/SearchInput/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { SearchInput } from '..' export default { diff --git a/packages/ui/src/components/SearchInput/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/SearchInput/__tests__/__snapshots__/index.test.tsx.snap index 76eae92739..8c519d711b 100644 --- a/packages/ui/src/components/SearchInput/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/SearchInput/__tests__/__snapshots__/index.test.tsx.snap @@ -36,7 +36,7 @@ exports[`SearchInput > Key > renders correctly with disabled 1`] = ` .emotion-2 { color: #b5b7bd; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -100,7 +100,7 @@ exports[`SearchInput > Key > renders correctly with special key 1`] = ` .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -163,7 +163,7 @@ exports[`SearchInput > Key > renders correctly with special Alt key 1`] = ` .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -226,7 +226,7 @@ exports[`SearchInput > Key > renders correctly with special ArrowDown key 1`] = .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -289,7 +289,7 @@ exports[`SearchInput > Key > renders correctly with special ArrowLeft key 1`] = .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -352,7 +352,7 @@ exports[`SearchInput > Key > renders correctly with special ArrowRight key 1`] = .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -415,7 +415,7 @@ exports[`SearchInput > Key > renders correctly with special ArrowUp key 1`] = ` .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -478,7 +478,7 @@ exports[`SearchInput > Key > renders correctly with special Backspace key 1`] = .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -541,7 +541,7 @@ exports[`SearchInput > Key > renders correctly with special CapsLock key 1`] = ` .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -604,7 +604,7 @@ exports[`SearchInput > Key > renders correctly with special Control key 1`] = ` .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -667,7 +667,7 @@ exports[`SearchInput > Key > renders correctly with special Delete key 1`] = ` .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -730,7 +730,7 @@ exports[`SearchInput > Key > renders correctly with special Enter key 1`] = ` .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -793,7 +793,7 @@ exports[`SearchInput > Key > renders correctly with special Escape key 1`] = ` .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -856,7 +856,7 @@ exports[`SearchInput > Key > renders correctly with special Meta key 1`] = ` .emotion-2 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -902,10 +902,10 @@ exports[`SearchInput > renders correctly without children props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -914,10 +914,10 @@ exports[`SearchInput > renders correctly without children props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 .emotion-8 { @@ -928,7 +928,7 @@ exports[`SearchInput > renders correctly without children props 1`] = ` padding: 0; } -.emotion-3 .e7tir8v3 { +.emotion-3 .el3h3g93 { border: none; } @@ -1013,10 +1013,10 @@ exports[`SearchInput > renders correctly without children props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1025,10 +1025,9 @@ exports[`SearchInput > renders correctly without children props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 1rem; border-right: 1px solid; border-color: inherit; @@ -1043,10 +1042,10 @@ exports[`SearchInput > renders correctly without children props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1055,10 +1054,9 @@ exports[`SearchInput > renders correctly without children props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; cursor: text; } @@ -1177,10 +1175,10 @@ exports[`SearchInput > renders with disabled prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1189,10 +1187,10 @@ exports[`SearchInput > renders with disabled prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 .emotion-8 { @@ -1203,7 +1201,7 @@ exports[`SearchInput > renders with disabled prop 1`] = ` padding: 0; } -.emotion-3 .e7tir8v3 { +.emotion-3 .el3h3g93 { border: none; } @@ -1288,10 +1286,10 @@ exports[`SearchInput > renders with disabled prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1300,10 +1298,9 @@ exports[`SearchInput > renders with disabled prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 1rem; border-right: 1px solid; border-color: inherit; @@ -1318,10 +1315,10 @@ exports[`SearchInput > renders with disabled prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1330,10 +1327,9 @@ exports[`SearchInput > renders with disabled prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; cursor: text; } @@ -1453,10 +1449,10 @@ exports[`SearchInput > renders with error prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1465,10 +1461,10 @@ exports[`SearchInput > renders with error prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 .emotion-8 { @@ -1479,7 +1475,7 @@ exports[`SearchInput > renders with error prop 1`] = ` padding: 0; } -.emotion-3 .e7tir8v3 { +.emotion-3 .el3h3g93 { border: none; } @@ -1564,10 +1560,10 @@ exports[`SearchInput > renders with error prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1576,10 +1572,9 @@ exports[`SearchInput > renders with error prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 1rem; border-right: 1px solid; border-color: inherit; @@ -1594,10 +1589,10 @@ exports[`SearchInput > renders with error prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1606,10 +1601,9 @@ exports[`SearchInput > renders with error prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; cursor: text; } @@ -1653,10 +1647,10 @@ exports[`SearchInput > renders with error prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1665,10 +1659,10 @@ exports[`SearchInput > renders with error prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; padding: 0 1rem; } @@ -1689,7 +1683,7 @@ exports[`SearchInput > renders with error prop 1`] = ` .emotion-19 { color: #b3144d; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1797,10 +1791,10 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1809,10 +1803,10 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 .emotion-8 { @@ -1908,10 +1902,10 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1920,10 +1914,9 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 1rem; border-right: 1px solid; border-color: inherit; @@ -1938,10 +1931,10 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1950,10 +1943,9 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; cursor: text; } @@ -1997,10 +1989,10 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2009,10 +2001,9 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -2023,10 +2014,10 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2035,10 +2026,10 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; cursor: text; } @@ -2076,7 +2067,7 @@ exports[`SearchInput > renders with shortcut prop > as array of string 1`] = ` .emotion-21 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -2206,10 +2197,10 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2218,10 +2209,10 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 .emotion-8 { @@ -2317,10 +2308,10 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2329,10 +2320,9 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 1rem; border-right: 1px solid; border-color: inherit; @@ -2347,10 +2337,10 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2359,10 +2349,9 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; cursor: text; } @@ -2406,10 +2395,10 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2418,10 +2407,9 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; padding: 0 1rem; border-left: 1px solid; border-color: inherit; @@ -2432,10 +2420,10 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2444,10 +2432,10 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; cursor: text; } @@ -2485,7 +2473,7 @@ exports[`SearchInput > renders with shortcut prop > as boolean 1`] = ` .emotion-21 { color: #3f4250; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; diff --git a/packages/ui/src/components/SearchInput/index.tsx b/packages/ui/src/components/SearchInput/index.tsx index 9cc8cc7b5d..cb49f9769d 100644 --- a/packages/ui/src/components/SearchInput/index.tsx +++ b/packages/ui/src/components/SearchInput/index.tsx @@ -20,8 +20,8 @@ import { BasicPrefixStack, BasicSuffixStack, StyledInput, - TextInputV2, -} from '../TextInputV2' + TextInput, +} from '../TextInput' import { KeyGroup } from './KeyGroup' import type { SearchInputProps } from './types' @@ -34,7 +34,7 @@ const StyledPopup = styled(Popup)` box-shadow: ${({ theme }) => `${theme.shadows.raised[0]}, ${theme.shadows.raised[1]}`}; ` -const StyledTextInputV2 = styled(TextInputV2)` +const StyledTextInput = styled(TextInput)` ${BasicPrefixStack} { border: none; } @@ -53,7 +53,7 @@ const ClickableStack = styled(Stack)` ` /** - * SearchInput is a component that allows users to search for items. It is a combination of a TextInputV2 and a Popup. The Popup is used to display search results. + * SearchInput is a component that allows users to search for items. It is a combination of a TextInput and a Popup. The Popup is used to display search results. * Children of the SearchInput component can be a function that receives an object with the following properties: * - `searchTerms`: the current search terms * - `isOpen`: a boolean indicating if the popup is open @@ -289,7 +289,7 @@ export const SearchInput = forwardRef( maxHeight={410} debounceDelay={0} > - ReactNode export type SearchInputProps = { - popupPlacement?: ComponentProps['placement'] + popupPlacement?: Exclude< + ComponentProps['placement'], + 'nested-menu' + > threshold?: number children?: SearchBarChildrenFunctionProps | ReactNode onSearch: (value: string) => void @@ -29,7 +32,7 @@ export type SearchInputProps = { shortcut?: boolean | ComponentProps['keys'] className?: string } & Exclude< - ComponentProps, + ComponentProps, | 'prefix' | 'suffix' | 'clearable' diff --git a/packages/ui/src/components/SelectInputV2/Dropdown.tsx b/packages/ui/src/components/SelectInput/Dropdown.tsx similarity index 98% rename from packages/ui/src/components/SelectInputV2/Dropdown.tsx rename to packages/ui/src/components/SelectInput/Dropdown.tsx index e2a89a6a7c..ebdacb6a30 100644 --- a/packages/ui/src/components/SelectInputV2/Dropdown.tsx +++ b/packages/ui/src/components/SelectInput/Dropdown.tsx @@ -66,9 +66,11 @@ const NON_SEARCHABLE_KEYS = [ const StyledPopup = styled(Popup)` width: 100%; min-width: 320px; - background-color: ${({ theme }) => theme.colors.other.elevation.background.raised}; + background-color: ${({ theme }) => + theme.colors.other.elevation.background.raised}; color: ${({ theme }) => theme.colors.neutral.text}; - box-shadow: ${({ theme }) => `${theme.shadows.raised[0]}, ${theme.shadows.raised[1]}`}; + box-shadow: ${({ theme }) => + `${theme.shadows.raised[0]}, ${theme.shadows.raised[1]}`}; padding: ${({ theme }) => theme.space[0]}; margin-bottom: ${({ theme }) => theme.space[10]}; ` @@ -124,7 +126,8 @@ const DropdownItem = styled.div<{ }>` text-align:left; border: none; - background-color: ${({ theme }) => theme.colors.other.elevation.background.raised}; + background-color: ${({ theme }) => + theme.colors.other.elevation.background.raised}; padding: ${({ theme }) => theme.space['1.5']} ${({ theme }) => theme.space['2']} ${({ theme }) => theme.space['1.5']} ${({ theme }) => @@ -813,7 +816,7 @@ export const Dropdown = ({ }, [displayedOptions, numberOfOptions]) const computedFooter = useMemo(() => { - if (footer) { + if (footer && !isEmpty) { if (typeof footer === 'function') { return ( {footer(() => setIsDropdownVisible(false))} @@ -824,7 +827,7 @@ export const Dropdown = ({ } return null - }, [footer, setIsDropdownVisible]) + }, [isEmpty, footer, setIsDropdownVisible]) return ( > } -const StyledInput = styled(TextInputV2)` +const StyledInput = styled(TextInput)` padding-top: ${({ theme }) => theme.space[1.5]}; padding-bottom: ${({ theme }) => theme.space[1.5]}; padding-left: ${({ theme }) => theme.space[2]}; padding-right: ${({ theme }) => theme.space[2]}; ` -const matchRegex = (data: OptionType[], regex: RegExp) => - data.filter( - option => - // oxlint-disable-next-line eslint-plugin-unicorn(prefer-regexp-test) - (option.searchText && !!option.searchText.match(regex)) || - (typeof option.label === 'string' && option.label.match(regex)) || +export const getReferenceText = (option: OptionType) => { + if (option.searchText) return normalizeString(option.searchText) + if (typeof option.label === 'string') return normalizeString(option.label) + + return '' +} + +// It uses Levenshtein distance so that the search is typo-tolerant for a simple fuzzy-search +export const searchRegex = (data: OptionType[], query: string) => + data.filter(option => { + const referenceText = getReferenceText(option) + const regex = new RegExp(query, 'i') + + return ( + (query.length > 2 + ? isFuzzyMatch(query, referenceText) + : referenceText.match(regex)) || (typeof option.description === 'string' && option.description.match(regex)) || - option.value.match(regex), - ) + option.value.match(regex) + ) + }) + const findClosestOption = ( options: DataType, searchInput: string | undefined, @@ -87,18 +101,22 @@ export const SearchBarDropdown = ({ const handleChange = (search: string) => { if (search.length > 0) { - // case insensitive search - const regex = new RegExp(escapeRegExp(search.toString()), 'i') if (!Array.isArray(options)) { const filteredOptions = { ...options } Object.keys(filteredOptions).map((group: string) => { - filteredOptions[group] = matchRegex(filteredOptions[group], regex) + filteredOptions[group] = searchRegex( + filteredOptions[group], + escapeRegExp(search.toString()), + ) return null }) onSearch(filteredOptions) } else { - const filteredOptions = matchRegex([...options], regex) + const filteredOptions = searchRegex( + [...options], + escapeRegExp(search.toString()), + ) onSearch(filteredOptions) } } else { diff --git a/packages/ui/src/components/SelectInputV2/SelectBar.tsx b/packages/ui/src/components/SelectInput/SelectBar.tsx similarity index 54% rename from packages/ui/src/components/SelectInputV2/SelectBar.tsx rename to packages/ui/src/components/SelectInput/SelectBar.tsx index 9843418207..90d7fb9ce1 100644 --- a/packages/ui/src/components/SelectInputV2/SelectBar.tsx +++ b/packages/ui/src/components/SelectInput/SelectBar.tsx @@ -5,19 +5,27 @@ import { AlertCircleIcon, ArrowDownIcon, CheckCircleIcon, + CloseIcon, PlusIcon, } from '@ultraviolet/icons' -import type { RefObject } from 'react' +import type { ReactNode, RefObject } from 'react' import { useEffect, useMemo, useRef, useState } from 'react' import { Button } from '../Button' +import { StyledChildrenContainer } from '../Popup' import { Stack } from '../Stack' import { Tag } from '../Tag' import { Text } from '../Text' import { Tooltip } from '../Tooltip' import { useSelectInput } from './SelectInputProvider' import { findOptionInOptions } from './findOptionInOptions' -import type { DataType, OptionType } from './types' -import { INPUT_SIZE_HEIGHT, SIZES_TAG } from './types' +import type { OptionType } from './types' +import { INPUT_SIZE_HEIGHT } from './types' + +const SIZES_TAG = { + paddings: 16, + plusTag: 48, + gap: 8, +} type SelectBarProps = { size: 'small' | 'medium' | 'large' @@ -38,11 +46,16 @@ type SelectBarProps = { type DisplayValuesProps = { refTag: RefObject nonOverflowedValues: OptionType[] + potentiallyNonOverflowedValues: OptionType[] disabled: boolean readOnly: boolean overflowed: boolean overflowAmount: number + measureRef: RefObject size: 'small' | 'medium' | 'large' + lastElementMaxWidth: number + overflow?: boolean + refPlusTag: RefObject } const StateStack = styled(Stack)` @@ -51,9 +64,10 @@ const StateStack = styled(Stack)` ` const Placeholder = styled(Text)` user-select: none; +align-self: center; ` -export const StyledInputWrapper = styled(Stack)<{ +const StyledInputWrapper = styled.div<{ 'data-readonly': boolean 'data-disabled': boolean 'data-size': 'small' | 'medium' | 'large' @@ -61,7 +75,10 @@ export const StyledInputWrapper = styled(Stack)<{ 'data-dropdownvisible': boolean 'aria-label'?: string }>` - display: flex; + display: grid; + width: 100%; + gap: ${({ theme }) => theme.space[1]}; + grid-template-columns: 1fr auto ; padding: ${({ theme }) => theme.space[1]}; padding-right: 0; padding-left: ${({ theme }) => theme.space[2]}; @@ -70,7 +87,6 @@ export const StyledInputWrapper = styled(Stack)<{ background: ${({ theme }) => theme.colors.neutral.background}; border-radius: ${({ theme }) => theme.radii.default}; width: 100%; - overflow: hidden; &[data-size='small'] { height: ${({ theme }) => theme.sizing[INPUT_SIZE_HEIGHT.small]}; @@ -146,52 +162,103 @@ export const StyledInputWrapper = styled(Stack)<{ } ` -const CustomTag = styled(Tag)` - height: fit-content; +const CustomTag = styled(Tag, { + shouldForwardProp: prop => !['lastElementMaxWidth', 'hidden'].includes(prop), +})<{ + lastElementMaxWidth?: number + hidden?: boolean +}>` + height: max-content; width: fit-content; + min-width: ${({ lastElementMaxWidth }) => + lastElementMaxWidth ? 'auto' : 'fit-content'}; + + max-width: ${({ lastElementMaxWidth, hidden }) => + lastElementMaxWidth && !hidden ? `${lastElementMaxWidth}px` : '100%'}; + + ${({ hidden }) => + hidden + ? 'visibility: hidden;' + : ` + text-overflow: ellipsis; + overflow: hidden;`} + + & > ${StyledChildrenContainer} { + overflow: hidden; + } ` const SelectedValues = styled(Text)` text-overflow: ellipsis; overflow: hidden; white-space: nowrap; + align-self: center; +` +const PlusTag = styled(Tag)` +width: ${({ theme }) => theme.sizing[500]}; +; ` -const isValidSelectedValue = (selectedValue: string, options: DataType) => - !Array.isArray(options) - ? Object.keys(options).some(group => - options[group].some( - option => option.value === selectedValue && !option.disabled, - ), - ) - : options.some(option => option.value === selectedValue && !option.disabled) +const MultiselectStack = styled(Stack)` +overflow: hidden; +max-width: 100%; +height: 100%; +` const DisplayValues = ({ refTag, nonOverflowedValues, + potentiallyNonOverflowedValues, disabled, readOnly, overflowed, overflowAmount, size, + measureRef, + lastElementMaxWidth, + overflow, + refPlusTag, }: DisplayValuesProps) => { const { multiselect, selectedData, setSelectedData, options, onChange } = useSelectInput() return multiselect ? ( - - {nonOverflowedValues.map(option => ( + {/* Hidden div to measure the width of the tags */} +
+ {potentiallyNonOverflowedValues.map(option => ( + {}} + className={option.value} + key={option.value} + hidden + > + {option?.label} + + ))} +
+ {nonOverflowedValues.map((option, index) => ( { @@ -211,19 +278,22 @@ const DisplayValues = ({ {option?.label} ))} + {overflowed ? ( - - - {overflowAmount} - + + + + {overflowAmount} + + ) : null} -
+ ) : ( (null) - const width = innerRef.current?.offsetWidth + const measureRef = useRef(null) + const arrowRef = useRef(null) + const refPlusTag = useRef(null) + // width - width of the arrow (in px) - padding between tags (in px) + const [innerWidth, setInnerWidth] = useState( + innerRef.current?.offsetWidth ?? + 0 - (arrowRef.current?.offsetWidth ?? 0) - SIZES_TAG.paddings, + ) const [overflowAmount, setOverflowAmount] = useState(0) + const [overflow, setOverflow] = useState(false) + const [lastElementMaxWidth, setLastElementMaxWidth] = useState(0) const [nonOverflowedValues, setNonOverFlowedValues] = useState( () => { if (selectedData.selectedValues[0]) { @@ -282,6 +361,14 @@ export const SelectBar = ({ }, ) + const potentiallyNonOverflowedValues = useMemo( + () => + selectedData.selectedValues + .map(selectedValue => findOptionInOptions(options, selectedValue)) + .filter((option): option is OptionType => !!option), + [options, selectedData.selectedValues], + ) + const state = useMemo(() => { if (error) { return 'danger' @@ -294,46 +381,147 @@ export const SelectBar = ({ }, [error, success]) useEffect(() => { - // When too many items are selected, too avoid overflow, compute the number of tags to display and add a + tag - let tagsWidth = 0 - let computedOverflowAmount = 0 - let computedNonOverflowedValues: OptionType[] = [] - const newSelectedValues = selectedData.selectedValues.filter( - selectedValue => isValidSelectedValue(selectedValue, options), - ) - for (const selectedValue of newSelectedValues) { - const selectedOption = findOptionInOptions(options, selectedValue) - if ( - selectedOption?.label && - width && - isValidSelectedValue(selectedValue, options) + if (selectedData.selectedValues.length === 0) { + setOverflowAmount(0) + setNonOverFlowedValues([]) + } + if (measureRef.current && selectedData.selectedValues.length > 0) { + const toMeasureElements: HTMLCollection = measureRef.current.children + const toMeasureElementsArray = [...toMeasureElements] + + const { + measuredVisibleTags, + measuredHiddenTags, + accumulatedWidth, + lastVisibleElementWidth, + lastVisibleLabel, + } = toMeasureElementsArray.reduce( + ( + accumulator: { + measuredVisibleTags: OptionType[] + measuredHiddenTags: number + accumulatedWidth: number + lastVisibleElementWidth: number + lastVisibleLabel: ReactNode + }, + currentValue, + index, + ) => { + const elementWidth = (currentValue as HTMLDivElement).offsetWidth + + const newAccumulatedWidth = + accumulator.accumulatedWidth + elementWidth + SIZES_TAG.gap + + const canBeVisible = newAccumulatedWidth <= innerWidth + + return { + measuredVisibleTags: [ + ...accumulator.measuredVisibleTags, + canBeVisible && potentiallyNonOverflowedValues[index], + ].filter(Boolean) as OptionType[], + measuredHiddenTags: + accumulator.measuredHiddenTags + (!canBeVisible ? 1 : 0), + accumulatedWidth: !canBeVisible + ? accumulator.accumulatedWidth + : newAccumulatedWidth, + lastVisibleElementWidth: canBeVisible + ? elementWidth + : accumulator.lastVisibleElementWidth, + lastVisibleLabel: canBeVisible + ? potentiallyNonOverflowedValues[index].label + : accumulator.lastVisibleLabel, + } + }, + { + measuredVisibleTags: [], + measuredHiddenTags: 0, + accumulatedWidth: 0, + lastVisibleElementWidth: 0, + lastVisibleLabel: '', + }, + ) + + const additionnalElementsWidth = + SIZES_TAG.paddings + (refPlusTag.current?.offsetWidth ?? 0) + const finalWidth = + accumulatedWidth + (measuredHiddenTags ? additionnalElementsWidth : 0) + + const overflowPx = finalWidth - innerWidth + const hasOverflow = overflowPx > 0 + const hasHiddenTags = measuredHiddenTags > 0 + const lastVisibleElementMaxSize = lastVisibleElementWidth - overflowPx + + // If only one element is selected and it is hidden, we need to show it + if (measuredHiddenTags === 1 && measuredVisibleTags.length === 0) { + setOverflowAmount(0) + setNonOverFlowedValues([potentiallyNonOverflowedValues[0]]) + + const newOverflowPx = + lastVisibleElementWidth + + (measuredHiddenTags > 1 ? additionnalElementsWidth : 0) - + innerWidth + setLastElementMaxWidth(lastVisibleElementWidth - newOverflowPx) + setOverflow(true) + } + + // If it overflows with the last tag, we need to add an ellipsis to the last element if there is enough space (>60px) + // and if it is a string (do not cut ReactNode label) + // else we hide it completely and add it to the overflow amount + else if ( + hasOverflow && + hasHiddenTags && + (lastVisibleElementMaxSize > 65 || + (measuredVisibleTags.length === 1 && + lastVisibleElementMaxSize > 65)) && + typeof lastVisibleLabel === 'string' ) { - const lengthValue = selectedOption.value.length // Find a better way to find the number of displayed characters? - const totalTagWidth = - SIZES_TAG.tagWidth + SIZES_TAG.letterWidth * lengthValue - if (totalTagWidth + tagsWidth > width - 100) { - computedOverflowAmount += 1 - } else { - computedNonOverflowedValues = [ - ...computedNonOverflowedValues, - selectedOption, - ] - tagsWidth += totalTagWidth - } + setLastElementMaxWidth(lastVisibleElementMaxSize) + setOverflow(true) + setOverflowAmount(measuredHiddenTags) + setNonOverFlowedValues(measuredVisibleTags) + } else if (hasOverflow && hasHiddenTags) { + setLastElementMaxWidth(0) + setOverflow(false) + setOverflowAmount(measuredHiddenTags + 1) + setNonOverFlowedValues(measuredVisibleTags.slice(0, -1)) + } + // Otherwise, we have enough space to show all tags + else { + setOverflow(false) + setOverflowAmount(measuredHiddenTags) + setNonOverFlowedValues(measuredVisibleTags) } } - setNonOverFlowedValues(computedNonOverflowedValues) - setOverflowAmount(computedOverflowAmount) - }, [options, selectedData.selectedValues, width]) + }, [ + selectedData.selectedValues.length, + innerWidth, + potentiallyNonOverflowedValues, + ]) useEffect(() => { setSelectedData({ type: 'update' }) }, [setSelectedData, options]) + useEffect(() => { + const getWidth = () => { + if (refTag.current) { + setInnerWidth(refTag.current.offsetWidth) + } else + setInnerWidth( + innerRef.current?.offsetWidth ?? + 0 - (arrowRef.current?.offsetWidth ?? 0) - SIZES_TAG.paddings, + ) + } + getWidth() + window.addEventListener('resize', getWidth) + + return () => window.removeEventListener('resize', getWidth) + }, [innerRef, refTag, selectedData.selectedValues]) + const shouldDisplayValues = useMemo(() => { if (multiselect) { return ( - nonOverflowedValues.length > 0 || + potentiallyNonOverflowedValues.length > 0 || selectedData.selectedValues.some( selectedValue => findOptionInOptions(options, selectedValue) !== undefined, @@ -347,8 +535,8 @@ export const SelectBar = ({ ) }, [ multiselect, - nonOverflowedValues.length, options, + potentiallyNonOverflowedValues.length, selectedData.selectedValues, ]) @@ -362,11 +550,6 @@ export const SelectBar = ({ data-size={size} data-dropdownvisible={isDropdownVisible} data-state={state} - direction="row" - wrap="nowrap" - gap="1" - justifyContent="space-between" - alignItems="center" onClick={ openable ? () => setIsDropdownVisible(!isDropdownVisible) : undefined } @@ -398,11 +581,16 @@ export const SelectBar = ({ ) : ( )} - + {error ? : null} {success && !error ? : null} {clearable && selectedData.selectedValues.length > 0 ? ( @@ -424,7 +612,6 @@ export const SelectBar = ({ disabled={disabled || !selectedData.selectedValues[0] || readOnly} variant="ghost" size="small" - icon="close" onClick={event => { event.stopPropagation() setSelectedData({ type: 'clearAll' }) @@ -436,7 +623,9 @@ export const SelectBar = ({ }} sentiment="neutral" data-testid="clear-all" - /> + > + + ) : null} ) } + +export { SelectBar, StyledInputWrapper } diff --git a/packages/ui/src/components/SelectInputV2/SelectInputProvider.tsx b/packages/ui/src/components/SelectInput/SelectInputProvider.tsx similarity index 97% rename from packages/ui/src/components/SelectInputV2/SelectInputProvider.tsx rename to packages/ui/src/components/SelectInput/SelectInputProvider.tsx index 6d2dcf98f3..bc69765a19 100644 --- a/packages/ui/src/components/SelectInputV2/SelectInputProvider.tsx +++ b/packages/ui/src/components/SelectInput/SelectInputProvider.tsx @@ -67,6 +67,7 @@ type SelectInputProviderProps = { onChange?: IsMulti extends true ? (value: string[]) => void : (value: string) => void + onOpen?: () => void } export const SelectInputProvider = ({ @@ -79,6 +80,7 @@ export const SelectInputProvider = ({ children, onChange, refSelect, + onOpen, }: SelectInputProviderProps) => { const currentValue = useMemo(() => { if (value) { @@ -110,16 +112,15 @@ export const SelectInputProvider = ({ const handleDropDownVisible = useCallback( (newValue: boolean) => { + setIsDropdownVisible(newValue) if (newValue) { - setIsDropdownVisible(newValue) - } else { - setIsDropdownVisible(newValue) - if (refSelect) { - refSelect.current?.focus() - } + onOpen?.() + } + if (!newValue && refSelect) { + refSelect.current?.focus() } }, - [refSelect], + [refSelect, onOpen], ) const allValues: OptionType[] = useMemo(() => { diff --git a/packages/ui/src/components/SelectInput/__stories__/Animated.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Animated.stories.tsx deleted file mode 100644 index 3dbfb97cb2..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/Animated.stories.tsx +++ /dev/null @@ -1,75 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { useState } from 'react' -import type { SingleValue } from 'react-select' -import { SelectInput } from '..' -import { Button } from '../..' -import * as animations from '../../../utils/animations' - -type OptionType = { label: string; value: string } - -export const Animated: StoryFn = ({ ...props }) => { - const [options] = useState( - Object.keys(animations).map(animation => ({ - label: animation, - value: animation, - })), - ) - const defaultOption = { value: 'pulse', label: 'pulse' } - const [animation, setAnimation] = useState(defaultOption) - - const handleChange = (newValue: SingleValue) => { - if (newValue) { - setAnimation(newValue) - } - } - - return ( - <> - - - - ) -} - -Animated.parameters = { - docs: { - description: { - story: `This shows how to use \`animationOnChange\`, \`animation\` and \`animationDuration\` on SelectInput. -The animation will be played when the value changes. Animation start when you select new value but also if you change the value of SelectInput with an external way (check example with button). - -#### Available animations - -${Object.keys(animations) - .map(animation => `\`${animation}\``) - .join(' ')}`, - }, - }, -} - -Animated.decorators = [ - StoryComponent => ( -
- -
- ), -] diff --git a/packages/ui/src/components/SelectInput/__stories__/Controlled.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Controlled.stories.tsx index b01774c63e..d08b0a87ff 100644 --- a/packages/ui/src/components/SelectInput/__stories__/Controlled.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/Controlled.stories.tsx @@ -1,35 +1,60 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' -import type { SingleValue } from 'react-select' import { SelectInput } from '..' +import { Button } from '../../Button' +import { Stack } from '../../Stack' +import { Template } from './Template.stories' +import { dataUnGrouped } from './resources' -type OptionType = { label: string; value: string } - -export const Controlled: StoryFn = ({ ...props }) => { - const [value, setValue] = useState() - - const handleChange = (newValue: SingleValue) => { - if (newValue) { - setValue(newValue) - } - } +export const Controlled: StoryFn = () => { + const [valueSingle, setValueSingle] = + useState<(typeof dataUnGrouped)[number]['value']>('uranus') + const [valueMulti, setValueMulti] = useState< + (typeof dataUnGrouped)[number]['value'][] + >(['neptune', 'uranus']) return ( - - Option A - Option B - + + + setValueSingle(value)} + /> + setValueMulti(value)} + /> + ) } +Controlled.args = { + ...Template.args, +} +Controlled.decorators = [ + StoryComponent => ( +
+ +
+ ), +] Controlled.parameters = { docs: { - description: { story: 'This shows how to use Controlled SelectInput.' }, + description: { + story: 'Controlled SelectInput.', + }, }, } diff --git a/packages/ui/src/components/SelectInput/__stories__/CustomOptions.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/CustomOptions.stories.tsx deleted file mode 100644 index bc4f78cef3..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/CustomOptions.stories.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import { SelectInput } from '..' -import { Badge } from '../../Badge' -import { Template } from './Template.stories' - -export const CustomOptions = Template.bind({}) -CustomOptions.args = { - name: 'custom-options', - children: [ - Option A, - -
- Option BAwesome badge -
-
, - ], -} -CustomOptions.parameters = { - docs: { - description: { - story: 'This shows how to customize options in a SelectInput.', - }, - }, -} diff --git a/packages/ui/src/components/SelectInput/__stories__/Description.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Description.stories.tsx deleted file mode 100644 index 4848a3af34..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/Description.stories.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import { SelectInput } from '..' -import { Template } from './Template.stories' - -export const Description = Template.bind({}) -Description.args = { - name: 'is-clearable', - isClearable: true, - value: { label: 'Option A', value: 'a' }, - children: [ - - Option A - , - - Option B - , - - Option with long description - , - ], -} -Description.decorators = [ - StoryComponent => ( -
- -
- ), -] - -Description.parameters = { - docs: { - description: { - story: - 'This shows how to use `description` and `inlineDescription` on SelectInput.Option.', - }, - }, -} diff --git a/packages/ui/src/components/SelectInput/__stories__/Disabled.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Disabled.stories.tsx deleted file mode 100644 index 1084fd0a79..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/Disabled.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { SelectInput } from '..' -import { Template } from './Template.stories' - -export const Disabled = Template.bind({}) -Disabled.args = { - name: 'disabled', - disabled: true, - value: { label: 'Option A', value: 'a' }, - children: [ - Option A, - Option B, - ], -} -Disabled.parameters = { - docs: { - description: { story: 'This shows how to use `disabled` on SelectInput.' }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/DropdownAlign.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/DropdownAlign.stories.tsx similarity index 56% rename from packages/ui/src/components/SelectInputV2/__stories__/DropdownAlign.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/DropdownAlign.stories.tsx index 1ad7f98d19..67e5723e86 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/DropdownAlign.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/DropdownAlign.stories.tsx @@ -1,18 +1,13 @@ -import type { StoryFn } from '@storybook/react' -import { SelectInputV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { SelectInput } from '..' import { Stack } from '../../Stack' import { dataGrouped } from './resources' -export const DropdownAlign: StoryFn = args => ( +export const DropdownAlign: StoryFn = args => ( - - + + ) diff --git a/packages/ui/src/components/SelectInputV2/__stories__/DropdownPortalTarget.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/DropdownPortalTarget.stories.tsx similarity index 77% rename from packages/ui/src/components/SelectInputV2/__stories__/DropdownPortalTarget.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/DropdownPortalTarget.stories.tsx index d58f7add47..376faf5c3a 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/DropdownPortalTarget.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/DropdownPortalTarget.stories.tsx @@ -1,9 +1,9 @@ -import type { StoryFn } from '@storybook/react' -import { SelectInputV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { SelectInput } from '..' import { dataGrouped } from './resources' -export const DropdownPortalTarget: StoryFn = args => ( - = args => ( + + + No options + + + This is an example of custom EmptyState. You can customise it as you want + and make it as detailed, long and pretty as you want. + + + It is possible to add links, for instance. + + +) + +export const EmptyState: StoryFn = args => ( + + + } + learnMore={{ + link: 'https://scaleway.com', + text: 'Learn more', + }} + title="No option" + size="small" + /> + } + label="Using component " + helper="from ultraviolet/ui" + /> + +) EmptyState.args = { - name: 'emptyState', - emptyState: () => ( - - - - There is currently no option available - - - Please reload or try again later - - - ), + ...Template.args, + options: {}, } + +EmptyState.decorators = [ + StoryComponent => ( +
+ +
+ ), +] + EmptyState.parameters = { docs: { description: { - story: 'This shows how to use `emptyState` on SelectInput.', + story: 'Set a custom `EmptyState` when no option is available.', }, }, } diff --git a/packages/ui/src/components/SelectInputV2/__stories__/Footer.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Footer.stories.tsx similarity index 89% rename from packages/ui/src/components/SelectInputV2/__stories__/Footer.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/Footer.stories.tsx index 9d259dea87..5e88982afc 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/Footer.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/Footer.stories.tsx @@ -1,5 +1,5 @@ -import type { StoryFn } from '@storybook/react' -import { SelectInputV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { SelectInput } from '..' import { Button } from '../../Button' import { Stack } from '../../Stack' import { Template } from './Template.stories' @@ -34,15 +34,15 @@ const PopupFooteronClick = ({ ) -export const Footer: StoryFn = args => ( +export const Footer: StoryFn = args => ( - } /> - ( -
- -
- ), -] - -Group.parameters = { - docs: { - description: { - story: - 'By using the `options` prop you can regroup options by category/group (not possible when using JSX).', - }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/Grouped.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Grouped.stories.tsx similarity index 69% rename from packages/ui/src/components/SelectInputV2/__stories__/Grouped.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/Grouped.stories.tsx index 89b49ca0a4..b1f1822b06 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/Grouped.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/Grouped.stories.tsx @@ -1,12 +1,12 @@ -import type { StoryFn } from '@storybook/react' -import { SelectInputV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { SelectInput } from '..' import { Stack } from '../../Stack' import { dataGrouped, dataGroupedWithEmptyName } from './resources' -export const Grouped: StoryFn = args => ( +export const Grouped: StoryFn = args => ( - - + - Option A - , - - Option B - , - ], -} -IsClearable.parameters = { - docs: { - description: { - story: 'This shows how to use `isClearable` on SelectInput.', - }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/IsLoading.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/IsLoading.stories.tsx similarity index 100% rename from packages/ui/src/components/SelectInputV2/__stories__/IsLoading.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/IsLoading.stories.tsx diff --git a/packages/ui/src/components/SelectInput/__stories__/KnownIssues.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/KnownIssues.stories.tsx deleted file mode 100644 index 8a18874ff2..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/KnownIssues.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { Template } from './Template.stories' - -export const KnownIssues = Template.bind({}) - -KnownIssues.parameters = { - docs: { - description: { - story: `#### SelectInput doesn’t keep focus on selected option - -SelectInput is based on the \`react-select\` library. To keep the focus on the selected option you need to use \`options\` prop with a memoized value or a memoized \`children\` - -#### OnChange signature is broken and will cause typescript type check error - -Use @ts-expect-error if needed. -`, - }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/LoadMore.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/LoadMore.stories.tsx similarity index 87% rename from packages/ui/src/components/SelectInputV2/__stories__/LoadMore.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/LoadMore.stories.tsx index 6933378717..e60f6dfb10 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/LoadMore.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/LoadMore.stories.tsx @@ -1,10 +1,10 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useCallback, useState } from 'react' -import { SelectInputV2 } from '..' +import { SelectInput } from '..' import { Button } from '../../Button' import { dataUnGrouped } from './resources' -export const LoadMore: StoryFn = args => { +export const LoadMore: StoryFn = args => { const [options, setOptions] = useState(dataUnGrouped) const [counter, setCounter] = useState(1) const [loading, setLoading] = useState(false) @@ -24,7 +24,7 @@ export const LoadMore: StoryFn = args => { }, [options, counter]) return ( - Option A, - Option B, - ], -} -LoadingDemo.parameters = { - docs: { - description: { story: 'This shows how to use `isLoading` on SelectInput' }, - }, -} diff --git a/packages/ui/src/components/SelectInput/__stories__/LoadingExample.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/LoadingExample.stories.tsx deleted file mode 100644 index 38fde6014d..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/LoadingExample.stories.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { useEffect, useState } from 'react' -import { SelectInput } from '..' -import { Button, Loader } from '../..' - -export const LoadingExample: StoryFn = ({ ...props }) => { - const [isLoading, setIsLoading] = useState(true) - useEffect(() => { - let timeout: number | undefined - - if (isLoading) { - timeout = setTimeout(() => { - setIsLoading(false) - }, 3000) as unknown as number - } - - return () => clearTimeout(timeout) - }, [isLoading]) - - return ( - <> - - , - }} - {...props} - > - Option A - {!isLoading && ( - Option B - )} - - - ) -} - -LoadingExample.decorators = [ - StoryComponent => ( -
- -
- ), -] diff --git a/packages/ui/src/components/SelectInputV2/__stories__/Modal.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Modal.stories.tsx similarity index 89% rename from packages/ui/src/components/SelectInputV2/__stories__/Modal.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/Modal.stories.tsx index 7e8814572e..2a582282e7 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/Modal.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/Modal.stories.tsx @@ -1,12 +1,12 @@ -import type { StoryFn } from '@storybook/react' -import { SelectInputV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { SelectInput } from '..' import { Button } from '../../Button' import { Modal as ModalComponent } from '../../Modal' import { Stack } from '../../Stack' import { Text } from '../../Text' import { dataGrouped } from './resources' -export const Modal: StoryFn = args => ( +export const Modal: StoryFn = args => ( Modal} placement="bottom" @@ -18,7 +18,7 @@ export const Modal: StoryFn = args => ( This is an example of SelectInput inside a modal. - + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim diff --git a/packages/ui/src/components/SelectInput/__stories__/Multi.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Multi.stories.tsx deleted file mode 100644 index 735256b049..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/Multi.stories.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { SelectInput } from '..' -import { Template } from './Template.stories' - -export const Multi = Template.bind({}) -Multi.args = { - name: 'multi', - isMulti: true, - children: [ - Option A, - Option B, - Option C, - Option D, - Option E, - Option F, - ], -} -Multi.parameters = { - docs: { - description: { story: 'This shows how to use `isMulti`on SelectInput.' }, - }, -} diff --git a/packages/ui/src/components/SelectInput/__stories__/MultiDisabled.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/MultiDisabled.stories.tsx deleted file mode 100644 index 7fc8076525..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/MultiDisabled.stories.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { SelectInput } from '..' -import { Template } from './Template.stories' - -export const MultiDisabled = Template.bind({}) -MultiDisabled.args = { - name: 'multi-disabled', - isMulti: true, - disabled: true, - value: { label: 'Option A', value: 'a' }, - children: [ - Option A, - Option B, - ], -} -MultiDisabled.parameters = { - docs: { - description: { - story: 'This shows how to use `disabled` on `isMulti` SelectInput.', - }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/Multiselect.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Multiselect.stories.tsx similarity index 100% rename from packages/ui/src/components/SelectInputV2/__stories__/Multiselect.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/Multiselect.stories.tsx diff --git a/packages/ui/src/components/SelectInput/__stories__/NoLabel.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/NoLabel.stories.tsx deleted file mode 100644 index e7301ad590..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/NoLabel.stories.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { SelectInput } from '..' -import { Template } from './Template.stories' - -export const NoLabel = Template.bind({}) -NoLabel.args = { - name: 'no-label', - noTopLabel: true, - children: [ - Option A, - Option B, - ], -} -NoLabel.parameters = { - docs: { - description: { - story: 'This shows how to use `noTopLabel` in SelectInput.', - }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/OnChange.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/OnChange.stories.tsx similarity index 92% rename from packages/ui/src/components/SelectInputV2/__stories__/OnChange.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/OnChange.stories.tsx index a4264981fe..8490444970 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/OnChange.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/OnChange.stories.tsx @@ -1,10 +1,10 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' -import { SelectInputV2 } from '..' +import { SelectInput } from '..' import { Stack } from '../../Stack' import { OptionalInfo4, dataGrouped } from './resources' -export const OnChange: StoryFn = args => { +export const OnChange: StoryFn = args => { const [values, setValues] = useState([]) const [values2, setValues2] = useState< (typeof OptionalInfo4)[number]['value'][] @@ -52,7 +52,7 @@ export const OnChange: StoryFn = args => { return ( <> - = args => { : null} - {}, + value: '', +} +OnOpen.decorators = [ + StoryComponent => ( +
+ +
+ ), +] + +OnOpen.parameters = { + docs: { + description: { + story: + '`onOpen` prop allow to set a callback which is called/triggered when option dropdown is open', + }, + }, +} diff --git a/packages/ui/src/components/SelectInput/__stories__/OptionDisabled.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/OptionDisabled.stories.tsx deleted file mode 100644 index 7a4beb755b..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/OptionDisabled.stories.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import { SelectInput } from '../..' -import { Template } from './Template.stories' - -export const OptionDisabled = Template.bind({}) -OptionDisabled.args = { - name: 'option-disabled', - children: [ - Option A, - - Option B - , - ], -} -OptionDisabled.parameters = { - docs: { - description: { - story: 'This shows how to use `disabled` on SelectInput.Option.', - }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/OptionalInfo.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/OptionalInfo.stories.tsx similarity index 84% rename from packages/ui/src/components/SelectInputV2/__stories__/OptionalInfo.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/OptionalInfo.stories.tsx index f45bb85cc3..7f3ff6a33f 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/OptionalInfo.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/OptionalInfo.stories.tsx @@ -1,5 +1,5 @@ -import type { StoryFn } from '@storybook/react' -import { SelectInputV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { SelectInput } from '..' import { Stack } from '../../Stack' import { OptionalInfo, @@ -9,33 +9,33 @@ import { OptionalInfo5, } from './resources' -export const AdditionalInfo: StoryFn = args => ( +export const AdditionalInfo: StoryFn = args => ( - - - - - Option A], -} - +Playground.args = { ...Template.args, options: dataUnGrouped, helper: 'helper' } Playground.decorators = [ StoryComponent => (
diff --git a/packages/ui/src/components/SelectInput/__stories__/Required.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Required.stories.tsx deleted file mode 100644 index 28d55cd447..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/Required.stories.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { SelectInput } from '..' -import { Template } from './Template.stories' - -export const Required = Template.bind({}) -Required.args = { - name: 'required', - required: true, - children: [ - Option A, - Option B, - ], -} -Required.parameters = { - docs: { - description: { story: 'This shows how to use `required` on SelectInput' }, - }, -} diff --git a/packages/ui/src/components/SelectInput/__stories__/Searchable.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Searchable.stories.tsx index e6e76e5803..2c4cf561e3 100644 --- a/packages/ui/src/components/SelectInput/__stories__/Searchable.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/Searchable.stories.tsx @@ -1,19 +1,40 @@ +import type { StoryFn } from '@storybook/react-vite' import { SelectInput } from '..' -import { Template } from './Template.stories' +import { Stack } from '../../Stack' +import { OptionalInfo, OptionalInfo2 } from './resources' + +export const Searchable: StoryFn = args => ( + + + + +) -export const Searchable = Template.bind({}) Searchable.args = { - name: 'required', - isSearchable: true, - children: [ - Option A, - Option B, - ], + name: 'example', + placeholder: 'Select item', + placeholderSearch: 'Search in list', + searchable: false, + disabled: false, + helper: 'helper', } + Searchable.parameters = { docs: { description: { - story: 'This shows how to use `isSearchable` on SelectInput.', + story: + 'Add a search bar in the dropdown to search through the different options. If there are less than 6 options, the search bar will **not** appear, even if the prop is set to `true`.', }, }, } diff --git a/packages/ui/src/components/SelectInputV2/__stories__/SelectAll.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/SelectAll.stories.tsx similarity index 79% rename from packages/ui/src/components/SelectInputV2/__stories__/SelectAll.stories.tsx rename to packages/ui/src/components/SelectInput/__stories__/SelectAll.stories.tsx index 3385abffb7..c369f876b8 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/SelectAll.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/SelectAll.stories.tsx @@ -1,11 +1,11 @@ -import type { StoryFn } from '@storybook/react' -import { SelectInputV2 } from '..' +import type { StoryFn } from '@storybook/react-vite' +import { SelectInput } from '..' import { Stack } from '../../Stack' import { dataGrouped } from './resources' -export const SelectAll: StoryFn = args => ( +export const SelectAll: StoryFn = args => ( - = args => ( }} label="SelectAll" /> - - + = ({ ...props }) => ( - +export const Template: StoryFn = args => ( + + + ) + +Template.args = { + name: 'example', + label: 'Label', + placeholder: 'Select item', + placeholderSearch: 'Search in list', + searchable: true, + disabled: false, +} diff --git a/packages/ui/src/components/SelectInput/__stories__/Time.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Time.stories.tsx deleted file mode 100644 index 0811fb614b..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/Time.stories.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { SelectInput } from '..' -import { Template } from './Template.stories' - -export const Time = Template.bind({}) -Time.args = { - name: 'time', - time: true, - children: [ - 11:00, - 12:00, - ], -} -Time.parameters = { - docs: { - description: { story: 'This shows how to use `time` on SelectInput' }, - }, -} diff --git a/packages/ui/src/components/SelectInput/__stories__/TimeError.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/TimeError.stories.tsx deleted file mode 100644 index 686f3f2d48..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/TimeError.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { SelectInput } from '..' -import { Template } from './Template.stories' - -export const TimeError = Template.bind({}) -TimeError.args = { - name: 'time-error', - time: true, - error: 'this is an error', - children: [ - 11:00, - 12:00, - ], -} -TimeError.parameters = { - docs: { - description: { story: 'This shows how to use `time-error` on SelectInput' }, - }, -} diff --git a/packages/ui/src/components/SelectInput/__stories__/Uncontrolled.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/Uncontrolled.stories.tsx deleted file mode 100644 index f17002d53a..0000000000 --- a/packages/ui/src/components/SelectInput/__stories__/Uncontrolled.stories.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { SelectInput } from '..' -import { Template } from './Template.stories' - -export const Uncontrolled = Template.bind({}) -Uncontrolled.args = { - name: 'uncontrolled', - value: { label: 'Option A', value: 'a' }, - children: [ - Option A, - Option B, - ], -} -Uncontrolled.parameters = { - docs: { - description: { story: 'This shows how to use Uncontrolled SelectInput.' }, - }, -} diff --git a/packages/ui/src/components/SelectInput/__stories__/index.stories.tsx b/packages/ui/src/components/SelectInput/__stories__/index.stories.tsx index c90b4ca8f1..4762ec43ce 100644 --- a/packages/ui/src/components/SelectInput/__stories__/index.stories.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/index.stories.tsx @@ -1,43 +1,32 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { SelectInput } from '..' export default { component: SelectInput, decorators: [ StoryComponent => ( -
+
), ], - tags: ['deprecated'], - parameters: { - deprecated: true, - deprecatedReason: - 'This component is deprecated please do not use it any more.', - migrationLink: 'Migrations/SelectInput to SelectInputV2', - }, + title: 'Components/Data Entry/SelectInput', } as Meta export { Playground } from './Playground.stories' -export { Uncontrolled } from './Uncontrolled.stories' +export { Grouped } from './Grouped.stories' +export { EmptyState } from './EmptyState.stories' +export { Multiselect } from './Multiselect.stories' +export { Footer } from './Footer.stories' +export { OnChange } from './OnChange.stories' +export { AdditionalInfo as OptionalInfo } from './OptionalInfo.stories' +export { LoadMore } from './LoadMore.stories' +export { IsLoading } from './IsLoading.stories' +export { SelectAll } from './SelectAll.stories' export { Controlled } from './Controlled.stories' -export { CustomOptions } from './CustomOptions.stories' -export { IsClearable } from './IsClearable.stories' -export { NoLabel } from './NoLabel.stories' +export { Modal } from './Modal.stories' export { Searchable } from './Searchable.stories' -export { Required } from './Required.stories' -export { Disabled } from './Disabled.stories' -export { OptionDisabled } from './OptionDisabled.stories' -export { Animated } from './Animated.stories' -export { Multi } from './Multi.stories' -export { MultiDisabled } from './MultiDisabled.stories' -export { Time } from './Time.stories' -export { TimeError } from './TimeError.stories' -export { LoadingDemo } from './LoadingDemo.stories' -export { LoadingExample } from './LoadingExample.stories' -export { Description } from './Description.stories' -export { EmptyState } from './EmptyState.stories' -export { Group } from './Group.stories' -export { KnownIssues } from './KnownIssues.stories' +export { DropdownAlign } from './DropdownAlign.stories' +export { DropdownPortalTarget } from './DropdownPortalTarget.stories' +export { OnOpen } from './OnOpen.stories' diff --git a/packages/ui/src/components/SelectInputV2/__stories__/resources.tsx b/packages/ui/src/components/SelectInput/__stories__/resources.tsx similarity index 96% rename from packages/ui/src/components/SelectInputV2/__stories__/resources.tsx rename to packages/ui/src/components/SelectInput/__stories__/resources.tsx index f42524decb..e0ab97f59c 100644 --- a/packages/ui/src/components/SelectInputV2/__stories__/resources.tsx +++ b/packages/ui/src/components/SelectInput/__stories__/resources.tsx @@ -1,3 +1,4 @@ +import { EmailOutlineIcon } from '@ultraviolet/icons' import { NetworkCategoryIcon } from '@ultraviolet/icons/category' import { Badge } from '../../Badge' import { Bullet } from '../../Bullet' @@ -5,13 +6,13 @@ import { Button } from '../../Button' import { Text } from '../../Text' const reactNeptune = ( - - Neptune Label + + Neptune Label ) const optionalInfo1 = Optional info -const optionalInfo2 = +const optionalInfo2 = 1 const optionalInfo3 = const optionalInfo41 = ( @@ -328,9 +329,9 @@ export const OptionalInfo5 = [ ), diff --git a/packages/ui/src/components/SelectInput/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/SelectInput/__tests__/__snapshots__/index.test.tsx.snap index ad23c16a8b..036482f691 100644 --- a/packages/ui/src/components/SelectInput/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/SelectInput/__tests__/__snapshots__/index.test.tsx.snap @@ -1,267 +1,208 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`SelectInput > renders correctly animated 1`] = ` +exports[`SelectInputV2 > renders correctly 1`] = ` - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: scale(1); - -moz-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - - 50% { - opacity: 1; - -webkit-transform: scale(1.15); - -moz-transform: scale(1.15); - -ms-transform: scale(1.15); - transform: scale(1.15); - } + .emotion-0 { + width: 100%; +} - 100% { - opacity: 1; - -webkit-transform: scale(1); - -moz-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } +.emotion-2 { + display: inherit; } -.emotion-0 { +.emotion-2[data-container-full-width="true"] { width: 100%; - position: relative; - box-sizing: border-box; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-4 { +.emotion-8 { + color: #222638; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: 1000ms animation-0; - animation: 1000ms animation-0; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-10[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-10[data-size='medium'] { + height: 40px; +} + +.emotion-10[data-size='large'] { + height: 48px; +} + +.emotion-10[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-4:hover { +.emotion-10[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-10[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-10[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-5 label { - display: initial; +.emotion-10[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-10[data-state='success'] { + border: 1px solid #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-10[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-10[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-10[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-10[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-10[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-10:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-10[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-10[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-13 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-14 { +.emotion-15 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -277,171 +218,84 @@ exports[`SelectInput > renders correctly animated 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-14 { + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; } -.emotion-16 { +.emotion-17 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-16 .fillStroke { - stroke: currentColor; +.emotion-17 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-18 { - height: auto; -} - -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-18 { - height: auto; -} - -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} -
- -
- -
- Select... -
- +
-
-
-
- -
-
-
`; -exports[`SelectInput > renders correctly controlled 1`] = ` +exports[`SelectInputV2 > renders correctly disabled 1`] = ` .emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; +} + +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-4:focus-within { - border-color: #8c40ef; +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:hover { +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { border-color: #792dd4; + outline: none; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-5 label { - display: initial; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-14 { +.emotion-9 { + color: #b5b7bd; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -692,119 +491,74 @@ exports[`SelectInput > renders correctly controlled 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-16 { +.emotion-13 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #b5b7bd; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-16 .fillStroke { - stroke: currentColor; +.emotion-13 .fillStroke { + stroke: #b5b7bd; fill: none; } -.emotion-18 { - height: auto; -} - -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} -
- -
- -
- Select... -
-
- -
-
-
-
- -
-
-
`; -exports[`SelectInput > renders correctly default values with click 1`] = ` +exports[`SelectInputV2 > renders correctly grouped 1`] = ` - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } } .emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: #2684FF; +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:focus-within { - border-color: #8c40ef; +.emotion-6[data-size='medium'] { + height: 40px; +} + +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:hover { +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { border-color: #792dd4; + outline: none; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-5 label { - display: initial; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } .emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 40%); - padding: 8px; - box-sizing: border-box; +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-13:hover { - color: hsl(0, 0%, 20%); +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-14 { +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; +} + +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; +} + +.emotion-16[data-visible-in-dom="false"] { + display: none; +} + +.emotion-18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -1083,19 +868,19 @@ exports[`SelectInput > renders correctly default values with click 1`] = ` flex-wrap: nowrap; } -.emotion-14 { +.emotion-21 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -1104,509 +889,975 @@ exports[`SelectInput > renders correctly default values with click 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-23>.emotion-30 { + color: #3f4250; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-23>.emotion-30::-webkit-input-placeholder { + color: #727683; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-23>.emotion-30::-moz-placeholder { + color: #727683; } -.emotion-18 { - top: 100%; - position: absolute; - width: 100%; - z-index: 1; - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - box-shadow: 0px 0px 24px 6px #d9dadd66; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; +.emotion-23>.emotion-30:-ms-input-placeholder { + color: #727683; } -.emotion-19 { - max-height: 225px; - overflow-y: auto; - position: relative; - -webkit-overflow-scrolling: touch; - padding-bottom: 4px; - padding-top: 4px; - box-sizing: border-box; - background-color: #f9f9fa; +.emotion-23>.emotion-30::placeholder { + color: #727683; } -.emotion-20 { - cursor: pointer; - display: block; - font-size: inherit; - width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #f1eefc; - color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; +.emotion-23[data-success='true'] { + border-color: #22674e; } -.emotion-20:active { - background-color: #f1eefc; - color: #641cb3; +.emotion-23[data-error='true'] { + border-color: #b3144d; } -.emotion-20:hover { - background-color: #f1eefc; - color: #3f4250; +.emotion-23[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; } -.emotion-21 { - cursor: pointer; - display: block; - font-size: inherit; - width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +.emotion-23[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; +} + +.emotion-23[data-disabled='true']>.emotion-30 { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::placeholder { + color: #b5b7bd; +} + +.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; +} + +.emotion-25[data-size="small"] { + padding: 8px; +} + +.emotion-29 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-29[data-size='large'] { + font-size: 16px; +} + +.emotion-29[data-size='small'] { + padding-left: 8px; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; +} + +.emotion-31[data-grouped="true"] { + padding-top: 0; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-35 { + position: -webkit-sticky; + position: sticky; + top: 0px; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + -webkit-box-pack: left; + -ms-flex-pack: left; + -webkit-justify-content: left; + justify-content: left; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + border: none; + background-color: #f9f9fa; + position: -webkit-sticky; + position: sticky; + top: 0px; + padding-right: 16px; + padding-left: 16px; + height: 32px; + text-align: left; + margin-bottom: 2px; +} + +.emotion-37:focus { + background-color: #f9f9fa; + outline: none; +} + +.emotion-37[data-selectgroup='true'] { + padding-left: 16px; + border-left: 4px solid #f9f9fa; +} + +.emotion-37[data-selectgroup='true']:focus { + background-color: #e9eaeb; +} + +.emotion-39 { + color: #3f4250; + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; +} + +.emotion-43 { + text-align: left; + border: none; background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; + border-radius: 4px; } -.emotion-21:active { +.emotion-43:hover, +.emotion-43:focus { background-color: #f1eefc; color: #641cb3; + cursor: pointer; + outline: none; } -.emotion-21:hover { +.emotion-43[data-selected='true'] { background-color: #f1eefc; - color: #3f4250; } -.emotion-22 { - height: auto; +.emotion-43[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-43[disabled]:hover, +.emotion-43 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; } -.emotion-22 { - height: auto; +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-50 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; } -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-70 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-24 { +.emotion-140 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-143 { font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; }
- - - - - - 2 results available. - - - Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu. - -
- -
- Select... -
-
- -
-
-
-
-
-
- Option A +
+
+
+ + + +
+ +
+
-
-
- Option B +
+
+ +
+
+
+
+
+ + Mercury + +
+
+
+
+
+
+ + Venus + +
+
+
+
+
+
+ + Earth + +
+ + Our home planet + +
+
+
+
+
+ + Mars + +
+
+
+
+
+
+ + Pluto + +
+ + Pluto does not fit the usual classification of either terrestrial or Jovian planets, but is rocky + +
+
+
+
+
+
+ +
+
+
+
+
+ + Jupiter + +
+ + Jupiter is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass more than two and a half times that of all the other planets in the Solar System combined, and slightly less than one one-thousandth the mass of the Sun. + +
+
+
+
+
+ + Saturn + +
+
+
+
+
+
+ + Uranus + +
+
+
+
+
+
+ +
+ Neptune + + Label + +
+
+
+
+
+
+
- -
-
-
`; -exports[`SelectInput > renders correctly disabled 1`] = ` +exports[`SelectInputV2 > renders correctly loadMore 1`] = ` .emotion-0 { width: 100%; - pointer-events: initial; - pointer-events: none; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: justify; -webkit-justify-content: space-between; justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #f3f3f4; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #b5b7bd; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - cursor: not-allowed; - height: 100%; - padding-top: 0; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-5 label { - display: initial; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #b5b7bd; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-10 { - visibility: hidden; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-14 { +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -1622,121 +1873,74 @@ exports[`SelectInput > renders correctly disabled 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-16 { +.emotion-13 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-16 .fillStroke { - stroke: currentColor; +.emotion-13 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-18 { - height: auto; -} - -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} -
- -
- -
- Select... -
-
- -
-
-
-
-
-
-
`; -exports[`SelectInput > renders correctly disabled with click 1`] = ` +exports[`SelectInputV2 > renders correctly loading - grouped data 1`] = ` - .emotion-0 { - width: 100%; - pointer-events: initial; - pointer-events: none; - position: relative; - box-sizing: border-box; + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } +} + +@keyframes animation-1 { + from { + left: -25%; + } + + to { + left: 100%; + } } .emotion-0 { width: 100%; - pointer-events: initial; - pointer-events: none; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: not-allowed; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #f3f3f4; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #b5b7bd; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - cursor: not-allowed; - height: 100%; - padding-top: 0; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-5 label { - display: initial; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #b5b7bd; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-10 { - visibility: hidden; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-14 { +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -2004,21 +2164,92 @@ exports[`SelectInput > renders correctly disabled with click 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-14 { +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; +} + +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; +} + +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; +} + +.emotion-16[data-visible-in-dom="false"] { + display: none; +} + +.emotion-18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -2029,398 +2260,442 @@ exports[`SelectInput > renders correctly disabled with click 1`] = ` flex-wrap: nowrap; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-20[data-grouped="true"] { + padding-top: 0; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-22 { + position: relative; + width: 100%; + overflow: hidden; + cursor: progress; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-flow: column; + -webkit-flex-flow: column; + -ms-flex-flow: column; + flex-flow: column; + height: 100%; } -.emotion-18 { - height: auto; +.emotion-24 { + min-height: 200px; + width: 100%; + height: 100%; + padding: 16px; + border: 1px solid #e9eaeb; + border-radius: 4px; + margin: 0; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-24>.emotion-27:not(:last-child) { + border-bottom: 1px solid #d9dadd; } -.emotion-18 { - height: auto; +.emotion-26 { + 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; + padding: 24px 16px; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-28 { + margin-right: 8px; + width: 32px; + height: 32px; + min-width: 32px; + border-radius: 8px; + background-color: #e9eaeb; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-30 { + height: 12px; + width: 120px; + max-width: 100%; + border-radius: 8px; + background-color: #e9eaeb; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-44 { + position: absolute; + top: 0; + height: 100%; + width: 25%; + opacity: 0.8; + background: linear-gradient( + 90deg, + #f9f9fa00, + #f9f9fa4D, + #f9f9fa66, + #f9f9fa4D, + #f9f9fa00 + ); + -webkit-animation: animation-1 1s linear infinite; + animation: animation-1 1s linear infinite; + -webkit-animation-direction: alternate; + animation-direction: alternate; +} + +@media (prefers-reduced-motion: reduce) { + .emotion-44 { + -webkit-animation: unset; + animation: unset; + } }
- -
- -
- Select... -
-
- -
-
-
-
-
-
-
-
+ class="emotion-15 emotion-16 emotion-17" + data-animated="false" + data-has-arrow="false" + id=":r1sl:" + role="dialog" + style="opacity: 1;" + > +
+
+
+
    +
  • +
    +
    +
  • +
  • +
    +
    +
  • +
  • +
    +
    +
  • +
+
+
+
+
+
+
+
`; -exports[`SelectInput > renders correctly multi 1`] = ` +exports[`SelectInputV2 > renders correctly loading - ungrouped data 1`] = ` - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } +} + +@keyframes animation-1 { + from { + left: -25%; + } + + to { + left: 100%; + } } .emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:focus-within { - border-color: #8c40ef; +.emotion-6[data-size='medium'] { + height: 40px; +} + +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:hover { +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { border-color: #792dd4; + outline: none; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-5 label { - display: initial; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-9 { - margin-left: 0px; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-14 { +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -2436,496 +2711,541 @@ exports[`SelectInput > renders correctly multi 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-14 { + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-16 { +.emotion-13 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-16 .fillStroke { - stroke: currentColor; +.emotion-13 .fillStroke { + stroke: #3f4250; fill: none; } .emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; } -.emotion-18 { - height: auto; +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-16[data-visible-in-dom="false"] { + display: none; } .emotion-18 { - height: auto; -} - -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } .emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; +} + +.emotion-20[data-grouped="true"] { + padding-top: 0; +} + +.emotion-22 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-24 { + position: relative; + width: 100%; + overflow: hidden; + cursor: progress; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-flow: column; + -webkit-flex-flow: column; + -ms-flex-flow: column; + flex-flow: column; + height: 100%; +} + +.emotion-26 { + min-height: 200px; + width: 100%; + height: 100%; + padding: 16px; + border: 1px solid #e9eaeb; + border-radius: 4px; + margin: 0; +} + +.emotion-26>.emotion-29:not(:last-child) { + border-bottom: 1px solid #d9dadd; +} + +.emotion-28 { + 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; + padding: 24px 16px; +} + +.emotion-30 { + margin-right: 8px; + width: 32px; + height: 32px; + min-width: 32px; + border-radius: 8px; + background-color: #e9eaeb; +} + +.emotion-32 { + height: 12px; + width: 120px; + max-width: 100%; + border-radius: 8px; + background-color: #e9eaeb; +} + +.emotion-46 { + position: absolute; + top: 0; + height: 100%; + width: 25%; + opacity: 0.8; + background: linear-gradient( + 90deg, + #f9f9fa00, + #f9f9fa4D, + #f9f9fa66, + #f9f9fa4D, + #f9f9fa00 + ); + -webkit-animation: animation-1 1s linear infinite; + animation: animation-1 1s linear infinite; + -webkit-animation-direction: alternate; + animation-direction: alternate; +} + +@media (prefers-reduced-motion: reduce) { + .emotion-46 { + -webkit-animation: unset; + animation: unset; + } }
- -
- -
- Select... -
-
- -
-
-
-
-
-
- -
-
+ class="emotion-15 emotion-16 emotion-17" + data-animated="false" + data-has-arrow="false" + id=":r1sp:" + role="dialog" + style="opacity: 1;" + > +
+
+
+
+
    +
  • +
    +
    +
  • +
  • +
    +
    +
  • +
  • +
    +
    +
  • +
+
+
+
+
+
+
`; -exports[`SelectInput > renders correctly multi disabled 1`] = ` +exports[`SelectInputV2 > renders correctly multiselect 1`] = ` - .emotion-0 { - width: 100%; - pointer-events: initial; - pointer-events: none; - position: relative; - box-sizing: border-box; + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } } .emotion-0 { width: 100%; - pointer-events: initial; - pointer-events: none; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; -} - -.emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #f3f3f4; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #b5b7bd; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + display: inherit; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-2[data-container-full-width="true"] { + width: 100%; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - cursor: not-allowed; - height: 100%; - padding-top: 0; -} - -.emotion-5 label { - display: initial; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } .emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; - opacity: 0.5; -} - -.emotion-8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - min-width: 0; - background-color: #f3f3f4; - border-radius: 4px; - margin: 2px; - box-sizing: border-box; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: #3f4250; - font-size: 14px; - font-weight: 500; - height: 24px; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - margin-top: 1rem; - text-overflow: ellipsis; -} - -.emotion-9 { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - border-radius: 2px; - color: #b5b7bd; - font-size: 14px; - padding: 3px; - padding-left: 6px; - box-sizing: border-box; - font-weight: normal; - line-height: 20px; -} - -.emotion-10 { + gap: 8px; + -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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - border-radius: 2px; - padding-left: 4px; - padding-right: 4px; - box-sizing: border-box; - color: #b5b7bd; - cursor: none; - pointer-events: none; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-10:hover { - color: #b5b7bd; - cursor: none; - pointer-events: none; +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-11 { - vertical-align: middle; - fill: currentColor; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-11 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-13 { - margin-left: 0px; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-13 { - margin-left: 0px; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-14 { - visibility: hidden; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-14:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-15 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-16 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-17 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-17:hover { - color: hsl(0, 0%, 60%); +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-18 { +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-8 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -2943,12 +3263,134 @@ exports[`SelectInput > renders correctly multi disabled 1`] = ` flex-wrap: nowrap; } -.emotion-18 { +.emotion-11 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 4px; + padding: 0 8px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + color: #3f4250; + background: #ffffff; + border: solid 1px #d9dadd; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; +} + +.emotion-14 { + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + max-width: 232px; +} + +.emotion-17 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + height: 32px; + padding: 0 8px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 8px; + border-radius: 4px; + box-sizing: border-box; + width: 32px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + cursor: pointer; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + outline-offset: 2px; + white-space: nowrap; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 20px; + paragraph-spacing: 0; + text-case: none; + background: none; + border: none; + color: #3f4250; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + padding: 2px; +} + +.emotion-17:hover { + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-17:active { + box-shadow: 0px 0px 0px 3px #151a2d5c; +} + +.emotion-17:hover, +.emotion-17:active { + background: #e9eaeb; + color: #222638; +} + +.emotion-19 { + vertical-align: middle; + fill: currentColor; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-19 .fillStroke { + stroke: currentColor; + fill: none; +} + +.emotion-21 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -2964,403 +3406,301 @@ exports[`SelectInput > renders correctly multi disabled 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-20 { +.emotion-23 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-20 .fillStroke { - stroke: currentColor; +.emotion-23 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-20 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-26 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-20 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-26[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; } -.emotion-22 { - height: auto; +.emotion-26[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-26[data-visible-in-dom="false"] { + display: none; } -.emotion-22 { - height: auto; +.emotion-28 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; } -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; } -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-33>.emotion-40 { + color: #3f4250; } -
-
- - -
-
- -
-
- Option A -
-
- - - -
-
-
- -
-
-
- - -
-
-
-
-
-
-
- -`; +.emotion-33>.emotion-40::-webkit-input-placeholder { + color: #727683; +} -exports[`SelectInput > renders correctly required 1`] = ` - - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-33>.emotion-40::-moz-placeholder { + color: #727683; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-33>.emotion-40:-ms-input-placeholder { + color: #727683; } -.emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; +.emotion-33>.emotion-40::placeholder { + color: #727683; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-33[data-success='true'] { + border-color: #22674e; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-33[data-error='true'] { + border-color: #b3144d; } -.emotion-4:hover { - border-color: #792dd4; +.emotion-33[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-33[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; } -.emotion-5 label { - display: initial; +.emotion-33[data-disabled='true']>.emotion-40 { + color: #b5b7bd; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-33[data-disabled='true']>.emotion-40::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-33[data-disabled='true']>.emotion-40::-moz-placeholder { + color: #b5b7bd; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-33[data-disabled='true']>.emotion-40:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-33[data-disabled='true']>.emotion-40::placeholder { + color: #b5b7bd; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-33:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-35 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + gap: 0; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-35[data-size="small"] { + padding: 8px; } -.emotion-13 { +.emotion-39 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-39[data-size='large'] { + font-size: 16px; +} + +.emotion-39[data-size='small'] { + padding-left: 8px; +} + +.emotion-41 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-41[data-grouped="true"] { + padding-top: 0; } -.emotion-14 { +.emotion-43 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -3371,416 +3711,344 @@ exports[`SelectInput > renders correctly required 1`] = ` flex-wrap: nowrap; } -.emotion-16 { - color: #b3144d; - font-size: 1rem; +.emotion-45 { + position: -webkit-sticky; + position: sticky; + top: 0px; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + -webkit-box-pack: left; + -ms-flex-pack: left; + -webkit-justify-content: left; + justify-content: left; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + border: none; + background-color: #f9f9fa; + position: -webkit-sticky; + position: sticky; + top: 0px; + padding-right: 16px; + padding-left: 16px; + height: 32px; + text-align: left; + margin-bottom: 2px; +} + +.emotion-47:focus { + background-color: #f9f9fa; + outline: none; +} + +.emotion-47[data-selectgroup='true'] { + padding-left: 16px; + border-left: 4px solid #f9f9fa; +} + +.emotion-47[data-selectgroup='true']:focus { + background-color: #e9eaeb; +} + +.emotion-49 { + color: #3f4250; + font-size: 12px; font-family: Inter,Asap,sans-serif; - font-weight: 500; + font-weight: 400; letter-spacing: 0; - line-height: 1.5rem; + line-height: 16px; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + text-align: left; } -.emotion-18 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-53 { + text-align: left; + border: none; + background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; + color: #3f4250; + border-radius: 4px; } -.emotion-18 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-53:hover, +.emotion-53:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; } -.emotion-20 { - opacity: 0; - pointer-events: none; - position: absolute; - bottom: 0; - left: 0; - right: 0; +.emotion-53[data-selected='true'] { + background-color: #f1eefc; +} + +.emotion-53[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; +} + +.emotion-53[disabled]:hover, +.emotion-53 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; +} + +.emotion-56 { + position: relative; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + gap: 8px; width: 100%; + position: static; + text-align: left; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + pointer-events: none; } -.emotion-21 { - height: auto; +.emotion-56 .emotion-69 { + cursor: pointer; } -.emotion-21[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-56[aria-disabled='true'] { + cursor: not-allowed; + color: #b5b7bd; } -.emotion-23 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-56[aria-disabled='true'] .emotion-69 { + cursor: not-allowed; } -
-
- - -
-
- -
- Select... -
-
- -
-
-
- - -
-
- -
-
-
-
-
- -`; +.emotion-56[aria-disabled='true'] .emotion-61 { + fill: #e9eaeb; +} -exports[`SelectInput > renders correctly timed 1`] = ` - - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-56[aria-disabled='true'] .emotion-61 .emotion-63 { + stroke: #d9dadd; + fill: #f3f3f4; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-56[aria-disabled='true'] .emotion-59[aria-invalid="true"]:checked+.emotion-61 { + fill: #ffd3e3; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-56[aria-disabled='true'] .emotion-59[aria-invalid="true"]:checked+.emotion-61 .emotion-63 { + stroke: #ffd3e3; + fill: #ffd3e3; } -.emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; +.emotion-56[aria-disabled='true'] .emotion-59[aria-invalid="true"]+.emotion-61 { + fill: #ffebf2; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-56[aria-disabled='true'] .emotion-59[aria-invalid="true"]+.emotion-61 .emotion-63 { + stroke: #ffbbd3; + fill: #ffebf2; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-56[aria-disabled='true'] .emotion-59:checked+.emotion-61 { + fill: #e5dbfd; } -.emotion-4:hover { - border-color: #792dd4; +.emotion-56[aria-disabled='true'] .emotion-59:checked+.emotion-61 .emotion-63 { + stroke: #d8c5fc; + fill: #d8c5fc; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-56[aria-disabled='true'] .emotion-59[aria-checked="mixed"]+.emotion-61 { + fill: #e5dbfd; } -.emotion-5 label { - display: initial; +.emotion-56[aria-disabled='true'] .emotion-59[aria-checked="mixed"]+.emotion-61 .emotion-63 { + stroke: #e5dbfd; + fill: #e5dbfd; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-56 .emotion-59:checked+.emotion-61 path { + transform-origin: center; + -webkit-transition: 200ms -webkit-transform ease-in-out; + transition: 200ms transform ease-in-out; + -webkit-transform: scale(1); + -moz-transform: scale(1); + -ms-transform: scale(1); + transform: scale(1); + -webkit-transform: translate(2px, 2px); + -moz-transform: translate(2px, 2px); + -ms-transform: translate(2px, 2px); + transform: translate(2px, 2px); } -.emotion-6 { +.emotion-56 .emotion-59:checked+.emotion-61 .emotion-63 { + fill: #8c40ef; + stroke: #8c40ef; +} + +.emotion-56 .emotion-59[aria-invalid="true"]:checked+.emotion-61 .emotion-63 { + fill: #e51963; + stroke: #e51963; +} + +.emotion-56 .emotion-59[aria-checked="mixed"]+.emotion-61 .eqr7bqq6 { + fill: #ffffff; +} + +.emotion-56 .emotion-59[aria-checked="mixed"]+.emotion-61 .emotion-63 { + fill: #8c40ef; + stroke: #8c40ef; +} + +.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='false'][aria-checked='false']+.emotion-61 .emotion-63 { + stroke: #792dd4; + fill: #e5dbfd; +} + +.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='false'][aria-checked='true']+.emotion-61 .emotion-63 { + stroke: #792dd4; + fill: #792dd4; +} + +.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='false'][aria-checked='mixed']+.emotion-61 .emotion-63 { + stroke: #792dd4; + fill: #792dd4; +} + +.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='true'][aria-checked='false']+.emotion-61 .emotion-63 { + stroke: #92103f; + fill: #ffd3e3; +} + +.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='true'][aria-checked='true']+.emotion-61 .emotion-63 { + stroke: #d6175c; + fill: #d6175c; +} + +.emotion-56 .emotion-59[aria-invalid="true"]+.emotion-61 { + fill: #e51963; +} + +.emotion-56 .emotion-59[aria-invalid="true"]+.emotion-61 .emotion-63 { + stroke: #e51963; + fill: #ffebf2; +} + +.emotion-58 { position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; + height: 24px; + width: 24px; opacity: 0; + border-width: 0; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-58:not(:disabled) { + cursor: pointer; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-58:disabled { + cursor: not-allowed; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-58:not(:disabled):checked+.emotion-61, +.emotion-58:not(:disabled)[aria-checked='mixed']+.emotion-61 { + fill: #8c40ef; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-58:not(:disabled):checked+.emotion-61 .emotion-63, +.emotion-58:not(:disabled)[aria-checked='mixed']+.emotion-61 .emotion-63 { + stroke: #8c40ef; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-58:not(:disabled)[aria-invalid='true']+.emotion-61, +.emotion-58:not(:disabled)[aria-invalid='mixed']+.emotion-61 { + fill: #ffebf2; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-58:not(:disabled)[aria-invalid='true']+.emotion-61 .emotion-63, +.emotion-58:not(:disabled)[aria-invalid='mixed']+.emotion-61 .emotion-63 { + stroke: #b3144d; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-58:focus+.emotion-61 { + background-color: #f1eefc; + fill: #ffebf2; + outline: 1px solid 0px 0px 0px 3px #8c40ef40; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-58:focus+.emotion-61 .emotion-63 { + stroke: #792dd4; + fill: #e5dbfd; } -.emotion-14 { +.emotion-58[aria-invalid='true']:focus+.emotion-61 { + background-color: #ffebf2; + fill: #ffebf2; + outline: 1px solid 0px 0px 0px 3px #f91b6c40; +} + +.emotion-58[aria-invalid='true']:focus+.emotion-61 .emotion-63 { + stroke: #92103f; + fill: #ffd3e3; +} + +.emotion-60 { + border-radius: 4px; + height: 24px; + width: 24px; + min-width: 24px; + min-height: 24px; +} + +.emotion-60 path { + fill: #ffffff; + -webkit-transform: translate(2px, 2px); + -moz-transform: translate(2px, 2px); + -ms-transform: translate(2px, 2px); + transform: translate(2px, 2px); + -webkit-transform: scale(0); + -moz-transform: scale(0); + -ms-transform: scale(0); + transform: scale(0); +} + +.emotion-62 { + fill: #ffffff; + stroke: #d9dadd; +} + +.emotion-64 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -3789,14 +4057,17 @@ exports[`SelectInput > renders correctly timed 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } -.emotion-14 { +.emotion-66 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 4px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -3812,413 +4083,1240 @@ exports[`SelectInput > renders correctly timed 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } -.emotion-17 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - background-color: #d9dadd; - height: 100%; +.emotion-68 { + width: 100%; + cursor: pointer; } -.emotion-19 { - vertical-align: middle; - fill: currentColor; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; +.emotion-72 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.emotion-19 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-75 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; } -.emotion-21 { - height: auto; +.emotion-125 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-21[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-285 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-21 { - height: auto; -} - -.emotion-21[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-23 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-23 { +.emotion-288 { font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; }
- -
- -
- Select... -
-
- -
-
-
-
-
- -
+ class="emotion-25 emotion-26 emotion-27" + data-animated="false" + data-has-arrow="false" + id=":r4g:" + role="dialog" + style="opacity: 1;" + > +
+
+
+
+
+ + + +
+ +
+
+
+
+
+
+ +
+
+
+
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + +
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + +
+
+ +
+
+
+
+
+
+
+
+
`; -exports[`SelectInput > renders correctly timed with error 1`] = ` +exports[`SelectInputV2 > renders correctly not clearable 1`] = ` .emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-2 { + display: inherit; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #b3144d; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #b3144d; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:focus-within { - border-color: #b3144d; - box-shadow: 0px 0px 0px 3px #f91b6c40; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-4:hover { - border-color: #92103f; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-5 label { - display: initial; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #b3144d; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-14 { +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #3f4250; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; +} + +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -4234,175 +5332,74 @@ exports[`SelectInput > renders correctly timed with error 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-14 { + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-17 { - margin: 0; - border: 0; - width: 1px; - height: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - background-color: #e9eaeb; - background-color: #d9dadd; - height: 100%; -} - -.emotion-19 { +.emotion-13 { vertical-align: middle; - fill: currentColor; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-19 .fillStroke { - stroke: currentColor; +.emotion-13 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-21 { - height: auto; -} - -.emotion-21[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-21 { - height: auto; -} - -.emotion-21[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-23 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-23 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} -
- -
- -
- Select... -
-
- -
-
-
-
- -
-
-
`; -exports[`SelectInput > renders correctly uncontrolled 1`] = ` +exports[`SelectInputV2 > renders correctly readOnly 1`] = ` .emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: #2684FF; +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:focus-within { - border-color: #8c40ef; +.emotion-6[data-size='medium'] { + height: 40px; +} + +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:hover { +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { border-color: #792dd4; + outline: none; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-5 label { - display: initial; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 40%); - padding: 8px; - box-sizing: border-box; +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-13:hover { - color: hsl(0, 0%, 20%); +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-14 { +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -4653,212 +5595,404 @@ exports[`SelectInput > renders correctly uncontrolled 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-16 { +.emotion-13 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #b5b7bd; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-16 .fillStroke { - stroke: currentColor; +.emotion-13 .fillStroke { + stroke: #b5b7bd; fill: none; } -.emotion-18 { - top: 100%; - position: absolute; - width: 100%; - z-index: 1; - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - box-shadow: 0px 0px 24px 6px #d9dadd66; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; -} +
+
+
+
+ +
+
+
+
+
+`; -.emotion-19 { - max-height: 225px; - overflow-y: auto; - position: relative; - -webkit-overflow-scrolling: touch; - padding-bottom: 4px; - padding-top: 4px; - box-sizing: border-box; - background-color: #f9f9fa; +exports[`SelectInputV2 > renders correctly required 1`] = ` + + .emotion-0 { + width: 100%; } -.emotion-20 { - cursor: pointer; - display: block; - font-size: inherit; +.emotion-2 { + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #f1eefc; - color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; } -.emotion-20:active { - background-color: #f1eefc; - color: #641cb3; +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-20:hover { - background-color: #f1eefc; - color: #3f4250; +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-21 { +.emotion-8 { + color: #222638; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-10 { + vertical-align: middle; + fill: #b3144d; + height: 8px; + width: 8px; + min-width: 8px; + min-height: 8px; +} + +.emotion-10 .fillStroke { + stroke: #b3144d; + fill: none; +} + +.emotion-12 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; cursor: pointer; - display: block; - font-size: inherit; + box-shadow: none; + background: #ffffff; + border-radius: 4px; width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #ffffff; - color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; + overflow: hidden; } -.emotion-21:active { - background-color: #f1eefc; - color: #641cb3; +.emotion-12[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-21:hover { - background-color: #f1eefc; - color: #3f4250; +.emotion-12[data-size='medium'] { + height: 40px; } -.emotion-22 { - height: auto; +.emotion-12[data-size='large'] { + height: 48px; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-12[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-12[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-12[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-12[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; +} + +.emotion-12[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-12[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-12[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-12[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-12[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-12[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-12[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-12:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-12[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-12[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-15 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-17 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-19 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-19 .fillStroke { + stroke: #3f4250; + fill: none; }
- - - - - - 2 results available. - - - Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu. - -
- -
- Select... -
- + + + +
-
-
-
-
-
-
-
- Option A -
-
-
-
- Option B -
-
-
-
- -
-
-
`; -exports[`SelectInput > renders correctly with click 1`] = ` +exports[`SelectInputV2 > renders correctly required 2`] = ` - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; -} + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } -.emotion-0 { + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } +} + +.emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; +} + +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:hover { - border-color: #2684FF; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-4:focus-within { - border-color: #8c40ef; +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:hover { +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { border-color: #792dd4; + outline: none; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-5 label { - display: initial; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } .emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 40%); - padding: 8px; - box-sizing: border-box; +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-13:hover { - color: hsl(0, 0%, 20%); +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; } -.emotion-14 { +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; +} + +.emotion-16[data-visible-in-dom="false"] { + display: none; +} + +.emotion-18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -5176,19 +6302,19 @@ exports[`SelectInput > renders correctly with click 1`] = ` flex-wrap: nowrap; } -.emotion-14 { +.emotion-21 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -5197,527 +6323,881 @@ exports[`SelectInput > renders correctly with click 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-23>.emotion-30 { + color: #3f4250; } -.emotion-18 { - top: 100%; - position: absolute; - width: 100%; - z-index: 1; - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - box-shadow: 0px 0px 24px 6px #d9dadd66; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; +.emotion-23>.emotion-30::-webkit-input-placeholder { + color: #727683; } -.emotion-19 { - max-height: 225px; - overflow-y: auto; - position: relative; - -webkit-overflow-scrolling: touch; - padding-bottom: 4px; - padding-top: 4px; - box-sizing: border-box; - background-color: #f9f9fa; +.emotion-23>.emotion-30::-moz-placeholder { + color: #727683; } -.emotion-20 { - cursor: pointer; - display: block; - font-size: inherit; - width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #f1eefc; - color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; +.emotion-23>.emotion-30:-ms-input-placeholder { + color: #727683; } -.emotion-20:active { - background-color: #f1eefc; - color: #641cb3; +.emotion-23>.emotion-30::placeholder { + color: #727683; } -.emotion-20:hover { - background-color: #f1eefc; - color: #3f4250; +.emotion-23[data-success='true'] { + border-color: #22674e; } -.emotion-21 { - cursor: pointer; - display: block; - font-size: inherit; +.emotion-23[data-error='true'] { + border-color: #b3144d; +} + +.emotion-23[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; +} + +.emotion-23[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; +} + +.emotion-23[data-disabled='true']>.emotion-30 { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::placeholder { + color: #b5b7bd; +} + +.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; +} + +.emotion-25[data-size="small"] { + padding: 8px; +} + +.emotion-29 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-29[data-size='large'] { + font-size: 16px; +} + +.emotion-29[data-size='small'] { + padding-left: 8px; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; +} + +.emotion-31[data-grouped="true"] { + padding-top: 0; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-35 { + text-align: left; + border: none; background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; + border-radius: 4px; } -.emotion-21:active { +.emotion-35:hover, +.emotion-35:focus { background-color: #f1eefc; color: #641cb3; + cursor: pointer; + outline: none; } -.emotion-21:hover { +.emotion-35[data-selected='true'] { background-color: #f1eefc; - color: #3f4250; } -.emotion-22 { - height: auto; +.emotion-35[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; +} + +.emotion-35[disabled]:hover, +.emotion-35 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-39 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.emotion-22 { - height: auto; +.emotion-42 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-62 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-113 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-24 { +.emotion-116 { font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; }
- - - - - - 2 results available. - - - Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu. - -
- -
- Select... -
-
- -
-
-
-
-
-
- Option A +
+
+
+ + + +
+ +
+
-
-
- Option B +
+
+
+
+ + Mercury + +
+
+
+
+
+
+ + Venus + +
+
+
+
+
+
+ + Earth + +
+ + Our home planet + +
+
+
+
+
+
+ + Mars + +
+
+
+
+
+
+
+ + Jupiter + +
+ + Jupiter is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass more than two and a half times that of all the other planets in the Solar System combined, and slightly less than one one-thousandth the mass of the Sun. + +
+
+
+
+
+ + Saturn + +
+
+
+
+
+
+ + Uranus + +
+
+
+
+
+
+ +
+ Neptune + + Label + +
+
+
+
+
+
- -
-
-
`; -exports[`SelectInput > renders correctly with click and option disabled 1`] = ` +exports[`SelectInputV2 > renders correctly small 1`] = ` .emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-2 { + display: inherit; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-8 { + color: #222638; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: justify; -webkit-justify-content: space-between; justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; +} + +.emotion-10[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:hover { - border-color: #2684FF; +.emotion-10[data-size='medium'] { + height: 40px; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-10[data-size='large'] { + height: 48px; } -.emotion-4:hover { +.emotion-10[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-10[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-10[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-10[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-5 label { - display: initial; +.emotion-10[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-10[data-state='success'] { + border: 1px solid #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-10[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-10[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-10[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-10[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-10[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-10:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-10[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 40%); - padding: 8px; - box-sizing: border-box; +.emotion-10[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-13:hover { - color: hsl(0, 0%, 20%); +.emotion-13 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-14 { +.emotion-15 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -5733,276 +7213,410 @@ exports[`SelectInput > renders correctly with click and option disabled 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-14 { + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; } -.emotion-16 { +.emotion-17 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-16 .fillStroke { - stroke: currentColor; +.emotion-17 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-18 { - top: 100%; - position: absolute; +
+
+
+
+
+ +
+ +
+
+
+
+
+`; + +exports[`SelectInputV2 > renders correctly unclosable tags when readonly 1`] = ` + + .emotion-0 { width: 100%; - z-index: 1; - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - box-shadow: 0px 0px 24px 6px #d9dadd66; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; } -.emotion-19 { - max-height: 225px; - overflow-y: auto; - position: relative; - -webkit-overflow-scrolling: touch; - padding-bottom: 4px; - padding-top: 4px; - box-sizing: border-box; - background-color: #f9f9fa; +.emotion-2 { + display: inherit; } -.emotion-20 { - cursor: pointer; - display: block; - font-size: inherit; +.emotion-2[data-container-full-width="true"] { width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #f1eefc; - color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; -} - -.emotion-20:active { - background-color: #f1eefc; - color: #641cb3; } -.emotion-20:hover { - background-color: #f1eefc; - color: #3f4250; +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-21 { +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; cursor: pointer; - display: block; - font-size: inherit; + box-shadow: none; + background: #ffffff; + border-radius: 4px; width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #ffffff; - color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; + overflow: hidden; } -.emotion-21:active { - background-color: #f1eefc; - color: #641cb3; +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-21:hover { - background-color: #f1eefc; - color: #3f4250; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-22 { - cursor: not-allowed; - display: block; - font-size: inherit; - width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #f3f3f4; - color: #b5b7bd; - padding: 8px 12px; - box-sizing: border-box; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-22:active { - background-color: #f3f3f4; - color: #b5b7bd; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-22:hover { - background-color: #f3f3f4; - color: #b5b7bd; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-23 { - height: auto; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-23[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-23 { - height: auto; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-23[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-25 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-25 { +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-11 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 4px; + padding: 0 8px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + color: #3f4250; + background: #ffffff; + border: solid 1px #d9dadd; + height: -webkit-fit-content; + height: -moz-fit-content; + height: fit-content; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; +} + +.emotion-14 { font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + max-width: 232px; +} + +.emotion-16 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-18 { + vertical-align: middle; + fill: #b5b7bd; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-18 .fillStroke { + stroke: #b5b7bd; + fill: none; }
- - - - - - 3 results available. - - - Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu. - -
- -
- Select... -
-
- -
-
-
-
-
-
-
-
- Option A -
-
-
-
- Option B -
-
-
-
- Option C -
-
-
-
- -
-
-
`; -exports[`SelectInput > renders correctly with click and options 1`] = ` +exports[`SelectInputV2 > renders correctly ungrouped 1`] = ` - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } } .emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: #2684FF; +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:focus-within { - border-color: #8c40ef; +.emotion-6[data-size='medium'] { + height: 40px; +} + +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:hover { +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { border-color: #792dd4; + outline: none; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-5 label { - display: initial; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } .emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 40%); - padding: 8px; - box-sizing: border-box; +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-13:hover { - color: hsl(0, 0%, 20%); +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; } -.emotion-14 { +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; +} + +.emotion-16[data-visible-in-dom="false"] { + display: none; +} + +.emotion-18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -6334,19 +7926,19 @@ exports[`SelectInput > renders correctly with click and options 1`] = ` flex-wrap: nowrap; } -.emotion-14 { +.emotion-21 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -6355,541 +7947,862 @@ exports[`SelectInput > renders correctly with click and options 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-23>.emotion-30 { + color: #3f4250; } -.emotion-18 { - top: 100%; - position: absolute; - width: 100%; - z-index: 1; - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - box-shadow: 0px 0px 24px 6px #d9dadd66; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; +.emotion-23>.emotion-30::-webkit-input-placeholder { + color: #727683; } -.emotion-19 { - max-height: 225px; - overflow-y: auto; - position: relative; - -webkit-overflow-scrolling: touch; - padding-bottom: 4px; - padding-top: 4px; - box-sizing: border-box; - background-color: #f9f9fa; +.emotion-23>.emotion-30::-moz-placeholder { + color: #727683; } -.emotion-20 { - cursor: pointer; - display: block; - font-size: inherit; - width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #f1eefc; - color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; +.emotion-23>.emotion-30:-ms-input-placeholder { + color: #727683; } -.emotion-20:active { - background-color: #f1eefc; - color: #641cb3; +.emotion-23>.emotion-30::placeholder { + color: #727683; } -.emotion-20:hover { - background-color: #f1eefc; - color: #3f4250; +.emotion-23[data-success='true'] { + border-color: #22674e; } -.emotion-21 { - cursor: pointer; - display: block; - font-size: inherit; +.emotion-23[data-error='true'] { + border-color: #b3144d; +} + +.emotion-23[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; +} + +.emotion-23[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; +} + +.emotion-23[data-disabled='true']>.emotion-30 { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::placeholder { + color: #b5b7bd; +} + +.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; +} + +.emotion-25[data-size="small"] { + padding: 8px; +} + +.emotion-29 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-29[data-size='large'] { + font-size: 16px; +} + +.emotion-29[data-size='small'] { + padding-left: 8px; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; +} + +.emotion-31[data-grouped="true"] { + padding-top: 0; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-35 { + text-align: left; + border: none; background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; + border-radius: 4px; } -.emotion-21:active { +.emotion-35:hover, +.emotion-35:focus { background-color: #f1eefc; color: #641cb3; + cursor: pointer; + outline: none; } -.emotion-21:hover { +.emotion-35[data-selected='true'] { background-color: #f1eefc; - color: #3f4250; -} - -.emotion-22 { - cursor: not-allowed; - display: block; - font-size: inherit; - width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #f3f3f4; - color: #b5b7bd; - padding: 8px 12px; - box-sizing: border-box; } -.emotion-22:active { +.emotion-35[disabled] { background-color: #f3f3f4; color: #b5b7bd; } -.emotion-22:hover { +.emotion-35[disabled]:hover, +.emotion-35 [disabled]:focus { background-color: #f3f3f4; color: #b5b7bd; + cursor: not-allowed; + outline: none; } -.emotion-23 { - height: auto; -} - -.emotion-23[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-39 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.emotion-23 { - height: auto; +.emotion-42 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; } -.emotion-23[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-62 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-25 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-113 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-25 { +.emotion-116 { font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; }
- - - - - - 3 results available. - - - Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu. - -
- -
- Select... -
-
- -
-
-
-
-
-
-
- Option A -
-
-
- Option B +
+
+
+ + + +
+ +
+
-
-
- Option C +
+
+
+
+ + Mercury + +
+
+
+
+
+
+ + Venus + +
+
+
+
+
+
+ + Earth + +
+ + Our home planet + +
+
+
+
+
+
+ + Mars + +
+
+
+
+
+
+
+ + Jupiter + +
+ + Jupiter is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass more than two and a half times that of all the other planets in the Solar System combined, and slightly less than one one-thousandth the mass of the Sun. + +
+
+
+
+
+ + Saturn + +
+
+
+
+
+
+ + Uranus + +
+
+
+
+
+
+ +
+ Neptune + + Label + +
+
+
+
+
+
- -
-
-
`; -exports[`SelectInput > renders correctly with custom styles 1`] = ` +exports[`SelectInputV2 > renders correctly with default value 1`] = ` - .emotion-0 { + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } +} + +.emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:focus-within { - border-color: #8c40ef; +.emotion-6[data-size='medium'] { + height: 40px; +} + +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:hover { +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { border-color: #792dd4; + outline: none; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-5 label { - display: initial; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-14 { +.emotion-9 { + color: #3f4250; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; +} + +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -6905,354 +8818,211 @@ exports[`SelectInput > renders correctly with custom styles 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-16 { +.emotion-13 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-16 .fillStroke { - stroke: currentColor; +.emotion-13 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-18 { - height: auto; +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; } -
-
- - -
-
- -
- Select... -
-
- -
-
-
- - -
-
- -
-
-
-
-
- -`; - -exports[`SelectInput > renders correctly with emptyState 1`] = ` - - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-16[data-visible-in-dom="false"] { + display: none; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-21 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; +} + +.emotion-23>.emotion-30 { color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; } -.emotion-4:hover { - border-color: #2684FF; +.emotion-23>.emotion-30::-webkit-input-placeholder { + color: #727683; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-23>.emotion-30::-moz-placeholder { + color: #727683; } -.emotion-4:hover { - border-color: #792dd4; +.emotion-23>.emotion-30:-ms-input-placeholder { + color: #727683; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-23>.emotion-30::placeholder { + color: #727683; } -.emotion-5 label { - display: initial; +.emotion-23[data-success='true'] { + border-color: #22674e; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-23[data-error='true'] { + border-color: #b3144d; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-23[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-23[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-23[data-disabled='true']>.emotion-30 { + color: #b5b7bd; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { + color: #b5b7bd; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 40%); - padding: 8px; - box-sizing: border-box; +.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::placeholder { + color: #b5b7bd; } -.emotion-13:hover { - color: hsl(0, 0%, 20%); +.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-14 { +.emotion-25 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 0; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -7268,468 +9038,765 @@ exports[`SelectInput > renders correctly with emptyState 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-25[data-size="small"] { + padding: 8px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-29 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; } -.emotion-18 { - top: 100%; - position: absolute; - width: 100%; - z-index: 1; - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - box-shadow: 0px 0px 24px 6px #d9dadd66; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; +.emotion-29[data-size='large'] { + font-size: 16px; } -.emotion-19 { - max-height: 225px; - overflow-y: auto; - position: relative; - -webkit-overflow-scrolling: touch; +.emotion-29[data-size='small'] { + padding-left: 8px; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; padding-bottom: 4px; padding-top: 4px; - box-sizing: border-box; - background-color: #f9f9fa; } -.emotion-20 { - text-align: center; - color: hsl(0, 0%, 60%); - padding: 8px 12px; - box-sizing: border-box; +.emotion-31[data-grouped="true"] { + padding-top: 0; } -.emotion-21 { - height: auto; +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-21[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-35 { + position: -webkit-sticky; + position: sticky; + top: 0px; } -.emotion-23 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + -webkit-box-pack: left; + -ms-flex-pack: left; + -webkit-justify-content: left; + justify-content: left; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + border: none; + background-color: #f9f9fa; + position: -webkit-sticky; + position: sticky; + top: 0px; + padding-right: 16px; + padding-left: 16px; + height: 32px; + text-align: left; + margin-bottom: 2px; } -
-
- - - - - - - Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu. - - -
-
- -
- Select... -
-
- -
-
-
- - -
-
-
-
-
- test -
-
-
- -
-
-
-
-
- -`; - -exports[`SelectInput > renders with undefined children 1`] = ` - - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-37:focus { + background-color: #f9f9fa; + outline: none; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-37[data-selectgroup='true'] { + padding-left: 16px; + border-left: 4px solid #f9f9fa; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-37[data-selectgroup='true']:focus { + background-color: #e9eaeb; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-39 { + color: #3f4250; + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; +.emotion-43 { + text-align: left; + border: none; background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + border-radius: 4px; } -.emotion-4:hover { - border-color: #2684FF; +.emotion-43:hover, +.emotion-43:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-43[data-selected='true'] { + background-color: #f1eefc; } -.emotion-4:hover { - border-color: #792dd4; +.emotion-43[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; +.emotion-43[disabled]:hover, +.emotion-43 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; +} + +.emotion-50 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; -webkit-box-flex-wrap: wrap; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-5 label { - display: initial; + max-width: 100%; } -.emotion-6 { - position: absolute; - left: 0; +.emotion-70 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; +.emotion-140 { font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-6 { - position: absolute; - left: 0; +.emotion-143 { + font-size: 12px; + font-family: Inter,Asap,sans-serif; font-weight: 400; - pointer-events: none; - color: #3f4250; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; -} +
+
+
+
+
+
+ Pluto +
+
+ + + +
+
+
+ +
+
+
+
+`; -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +exports[`SelectInputV2 > renders correctly with emptyState 1`] = ` + + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-0 { + width: 100%; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-2 { + display: inherit; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-2[data-container-full-width="true"] { + width: 100%; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; -} - -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-13 { +.emotion-6 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 40%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-13:hover { - color: hsl(0, 0%, 20%); -} - -.emotion-14 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -7737,657 +9804,3982 @@ exports[`SelectInput > renders with undefined children 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-14 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-14 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-18 { - top: 100%; - position: absolute; - width: 100%; - z-index: 1; - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - box-shadow: 0px 0px 24px 6px #d9dadd66; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-19 { - max-height: 225px; - overflow-y: auto; - position: relative; - -webkit-overflow-scrolling: touch; - padding-bottom: 4px; - padding-top: 4px; - box-sizing: border-box; - background-color: #f9f9fa; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-20 { - cursor: pointer; - display: block; - font-size: inherit; - width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #f1eefc; - color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-20:active { - background-color: #f1eefc; - color: #641cb3; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-20:hover { - background-color: #f1eefc; - color: #3f4250; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-21 { - cursor: pointer; - display: block; - font-size: inherit; - width: 100%; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - background-color: #ffffff; - color: #3f4250; - padding: 8px 12px; - box-sizing: border-box; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-21:active { - background-color: #f1eefc; - color: #641cb3; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-21:hover { - background-color: #f1eefc; - color: #3f4250; +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-22 { - height: auto; +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-22 { - height: auto; +.emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-22 { - height: auto; +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; } -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; } -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-16[data-visible-in-dom="false"] { + display: none; +} + +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 16px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; }
- - - - - - 2 results available. - - - Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu. - -
- -
- Select... -
-
- -
-
-
-
-
-
- Option A -
-
-
-
- Option B + no option
- -
-
-
`; -exports[`SelectInput > should render correctly custom isLoading 1`] = ` +exports[`SelectInputV2 > renders correctly with error 1`] = ` - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; -} + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } } .emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: pointer; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; +} + +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-4:focus-within { - border-color: #8c40ef; +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-4:hover { +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { border-color: #792dd4; + outline: none; +} + +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-6[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } -.emotion-5 { +.emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-5 label { - display: initial; +.emotion-13 { + vertical-align: middle; + fill: #b3144d; + height: 1em; + width: 1em; + min-width: 1em; + min-height: 1em; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-13 .fillStroke { + stroke: #b3144d; + fill: none; } -.emotion-6 { +.emotion-15 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-15 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-18 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-6 { +.emotion-18[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; +} + +.emotion-18[data-has-arrow="true"]::after { + content: " "; position: absolute; - left: 0; - font-weight: 400; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-18[data-visible-in-dom="false"] { + display: none; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-20 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; +} + +.emotion-25>.emotion-32 { + color: #3f4250; +} + +.emotion-25>.emotion-32::-webkit-input-placeholder { + color: #727683; +} + +.emotion-25>.emotion-32::-moz-placeholder { + color: #727683; +} + +.emotion-25>.emotion-32:-ms-input-placeholder { + color: #727683; +} + +.emotion-25>.emotion-32::placeholder { + color: #727683; +} + +.emotion-25[data-success='true'] { + border-color: #22674e; +} + +.emotion-25[data-error='true'] { + border-color: #b3144d; +} + +.emotion-25[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; +} + +.emotion-25[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; +} + +.emotion-25[data-disabled='true']>.emotion-32 { + color: #b5b7bd; +} + +.emotion-25[data-disabled='true']>.emotion-32::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-25[data-disabled='true']>.emotion-32::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-25[data-disabled='true']>.emotion-32:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-25[data-disabled='true']>.emotion-32::placeholder { + color: #b5b7bd; +} + +.emotion-25:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-27 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; +} + +.emotion-27[data-size="small"] { + padding: 8px; +} + +.emotion-31 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-31[data-size='large'] { + font-size: 16px; +} + +.emotion-31[data-size='small'] { + padding-left: 8px; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; +} + +.emotion-33[data-grouped="true"] { + padding-top: 0; +} + +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-37 { + text-align: left; + border: none; + background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; + color: #3f4250; + border-radius: 4px; +} + +.emotion-37:hover, +.emotion-37:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; +} + +.emotion-37[data-selected='true'] { + background-color: #f1eefc; +} + +.emotion-37[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; +} + +.emotion-37[disabled]:hover, +.emotion-37 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; +} + +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; +} + +.emotion-44 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; +} + +.emotion-64 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; +} + +.emotion-115 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-118 { + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; +} + +.emotion-121 { + color: #b3144d; + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + padding-top: 4px; +} + +
+
+
+
+
+

+ placeholder +

+
+ + + + + + +
+
+
+ +
+

+ error +

+
+
+
+`; + +exports[`SelectInputV2 > renders correctly with footer 1`] = ` + + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } +} + +.emotion-0 { + width: 100%; +} + +.emotion-2 { + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; +} + +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; +} + +.emotion-6[data-size='medium'] { + height: 40px; +} + +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; +} + +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-6[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #3f4250; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; +} + +.emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; +} + +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; +} + +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; +} + +.emotion-16[data-visible-in-dom="false"] { + display: none; +} + +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-21 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; +} + +.emotion-23>.emotion-30 { + color: #3f4250; +} + +.emotion-23>.emotion-30::-webkit-input-placeholder { + color: #727683; +} + +.emotion-23>.emotion-30::-moz-placeholder { + color: #727683; +} + +.emotion-23>.emotion-30:-ms-input-placeholder { + color: #727683; +} + +.emotion-23>.emotion-30::placeholder { + color: #727683; +} + +.emotion-23[data-success='true'] { + border-color: #22674e; +} + +.emotion-23[data-error='true'] { + border-color: #b3144d; +} + +.emotion-23[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; +} + +.emotion-23[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; +} + +.emotion-23[data-disabled='true']>.emotion-30 { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::placeholder { + color: #b5b7bd; +} + +.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; +} + +.emotion-25[data-size="small"] { + padding: 8px; +} + +.emotion-29 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-29[data-size='large'] { + font-size: 16px; +} + +.emotion-29[data-size='small'] { + padding-left: 8px; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; +} + +.emotion-31[data-grouped="true"] { + padding-top: 0; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-35 { + position: -webkit-sticky; + position: sticky; + top: 0px; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + -webkit-box-pack: left; + -ms-flex-pack: left; + -webkit-justify-content: left; + justify-content: left; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + border: none; + background-color: #f9f9fa; + position: -webkit-sticky; + position: sticky; + top: 0px; + padding-right: 16px; + padding-left: 16px; + height: 32px; + text-align: left; + margin-bottom: 2px; +} + +.emotion-37:focus { + background-color: #f9f9fa; + outline: none; +} + +.emotion-37[data-selectgroup='true'] { + padding-left: 16px; + border-left: 4px solid #f9f9fa; +} + +.emotion-37[data-selectgroup='true']:focus { + background-color: #e9eaeb; +} + +.emotion-39 { + color: #3f4250; + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; +} + +.emotion-43 { + text-align: left; + border: none; + background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; + color: #3f4250; + border-radius: 4px; +} + +.emotion-43:hover, +.emotion-43:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; +} + +.emotion-43[data-selected='true'] { + background-color: #f1eefc; +} + +.emotion-43[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; +} + +.emotion-43[disabled]:hover, +.emotion-43 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; +} + +.emotion-50 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; +} + +.emotion-70 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; +} + +.emotion-140 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-143 { + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; +} + +.emotion-145 { + width: 100%; + padding: 12px 16px 12px 16px; + box-shadow: 0px 4px 24px 6px #d9dadd66; +} + +
+
+
+
+
+
+ Pluto +
+
+ + + +
+
+
+ +
+
+
+
+`; + +exports[`SelectInputV2 > renders correctly with function footer 1`] = ` + + .emotion-0 { + width: 100%; +} + +.emotion-2 { + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; +} + +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; +} + +.emotion-6[data-size='medium'] { + height: 40px; +} + +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; +} + +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-6[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #3f4250; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-overflow: ellipsis; + overflow: hidden; +} + +.emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; +} + +
+
+
+
+ +
+
+
+
+
+`; + +exports[`SelectInputV2 > renders correctly with label on the bottom and optional info on the left 1`] = ` + + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } +} + +.emotion-0 { + width: 100%; +} + +.emotion-2 { + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; +} + +.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; +} + +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; +} + +.emotion-6[data-size='medium'] { + height: 40px; +} + +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; +} + +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-6[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; +} + +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; +} + +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; +} + +.emotion-16[data-visible-in-dom="false"] { + display: none; +} + +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-21 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; +} + +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; +} + +.emotion-23>.emotion-30 { + color: #3f4250; +} + +.emotion-23>.emotion-30::-webkit-input-placeholder { + color: #727683; +} + +.emotion-23>.emotion-30::-moz-placeholder { + color: #727683; +} + +.emotion-23>.emotion-30:-ms-input-placeholder { + color: #727683; +} + +.emotion-23>.emotion-30::placeholder { + color: #727683; +} + +.emotion-23[data-success='true'] { + border-color: #22674e; +} + +.emotion-23[data-error='true'] { + border-color: #b3144d; +} + +.emotion-23[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; +} + +.emotion-23[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; +} + +.emotion-23[data-disabled='true']>.emotion-30 { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { + color: #b5b7bd; +} + +.emotion-23[data-disabled='true']>.emotion-30::placeholder { + color: #b5b7bd; +} + +.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; +} + +.emotion-25[data-size="small"] { + padding: 8px; +} + +.emotion-29 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-29[data-size='large'] { + font-size: 16px; +} + +.emotion-29[data-size='small'] { + padding-left: 8px; +} + +.emotion-31 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; +} + +.emotion-31[data-grouped="true"] { + padding-top: 0; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-35 { + position: -webkit-sticky; + position: sticky; + top: 0px; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + -webkit-box-pack: left; + -ms-flex-pack: left; + -webkit-justify-content: left; + justify-content: left; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + border: none; + background-color: #f9f9fa; + position: -webkit-sticky; + position: sticky; + top: 0px; + padding-right: 16px; + padding-left: 16px; + height: 32px; + text-align: left; + margin-bottom: 2px; +} + +.emotion-37:focus { + background-color: #f9f9fa; + outline: none; +} + +.emotion-37[data-selectgroup='true'] { + padding-left: 16px; + border-left: 4px solid #f9f9fa; +} + +.emotion-37[data-selectgroup='true']:focus { + background-color: #e9eaeb; +} + +.emotion-39 { + color: #3f4250; + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; +} + +.emotion-43 { + text-align: left; + border: none; + background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; + color: #3f4250; + border-radius: 4px; +} + +.emotion-43:hover, +.emotion-43:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; +} + +.emotion-43[data-selected='true'] { + background-color: #f1eefc; +} + +.emotion-43[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; +} + +.emotion-43[disabled]:hover, +.emotion-43 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; +} + +.emotion-45 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: left; + -ms-flex-pack: left; + -webkit-justify-content: left; + justify-content: left; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-48 { + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; +} + +.emotion-50 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; +} + +.emotion-53 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; +} + +.emotion-69 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-76 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-96 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; -} +
+
+
+
+
+

+ placeholder +

+
+ + + +
+
+
+ +
+
+
+
+`; -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} +exports[`SelectInputV2 > renders correctly with label on the bottom and optional info on the right 1`] = ` + + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-0 { + width: 100%; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-2 { + display: inherit; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-2[data-container-full-width="true"] { + width: 100%; } -.emotion-14 { +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -8398,12 +13790,12 @@ exports[`SelectInput > should render correctly custom isLoading 1`] = ` flex-wrap: nowrap; } -.emotion-14 { +.emotion-6 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -8411,498 +13803,344 @@ exports[`SelectInput > should render correctly custom isLoading 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-14 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-18 { - height: auto; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-18 { - height: auto; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-18 { - height: auto; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -
-
- - -
-
- -
- Select... -
-
- -
-
-
-
- Loading... -
- - -
-
- -
-
-
-
-
- -`; +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} -exports[`SelectInput > should render correctly description and inlineDescription 1`] = ` - - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-0 { +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); width: 100%; - position: relative; - box-sizing: border-box; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; +} + +.emotion-16[data-has-arrow="true"]::after { + content: " "; position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; } -.emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-16[data-visible-in-dom="false"] { + display: none; +} + +.emotion-18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-21 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; } -.emotion-4:hover { - border-color: #792dd4; +.emotion-23>.emotion-30 { + color: #3f4250; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-23>.emotion-30::-webkit-input-placeholder { + color: #727683; } -.emotion-5 label { - display: initial; +.emotion-23>.emotion-30::-moz-placeholder { + color: #727683; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-23>.emotion-30:-ms-input-placeholder { + color: #727683; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-23>.emotion-30::placeholder { + color: #727683; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-23[data-success='true'] { + border-color: #22674e; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-23[data-error='true'] { + border-color: #b3144d; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-23[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-23[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-23[data-disabled='true']>.emotion-30 { + color: #b5b7bd; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { + color: #b5b7bd; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-23[data-disabled='true']>.emotion-30::placeholder { + color: #b5b7bd; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-14 { +.emotion-25 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 0; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -8918,21 +14156,49 @@ exports[`SelectInput > should render correctly description and inlineDescription -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; } -.emotion-14 { +.emotion-25[data-size="small"] { + padding: 8px; +} + +.emotion-29 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-29[data-size='large'] { + font-size: 16px; +} + +.emotion-29[data-size='small'] { + padding-left: 8px; +} + +.emotion-31 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -8941,546 +14207,876 @@ exports[`SelectInput > should render correctly description and inlineDescription -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; } -.emotion-14 { +.emotion-31[data-grouped="true"] { + padding-top: 0; +} + +.emotion-33 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-35 { + position: -webkit-sticky; + position: sticky; + top: 0px; +} + +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + -webkit-box-pack: left; + -ms-flex-pack: left; + -webkit-justify-content: left; + justify-content: left; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + border: none; + background-color: #f9f9fa; + position: -webkit-sticky; + position: sticky; + top: 0px; + padding-right: 16px; + padding-left: 16px; + height: 32px; + text-align: left; + margin-bottom: 2px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-37:focus { + background-color: #f9f9fa; + outline: none; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-37[data-selectgroup='true'] { + padding-left: 16px; + border-left: 4px solid #f9f9fa; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-37[data-selectgroup='true']:focus { + background-color: #e9eaeb; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-39 { + color: #3f4250; + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-43 { + text-align: left; + border: none; + background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; + color: #3f4250; + border-radius: 4px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-43:hover, +.emotion-43:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; } -.emotion-18 { - height: auto; +.emotion-43[data-selected='true'] { + background-color: #f1eefc; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-43[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; } -.emotion-18 { - height: auto; +.emotion-43[disabled]:hover, +.emotion-43 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.emotion-18 { - height: auto; +.emotion-50 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-52 { + -webkit-align-content: center; + -ms-flex-line-pack: center; + align-content: center; } -.emotion-20 { +.emotion-55 { font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-80 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-100 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; }
- -
- -
- Select... -
-
- -
-
-
-
-
- -
+ class="emotion-15 emotion-16 emotion-17" + data-animated="false" + data-has-arrow="false" + id=":r98:" + role="dialog" + style="opacity: 1;" + > +
+
+
+
+
+ + + +
+ +
+
+
+
+
+
+ +
+
+
+
+
+ + Mercury + +
+ + Optional info + +
+
+
+
+
+
+
+ + Venus + +
+ + Optional info + +
+
+
+
+
+
+
+ + Earth + +
+ + Our home planet + +
+
+
+
+
+ + Mars + +
+
+
+
+
+
+ +
+ Pluto +
+
+
+ + Pluto does not fit the usual classification of either terrestrial or Jovian planets, but is rocky + +
+
+
+
+
+
+ +
+
+
+
+
+ + Jupiter + +
+ + Optional info + +
+
+ + Jupiter is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass more than two and a half times that of all the other planets in the Solar System combined, and slightly less than one one-thousandth the mass of the Sun. + +
+
+
+
+
+ + Saturn + +
+
+
+
+
+
+ + Uranus + +
+ + Optional info + +
+
+
+
+
+
+
+ + Neptune + +
+
+
+
+
+
+
+
`; -exports[`SelectInput > should render correctly isLoading 1`] = ` +exports[`SelectInputV2 > renders correctly with label on the right and optional info on the left 1`] = ` @keyframes animation-0 { - 0%, 80%, 100% { - opacity: 0; - } - - 40% { - opacity: 1; - } -} - -@keyframes animation-0 { - 0%, 80%, 100% { - opacity: 0; - } - - 40% { - opacity: 1; - } -} - -@keyframes animation-0 { - 0%, 80%, 100% { + 0% { opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); } - 40% { + 100% { opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); } } .emotion-0 { width: 100%; - position: relative; - box-sizing: border-box; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-2 { + display: inherit; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; -} - -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-4:hover { - border-color: #792dd4; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-5 { +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; } -.emotion-5 label { - display: initial; +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; - font-size: 4px; - line-height: 1; - margin-right: 4px; - text-align: center; - vertical-align: middle; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-13 { - -webkit-animation: animation-0 1s ease-in-out 0ms infinite; - animation: animation-0 1s ease-in-out 0ms infinite; - background-color: currentColor; - border-radius: 1em; - display: inline-block; - height: 1em; - vertical-align: top; - width: 1em; +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-14 { - -webkit-animation: animation-0 1s ease-in-out 160ms infinite; - animation: animation-0 1s ease-in-out 160ms infinite; - background-color: currentColor; - border-radius: 1em; - display: inline-block; - margin-left: 1em; - height: 1em; - vertical-align: top; - width: 1em; +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-15 { - -webkit-animation: animation-0 1s ease-in-out 320ms infinite; - animation: animation-0 1s ease-in-out 320ms infinite; - background-color: currentColor; - border-radius: 1em; - display: inline-block; - margin-left: 1em; - height: 1em; - vertical-align: top; - width: 1em; +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-16 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-17 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-17:hover { - color: hsl(0, 0%, 60%); +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; } -.emotion-18 { +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -9496,460 +15092,211 @@ exports[`SelectInput > should render correctly isLoading 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; -} - -.emotion-18 { + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-20 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; } -.emotion-20 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-20 { +.emotion-13 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-20 .fillStroke { - stroke: currentColor; +.emotion-13 .fillStroke { + stroke: #3f4250; fill: none; } -.emotion-22 { - height: auto; -} - -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-22 { - height: auto; -} - -.emotion-22[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-24 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; } -
-
- - -
-
- -
- Select... -
-
- -
-
-
- - - -
-
- -
-
-
-
-
- -`; - -exports[`SelectInput > should render correctly multi isClearable 1`] = ` - - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-16[data-visible-in-dom="false"] { + display: none; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-18 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; +.emotion-21 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-23>.emotion-30 { + color: #3f4250; } -.emotion-4:hover { - border-color: #792dd4; +.emotion-23>.emotion-30::-webkit-input-placeholder { + color: #727683; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; +.emotion-23>.emotion-30::-moz-placeholder { + color: #727683; } -.emotion-5 label { - display: initial; +.emotion-23>.emotion-30:-ms-input-placeholder { + color: #727683; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-23>.emotion-30::placeholder { + color: #727683; } -.emotion-8 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 5px; - padding-left: 0; +.emotion-23[data-success='true'] { + border-color: #22674e; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-23[data-error='true'] { + border-color: #b3144d; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-23[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-23[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-23[data-disabled='true']>.emotion-30 { + color: #b5b7bd; } -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-12:hover { - color: hsl(0, 0%, 60%); +.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { + color: #b5b7bd; } -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; +.emotion-23[data-disabled='true']>.emotion-30::placeholder { + color: #b5b7bd; } -.emotion-15 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-17 { +.emotion-25 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 0; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -9965,21 +15312,49 @@ exports[`SelectInput > should render correctly multi isClearable 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; } -.emotion-17 { +.emotion-25[data-size="small"] { + padding: 8px; +} + +.emotion-29 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-29[data-size='large'] { + font-size: 16px; +} + +.emotion-29[data-size='small'] { + padding-left: 8px; +} + +.emotion-31 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -9988,424 +15363,1000 @@ exports[`SelectInput > should render correctly multi isClearable 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; } -.emotion-19 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-31[data-grouped="true"] { + padding-top: 0; } -.emotion-19 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-19 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-35 { + position: -webkit-sticky; + position: sticky; + top: 0px; } -.emotion-19 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + -webkit-box-pack: left; + -ms-flex-pack: left; + -webkit-justify-content: left; + justify-content: left; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + border: none; + background-color: #f9f9fa; + position: -webkit-sticky; + position: sticky; + top: 0px; + padding-right: 16px; + padding-left: 16px; + height: 32px; + text-align: left; + margin-bottom: 2px; } -.emotion-21 { - height: auto; +.emotion-37:focus { + background-color: #f9f9fa; + outline: none; +} + +.emotion-37[data-selectgroup='true'] { + padding-left: 16px; + border-left: 4px solid #f9f9fa; +} + +.emotion-37[data-selectgroup='true']:focus { + background-color: #e9eaeb; +} + +.emotion-39 { + color: #3f4250; + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; +} + +.emotion-43 { + text-align: left; + border: none; + background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; + color: #3f4250; + border-radius: 4px; +} + +.emotion-43:hover, +.emotion-43:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; +} + +.emotion-43[data-selected='true'] { + background-color: #f1eefc; +} + +.emotion-43[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; +} + +.emotion-43[disabled]:hover, +.emotion-43 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; +} + +.emotion-45 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: baseline; + -webkit-box-align: baseline; + -ms-flex-align: baseline; + align-items: baseline; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-47 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: baseline; + -webkit-box-align: baseline; + -ms-flex-align: baseline; + align-items: baseline; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.emotion-21[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-50 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; } -.emotion-21 { - height: auto; +.emotion-52 { + -webkit-align-content: center; + -ms-flex-line-pack: center; + align-content: center; } -.emotion-21[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-55 { + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; } -.emotion-23 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-80 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-23 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-100 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; }
- -
- -
- Option A -
-
- -
-
-
- -
-
- -
+ class="emotion-15 emotion-16 emotion-17" + data-animated="false" + data-has-arrow="false" + id=":r62:" + role="dialog" + style="opacity: 1;" + > +
+
+
+
+
+ + + +
+ +
+
+
+
+
+
+ +
+
+
+
+
+ + Mercury + +
+
+ + Optional info + +
+
+
+
+
+
+ + Venus + +
+
+ + Optional info + +
+
+
+
+
+
+ + Earth + + + Our home planet + +
+
+
+
+
+
+ + Mars + +
+
+
+
+
+
+ +
+ Pluto +
+
+ + Pluto does not fit the usual classification of either terrestrial or Jovian planets, but is rocky + +
+
+
+
+
+
+
+ +
+
+
+
+
+ + Jupiter + + + Jupiter is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass more than two and a half times that of all the other planets in the Solar System combined, and slightly less than one one-thousandth the mass of the Sun. + +
+
+ + Optional info + +
+
+
+
+
+
+ + Saturn + +
+
+
+
+
+
+ + Uranus + +
+
+ + Optional info + +
+
+
+
+
+
+ + Neptune + +
+
+
+
+
+
+
+
`; -exports[`SelectInput > should render correctly multi isClearable disabled 1`] = ` +exports[`SelectInputV2 > renders correctly with label on the right and optional info on the right 1`] = ` - .emotion-0 { - width: 100%; - pointer-events: initial; - pointer-events: none; - position: relative; - box-sizing: border-box; + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } } .emotion-0 { width: 100%; - pointer-events: initial; - pointer-events: none; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: not-allowed; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #f3f3f4; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #b5b7bd; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - cursor: not-allowed; - height: 100%; - padding-top: 0; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-5 label { - display: initial; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; - opacity: 0.5; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-8 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #b5b7bd; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 5px; - padding-left: 0; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-10 { - visibility: hidden; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } .emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-14 { +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; +} + +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; +} + +.emotion-16[data-visible-in-dom="false"] { + display: none; +} + +.emotion-18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -10416,19 +16367,19 @@ exports[`SelectInput > should render correctly multi isClearable disabled 1`] = flex-wrap: nowrap; } -.emotion-14 { +.emotion-21 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -10437,434 +16388,324 @@ exports[`SelectInput > should render correctly multi isClearable disabled 1`] = -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-23>.emotion-30 { + color: #3f4250; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-23>.emotion-30::-webkit-input-placeholder { + color: #727683; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-23>.emotion-30::-moz-placeholder { + color: #727683; } -.emotion-18 { - height: auto; +.emotion-23>.emotion-30:-ms-input-placeholder { + color: #727683; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-23>.emotion-30::placeholder { + color: #727683; } -.emotion-18 { - height: auto; +.emotion-23[data-success='true'] { + border-color: #22674e; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-23[data-error='true'] { + border-color: #b3144d; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-23[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-23[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; } -
-
- - -
-
- -
- Option A -
-
- -
-
-
- - -
-
-
-
-
-
-
- -`; +.emotion-23[data-disabled='true']>.emotion-30 { + color: #b5b7bd; +} -exports[`SelectInput > should render correctly multi isSearchable 1`] = ` - - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { + color: #b5b7bd; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-4 { +.emotion-23[data-disabled='true']>.emotion-30::placeholder { + color: #b5b7bd; +} + +.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -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; - cursor: pointer; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; +} + +.emotion-25[data-size="small"] { + padding: 8px; +} + +.emotion-29 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-29[data-size='large'] { + font-size: 16px; +} + +.emotion-29[data-size='small'] { + padding-left: 8px; +} + +.emotion-31 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-31[data-grouped="true"] { + padding-top: 0; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-4:hover { - border-color: #792dd4; +.emotion-35 { + position: -webkit-sticky; + position: sticky; + top: 0px; } -.emotion-5 { +.emotion-37 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + width: 100%; + -webkit-box-pack: left; + -ms-flex-pack: left; + -webkit-justify-content: left; + justify-content: left; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-5 label { - display: initial; + border: none; + background-color: #f9f9fa; + position: -webkit-sticky; + position: sticky; + top: 0px; + padding-right: 16px; + padding-left: 16px; + height: 32px; + text-align: left; + margin-bottom: 2px; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; +.emotion-37:focus { + background-color: #f9f9fa; + outline: none; } -.emotion-8 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #3f4250; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 5px; - padding-left: 0; +.emotion-37[data-selectgroup='true'] { + padding-left: 16px; + border-left: 4px solid #f9f9fa; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-37[data-selectgroup='true']:focus { + background-color: #e9eaeb; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-39 { + color: #3f4250; + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-43 { + text-align: left; + border: none; + background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; + color: #3f4250; + border-radius: 4px; } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; +.emotion-43:hover, +.emotion-43:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-43[data-selected='true'] { + background-color: #f1eefc; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-43[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-43[disabled]:hover, +.emotion-43 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; } -.emotion-14 { +.emotion-45 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 4px; -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; + -webkit-align-items: baseline; + -webkit-box-align: baseline; + -ms-flex-align: baseline; + align-items: baseline; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; } -.emotion-14 { +.emotion-47 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 4px; -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-align-items: baseline; + -webkit-box-align: baseline; + -ms-flex-align: baseline; + align-items: baseline; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -10873,411 +16714,851 @@ exports[`SelectInput > should render correctly multi isSearchable 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + overflow: hidden; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-18 { - height: auto; -} - -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-50 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; } -.emotion-18 { - height: auto; +.emotion-52 { + -webkit-align-content: center; + -ms-flex-line-pack: center; + align-content: center; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-55 { + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-80 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-100 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + font-style: italic; }
- -
- -
- Option A -
-
- -
-
-
-
-
- -
+ class="emotion-15 emotion-16 emotion-17" + data-animated="false" + data-has-arrow="false" + id=":r74:" + role="dialog" + style="opacity: 1;" + > +
+
+
+
+
+ + + +
+ +
+
+
+
+
+
+ +
+
+
+
+
+ + Mercury + +
+
+ + Optional info + +
+
+
+
+
+
+ + Venus + +
+
+ + Optional info + +
+
+
+
+
+
+ + Earth + + + Our home planet + +
+
+
+
+
+
+ + Mars + +
+
+
+
+
+
+ +
+ Pluto +
+
+ + Pluto does not fit the usual classification of either terrestrial or Jovian planets, but is rocky + +
+
+
+
+
+
+
+ +
+
+
+
+
+ + Jupiter + + + Jupiter is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass more than two and a half times that of all the other planets in the Solar System combined, and slightly less than one one-thousandth the mass of the Sun. + +
+
+ + Optional info + +
+
+
+
+
+
+ + Saturn + +
+
+
+
+
+
+ + Uranus + +
+
+ + Optional info + +
+
+
+
+
+
+ + Neptune + +
+
+
+
+
+
+
+
`; -exports[`SelectInput > should render correctly multi isSearchable disabled 1`] = ` +exports[`SelectInputV2 > renders correctly with not searchable 1`] = ` - .emotion-0 { - width: 100%; - pointer-events: initial; - pointer-events: none; - position: relative; - box-sizing: border-box; + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } + + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } } .emotion-0 { width: 100%; - pointer-events: initial; - pointer-events: none; - position: relative; - box-sizing: border-box; } .emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; + display: inherit; +} + +.emotion-2[data-container-full-width="true"] { + width: 100%; } .emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; +} + +.emotion-6 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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; - cursor: not-allowed; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #f3f3f4; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; box-shadow: none; - box-sizing: border-box; - color: #b5b7bd; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - cursor: not-allowed; - height: 100%; - padding-top: 0; +.emotion-6[data-size='medium'] { + height: 40px; } -.emotion-5 label { - display: initial; +.emotion-6[data-size='large'] { + height: 48px; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; - -webkit-transform: translate(0, -8px) scale(0.8); - -moz-transform: translate(0, -8px) scale(0.8); - -ms-transform: translate(0, -8px) scale(0.8); - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; - opacity: 0.5; +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-8 { - grid-area: 1/1/2/3; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - color: #b5b7bd; - margin-left: 0; - margin-right: 0; - box-sizing: border-box; - margin-top: 5px; - padding-left: 0; +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-10 { - visibility: hidden; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-6[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } .emotion-11 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; +.emotion-13 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-13 .fillStroke { + stroke: #3f4250; + fill: none; +} + +.emotion-16 { + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; +} + +.emotion-16[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; +} + +.emotion-16[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; +} + +.emotion-16[data-visible-in-dom="false"] { display: none; } -.emotion-13 { +.emotion-18 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; -} - -.emotion-13:hover { - color: hsl(0, 0%, 60%); + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-14 { +.emotion-20 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -11286,21 +17567,30 @@ exports[`SelectInput > should render correctly multi isSearchable disabled 1`] = -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; } -.emotion-14 { +.emotion-20[data-grouped="true"] { + padding-top: 0; +} + +.emotion-22 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -11311,435 +17601,495 @@ exports[`SelectInput > should render correctly multi isSearchable disabled 1`] = flex-wrap: nowrap; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-24 { + text-align: left; + border: none; + background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; + color: #3f4250; + border-radius: 4px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-24:hover, +.emotion-24:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; } - -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + +.emotion-24[data-selected='true'] { + background-color: #f1eefc; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-24[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; } -.emotion-18 { - height: auto; +.emotion-24[disabled]:hover, +.emotion-24 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-28 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.emotion-18 { - height: auto; +.emotion-31 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-51 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-102 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; } -.emotion-20 { +.emotion-105 { font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; }
- -
- -
- Option A -
-
- -
-
-
-
-
-
+ class="emotion-15 emotion-16 emotion-17" + data-animated="false" + data-has-arrow="false" + id=":rda:" + role="dialog" + style="opacity: 1;" + > +
+
+
+
+
+
+ + Mercury + +
+
+
+
+
+
+ + Venus + +
+
+
+
+
+
+ + Earth + +
+ + Our home planet + +
+
+
+
+
+
+ + Mars + +
+
+
+
+
+
+
+ + Jupiter + +
+ + Jupiter is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass more than two and a half times that of all the other planets in the Solar System combined, and slightly less than one one-thousandth the mass of the Sun. + +
+
+
+
+
+ + Saturn + +
+
+
+
+
+
+ + Uranus + +
+
+
+
+
+
+ +
+ Neptune + + Label + +
+
+
+
+
+
+
+
+
`; -exports[`SelectInput > should render correctly with portal 1`] = ` +exports[`SelectInputV2 > renders correctly with success 1`] = ` - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; -} - -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; -} - -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; -} - -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; -} - -.emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; - border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; -} - -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); -} - -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-4:hover { - border-color: #792dd4; -} - -.emotion-5 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - display: grid; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; - height: 100%; - padding-top: 0; -} - -.emotion-5 label { - display: initial; -} - -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; -} - -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; -} - -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; -} - -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; -} - -.emotion-9 { - margin-left: 0px; - caret-color: transparent; -} - -.emotion-9 { - margin-left: 0px; - caret-color: transparent; -} - -.emotion-9 { - margin-left: 0px; - caret-color: transparent; -} - -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; -} + @keyframes animation-0 { + 0% { + opacity: 0; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } -.emotion-11 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + 100% { + opacity: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + } } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-0 { + width: 100%; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +.emotion-2 { + display: inherit; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-2[data-container-full-width="true"] { + width: 100%; } -.emotion-14 { +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -11750,12 +18100,12 @@ exports[`SelectInput > should render correctly with portal 1`] = ` flex-wrap: nowrap; } -.emotion-14 { +.emotion-6 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -11763,22 +18113,124 @@ exports[`SelectInput > should render correctly with portal 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-14 { +.emotion-6[data-size='small'] { + height: 32px; + padding-left: 8px; +} + +.emotion-6[data-size='medium'] { + height: 40px; +} + +.emotion-6[data-size='large'] { + height: 48px; +} + +.emotion-6[data-state='neutral'] { + border: 1px solid #d9dadd; +} + +.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; +} + +.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; +} + +.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; +} + +.emotion-6[data-state='success'] { + border: 1px solid #22674e; +} + +.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; +} + +.emotion-6[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; +} + +.emotion-6[data-state='danger'] { + border: 1px solid #b3144d; +} + +.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; +} + +.emotion-6[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; +} + +.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-6[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-6[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-9 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -11794,474 +18246,864 @@ exports[`SelectInput > should render correctly with portal 1`] = ` -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; -} - -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-16 { +.emotion-13 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #22674e; + height: 1em; + width: 1em; + min-width: 1em; + min-height: 1em; } -.emotion-16 .fillStroke { - stroke: currentColor; +.emotion-13 .fillStroke { + stroke: #22674e; fill: none; } -.emotion-16 { +.emotion-15 { vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; } -.emotion-16 .fillStroke { - stroke: currentColor; +.emotion-15 .fillStroke { + stroke: #3f4250; fill: none; } .emotion-18 { - height: auto; -} - -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-18 { - height: auto; -} - -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; + background: #151a2d; + color: #ffffff; + border-radius: 4px; + padding: 4px 8px; + text-align: center; + position: absolute; + max-width: 500px; + overflow-wrap: break-word; + font-size: 0.8rem; + inset: 0 auto auto 0; + top: 0; + left: 0; + opacity: 0; + z-index: 1; + -webkit-transform: translate3d(0px, 4px, 0); + -moz-transform: translate3d(0px, 4px, 0); + -ms-transform: translate3d(0px, 4px, 0); + transform: translate3d(0px, 4px, 0); + width: 100%; + background-color: #ffffff; + color: #3f4250; + box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; + padding: 0; + margin-bottom: 80px; } -.emotion-18 { - height: auto; +.emotion-18[data-animated="true"] { + -webkit-animation: 0ms animation-0 forwards; + animation: 0ms animation-0 forwards; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-18[data-has-arrow="true"]::after { + content: " "; + position: absolute; + top: -5px; + left: 0px; + -webkit-transform: rotate(180deg); + -moz-transform: rotate(180deg); + -ms-transform: rotate(180deg); + transform: rotate(180deg); + margin-left: -8px; + border-width: 8px; + border-style: solid; + border-color: #151a2d transparent transparent transparent; + pointer-events: none; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-18[data-visible-in-dom="false"] { + display: none; } .emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-23 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-top: 12px; + padding-bottom: 12px; + padding-left: 16px; + padding-right: 16px; } -
-
- - -
-
- -
- Select... -
-
- -
-
-
- - -
-
- -
-
-
-
-
-
- -`; +.emotion-25 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 40px; + background: #ffffff; + border: 1px solid #d9dadd; + border-radius: 4px; +} -exports[`SelectInput > should render correctly without children 1`] = ` - - .emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-25>.emotion-32 { + color: #3f4250; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-25>.emotion-32::-webkit-input-placeholder { + color: #727683; } -.emotion-0 { - width: 100%; - position: relative; - box-sizing: border-box; +.emotion-25>.emotion-32::-moz-placeholder { + color: #727683; } -.emotion-2 { - z-index: 9999; - border: 0; - clip: rect(1px, 1px, 1px, 1px); - height: 1px; - width: 1px; - position: absolute; - overflow: hidden; - padding: 0; - white-space: nowrap; +.emotion-25>.emotion-32:-ms-input-placeholder { + color: #727683; } -.emotion-4 { - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - min-height: 48px; - outline: 0!important; - position: relative; - -webkit-transition: border-color 200ms ease,box-shadow 200ms ease; - transition: border-color 200ms ease,box-shadow 200ms ease; - background-color: #ffffff; +.emotion-25>.emotion-32::placeholder { + color: #727683; +} + +.emotion-25[data-success='true'] { + border-color: #22674e; +} + +.emotion-25[data-error='true'] { + border-color: #b3144d; +} + +.emotion-25[data-readonly='true'] { + background: #f9f9fa; border-color: #d9dadd; - border-radius: 4px; - border-style: solid; - border-width: 1px; - box-shadow: none; - box-sizing: border-box; - color: #3f4250; - font-size: 16px; - font-weight: 500; - line-height: 24px; - -webkit-animation: none; - animation: none; } -.emotion-4:hover { - border-color: hsl(0, 0%, 70%); +.emotion-25[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; } -.emotion-4:focus-within { - border-color: #8c40ef; - box-shadow: 0px 0px 0px 3px #8c40ef40; +.emotion-25[data-disabled='true']>.emotion-32 { + color: #b5b7bd; } -.emotion-4:hover { - border-color: #792dd4; +.emotion-25[data-disabled='true']>.emotion-32::-webkit-input-placeholder { + color: #b5b7bd; +} + +.emotion-25[data-disabled='true']>.emotion-32::-moz-placeholder { + color: #b5b7bd; +} + +.emotion-25[data-disabled='true']>.emotion-32:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-5 { +.emotion-25[data-disabled='true']>.emotion-32::placeholder { + color: #b5b7bd; +} + +.emotion-25:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; +} + +.emotion-27 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0; + -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; - display: grid; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding: 16px; + border-right: 1px solid; + border-color: inherit; +} + +.emotion-27[data-size="small"] { + padding: 8px; +} + +.emotion-31 { -webkit-flex: 1; -ms-flex: 1; flex: 1; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-overflow-scrolling: touch; - position: relative; - overflow: hidden; - padding: 2px 8px; - box-sizing: border-box; + border: none; + outline: none; height: 100%; + width: 100%; + padding-left: 16px; + background: transparent; + font-size: 14px; +} + +.emotion-31[data-size='large'] { + font-size: 16px; +} + +.emotion-31[data-size='small'] { + padding-left: 8px; +} + +.emotion-33 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + max-height: 256px; + overflow-y: scroll; + padding: 0; + padding-bottom: 4px; + padding-top: 4px; +} + +.emotion-33[data-grouped="true"] { padding-top: 0; } -.emotion-5 label { - display: initial; +.emotion-35 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 2px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; +.emotion-37 { + text-align: left; + border: none; + background-color: #ffffff; + padding: 12px 16px 12px 16px; + margin-left: 4px; + margin-right: 4px; color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; + border-radius: 4px; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-37:hover, +.emotion-37:focus { + background-color: #f1eefc; + color: #641cb3; + cursor: pointer; + outline: none; } -.emotion-6 { - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: #3f4250; - white-space: nowrap; - width: 100%; - height: 100%; - font-size: 16px; - -webkit-transition: -webkit-transform 250ms ease; - transition: transform 250ms ease; - opacity: 0; +.emotion-37[data-selected='true'] { + background-color: #f1eefc; } -.emotion-8 { - grid-area: 1/1/2/3; - color: #727683; - margin-left: 2px; - margin-right: 2px; - box-sizing: border-box; +.emotion-37[disabled] { + background-color: #f3f3f4; + color: #b5b7bd; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-37[disabled]:hover, +.emotion-37 [disabled]:focus { + background-color: #f3f3f4; + color: #b5b7bd; + cursor: not-allowed; + outline: none; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-41 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 4px; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + overflow: hidden; } -.emotion-9 { - margin-left: 0px; - caret-color: transparent; +.emotion-44 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; + overflow: auto; + text-overflow: ellipsis; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + max-width: 100%; } -.emotion-10 { - visibility: visible; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - display: inline-grid; - grid-area: 1/1/2/3; - grid-template-columns: 0 min-content; - margin: 2px; - padding-bottom: 2px; - padding-top: 11px; - color: hsl(0, 0%, 20%); - box-sizing: border-box; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - margin-left: 0; -} - -.emotion-10:after { - content: attr(data-value) " "; - visibility: hidden; - white-space: pre; - grid-area: 1/2; - font: inherit; - min-width: 2px; - border: 0; - margin: 0; - outline: 0; - padding: 0; +.emotion-64 { + color: #727683; + font-size: 14px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 20px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + text-align: left; } -.emotion-11 { +.emotion-115 { + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-118 { + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-sizing: border-box; - max-height: 48px; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + white-space: nowrap; + border-radius: 16px; + padding: 0 16px; + gap: 8px; + width: -webkit-fit-content; + width: -moz-fit-content; + width: fit-content; + height: 24px; + text-transform: uppercase; + color: #3f4250; + background: #f9f9fa; + border: 1px solid #d9dadd; } -.emotion-12 { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: 1px; - background-color: #d9dadd; - margin-bottom: 8px; - margin-top: 8px; - box-sizing: border-box; - display: none; +.emotion-121 { + color: #22674e; + font-size: 12px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 16px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + padding-top: 4px; } -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transition: color 150ms; - transition: color 150ms; - color: hsl(0, 0%, 80%); - padding: 8px; - box-sizing: border-box; +
+
+
+
+
+

+ placeholder +

+
+ + + + + + +
+
+
+ +
+

+ success +

+
+
+
+`; + +exports[`SelectInputV2 > renders correctly with tooltip 1`] = ` + + .emotion-0 { + width: 100%; } -.emotion-13:hover { - color: hsl(0, 0%, 60%); +.emotion-2 { + display: inherit; } -.emotion-14 { +.emotion-2[data-container-full-width="true"] { + width: 100%; +} + +.emotion-4 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -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; + gap: 4px; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -12272,19 +19114,19 @@ exports[`SelectInput > should render correctly without children 1`] = ` flex-wrap: nowrap; } -.emotion-14 { +.emotion-6 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 4px; -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-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; -webkit-box-pack: normal; -ms-flex-pack: normal; -webkit-justify-content: normal; @@ -12295,12 +19137,24 @@ exports[`SelectInput > should render correctly without children 1`] = ` flex-wrap: nowrap; } -.emotion-14 { +.emotion-8 { + color: #222638; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-12 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; + gap: 8px; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; @@ -12308,205 +19162,231 @@ exports[`SelectInput > should render correctly without children 1`] = ` -webkit-box-align: center; -ms-flex-align: center; align-items: center; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + padding: 8px; + padding-right: 0; + padding-left: 16px; + cursor: pointer; + box-shadow: none; + background: #ffffff; + border-radius: 4px; + width: 100%; + overflow: hidden; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-12[data-size='small'] { + height: 32px; + padding-left: 8px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-12[data-size='medium'] { + height: 40px; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-12[data-size='large'] { + height: 48px; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-12[data-state='neutral'] { + border: 1px solid #d9dadd; } -.emotion-16 { - vertical-align: middle; - fill: currentColor; - height: 1rem; - width: 1rem; - min-width: 1rem; - min-height: 1rem; +.emotion-12[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #792dd4; + box-shadow: 0px 0px 0px 3px #8c40ef40; } -.emotion-16 .fillStroke { - stroke: currentColor; - fill: none; +.emotion-12[data-state='neutral']:not([data-disabled='true']):hover, +.emotion-12[data-state='neutral']:not([data-disabled='true']):focus { + border-color: #792dd4; + outline: none; } -.emotion-18 { - height: auto; +.emotion-12[data-state='neutral'][data-dropdownvisible='true'] { + border-color: #792dd4; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-12[data-state='success'] { + border: 1px solid #22674e; } -.emotion-18 { - height: auto; +.emotion-12[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #1b533f; + box-shadow: 0px 0px 0px 3px #45d19f40; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-12[data-state='success'][data-dropdownvisible='true'] { + border-color: #1b533f; } -.emotion-18 { - height: auto; +.emotion-12[data-state='danger'] { + border: 1px solid #b3144d; } -.emotion-18[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; +.emotion-12[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { + border-color: #92103f; + box-shadow: 0px 0px 0px 3px #f91b6c40; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-12[data-state='danger'][data-dropdownvisible='true'] { + border-color: #92103f; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-12:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-20 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-12[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; + cursor: default; +} + +.emotion-12[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; + cursor: not-allowed; +} + +.emotion-15 { + color: #727683; + font-size: 16px; + font-family: Inter,Asap,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 24px; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.emotion-17 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 8px; + -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: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + padding-right: 16px; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-19 { + vertical-align: middle; + fill: #3f4250; + height: 16px; + width: 16px; + min-width: 16px; + min-height: 16px; +} + +.emotion-19 .fillStroke { + stroke: #3f4250; + fill: none; }
- -
-
- Select... +
- -
-
-
- -
- -
-
-
diff --git a/packages/ui/src/components/SelectInput/__tests__/index.test.tsx b/packages/ui/src/components/SelectInput/__tests__/index.test.tsx index dee5118e43..f47f2744c2 100644 --- a/packages/ui/src/components/SelectInput/__tests__/index.test.tsx +++ b/packages/ui/src/components/SelectInput/__tests__/index.test.tsx @@ -1,371 +1,1293 @@ -import type { CSSObject } from '@emotion/react' -import { screen } from '@testing-library/react' +import { fireEvent, screen } from '@testing-library/react' import { userEvent } from '@testing-library/user-event' -import { - renderWithTheme, - shouldMatchEmotionSnapshot, - shouldMatchEmotionSnapshotWithPortal, -} from '@utils/test' -import { describe, expect, test } from 'vitest' +import { renderWithTheme } from '@utils/test' +import type { ReactNode } from 'react' +import { afterAll, beforeAll, describe, expect, test, vi } from 'vitest' import { SelectInput } from '..' +import { OptionalInfo, cities, dataGrouped, dataUnGrouped } from './resources' -const customStyles: Record = { - control: {}, - indicatorsContainer: {}, - indicatorSeparator: {}, - menu: {}, - menuList: {}, - menuPortal: {}, - multiValue: {}, - multiValueLabel: {}, - multiValueRemove: {}, - option: {}, - placeholder: {}, - singleValue: {}, - valueContainer: {}, +export type OptionType = { + value: string + label: ReactNode + disabled: boolean + description?: string + optionalInfo?: ReactNode } describe('SelectInput', () => { - test('renders correctly uncontrolled', async () => { + beforeAll(() => { + Object.defineProperty(HTMLElement.prototype, 'offsetWidth', { + configurable: true, + value: 500, + }) + }) + + afterAll(() => { + Object.defineProperty(HTMLElement.prototype, 'offsetWidth', {}) + }) + + test.skip('renders correctly', () => { + const { asFragment } = renderWithTheme( + , + ) + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('renders correctly small', () => { + const { asFragment } = renderWithTheme( + , + ) + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('renders correctly with tooltip', () => { const { asFragment } = renderWithTheme( - - Option A - Option B - , + , ) - const input = screen.getByRole('combobox') + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('renders correctly required', () => { + const { asFragment } = renderWithTheme( + , + ) + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('renders correctly not clearable', () => { + const { asFragment } = renderWithTheme( + , + ) + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('renders correctly ungrouped', async () => { + const { asFragment } = renderWithTheme( + , + ) + const input = screen.getByText('placeholder') await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly with emptyState', async () => { + test.skip('renders correctly grouped', async () => { const { asFragment } = renderWithTheme( 'test'} + name="test" + options={dataGrouped} + placeholder="placeholder" + placeholderSearch="placeholdersearch" />, ) - const input = screen.getByRole('combobox') + const input = screen.getByText('placeholder') await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly with custom styles', () => { + test.skip('renders correctly with default value', async () => { const { asFragment } = renderWithTheme( customStyles} - > - Option A - Option B - , + name="test" + options={dataGrouped} + placeholder="placeholder" + placeholderSearch="placeholdersearch" + value={dataGrouped['terrestrial planets'][4].value} + />, ) + const input = screen.getByText('Pluto') + await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly controlled', () => { + test.skip('renders correctly with footer', async () => { const { asFragment } = renderWithTheme( , + ) + const input = screen.getByText('Pluto') + await userEvent.click(input) + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('renders correctly multiselect', async () => { + const { asFragment } = renderWithTheme( + , + ) + const input = screen.getByText('Pluto') + await userEvent.click(input) + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('renders correctly with label on the right and optional info on the left', async () => { + const { asFragment } = renderWithTheme( + {}} - > - Option A - Option B - , + />, ) + const input = screen.getByText('placeholder') + await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly disabled', () => { + test.skip('renders correctly with label on the right and optional info on the right', async () => { const { asFragment } = renderWithTheme( - - Option A - Option B - , + , ) + const input = screen.getByText('placeholder') + await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly required', () => { + test.skip('renders correctly with label on the bottom and optional info on the left', async () => { const { asFragment } = renderWithTheme( - - 11:00 - 12:00 - , + , ) + const input = screen.getByText('placeholder') + await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly timed', () => { - shouldMatchEmotionSnapshot( - - 11:00 - 12:00 - , + test.skip('renders correctly with label on the bottom and optional info on the right', async () => { + const { asFragment } = renderWithTheme( + , ) + const input = screen.getByText('placeholder') + await userEvent.click(input) + expect(asFragment()).toMatchSnapshot() }) - test('renders correctly timed with error', () => { - shouldMatchEmotionSnapshot( + test.skip('renders correctly loadMore', () => { + const { asFragment } = renderWithTheme( - 11:00 - 12:00 - , + name="test" + options={cities} + placeholder="placeholder" + placeholderSearch="placeholdersearch" + clearable={false} + searchable={false} + loadMore="LoadMore" + />, ) + expect(asFragment()).toMatchSnapshot() }) - test('renders correctly with click', async () => { + test.skip('renders correctly with emptyState', async () => { const { asFragment } = renderWithTheme( - - Option A - Option B - , + , ) - const input = screen.getByRole('combobox') + const input = screen.getByText('placeholder') await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly with click and option disabled', async () => { + test.skip('renders correctly disabled', async () => { const { asFragment } = renderWithTheme( - - Option A - Option B - - Option C - - , + , ) - const input = screen.getByRole('combobox') + const input = screen.getByText('placeholder') await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly with click and options', async () => { + test.skip('renders correctly required', async () => { const { asFragment } = renderWithTheme( - - - Option A - - - Option B - - - Option C - - , - ) - const input = screen.getByRole('combobox') + , + ) + + const input = screen.getByText('placeholder') await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly disabled with click', () => { - shouldMatchEmotionSnapshot( - - Option A - Option B - , + test.skip('renders correctly with dropdownAlign', async () => { + const { asFragment } = renderWithTheme( + , ) + + const input = screen.getByText('placeholder') + await userEvent.click(input) + expect(asFragment()).toMatchSnapshot() }) - test('renders correctly default values with click', async () => { + test.skip('renders correctly readOnly', async () => { const { asFragment } = renderWithTheme( - - Option A - Option B - , + , ) - const input = screen.getByRole('combobox') + const input = screen.getByText('placeholder') await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly animated', () => { + test.skip('renders correctly with error', async () => { const { asFragment } = renderWithTheme( {}} - > - Option A - Option B - , + name="test" + options={dataUnGrouped} + placeholder="placeholder" + placeholderSearch="placeholdersearch" + error="error" + />, ) + const input = screen.getByText('placeholder') + await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly multi', () => { + + test.skip('renders correctly with success', async () => { const { asFragment } = renderWithTheme( - - Option A - Option B - Option C - Option D - Option E - Option F - , + , ) + const input = screen.getByText('placeholder') + await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) - test('renders correctly multi disabled', () => - shouldMatchEmotionSnapshot( + test.skip('renders correctly with not searchable', async () => { + const { asFragment } = renderWithTheme( - Option A - Option B - , - )) - - test('should render correctly multi isClearable', () => - shouldMatchEmotionSnapshot( - - Option A - Option B - , - )) - - test('should render correctly multi isClearable disabled', () => - shouldMatchEmotionSnapshot( - - Option A - Option B - , - )) - test('should render correctly multi isSearchable', () => - shouldMatchEmotionSnapshot( - - Option A - Option B - , - )) - - test('should render correctly multi isSearchable disabled', () => - shouldMatchEmotionSnapshot( - - Option A - Option B - , - )) - - test('should render correctly isLoading', () => - shouldMatchEmotionSnapshot( - - Option A - Option B - , - )) - - test('should render correctly with portal', () => - shouldMatchEmotionSnapshotWithPortal( + name="test" + options={dataUnGrouped} + placeholder="placeholder" + placeholderSearch="placeholdersearch" + searchable={false} + />, + ) + const input = screen.getByText('placeholder') + await userEvent.click(input) + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('handles correctly dropdown with clicks - grouped', async () => { + renderWithTheme( + , + ) + + const input = screen.getByText('placeholder') + await userEvent.click(input) + const dropdown = screen.getByRole('dialog') + expect(dropdown).toBeVisible() + + await userEvent.click(input) + await userEvent.click(input) + expect(dropdown).not.toBeInTheDocument() + }) + + test.skip('handles correctly dropdown with clicks - ungrouped', async () => { + renderWithTheme( + , + ) + + const input = screen.getByText('placeholder') + await userEvent.click(input) + const dropdown = screen.getByRole('dialog') + expect(dropdown).toBeVisible() + + await userEvent.click(input) + await userEvent.click(input) + expect(dropdown).not.toBeInTheDocument() + }) + + test.skip('handles correctly closable tags', async () => { + renderWithTheme( + {}} + />, + ) + const venusCloseButton = screen.getByTestId('close-tag') + const venus = screen.getByText('Venus') + await userEvent.click(venusCloseButton) + expect(venus).not.toBeVisible() + }) + test.skip('renders correctly unclosable tags when readonly', () => { + const { asFragment } = renderWithTheme( + {}} + />, + ) + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('handles correctly dropdown with arrow down/up key press with ungrouped data', async () => { + renderWithTheme( + , + ) + + const input = screen.getByTestId('select-input-test') + await userEvent.tab() + await userEvent.tab() + expect(input).toHaveFocus() + await userEvent.keyboard('[arrowDown]') + const dropdown = screen.getByRole('dialog') + expect(dropdown).toBeVisible() + await userEvent.keyboard('[arrowDown]') + await userEvent.keyboard('[arrowUp]') + const mercury = screen.getByRole('option', { + name: /mercury/i, + }) + expect(mercury).toHaveFocus() + }) + test.skip('handles correctly dropdown with arrow pressing enter or space', async () => { + renderWithTheme( + , + ) + + const input = screen.getByTestId('select-input-test') + await userEvent.tab() + await userEvent.tab() + expect(input).toHaveFocus() + await userEvent.keyboard(' ') + const dropdown = screen.getByRole('dialog') + expect(dropdown).toBeVisible() + }) + test.skip('handles correctly dropdown with arrow down/up key press with grouped data', async () => { + renderWithTheme( + , + ) + + const input = screen.getByTestId('select-input-test') + await userEvent.tab() + await userEvent.tab() + expect(input).toHaveFocus() + await userEvent.keyboard('[arrowDown]') + const dropdown = screen.getByRole('dialog') + expect(dropdown).toBeVisible() + await userEvent.tab() + await userEvent.keyboard('[arrowDown]') + await userEvent.keyboard('[arrowUp]') + const mercury = screen.getByRole('option', { + name: /mercury/i, + }) + expect(mercury).toHaveFocus() + }) + + test.skip('handles correctly clear all', async () => { + renderWithTheme( + , + ) + const clearAll = screen.getByTestId('clear-all') + await userEvent.click(clearAll) + expect(clearAll).not.toBeInTheDocument() + }) + + test.skip('handles click autoclose when outside click', async () => { + renderWithTheme( <> + Test outside element - Option A - Option B - -
+ options={dataUnGrouped} + placeholder="placeholder" + placeholderSearch="placeholdersearch" + /> , - )) - - test('should render correctly without children', () => - shouldMatchEmotionSnapshotWithPortal( - , - )) - test('should render correctly custom isLoading', () => - shouldMatchEmotionSnapshot( -
Loading...
, + ) + const input = screen.getByTestId('select-input-test') + + await userEvent.click(input) + const dropdown = screen.getByRole('dialog') + const outsideClick = screen.getByText('Test outside element') + + expect(dropdown).toBeVisible() + await userEvent.click(outsideClick) + await userEvent.click(outsideClick) + + expect(dropdown).not.toBeVisible() + }) + test.skip('handles click on item', async () => { + const onChange = vi.fn() + + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + + await userEvent.click(input) + const dropdown = screen.getByRole('dialog') + const venus = screen.getByText('Venus') + + expect(dropdown).toBeVisible() + await userEvent.click(venus) + + expect(onChange).toHaveBeenCalledTimes(1) + }) + + test.skip('handles keydown when not searchable on ungrouped data', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const dropdown = screen.getByRole('dialog') + const venus = screen.getByRole('option', { + name: /venus/i, + }) + await userEvent.type(dropdown, 'v') + expect(venus).toHaveFocus() + await userEvent.type(dropdown, 'a') + }) + + test.skip('handles keydown when not searchable on grouped data', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const dropdown = screen.getByRole('dialog') + const venus = screen.getByRole('option', { + name: /venus/i, + }) + await userEvent.type(dropdown, 'v') + expect(venus).toHaveFocus() + await userEvent.type(dropdown, 'a') + }) + + test.skip('renders with onChange', async () => { + renderWithTheme( + values} + />, + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByText('Earth') + await userEvent.click(earth) + await userEvent.click(earth) + }) + test.skip('renders with onChange - multiselect', async () => { + renderWithTheme( + values} + multiselect + />, + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByTestId('option-earth') + await userEvent.click(earth) + await userEvent.click(earth) + }) + test.skip('handles correctly searchable and closest value - grouped data', async () => { + renderWithTheme( + values} + />, + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const dropdown = screen.getByRole('dialog') + expect(dropdown).toBeVisible() + const venus = screen.getByTestId('option-venus') + const earth = screen.getByTestId('option-earth') + + await userEvent.click(screen.getByTestId('search-bar')) + await userEvent.keyboard('e') + + expect(earth).toBeVisible() + expect(venus).toBeVisible() + + await userEvent.keyboard('a') + await userEvent.keyboard('[Enter]') + await userEvent.keyboard('[Enter]') // do not add when already added + expect(earth).toBeVisible() + expect(venus).not.toBeVisible() + + expect(input.textContent).toContain('Earth') + await userEvent.keyboard( + '[Backspace][Backspace][Backspace][Backspace][Backspace]', + ) + const mars = screen.getByText('Mars') + expect(mars).toBeVisible() + + const options = screen.getAllByRole('option') + await userEvent.keyboard('aa') + await userEvent.keyboard('[Enter]') + + for (const option of options) { + expect(option).not.toBeVisible() + } + + const emptyState = screen.getByText('No options') + expect(emptyState).toBeVisible() + + await userEvent.keyboard('[Backspace][Backspace]') + await userEvent.keyboard('ju') + await userEvent.keyboard('[Enter]') + expect(input.textContent).toContain('Jupiter') + }) + + test.skip('handles correctly with searchable and closest value - multiselect', async () => { + // There is issues with this test + renderWithTheme( + values} + searchable + />, + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const dropdown = screen.getByRole('dialog') + expect(dropdown).toBeVisible() + const venus = screen.getByText('Venus') + const earth = screen.getByText('Earth') + const earthCheckbox = screen.getByRole('checkbox', { + name: /earth/i, + }) + await userEvent.keyboard('[Enter]') // empty search doesn't do anything + await userEvent.keyboard('e') + expect(earth).toBeVisible() + expect(venus).toBeVisible() + + await userEvent.keyboard('a') + await userEvent.keyboard('[Enter]') + expect(venus).not.toBeVisible() + expect(earthCheckbox).toBeChecked() + + await userEvent.keyboard( + '[Backspace][Backspace][Backspace][Backspace][Backspace]', + ) + const mars = screen.getByTestId('option-mars') + expect(mars).toBeVisible() + await userEvent.click(mars) + await userEvent.click(screen.getByTestId('search-bar')) + + const options = screen.getAllByRole('option') + await userEvent.keyboard('aa') + await userEvent.keyboard('[Enter]') + + for (const option of options) { + expect(option).not.toBeVisible() + } + const emptyState = screen.getByText('No options') + expect(emptyState).toBeVisible() + }) + test.skip('handles correctly with searchable and closest value - multiselect & grouped data', async () => { + // There is issues with this test + renderWithTheme( + values} + searchable + />, + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const dropdown = screen.getByRole('dialog') + expect(dropdown).toBeVisible() + const venus = screen.getByText('Venus') + const earth = screen.getByText('Earth') + const earthCheckbox = screen.getByRole('checkbox', { + name: /earth/i, + }) + await userEvent.keyboard('[Enter]') // empty search doesn't do anything + await userEvent.keyboard('e') + expect(earth).toBeVisible() + expect(venus).toBeVisible() + + await userEvent.keyboard('a') + await userEvent.keyboard('[Enter]') + expect(venus).not.toBeVisible() + expect(earthCheckbox).toBeChecked() + + await userEvent.keyboard( + '[Backspace][Backspace][Backspace][Backspace][Backspace]', + ) + const mars = screen.getByTestId('option-mars') + expect(mars).toBeVisible() + await userEvent.click(mars) + await userEvent.click(screen.getByTestId('search-bar')) + + const options = screen.getAllByRole('option') + await userEvent.keyboard('aa') + await userEvent.keyboard('[Enter]') + + for (const option of options) { + expect(option).not.toBeVisible() + } + const emptyState = screen.getByText('No options') + expect(emptyState).toBeVisible() + + await userEvent.keyboard('[Backspace]') + await userEvent.keyboard('[Enter]') + }, 10000) + + test.skip('renders correctly selected tags when multiselect', async () => { + renderWithTheme( + values} + optionalInfoPlacement="left" + descriptionDirection="column" + />, + ) + + const closeTag = screen.getByTestId('close-tag') + const tag = screen.getByTestId('selected-options-tags') + expect(tag).toBeVisible() + await userEvent.click(closeTag) + expect(tag).not.toBeVisible() + + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const options = screen.getAllByRole('option') + + fireEvent.click(options[1]) + fireEvent.click(options[2]) + fireEvent.click(options[4]) + fireEvent.click(options[5]) + fireEvent.click(options[6]) + + const plustag = screen.getByTestId('plus-tag') + expect(plustag).toBeInTheDocument() + }) + + test.skip('handles correcty selectAll grouped data', async () => { + renderWithTheme( + values} + selectAll={{ + label: 'Select', + description: 'all', + }} + />, + ) + + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const selectAllCheckBox = screen.getByRole('checkbox', { + name: 'Select all', + }) + const selectAll = screen.getByTestId('select-all') + await userEvent.click(selectAll) + const plustag = screen.getByTestId('plus-tag') + expect(plustag).toBeInTheDocument() + + const venus = screen.getByTestId('option-venus') + const earth = screen.getByTestId('option-earth') + const earthCheckbox = screen.getByRole('checkbox', { + name: /earth/i, + }) + await userEvent.click(venus) + expect(selectAllCheckBox).not.toBeChecked() + await userEvent.click(venus) + expect(selectAllCheckBox).toBeChecked() + + await userEvent.click(selectAll) + expect(screen.getByText('placeholder')).toBeInTheDocument() + + await userEvent.click(selectAll) + await userEvent.click(earth) + await userEvent.click(screen.getByTestId('search-bar')) + + await userEvent.keyboard('ea') + await userEvent.keyboard('[Enter]') + + expect(earthCheckbox).toBeChecked() + + await userEvent.click(screen.getByTestId('search-bar')) + await userEvent.tab() + await userEvent.keyboard(' ') + expect(selectAllCheckBox).not.toBeChecked() + await userEvent.keyboard('[Enter]') + expect(selectAllCheckBox).toBeChecked() + await userEvent.keyboard('<') // Nothing when the user press any key + expect(selectAllCheckBox).toBeChecked() + }, 15000) + + test.skip('handles correcty selectAll ungrouped data', async () => { + renderWithTheme( + values} + selectAll={{ + label: 'Select', + description: 'all', + }} + />, + ) + + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const selectAllCheckBox = screen.getByRole('checkbox', { + name: 'Select all', + }) + const selectAll = screen.getByTestId('select-all') + await userEvent.click(selectAll) + const plustag = screen.getByTestId('plus-tag') + expect(plustag).toBeInTheDocument() + + const venus = screen.getByTestId('option-venus') + const earthCheckbox = screen.getByRole('checkbox', { + name: /earth/i, + }) + const earth = screen.getByTestId('option-earth') + await userEvent.click(venus) + expect(selectAllCheckBox).not.toBeChecked() + await userEvent.click(venus) + expect(selectAllCheckBox).toBeChecked() + + await userEvent.click(selectAll) + expect(screen.getByText('placeholder')).toBeInTheDocument() + + await userEvent.click(selectAll) + await userEvent.click(earth) + await userEvent.click(screen.getByTestId('search-bar')) + + await userEvent.keyboard('ea') + await userEvent.keyboard('[Enter]') + + expect(earthCheckbox).toBeChecked() + + await userEvent.click(screen.getByTestId('search-bar')) + await userEvent.tab() + await userEvent.keyboard(' ') + expect(selectAllCheckBox).not.toBeChecked() + await userEvent.keyboard('[Enter]') + expect(selectAllCheckBox).toBeChecked() + await userEvent.keyboard('<') // Nothing when the user press any key + expect(selectAllCheckBox).toBeChecked() + }, 10000) + + test.skip('handles correcty selectAllGroup', async () => { + renderWithTheme( + values} + selectAllGroup + />, + ) + + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const selectAllGroupCheckBox = screen.getByRole('checkbox', { + name: 'TERRESTRIAL PLANETS', + }) + const selectAllGroup = screen.getByTestId('group-0') + await userEvent.click(selectAllGroup) + const mercury = screen.getByRole('checkbox', { + name: /mercury/i, + }) + const venus = screen.getByRole('checkbox', { + name: /venus/i, + }) + const earth = screen.getByRole('checkbox', { + name: /earth/i, + }) + const jupiter = screen.getByRole('checkbox', { + name: /jupiter/i, + }) + + expect(mercury).toBeChecked() + expect(venus).toBeChecked() + expect(earth).toBeChecked() + expect(jupiter).not.toBeChecked() + + await userEvent.click(screen.getByTestId('option-mercury')) + expect(selectAllGroup).not.toBeChecked() + + await userEvent.click(screen.getByTestId('option-mercury')) + expect(selectAllGroupCheckBox).toBeChecked() + }, 10000) + + test.skip('handles correcty selectAllGroup - keyboard events', async () => { + renderWithTheme( + values} + selectAllGroup + />, + ) + + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const selectAllGroupCheckBox = screen.getByRole('checkbox', { + name: 'TERRESTRIAL PLANETS', + }) + const selectAllGroup = screen.getByTestId('group-0') + await userEvent.click(selectAllGroup) + const earth = screen.getByTestId('option-earth') + + await userEvent.click(earth) + await userEvent.click(screen.getByTestId('search-bar')) + + await userEvent.keyboard('ea') + await userEvent.keyboard('[Enter]') + + expect(selectAllGroupCheckBox).toBeChecked() + + await userEvent.click(selectAllGroup) + expect(selectAllGroupCheckBox).not.toBeChecked() + }, 10000) + + test.skip('handles correcty selectAllGroup with selectAll - grouped data', async () => { + renderWithTheme( + values} + selectAllGroup + selectAll={{ + label: 'Select', + description: 'all', }} - > - Option A - Option B - , - )) - test('should render correctly description and inlineDescription', () => - shouldMatchEmotionSnapshot( - - - Option A - - - Option B - - , - )) - - test('renders with undefined children', async () => { + />, + ) + + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const selectAllGroupCheckBox = screen.getByRole('checkbox', { + name: 'TERRESTRIAL PLANETS', + }) + const selectAllGroup = screen.getByTestId('group-0') + await userEvent.click(selectAllGroup) + const venus = screen.getByRole('checkbox', { + name: /venus/i, + }) + + const selectAllCheckBox = screen.getByRole('checkbox', { + name: 'Select all', + }) + const selectAll = screen.getByTestId('select-all') + await userEvent.click(selectAll) + + await userEvent.click(screen.getByTestId('option-venus')) + await userEvent.click(screen.getByTestId('search-bar')) + + await userEvent.keyboard('ve') + await userEvent.keyboard('[Enter]') + + expect(venus).toBeChecked() + expect(selectAllGroupCheckBox).toBeChecked() + expect(selectAllCheckBox).toBeChecked() + + await userEvent.click(selectAllGroup) + expect(selectAllGroupCheckBox).not.toBeChecked() + expect(selectAllCheckBox).not.toBeChecked() + + await userEvent.click(selectAllGroup) + expect(selectAllGroupCheckBox).toBeChecked() + expect(selectAllCheckBox).toBeChecked() + + await userEvent.tab() + await userEvent.keyboard(' ') + expect(selectAllCheckBox).not.toBeChecked() + await userEvent.keyboard('[Enter]') + expect(selectAllCheckBox).toBeChecked() + }, 10000) + + test.skip('handles correctly click on item - optionalInfoPlacement="left" & descriptionDirection="row" & multiselect', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByTestId('option-earth') + await userEvent.click(earth) + }) + test.skip('handles correctly click on item - optionalInfoPlacement="right" & descriptionDirection="row" & multiselect', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByTestId('option-earth') + await userEvent.click(earth) + }) + test.skip('handles correctly click on item - optionalInfoPlacement="left" & descriptionDirection="column" & multiselect', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByTestId('option-earth') + await userEvent.click(earth) + }) + test.skip('handles correctly click on item - optionalInfoPlacement="right" & descriptionDirection="column" & multiselect', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByTestId('option-earth') + await userEvent.click(earth) + }) + test.skip('handles correctly click on item - optionalInfoPlacement="left" & descriptionDirection="row"', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByTestId('option-earth') + await userEvent.click(earth) + }) + test.skip('handles correctly click on item - optionalInfoPlacement="right" & descriptionDirection="row"', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByTestId('option-earth') + await userEvent.click(earth) + }) + test.skip('handles correctly click on item - optionalInfoPlacement="left" & descriptionDirection="column"', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByTestId('option-earth') + await userEvent.click(earth) + }) + test.skip('handles correctly click on item - optionalInfoPlacement="right" & descriptionDirection="column"', async () => { + renderWithTheme( + , + ) + const input = screen.getByTestId('select-input-test') + await userEvent.click(input) + const earth = screen.getByTestId('option-earth') + await userEvent.click(earth) + }) + test.skip('renders correctly loading - grouped data', async () => { + const { asFragment } = renderWithTheme( + , + ) + const input = screen.getByText('placeholder') + await userEvent.click(input) + expect(asFragment()).toMatchSnapshot() + }) + + test.skip('renders correctly loading - ungrouped data', async () => { const { asFragment } = renderWithTheme( - - Option A - Option B - {null} - , + , ) - const input = screen.getByRole('combobox') + const input = screen.getByText('placeholder') await userEvent.click(input) expect(asFragment()).toMatchSnapshot() }) + + test.skip('renders correctly with function footer', async () => { + const f = vi.fn(() => {}) + + const { asFragment } = renderWithTheme( + ( + + )} + />, + ) + const input = screen.getByText('Pluto') + await userEvent.click(input) + + const footer = screen.getByTestId('buttonclose') + const dropdown = screen.getByRole('dialog') + expect(dropdown).toBeVisible() + + await userEvent.click(footer) + + expect(f).toHaveBeenCalledOnce() + setTimeout(() => expect(dropdown).not.toBeVisible(), 500) + + expect(asFragment()).toMatchSnapshot() + }) }) diff --git a/packages/ui/src/components/SelectInputV2/__tests__/resources.tsx b/packages/ui/src/components/SelectInput/__tests__/resources.tsx similarity index 100% rename from packages/ui/src/components/SelectInputV2/__tests__/resources.tsx rename to packages/ui/src/components/SelectInput/__tests__/resources.tsx diff --git a/packages/ui/src/components/SelectInputV2/findOptionInOptions.ts b/packages/ui/src/components/SelectInput/findOptionInOptions.ts similarity index 100% rename from packages/ui/src/components/SelectInputV2/findOptionInOptions.ts rename to packages/ui/src/components/SelectInput/findOptionInOptions.ts diff --git a/packages/ui/src/components/SelectInput/index.tsx b/packages/ui/src/components/SelectInput/index.tsx index c76eff3d7e..02415ae005 100644 --- a/packages/ui/src/components/SelectInput/index.tsx +++ b/packages/ui/src/components/SelectInput/index.tsx @@ -1,810 +1,285 @@ 'use client' -import type { CSSObject, Theme, keyframes } from '@emotion/react' -import { css, useTheme } from '@emotion/react' import styled from '@emotion/styled' -import { ArrowDownIcon, ClockOutlineIcon, CloseIcon } from '@ultraviolet/icons' -import type { - ComponentProps, - ForwardRefExoticComponent, - ForwardedRef, - JSX, - ReactNode, -} from 'react' -import React, { - Children, - forwardRef, - useEffect, - useId, - useMemo, - useState, -} from 'react' -import type { - ClearIndicatorProps, - CommonProps, - ContainerProps, - DropdownIndicatorProps, - GroupBase, - InputProps, - MultiValueProps, - OptionProps, - Props, - ValueContainerProps, -} from 'react-select' -import Select, { components } from 'react-select' -import isJSONString from '../../helpers/isJSON' -import * as animations from '../../utils/animations' -import { Expandable } from '../Expandable' -import { Separator } from '../Separator' +import { useId, useRef } from 'react' +import type { ComponentProps, HTMLAttributes, ReactNode } from 'react' +import { Label } from '../Label' +import type { Popup } from '../Popup' import { Stack } from '../Stack' import { Text } from '../Text' +import { Dropdown } from './Dropdown' +import { SelectBar } from './SelectBar' +import { SelectInputProvider } from './SelectInputProvider' +import type { DataType } from './types' -const StyledSeparator = styled(Separator)` - background-color: ${({ theme }) => theme.colors.neutral.border}; - height: 100%; -` - -export type SelectOption = { - value: string - label: ReactNode +type SelectInputProps = { + /** + * Input name + */ + name?: string + /** + * Place holder when no value defined + */ + placeholder?: string + /** + * When searchable, placeholder when no value is searched + */ + placeholderSearch?: string + /** + * Label of the component + */ + label?: string + /** + * Helper text to give more information to the user + */ + helper?: string + /** + * Selectable options + */ + options: DataType + /** + * Message to show when no option available + */ + emptyState?: ReactNode + /** + * Whether it is possible to search through the input + */ + searchable?: boolean + /** + * Whether the component in disabled + */ disabled?: boolean - description?: string - inlineDescription?: string -} - -type SelectStyleGetterProps = { - state: SelectProps & OptionProps - error?: string - theme: Theme -} - -const getControlColor = ({ state, error, theme }: SelectStyleGetterProps) => { - if (state.isDisabled) return theme.colors.neutral.textDisabled - if (error) return theme.colors.danger.text - - return theme.colors.neutral.text -} - -const getPlaceholderColor = ({ - state, - error, - theme, -}: SelectStyleGetterProps) => { - if (state.isDisabled) return theme.colors.neutral.textDisabled - if (error) return theme.colors.danger.text - - return theme.colors.neutral.textWeak -} - -const getOptionColor = ({ state, theme }: SelectStyleGetterProps) => { - let color: string = theme.colors.neutral.text - let backgroundColor: string = theme.colors.neutral.backgroundWeakElevated - if (state.isDisabled) { - backgroundColor = theme.colors.neutral.backgroundDisabled - color = theme.colors.neutral.textDisabled - } else if (state.isSelected) { - backgroundColor = theme.colors.primary.backgroundStrong - color = theme.colors.primary.textStrong - } else if (state.isFocused) { - backgroundColor = theme.colors.primary.background - } - - return { backgroundColor, color } -} - -type SelectStyleFactory = ( - provided: CSSObject, - state: SelectProps & OptionProps & WithSelectProps, -) => CSSObject - -type SelectStyleMap = Record - -type SelectStyleProps = { - error?: string /** - * Custom styles of the SelectInput. See [React select documentation](https://react-select.com/styles) + * Whether the component in readOnly */ - customStyle: ( - state: SelectProps & WithSelectProps, - ) => Record - animation?: string + readOnly?: boolean /** - * Time of the animation + * Whether it is possible to clear the search input */ - animationDuration: number + clearable?: boolean /** - * Show/hide the label inside the component + * Size of the input */ - noTopLabel?: boolean - theme: Theme -} - -const getSelectStyles = ({ - error, - customStyle, - animation, - animationDuration, - noTopLabel, - theme, -}: SelectStyleProps): SelectStyleMap => ({ - control: (provided, state) => ({ - ...provided, - backgroundColor: state.isDisabled - ? theme.colors.neutral.backgroundDisabled - : theme.colors.neutral.background, - borderColor: error - ? theme.colors.danger.border - : theme.colors.neutral.border, - borderRadius: '4px', - borderStyle: 'solid', - borderWidth: '1px', - boxShadow: 'none', - color: getControlColor({ error, state, theme }), - fontSize: '16px', - fontWeight: 500, - lineHeight: '24px', - minHeight: '48px', - transition: 'border-color 200ms ease, box-shadow 200ms ease', - cursor: state.isDisabled ? 'not-allowed' : 'pointer', - - ...(!state.isDisabled && { - ':focus-within': { - borderColor: error - ? theme.colors.danger.border - : theme.colors.primary.border, - boxShadow: error - ? theme.shadows.focusDanger - : theme.shadows.focusPrimary, - }, - ':hover': { - borderColor: error - ? theme.colors.danger.borderHover - : theme.colors.primary.borderHover, - }, - }), - ...customStyle(state)?.['control'], - animation: animation - ? `${animationDuration}ms ${ - (animations as Record>)[ - animation - ] - }` - : 'none', - }), - indicatorsContainer: provided => ({ - ...provided, - maxHeight: '48px', - }), - indicatorSeparator: (provided, state) => ({ - ...provided, - backgroundColor: theme.colors.neutral.border, - display: 'none', - ...customStyle(state)?.['indicatorSeparator'], - }), - input: provided => ({ - ...provided, - flexGrow: 1, - marginLeft: 0, - paddingTop: noTopLabel ? 0 : 11, - }), - menu: (provided, state) => ({ - ...provided, - ...customStyle(state)?.['menu'], - boxShadow: theme.shadows.menu, - }), - menuList: (provided, state) => ({ - ...provided, - backgroundColor: theme.colors.neutral.backgroundWeak, - maxHeight: '225px', - ...customStyle(state)?.['menuList'], - }), - menuPortal: (provided, state) => ({ - ...provided, - zIndex: 10000, - ...customStyle(state)?.['menuPortal'], - }), - multiValue: (provided, state) => ({ - ...provided, - alignItems: 'center', - backgroundColor: theme.colors.neutral.backgroundDisabled, - borderRadius: '4px', - color: theme.colors.neutral.text, - fontSize: '14px', - fontWeight: 500, - height: '24px', - justifyContent: 'center', - marginTop: theme.space[noTopLabel ? '0.5' : '2'], - textOverflow: 'ellipsis', - ...customStyle(state)?.['multiValue'], - }), - multiValueLabel: (provided, state) => ({ - ...provided, - color: state.isDisabled - ? theme.colors.neutral.textDisabled - : theme.colors.neutral.text, - fontSize: '14px', - fontWeight: 'normal', - lineHeight: '20px', - ...customStyle(state)?.['multiValueLabel'], - }), - multiValueRemove: (provided, state) => ({ - ...provided, - ...(state.isDisabled - ? { - color: theme.colors.neutral.textDisabled, - cursor: 'none', - pointerEvents: 'none', - } - : { - color: theme.colors.primary.text, - }), - ':hover': { - color: state.isDisabled - ? theme.colors.neutral.textDisabled - : theme.colors.primary.text, - cursor: state.isDisabled ? 'none' : 'pointer', - pointerEvents: state.isDisabled ? 'none' : 'fill', - }, - ...customStyle(state)?.['multiValueRemove'], - }), - option: (provided, state) => ({ - ...provided, - ...getOptionColor({ state, theme }), - cursor: state.isDisabled ? 'not-allowed' : 'pointer', - ':active': { - backgroundColor: state.isDisabled - ? theme.colors.neutral.backgroundDisabled - : theme.colors.primary.background, - color: state.isDisabled - ? theme.colors.neutral.textDisabled - : theme.colors.primary.text, - }, - ':hover': { - backgroundColor: state.isDisabled - ? theme.colors.neutral.backgroundDisabled - : theme.colors.primary.background, - color: state.isDisabled - ? theme.colors.neutral.textDisabled - : theme.colors.neutral.text, - }, - ...customStyle(state)?.['option'], - }), - placeholder: (provided, state) => ({ - ...provided, - color: getPlaceholderColor({ error, state, theme }), - ...customStyle(state)?.['placeholder'], - }), - singleValue: (provided, state) => ({ - ...provided, - color: state.isDisabled - ? theme.colors.neutral.textDisabled - : theme.colors.neutral.text, - marginLeft: state.hasValue ? 0 : undefined, - marginRight: state.hasValue ? 0 : undefined, - marginTop: !state.hasValue || noTopLabel ? 0 : '5px', - paddingLeft: state.hasValue ? 0 : undefined, - ...customStyle(state)?.['singleValue'], - }), - valueContainer: (provided, state) => ({ - ...provided, - ...customStyle(state)?.['valueContainer'], - cursor: state.isDisabled ? 'not-allowed' : undefined, - height: '100%', - label: { - display: noTopLabel ? 'none' : 'initial', - }, - paddingTop: 0, - }), -}) - -type WithSelectProps = { - selectProps: SelectProps -} - -type SelectProps = StyledContainerProps & - Omit, 'value'> & - CommonProps> & { - value?: string | SelectOption - checked?: boolean - error?: string - labelId?: string - required?: boolean - time?: boolean - } - -type StyledContainerProps = { - isDisabled?: boolean - additionalStyles?: Parameters[0] -} - -const StyledContainer = styled('div', { - shouldForwardProp: prop => !['isDisabled', 'additionalStyles'].includes(prop), -})` - width: 100%; - ${({ isDisabled }) => isDisabled && `pointer-events: initial;`}; - ${({ additionalStyles }) => css(additionalStyles)} -` - -const StyledError = styled.div` - font-size: 12px; - color: ${({ theme }) => theme.colors.danger.text}; - padding-top: ${({ theme }) => theme.space['0.25']}; -` - -const SelectContainer = ( - props: ContainerProps & WithSelectProps, -) => { - const { - children, - getStyles, - innerProps: { onKeyDown } = {}, - isDisabled = false, - className, - selectProps: { name = '', error, className: selectPropsClassName } = {}, - } = props - - return ( - - {children} - - {error} - - - ) -} - -type StyledPlaceholderProps = { - error?: string - isMulti: boolean - isDisabled?: boolean - hasValue: boolean -} + size?: 'small' | 'medium' | 'large' + /** + * Whether field is required + */ + required?: boolean + /** + * More information regarding/description ofs the selectInput + */ + labelDescription?: ReactNode + /** + * Whether option description is on the right of the option or under it + */ + descriptionDirection?: 'row' | 'column' + /** + * Where to place the additional info prop + */ + optionalInfoPlacement?: 'left' | 'right' + /** + * To add custom fixed elements at the bottom of the dropdown + */ + footer?: ((closeDropdown: () => void) => ReactNode) | ReactNode + /** + * Display an error message under the select bar + */ + error?: string | boolean + /** + * Display a success message under the select bar + */ + success?: string + /** + * Load more button to implement lazy loading + */ + loadMore?: ReactNode + /** + * When the options are loading, display a skeleton + */ + isLoading?: boolean + /** + * Add a tooltip around the select bar + */ + tooltip?: string + /** + * Adds an option to select every selectable options + */ + selectAll?: { label: ReactNode; description?: string } + /** + * When options are group, define a option to select every selectable options of a group + */ + selectAllGroup?: boolean + dropdownAlign?: ComponentProps['align'] + autofocus?: boolean + /** + * Whether it is possible to select multiple options + */ + multiselect?: IsMulti + /** + * Default value, must be one of the options + */ + value?: IsMulti extends true ? string[] : string + onChange?: IsMulti extends true + ? (value: string[]) => void + : (value: string) => void + 'data-testid'?: string + /** + * In some cases, when the space is limited, you will need to change the `portalTarget` of the dropdown for a higher parent element. + * If you don't know which element to target, you can use `document.body`. + */ + portalTarget?: ComponentProps['portalTarget'] + /** + * Allow to specify a callback called when option dropdown is open + * Please wrap that definition in useCallback + */ + onOpen?: () => void +} & Pick< + HTMLAttributes, + 'id' | 'onBlur' | 'onFocus' | 'aria-label' | 'className' +> -const StyledPlaceholder = styled('label', { - shouldForwardProp: prop => - !['error', 'hasValue', 'isDisabled', 'isMulti'].includes(prop), -})` - position: absolute; - left: 0; - font-weight: 400; - pointer-events: none; - color: ${({ theme, error }) => - error ? theme.colors.danger.text : theme.colors.neutral.text}; - white-space: nowrap; +const SelectInputContainer = styled.div` width: 100%; - height: 100%; - font-size: 16px; - transition: transform 250ms ease; - opacity: 0; - ${({ hasValue }) => - hasValue && - ` - transform: translate(0, -8px) scale(0.8); - transform-origin: left; - padding-left: 8px; - left: 0; - top: 2px; - opacity: 1; - `} - ${({ isDisabled, hasValue }) => hasValue && isDisabled && 'opacity: 0.5'} ` - -const StyledText = styled(Text, { - shouldForwardProp: prop => - !['isSelectedAndNotFocused', 'isInline'].includes(prop), -})<{ - isSelectedAndNotFocused: boolean - isInline?: boolean -}>` - margin-left: ${({ theme, isInline }) => (isInline ? theme.space['1'] : 0)}; - color: ${({ isSelectedAndNotFocused, theme }) => - isSelectedAndNotFocused ? theme.colors.primary.textStrong : undefined}; -` - -const MaxLineStyledText = styled(StyledText)` - -webkit-line-clamp: 3; - margin-top: ${({ theme }) => theme.space['1']}; +const HelperText = styled(Text)` + padding-top: ${({ theme }) => theme.space['0.5']}; ` -const ValueContainer = ({ - isDisabled, - children, - selectProps: { error, labelId, inputId, ...selectProps }, - isMulti, - hasValue, - clearValue, - getStyles, - getValue, - getClassNames, - isRtl, - cx, - options, - selectOption, - setValue, - theme, - className, - innerProps, -}: ValueContainerProps & WithSelectProps) => ( - - <> - {selectProps.placeholder ? ( - - {selectProps.placeholder} - - ) : null} - {children} - - -) - -const inputStyles = ({ isMulti }: Partial) => css` - margin-left: 0px; - ${!isMulti && 'caret-color: transparent'}; -` - -const Input = ({ - isMulti, - hasValue, - selectProps: { inputId, labelId, placeholder, ...selectProps }, - clearValue, - getStyles, - getValue, - isRtl, - cx, - options, - selectOption, - setValue, - theme, - className, - isHidden, - ...props -}: InputProps & WithSelectProps) => ( - ['selectProps'] - } - /> -) - -const Option = ({ - selectProps, +/** + * SelectInput component is used to select one or many elements from a selection. + */ +export const SelectInput = ({ + name, + id, + onBlur, + onFocus, + onChange, + 'aria-label': ariaLabel, value, label, - children, - data: { inlineDescription, description }, - isSelected, - data, - ...props -}: OptionProps & SelectOption) => { - const [isFocused, setIsFocused] = useState(false) + helper, + options, + size = 'large', + emptyState, + descriptionDirection = 'column', + success, + error, + 'data-testid': dataTestId, + className, + tooltip, + footer, + placeholderSearch = 'Search in list', + placeholder = 'Select item', + searchable = true, + disabled = false, + readOnly = false, + clearable = false, + multiselect = false, + required = false, + labelDescription, + autofocus, + loadMore, + optionalInfoPlacement = 'right', + isLoading, + selectAll, + selectAllGroup = false, + dropdownAlign, + portalTarget, + onOpen, +}: SelectInputProps) => { + const localId = useId() + const finalId = id ?? localId + const ref = useRef(null) + const numberOfOptions = Array.isArray(options) + ? options.length + : Object.values(options).reduce( + (acc, current) => + acc + current.filter(option => !option.disabled).length, + 0, + ) + const finalDataTestId = dataTestId ?? `select-input-${name ?? 'name'}` return ( -
setIsFocused(true)} - onFocus={() => setIsFocused(true)} - onMouseOut={() => setIsFocused(false)} - onBlur={() => setIsFocused(false)} + - - {children} - {inlineDescription ? ( - - {inlineDescription} - - ) : null} - {description ? ( - + + {label || labelDescription ? ( + + ) : null} + + + + {!error && !success && helper ? ( + - {description} - + {helper} + ) : null} - -
- ) -} - -const DropdownIndicator = ( - props: DropdownIndicatorProps & WithSelectProps, -) => { - const { - selectProps: { isDisabled, time, required }, - } = props - - return ( - - - {required ? ( - - * - + {error || success} + ) : null} - {time ? : null} - {time ? ( - - ) : ( - - )} - - + + ) } - -const ClearIndicator = ( - props: ClearIndicatorProps & WithSelectProps, -) => { - const { - selectProps: { checked, error }, - innerProps: { ref, ...restInnerProps }, - } = props - - return ( - - {/* @ts-expect-error component is anyways deprecated */} - - - ) -} - -const MultiValueContainer = (props: MultiValueProps) => ( - -) - -const MultiValueLabel = (props: MultiValueProps) => ( - -) - -const MultiValueRemove = (props: MultiValueProps) => ( - - - -) - -type SelectComponents = SelectProps['components'] - -type StateManagedSelect = typeof Select - -type SelectInputProps = SelectProps & - SelectStyleProps & { - /** - * Name of the animation - */ - animation?: string - /** - * Play the animation when the value change - */ - animationOnChange?: boolean - disabled?: boolean - readOnly?: boolean - innerRef?: ForwardedRef - /** - * Custom components of the SelectInput. See [React select documentation](https://react-select.com/components) - */ - customComponents?: SelectProps['components'] - children: ReactNode - emptyState?: ComponentProps !!option.disabled} - styles={getSelectStyles({ - animation: isAnimated ? animation : undefined, - animationDuration, - customStyle, - error, - noTopLabel, - theme, - })} - options={selectOptions} - menuPortalTarget={menuPortalTarget || undefined} - isSearchable={isSearchable} - isClearable={isClearable} - isMulti={isMulti} - onBlur={onBlur} - onChange={onChange} - onFocus={onFocus} - value={value as SelectOption} - maxMenuHeight={250} - inputId={inputId} - // @ts-expect-error innerRef type issue - ref={innerRef} - name={name} - id={idProp} - time={time} - isLoading={isLoading} - required={required} - noOptionsMessage={emptyState} - data-testid={dataTestId} - /> - ) -} - -type OptionComponent = ( - props: Partial & SelectOption>, -) => JSX.Element - -/** - * SelectInput component is a wrapper around [react-select](https://react-select.com) component. - * It provides a styled select input with a label and an error message. - * @deprecated use SelectInputV2 component instead - */ -export const SelectInput = forwardRef( - (props: SelectInputProps, ref: ForwardedRef) => ( - - ), -) as ForwardRefExoticComponent> & { - Option: OptionComponent -} - -SelectInput.displayName = 'SelectInput' - -SelectInput.Option = Option as OptionComponent diff --git a/packages/ui/src/components/SelectInputV2/types.ts b/packages/ui/src/components/SelectInput/types.ts similarity index 93% rename from packages/ui/src/components/SelectInputV2/types.ts rename to packages/ui/src/components/SelectInput/types.ts index ad9d888689..ddb047ae41 100644 --- a/packages/ui/src/components/SelectInputV2/types.ts +++ b/packages/ui/src/components/SelectInput/types.ts @@ -43,8 +43,3 @@ export const INPUT_SIZE_HEIGHT = { medium: '500', large: '600', } as const - -export const SIZES_TAG = { - letterWidth: 5, - tagWidth: 72, -} as const diff --git a/packages/ui/src/components/SelectInputV2/__stories__/Controlled.stories.tsx b/packages/ui/src/components/SelectInputV2/__stories__/Controlled.stories.tsx deleted file mode 100644 index 69d6a3d705..0000000000 --- a/packages/ui/src/components/SelectInputV2/__stories__/Controlled.stories.tsx +++ /dev/null @@ -1,60 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { useState } from 'react' -import { SelectInputV2 } from '..' -import { Button } from '../../Button' -import { Stack } from '../../Stack' -import { Template } from './Template.stories' -import { dataUnGrouped } from './resources' - -export const Controlled: StoryFn = () => { - const [valueSingle, setValueSingle] = - useState<(typeof dataUnGrouped)[number]['value']>('uranus') - const [valueMulti, setValueMulti] = useState< - (typeof dataUnGrouped)[number]['value'][] - >(['neptune', 'uranus']) - - return ( - - - setValueSingle(value)} - /> - setValueMulti(value)} - /> - - ) -} -Controlled.args = { - ...Template.args, -} -Controlled.decorators = [ - StoryComponent => ( -
- -
- ), -] - -Controlled.parameters = { - docs: { - description: { - story: 'Controlled SelectInput.', - }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/EmptyState.stories.tsx b/packages/ui/src/components/SelectInputV2/__stories__/EmptyState.stories.tsx deleted file mode 100644 index fb520ceffd..0000000000 --- a/packages/ui/src/components/SelectInputV2/__stories__/EmptyState.stories.tsx +++ /dev/null @@ -1,76 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { - DynamicIllustration, - // @ts-expect-error can't import ultraviolet/illustration in ui (cyclic dependencies) -} from '@ultraviolet/illustrations' -import { SelectInputV2 } from '..' -import { EmptyState as EmptyStateComponent } from '../../EmptyState' -import { Link } from '../../Link' -import { Stack } from '../../Stack' -import { Text } from '../../Text' -import { Template } from './Template.stories' - -const emptyStateText = ( - - - No options - - - This is an example of custom EmptyState. You can customise it as you want - and make it as detailed, long and pretty as you want. - - - It is possible to add links, for instance. - - -) - -export const EmptyState: StoryFn = args => ( - - - } - learnMore={{ - link: 'https://scaleway.com', - text: 'Learn more', - }} - title="No option" - size="small" - /> - } - label="Using component " - helper="from ultraviolet/ui" - /> - -) -EmptyState.args = { - ...Template.args, - options: {}, -} - -EmptyState.decorators = [ - StoryComponent => ( -
- -
- ), -] - -EmptyState.parameters = { - docs: { - description: { - story: 'Set a custom `EmptyState` when no option is available.', - }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/Playground.stories.tsx b/packages/ui/src/components/SelectInputV2/__stories__/Playground.stories.tsx deleted file mode 100644 index 61c0b23337..0000000000 --- a/packages/ui/src/components/SelectInputV2/__stories__/Playground.stories.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { Template } from './Template.stories' -import { dataUnGrouped } from './resources' - -export const Playground = Template.bind({}) - -Playground.args = { ...Template.args, options: dataUnGrouped, helper: 'helper' } -Playground.decorators = [ - StoryComponent => ( -
- -
- ), -] diff --git a/packages/ui/src/components/SelectInputV2/__stories__/Searchable.stories.tsx b/packages/ui/src/components/SelectInputV2/__stories__/Searchable.stories.tsx deleted file mode 100644 index d29eecc829..0000000000 --- a/packages/ui/src/components/SelectInputV2/__stories__/Searchable.stories.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { SelectInputV2 } from '..' -import { Stack } from '../../Stack' -import { OptionalInfo, OptionalInfo2 } from './resources' - -export const Searchable: StoryFn = args => ( - - - - -) - -Searchable.args = { - name: 'example', - placeholder: 'Select item', - placeholderSearch: 'Search in list', - searchable: false, - disabled: false, - helper: 'helper', -} - -Searchable.parameters = { - docs: { - description: { - story: - 'Add a search bar in the dropdown to search through the different options. If there are less than 6 options, the search bar will **not** appear, even if the prop is set to `true`.', - }, - }, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/Template.stories.tsx b/packages/ui/src/components/SelectInputV2/__stories__/Template.stories.tsx deleted file mode 100644 index 278256bbc9..0000000000 --- a/packages/ui/src/components/SelectInputV2/__stories__/Template.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import type { StoryFn } from '@storybook/react' -import { SelectInputV2 } from '..' -import { Stack } from '../../Stack' - -export const Template: StoryFn = args => ( - - - -) - -Template.args = { - name: 'example', - label: 'Label', - placeholder: 'Select item', - placeholderSearch: 'Search in list', - searchable: true, - disabled: false, -} diff --git a/packages/ui/src/components/SelectInputV2/__stories__/index.stories.tsx b/packages/ui/src/components/SelectInputV2/__stories__/index.stories.tsx deleted file mode 100644 index 1f923fd161..0000000000 --- a/packages/ui/src/components/SelectInputV2/__stories__/index.stories.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import type { Meta } from '@storybook/react' -import { SelectInputV2 } from '..' - -export default { - component: SelectInputV2, - parameters: { - experimental: true, - }, - tags: ['experimental'], - decorators: [ - StoryComponent => ( -
- -
- ), - ], - - title: 'Components/Data Entry/SelectInputV2', -} as Meta - -export { Playground } from './Playground.stories' -export { Grouped } from './Grouped.stories' -export { EmptyState } from './EmptyState.stories' -export { Multiselect } from './Multiselect.stories' -export { Footer } from './Footer.stories' -export { OnChange } from './OnChange.stories' -export { AdditionalInfo as OptionalInfo } from './OptionalInfo.stories' -export { LoadMore } from './LoadMore.stories' -export { IsLoading } from './IsLoading.stories' -export { SelectAll } from './SelectAll.stories' -export { Controlled } from './Controlled.stories' -export { Modal } from './Modal.stories' -export { Searchable } from './Searchable.stories' -export { DropdownAlign } from './DropdownAlign.stories' -export { DropdownPortalTarget } from './DropdownPortalTarget.stories' diff --git a/packages/ui/src/components/SelectInputV2/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/SelectInputV2/__tests__/__snapshots__/index.test.tsx.snap deleted file mode 100644 index 036482f691..0000000000 --- a/packages/ui/src/components/SelectInputV2/__tests__/__snapshots__/index.test.tsx.snap +++ /dev/null @@ -1,19393 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`SelectInputV2 > renders correctly 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-8 { - color: #222638; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-10[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-10[data-size='medium'] { - height: 40px; -} - -.emotion-10[data-size='large'] { - height: 48px; -} - -.emotion-10[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-10[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-10[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-10[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-10[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-10[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-10[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-10[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-10[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-10[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-10[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-10:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-10[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-10[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-13 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-15 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-17 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-17 .fillStroke { - stroke: #3f4250; - fill: none; -} - -
-
-
-
-
- -
- -
-
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly disabled 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #b5b7bd; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #b5b7bd; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #b5b7bd; - fill: none; -} - -
-
-
-
- -
-
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly grouped 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-23>.emotion-30 { - color: #3f4250; -} - -.emotion-23>.emotion-30::-webkit-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::-moz-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30:-ms-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::placeholder { - color: #727683; -} - -.emotion-23[data-success='true'] { - border-color: #22674e; -} - -.emotion-23[data-error='true'] { - border-color: #b3144d; -} - -.emotion-23[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-23[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-23[data-disabled='true']>.emotion-30 { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::placeholder { - color: #b5b7bd; -} - -.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-25[data-size="small"] { - padding: 8px; -} - -.emotion-29 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-29[data-size='large'] { - font-size: 16px; -} - -.emotion-29[data-size='small'] { - padding-left: 8px; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-31[data-grouped="true"] { - padding-top: 0; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-35 { - position: -webkit-sticky; - position: sticky; - top: 0px; -} - -.emotion-37 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - -webkit-box-pack: left; - -ms-flex-pack: left; - -webkit-justify-content: left; - justify-content: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border: none; - background-color: #f9f9fa; - position: -webkit-sticky; - position: sticky; - top: 0px; - padding-right: 16px; - padding-left: 16px; - height: 32px; - text-align: left; - margin-bottom: 2px; -} - -.emotion-37:focus { - background-color: #f9f9fa; - outline: none; -} - -.emotion-37[data-selectgroup='true'] { - padding-left: 16px; - border-left: 4px solid #f9f9fa; -} - -.emotion-37[data-selectgroup='true']:focus { - background-color: #e9eaeb; -} - -.emotion-39 { - color: #3f4250; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-43 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-43:hover, -.emotion-43:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-43[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-43[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-43[disabled]:hover, -.emotion-43 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-47 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-50 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-70 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-140 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-143 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly loadMore 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -
-
-
-
- -
-
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly loading - grouped data 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -@keyframes animation-1 { - from { - left: -25%; - } - - to { - left: 100%; - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-20[data-grouped="true"] { - padding-top: 0; -} - -.emotion-22 { - position: relative; - width: 100%; - overflow: hidden; - cursor: progress; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-flow: column; - -webkit-flex-flow: column; - -ms-flex-flow: column; - flex-flow: column; - height: 100%; -} - -.emotion-24 { - min-height: 200px; - width: 100%; - height: 100%; - padding: 16px; - border: 1px solid #e9eaeb; - border-radius: 4px; - margin: 0; -} - -.emotion-24>.emotion-27:not(:last-child) { - border-bottom: 1px solid #d9dadd; -} - -.emotion-26 { - 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; - padding: 24px 16px; -} - -.emotion-28 { - margin-right: 8px; - width: 32px; - height: 32px; - min-width: 32px; - border-radius: 8px; - background-color: #e9eaeb; -} - -.emotion-30 { - height: 12px; - width: 120px; - max-width: 100%; - border-radius: 8px; - background-color: #e9eaeb; -} - -.emotion-44 { - position: absolute; - top: 0; - height: 100%; - width: 25%; - opacity: 0.8; - background: linear-gradient( - 90deg, - #f9f9fa00, - #f9f9fa4D, - #f9f9fa66, - #f9f9fa4D, - #f9f9fa00 - ); - -webkit-animation: animation-1 1s linear infinite; - animation: animation-1 1s linear infinite; - -webkit-animation-direction: alternate; - animation-direction: alternate; -} - -@media (prefers-reduced-motion: reduce) { - .emotion-44 { - -webkit-animation: unset; - animation: unset; - } -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
- -`; - -exports[`SelectInputV2 > renders correctly loading - ungrouped data 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -@keyframes animation-1 { - from { - left: -25%; - } - - to { - left: 100%; - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-20[data-grouped="true"] { - padding-top: 0; -} - -.emotion-22 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-24 { - position: relative; - width: 100%; - overflow: hidden; - cursor: progress; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex-flow: column; - -webkit-flex-flow: column; - -ms-flex-flow: column; - flex-flow: column; - height: 100%; -} - -.emotion-26 { - min-height: 200px; - width: 100%; - height: 100%; - padding: 16px; - border: 1px solid #e9eaeb; - border-radius: 4px; - margin: 0; -} - -.emotion-26>.emotion-29:not(:last-child) { - border-bottom: 1px solid #d9dadd; -} - -.emotion-28 { - 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; - padding: 24px 16px; -} - -.emotion-30 { - margin-right: 8px; - width: 32px; - height: 32px; - min-width: 32px; - border-radius: 8px; - background-color: #e9eaeb; -} - -.emotion-32 { - height: 12px; - width: 120px; - max-width: 100%; - border-radius: 8px; - background-color: #e9eaeb; -} - -.emotion-46 { - position: absolute; - top: 0; - height: 100%; - width: 25%; - opacity: 0.8; - background: linear-gradient( - 90deg, - #f9f9fa00, - #f9f9fa4D, - #f9f9fa66, - #f9f9fa4D, - #f9f9fa00 - ); - -webkit-animation: animation-1 1s linear infinite; - animation: animation-1 1s linear infinite; - -webkit-animation-direction: alternate; - animation-direction: alternate; -} - -@media (prefers-reduced-motion: reduce) { - .emotion-46 { - -webkit-animation: unset; - animation: unset; - } -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
- -`; - -exports[`SelectInputV2 > renders correctly multiselect 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-11 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 4px; - padding: 0 8px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - color: #3f4250; - background: #ffffff; - border: solid 1px #d9dadd; - height: -webkit-fit-content; - height: -moz-fit-content; - height: fit-content; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; -} - -.emotion-14 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - max-width: 232px; -} - -.emotion-17 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - height: 32px; - padding: 0 8px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 8px; - border-radius: 4px; - box-sizing: border-box; - width: 32px; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 20px; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: -webkit-fit-content; - height: -moz-fit-content; - height: fit-content; - padding: 2px; -} - -.emotion-17:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-17:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-17:hover, -.emotion-17:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-19 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-19 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-23 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-23 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-26 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-26[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-26[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-26[data-visible-in-dom="false"] { - display: none; -} - -.emotion-28 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-33>.emotion-40 { - color: #3f4250; -} - -.emotion-33>.emotion-40::-webkit-input-placeholder { - color: #727683; -} - -.emotion-33>.emotion-40::-moz-placeholder { - color: #727683; -} - -.emotion-33>.emotion-40:-ms-input-placeholder { - color: #727683; -} - -.emotion-33>.emotion-40::placeholder { - color: #727683; -} - -.emotion-33[data-success='true'] { - border-color: #22674e; -} - -.emotion-33[data-error='true'] { - border-color: #b3144d; -} - -.emotion-33[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-33[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-33[data-disabled='true']>.emotion-40 { - color: #b5b7bd; -} - -.emotion-33[data-disabled='true']>.emotion-40::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-33[data-disabled='true']>.emotion-40::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-33[data-disabled='true']>.emotion-40:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-33[data-disabled='true']>.emotion-40::placeholder { - color: #b5b7bd; -} - -.emotion-33:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-35 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-35[data-size="small"] { - padding: 8px; -} - -.emotion-39 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-39[data-size='large'] { - font-size: 16px; -} - -.emotion-39[data-size='small'] { - padding-left: 8px; -} - -.emotion-41 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-41[data-grouped="true"] { - padding-top: 0; -} - -.emotion-43 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-45 { - position: -webkit-sticky; - position: sticky; - top: 0px; -} - -.emotion-47 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - -webkit-box-pack: left; - -ms-flex-pack: left; - -webkit-justify-content: left; - justify-content: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border: none; - background-color: #f9f9fa; - position: -webkit-sticky; - position: sticky; - top: 0px; - padding-right: 16px; - padding-left: 16px; - height: 32px; - text-align: left; - margin-bottom: 2px; -} - -.emotion-47:focus { - background-color: #f9f9fa; - outline: none; -} - -.emotion-47[data-selectgroup='true'] { - padding-left: 16px; - border-left: 4px solid #f9f9fa; -} - -.emotion-47[data-selectgroup='true']:focus { - background-color: #e9eaeb; -} - -.emotion-49 { - color: #3f4250; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-53 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-53:hover, -.emotion-53:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-53[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-53[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-53[disabled]:hover, -.emotion-53 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-56 { - position: relative; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - gap: 8px; - width: 100%; - position: static; - text-align: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - pointer-events: none; -} - -.emotion-56 .emotion-69 { - cursor: pointer; -} - -.emotion-56[aria-disabled='true'] { - cursor: not-allowed; - color: #b5b7bd; -} - -.emotion-56[aria-disabled='true'] .emotion-69 { - cursor: not-allowed; -} - -.emotion-56[aria-disabled='true'] .emotion-61 { - fill: #e9eaeb; -} - -.emotion-56[aria-disabled='true'] .emotion-61 .emotion-63 { - stroke: #d9dadd; - fill: #f3f3f4; -} - -.emotion-56[aria-disabled='true'] .emotion-59[aria-invalid="true"]:checked+.emotion-61 { - fill: #ffd3e3; -} - -.emotion-56[aria-disabled='true'] .emotion-59[aria-invalid="true"]:checked+.emotion-61 .emotion-63 { - stroke: #ffd3e3; - fill: #ffd3e3; -} - -.emotion-56[aria-disabled='true'] .emotion-59[aria-invalid="true"]+.emotion-61 { - fill: #ffebf2; -} - -.emotion-56[aria-disabled='true'] .emotion-59[aria-invalid="true"]+.emotion-61 .emotion-63 { - stroke: #ffbbd3; - fill: #ffebf2; -} - -.emotion-56[aria-disabled='true'] .emotion-59:checked+.emotion-61 { - fill: #e5dbfd; -} - -.emotion-56[aria-disabled='true'] .emotion-59:checked+.emotion-61 .emotion-63 { - stroke: #d8c5fc; - fill: #d8c5fc; -} - -.emotion-56[aria-disabled='true'] .emotion-59[aria-checked="mixed"]+.emotion-61 { - fill: #e5dbfd; -} - -.emotion-56[aria-disabled='true'] .emotion-59[aria-checked="mixed"]+.emotion-61 .emotion-63 { - stroke: #e5dbfd; - fill: #e5dbfd; -} - -.emotion-56 .emotion-59:checked+.emotion-61 path { - transform-origin: center; - -webkit-transition: 200ms -webkit-transform ease-in-out; - transition: 200ms transform ease-in-out; - -webkit-transform: scale(1); - -moz-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - -webkit-transform: translate(2px, 2px); - -moz-transform: translate(2px, 2px); - -ms-transform: translate(2px, 2px); - transform: translate(2px, 2px); -} - -.emotion-56 .emotion-59:checked+.emotion-61 .emotion-63 { - fill: #8c40ef; - stroke: #8c40ef; -} - -.emotion-56 .emotion-59[aria-invalid="true"]:checked+.emotion-61 .emotion-63 { - fill: #e51963; - stroke: #e51963; -} - -.emotion-56 .emotion-59[aria-checked="mixed"]+.emotion-61 .eqr7bqq6 { - fill: #ffffff; -} - -.emotion-56 .emotion-59[aria-checked="mixed"]+.emotion-61 .emotion-63 { - fill: #8c40ef; - stroke: #8c40ef; -} - -.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='false'][aria-checked='false']+.emotion-61 .emotion-63 { - stroke: #792dd4; - fill: #e5dbfd; -} - -.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='false'][aria-checked='true']+.emotion-61 .emotion-63 { - stroke: #792dd4; - fill: #792dd4; -} - -.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='false'][aria-checked='mixed']+.emotion-61 .emotion-63 { - stroke: #792dd4; - fill: #792dd4; -} - -.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='true'][aria-checked='false']+.emotion-61 .emotion-63 { - stroke: #92103f; - fill: #ffd3e3; -} - -.emotion-56:hover[aria-disabled='false'] .emotion-59[aria-invalid='true'][aria-checked='true']+.emotion-61 .emotion-63 { - stroke: #d6175c; - fill: #d6175c; -} - -.emotion-56 .emotion-59[aria-invalid="true"]+.emotion-61 { - fill: #e51963; -} - -.emotion-56 .emotion-59[aria-invalid="true"]+.emotion-61 .emotion-63 { - stroke: #e51963; - fill: #ffebf2; -} - -.emotion-58 { - position: absolute; - white-space: nowrap; - height: 24px; - width: 24px; - opacity: 0; - border-width: 0; -} - -.emotion-58:not(:disabled) { - cursor: pointer; -} - -.emotion-58:disabled { - cursor: not-allowed; -} - -.emotion-58:not(:disabled):checked+.emotion-61, -.emotion-58:not(:disabled)[aria-checked='mixed']+.emotion-61 { - fill: #8c40ef; -} - -.emotion-58:not(:disabled):checked+.emotion-61 .emotion-63, -.emotion-58:not(:disabled)[aria-checked='mixed']+.emotion-61 .emotion-63 { - stroke: #8c40ef; -} - -.emotion-58:not(:disabled)[aria-invalid='true']+.emotion-61, -.emotion-58:not(:disabled)[aria-invalid='mixed']+.emotion-61 { - fill: #ffebf2; -} - -.emotion-58:not(:disabled)[aria-invalid='true']+.emotion-61 .emotion-63, -.emotion-58:not(:disabled)[aria-invalid='mixed']+.emotion-61 .emotion-63 { - stroke: #b3144d; -} - -.emotion-58:focus+.emotion-61 { - background-color: #f1eefc; - fill: #ffebf2; - outline: 1px solid 0px 0px 0px 3px #8c40ef40; -} - -.emotion-58:focus+.emotion-61 .emotion-63 { - stroke: #792dd4; - fill: #e5dbfd; -} - -.emotion-58[aria-invalid='true']:focus+.emotion-61 { - background-color: #ffebf2; - fill: #ffebf2; - outline: 1px solid 0px 0px 0px 3px #f91b6c40; -} - -.emotion-58[aria-invalid='true']:focus+.emotion-61 .emotion-63 { - stroke: #92103f; - fill: #ffd3e3; -} - -.emotion-60 { - border-radius: 4px; - height: 24px; - width: 24px; - min-width: 24px; - min-height: 24px; -} - -.emotion-60 path { - fill: #ffffff; - -webkit-transform: translate(2px, 2px); - -moz-transform: translate(2px, 2px); - -ms-transform: translate(2px, 2px); - transform: translate(2px, 2px); - -webkit-transform: scale(0); - -moz-transform: scale(0); - -ms-transform: scale(0); - transform: scale(0); -} - -.emotion-62 { - fill: #ffffff; - stroke: #d9dadd; -} - -.emotion-64 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-66 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-68 { - width: 100%; - cursor: pointer; -} - -.emotion-72 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-75 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-125 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-285 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-288 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -
-
-
-
-
-
- - - Pluto - - - -
-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly not clearable 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #3f4250; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-overflow: ellipsis; - overflow: hidden; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -
-
-
-
- -
-
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly readOnly 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #b5b7bd; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #b5b7bd; - fill: none; -} - -
-
-
-
- -
-
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly required 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-8 { - color: #222638; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-10 { - vertical-align: middle; - fill: #b3144d; - height: 8px; - width: 8px; - min-width: 8px; - min-height: 8px; -} - -.emotion-10 .fillStroke { - stroke: #b3144d; - fill: none; -} - -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-12[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-12[data-size='medium'] { - height: 40px; -} - -.emotion-12[data-size='large'] { - height: 48px; -} - -.emotion-12[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-12[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-12[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-12[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-12[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-12[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-12[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-12[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-12[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-12[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-12[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-12:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-12[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-12[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-15 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-17 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-19 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-19 .fillStroke { - stroke: #3f4250; - fill: none; -} - -
-
-
-
-
- - - - -
- -
-
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly required 2`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-23>.emotion-30 { - color: #3f4250; -} - -.emotion-23>.emotion-30::-webkit-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::-moz-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30:-ms-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::placeholder { - color: #727683; -} - -.emotion-23[data-success='true'] { - border-color: #22674e; -} - -.emotion-23[data-error='true'] { - border-color: #b3144d; -} - -.emotion-23[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-23[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-23[data-disabled='true']>.emotion-30 { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::placeholder { - color: #b5b7bd; -} - -.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-25[data-size="small"] { - padding: 8px; -} - -.emotion-29 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-29[data-size='large'] { - font-size: 16px; -} - -.emotion-29[data-size='small'] { - padding-left: 8px; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-31[data-grouped="true"] { - padding-top: 0; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-35 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-35:hover, -.emotion-35:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-35[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-35[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-35[disabled]:hover, -.emotion-35 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-39 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-42 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-62 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-113 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-116 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly small 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-8 { - color: #222638; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-10[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-10[data-size='medium'] { - height: 40px; -} - -.emotion-10[data-size='large'] { - height: 48px; -} - -.emotion-10[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-10[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-10[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-10[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-10[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-10[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-10[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-10[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-10[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-10[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-10[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-10:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-10[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-10[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-13 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-15 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-17 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-17 .fillStroke { - stroke: #3f4250; - fill: none; -} - -
-
-
-
-
- -
- -
-
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly unclosable tags when readonly 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-11 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 4px; - padding: 0 8px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - color: #3f4250; - background: #ffffff; - border: solid 1px #d9dadd; - height: -webkit-fit-content; - height: -moz-fit-content; - height: fit-content; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; -} - -.emotion-14 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; - max-width: 232px; -} - -.emotion-16 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-18 { - vertical-align: middle; - fill: #b5b7bd; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-18 .fillStroke { - stroke: #b5b7bd; - fill: none; -} - -
-
-
-
- -
-
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly ungrouped 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-23>.emotion-30 { - color: #3f4250; -} - -.emotion-23>.emotion-30::-webkit-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::-moz-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30:-ms-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::placeholder { - color: #727683; -} - -.emotion-23[data-success='true'] { - border-color: #22674e; -} - -.emotion-23[data-error='true'] { - border-color: #b3144d; -} - -.emotion-23[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-23[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-23[data-disabled='true']>.emotion-30 { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::placeholder { - color: #b5b7bd; -} - -.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-25[data-size="small"] { - padding: 8px; -} - -.emotion-29 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-29[data-size='large'] { - font-size: 16px; -} - -.emotion-29[data-size='small'] { - padding-left: 8px; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-31[data-grouped="true"] { - padding-top: 0; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-35 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-35:hover, -.emotion-35:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-35[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-35[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-35[disabled]:hover, -.emotion-35 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-39 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-42 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-62 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-113 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-116 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with default value 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #3f4250; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-overflow: ellipsis; - overflow: hidden; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-23>.emotion-30 { - color: #3f4250; -} - -.emotion-23>.emotion-30::-webkit-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::-moz-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30:-ms-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::placeholder { - color: #727683; -} - -.emotion-23[data-success='true'] { - border-color: #22674e; -} - -.emotion-23[data-error='true'] { - border-color: #b3144d; -} - -.emotion-23[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-23[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-23[data-disabled='true']>.emotion-30 { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::placeholder { - color: #b5b7bd; -} - -.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-25[data-size="small"] { - padding: 8px; -} - -.emotion-29 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-29[data-size='large'] { - font-size: 16px; -} - -.emotion-29[data-size='small'] { - padding-left: 8px; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-31[data-grouped="true"] { - padding-top: 0; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-35 { - position: -webkit-sticky; - position: sticky; - top: 0px; -} - -.emotion-37 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - -webkit-box-pack: left; - -ms-flex-pack: left; - -webkit-justify-content: left; - justify-content: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border: none; - background-color: #f9f9fa; - position: -webkit-sticky; - position: sticky; - top: 0px; - padding-right: 16px; - padding-left: 16px; - height: 32px; - text-align: left; - margin-bottom: 2px; -} - -.emotion-37:focus { - background-color: #f9f9fa; - outline: none; -} - -.emotion-37[data-selectgroup='true'] { - padding-left: 16px; - border-left: 4px solid #f9f9fa; -} - -.emotion-37[data-selectgroup='true']:focus { - background-color: #e9eaeb; -} - -.emotion-39 { - color: #3f4250; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-43 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-43:hover, -.emotion-43:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-43[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-43[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-43[disabled]:hover, -.emotion-43 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-47 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-50 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-70 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-140 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-143 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -
-
-
-
-
-
- Pluto -
-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with emptyState 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 16px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with error 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #b3144d; - height: 1em; - width: 1em; - min-width: 1em; - min-height: 1em; -} - -.emotion-13 .fillStroke { - stroke: #b3144d; - fill: none; -} - -.emotion-15 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-15 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-18 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-18[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-18[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-18[data-visible-in-dom="false"] { - display: none; -} - -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-25>.emotion-32 { - color: #3f4250; -} - -.emotion-25>.emotion-32::-webkit-input-placeholder { - color: #727683; -} - -.emotion-25>.emotion-32::-moz-placeholder { - color: #727683; -} - -.emotion-25>.emotion-32:-ms-input-placeholder { - color: #727683; -} - -.emotion-25>.emotion-32::placeholder { - color: #727683; -} - -.emotion-25[data-success='true'] { - border-color: #22674e; -} - -.emotion-25[data-error='true'] { - border-color: #b3144d; -} - -.emotion-25[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-25[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-25[data-disabled='true']>.emotion-32 { - color: #b5b7bd; -} - -.emotion-25[data-disabled='true']>.emotion-32::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-25[data-disabled='true']>.emotion-32::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-25[data-disabled='true']>.emotion-32:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-25[data-disabled='true']>.emotion-32::placeholder { - color: #b5b7bd; -} - -.emotion-25:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-27 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-27[data-size="small"] { - padding: 8px; -} - -.emotion-31 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-31[data-size='large'] { - font-size: 16px; -} - -.emotion-31[data-size='small'] { - padding-left: 8px; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-33[data-grouped="true"] { - padding-top: 0; -} - -.emotion-35 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-37 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-37:hover, -.emotion-37:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-37[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-37[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-37[disabled]:hover, -.emotion-37 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-41 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-44 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-64 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-115 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-118 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -.emotion-121 { - color: #b3144d; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding-top: 4px; -} - -
-
-
-
-
-

- placeholder -

-
- - - - - - -
-
-
- -
-

- error -

-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with footer 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #3f4250; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-overflow: ellipsis; - overflow: hidden; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-23>.emotion-30 { - color: #3f4250; -} - -.emotion-23>.emotion-30::-webkit-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::-moz-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30:-ms-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::placeholder { - color: #727683; -} - -.emotion-23[data-success='true'] { - border-color: #22674e; -} - -.emotion-23[data-error='true'] { - border-color: #b3144d; -} - -.emotion-23[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-23[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-23[data-disabled='true']>.emotion-30 { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::placeholder { - color: #b5b7bd; -} - -.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-25[data-size="small"] { - padding: 8px; -} - -.emotion-29 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-29[data-size='large'] { - font-size: 16px; -} - -.emotion-29[data-size='small'] { - padding-left: 8px; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-31[data-grouped="true"] { - padding-top: 0; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-35 { - position: -webkit-sticky; - position: sticky; - top: 0px; -} - -.emotion-37 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - -webkit-box-pack: left; - -ms-flex-pack: left; - -webkit-justify-content: left; - justify-content: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border: none; - background-color: #f9f9fa; - position: -webkit-sticky; - position: sticky; - top: 0px; - padding-right: 16px; - padding-left: 16px; - height: 32px; - text-align: left; - margin-bottom: 2px; -} - -.emotion-37:focus { - background-color: #f9f9fa; - outline: none; -} - -.emotion-37[data-selectgroup='true'] { - padding-left: 16px; - border-left: 4px solid #f9f9fa; -} - -.emotion-37[data-selectgroup='true']:focus { - background-color: #e9eaeb; -} - -.emotion-39 { - color: #3f4250; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-43 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-43:hover, -.emotion-43:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-43[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-43[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-43[disabled]:hover, -.emotion-43 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-47 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-50 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-70 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-140 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-143 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -.emotion-145 { - width: 100%; - padding: 12px 16px 12px 16px; - box-shadow: 0px 4px 24px 6px #d9dadd66; -} - -
-
-
-
-
-
- Pluto -
-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with function footer 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #3f4250; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-overflow: ellipsis; - overflow: hidden; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -
-
-
-
- -
-
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with label on the bottom and optional info on the left 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-23>.emotion-30 { - color: #3f4250; -} - -.emotion-23>.emotion-30::-webkit-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::-moz-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30:-ms-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::placeholder { - color: #727683; -} - -.emotion-23[data-success='true'] { - border-color: #22674e; -} - -.emotion-23[data-error='true'] { - border-color: #b3144d; -} - -.emotion-23[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-23[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-23[data-disabled='true']>.emotion-30 { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::placeholder { - color: #b5b7bd; -} - -.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-25[data-size="small"] { - padding: 8px; -} - -.emotion-29 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-29[data-size='large'] { - font-size: 16px; -} - -.emotion-29[data-size='small'] { - padding-left: 8px; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-31[data-grouped="true"] { - padding-top: 0; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-35 { - position: -webkit-sticky; - position: sticky; - top: 0px; -} - -.emotion-37 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - -webkit-box-pack: left; - -ms-flex-pack: left; - -webkit-justify-content: left; - justify-content: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border: none; - background-color: #f9f9fa; - position: -webkit-sticky; - position: sticky; - top: 0px; - padding-right: 16px; - padding-left: 16px; - height: 32px; - text-align: left; - margin-bottom: 2px; -} - -.emotion-37:focus { - background-color: #f9f9fa; - outline: none; -} - -.emotion-37[data-selectgroup='true'] { - padding-left: 16px; - border-left: 4px solid #f9f9fa; -} - -.emotion-37[data-selectgroup='true']:focus { - background-color: #e9eaeb; -} - -.emotion-39 { - color: #3f4250; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-43 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-43:hover, -.emotion-43:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-43[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-43[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-43[disabled]:hover, -.emotion-43 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-45 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: left; - -ms-flex-pack: left; - -webkit-justify-content: left; - justify-content: left; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-48 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -.emotion-50 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-53 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-69 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-76 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-96 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - font-style: italic; -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with label on the bottom and optional info on the right 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-23>.emotion-30 { - color: #3f4250; -} - -.emotion-23>.emotion-30::-webkit-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::-moz-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30:-ms-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::placeholder { - color: #727683; -} - -.emotion-23[data-success='true'] { - border-color: #22674e; -} - -.emotion-23[data-error='true'] { - border-color: #b3144d; -} - -.emotion-23[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-23[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-23[data-disabled='true']>.emotion-30 { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::placeholder { - color: #b5b7bd; -} - -.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-25[data-size="small"] { - padding: 8px; -} - -.emotion-29 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-29[data-size='large'] { - font-size: 16px; -} - -.emotion-29[data-size='small'] { - padding-left: 8px; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-31[data-grouped="true"] { - padding-top: 0; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-35 { - position: -webkit-sticky; - position: sticky; - top: 0px; -} - -.emotion-37 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - -webkit-box-pack: left; - -ms-flex-pack: left; - -webkit-justify-content: left; - justify-content: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border: none; - background-color: #f9f9fa; - position: -webkit-sticky; - position: sticky; - top: 0px; - padding-right: 16px; - padding-left: 16px; - height: 32px; - text-align: left; - margin-bottom: 2px; -} - -.emotion-37:focus { - background-color: #f9f9fa; - outline: none; -} - -.emotion-37[data-selectgroup='true'] { - padding-left: 16px; - border-left: 4px solid #f9f9fa; -} - -.emotion-37[data-selectgroup='true']:focus { - background-color: #e9eaeb; -} - -.emotion-39 { - color: #3f4250; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-43 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-43:hover, -.emotion-43:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-43[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-43[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-43[disabled]:hover, -.emotion-43 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-47 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-50 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-52 { - -webkit-align-content: center; - -ms-flex-line-pack: center; - align-content: center; -} - -.emotion-55 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -.emotion-80 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-100 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - font-style: italic; -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with label on the right and optional info on the left 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-23>.emotion-30 { - color: #3f4250; -} - -.emotion-23>.emotion-30::-webkit-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::-moz-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30:-ms-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::placeholder { - color: #727683; -} - -.emotion-23[data-success='true'] { - border-color: #22674e; -} - -.emotion-23[data-error='true'] { - border-color: #b3144d; -} - -.emotion-23[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-23[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-23[data-disabled='true']>.emotion-30 { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::placeholder { - color: #b5b7bd; -} - -.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-25[data-size="small"] { - padding: 8px; -} - -.emotion-29 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-29[data-size='large'] { - font-size: 16px; -} - -.emotion-29[data-size='small'] { - padding-left: 8px; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-31[data-grouped="true"] { - padding-top: 0; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-35 { - position: -webkit-sticky; - position: sticky; - top: 0px; -} - -.emotion-37 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - -webkit-box-pack: left; - -ms-flex-pack: left; - -webkit-justify-content: left; - justify-content: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border: none; - background-color: #f9f9fa; - position: -webkit-sticky; - position: sticky; - top: 0px; - padding-right: 16px; - padding-left: 16px; - height: 32px; - text-align: left; - margin-bottom: 2px; -} - -.emotion-37:focus { - background-color: #f9f9fa; - outline: none; -} - -.emotion-37[data-selectgroup='true'] { - padding-left: 16px; - border-left: 4px solid #f9f9fa; -} - -.emotion-37[data-selectgroup='true']:focus { - background-color: #e9eaeb; -} - -.emotion-39 { - color: #3f4250; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-43 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-43:hover, -.emotion-43:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-43[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-43[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-43[disabled]:hover, -.emotion-43 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-45 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: baseline; - -webkit-box-align: baseline; - -ms-flex-align: baseline; - align-items: baseline; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-47 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: baseline; - -webkit-box-align: baseline; - -ms-flex-align: baseline; - align-items: baseline; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-50 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-52 { - -webkit-align-content: center; - -ms-flex-line-pack: center; - align-content: center; -} - -.emotion-55 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -.emotion-80 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-100 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - font-style: italic; -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with label on the right and optional info on the right 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-21 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-23>.emotion-30 { - color: #3f4250; -} - -.emotion-23>.emotion-30::-webkit-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::-moz-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30:-ms-input-placeholder { - color: #727683; -} - -.emotion-23>.emotion-30::placeholder { - color: #727683; -} - -.emotion-23[data-success='true'] { - border-color: #22674e; -} - -.emotion-23[data-error='true'] { - border-color: #b3144d; -} - -.emotion-23[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-23[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-23[data-disabled='true']>.emotion-30 { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-23[data-disabled='true']>.emotion-30::placeholder { - color: #b5b7bd; -} - -.emotion-23:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-25[data-size="small"] { - padding: 8px; -} - -.emotion-29 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-29[data-size='large'] { - font-size: 16px; -} - -.emotion-29[data-size='small'] { - padding-left: 8px; -} - -.emotion-31 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-31[data-grouped="true"] { - padding-top: 0; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-35 { - position: -webkit-sticky; - position: sticky; - top: 0px; -} - -.emotion-37 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - -webkit-box-pack: left; - -ms-flex-pack: left; - -webkit-justify-content: left; - justify-content: left; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - border: none; - background-color: #f9f9fa; - position: -webkit-sticky; - position: sticky; - top: 0px; - padding-right: 16px; - padding-left: 16px; - height: 32px; - text-align: left; - margin-bottom: 2px; -} - -.emotion-37:focus { - background-color: #f9f9fa; - outline: none; -} - -.emotion-37[data-selectgroup='true'] { - padding-left: 16px; - border-left: 4px solid #f9f9fa; -} - -.emotion-37[data-selectgroup='true']:focus { - background-color: #e9eaeb; -} - -.emotion-39 { - color: #3f4250; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-43 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-43:hover, -.emotion-43:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-43[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-43[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-43[disabled]:hover, -.emotion-43 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-45 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: baseline; - -webkit-box-align: baseline; - -ms-flex-align: baseline; - align-items: baseline; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-47 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: baseline; - -webkit-box-align: baseline; - -ms-flex-align: baseline; - align-items: baseline; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-50 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-52 { - -webkit-align-content: center; - -ms-flex-line-pack: center; - align-content: center; -} - -.emotion-55 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -.emotion-80 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-100 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - font-style: italic; -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with not searchable 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-13 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-16 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-16[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-16[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-16[data-visible-in-dom="false"] { - display: none; -} - -.emotion-18 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-20[data-grouped="true"] { - padding-top: 0; -} - -.emotion-22 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-24 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-24:hover, -.emotion-24:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-24[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-24[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-24[disabled]:hover, -.emotion-24 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-28 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-31 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-51 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-102 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-105 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -
-
-
-
-
-

- placeholder -

-
- - - -
-
-
- -
-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with success 1`] = ` - - @keyframes animation-0 { - 0% { - opacity: 0; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } - - 100% { - opacity: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - } -} - -.emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-6[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-6[data-size='medium'] { - height: 40px; -} - -.emotion-6[data-size='large'] { - height: 48px; -} - -.emotion-6[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-6[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-6[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-6[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-6[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-6[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-6[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-6[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-6[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-6[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-6[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-6:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-6[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-6[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-9 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-13 { - vertical-align: middle; - fill: #22674e; - height: 1em; - width: 1em; - min-width: 1em; - min-height: 1em; -} - -.emotion-13 .fillStroke { - stroke: #22674e; - fill: none; -} - -.emotion-15 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-15 .fillStroke { - stroke: #3f4250; - fill: none; -} - -.emotion-18 { - background: #151a2d; - color: #ffffff; - border-radius: 4px; - padding: 4px 8px; - text-align: center; - position: absolute; - max-width: 500px; - overflow-wrap: break-word; - font-size: 0.8rem; - inset: 0 auto auto 0; - top: 0; - left: 0; - opacity: 0; - z-index: 1; - -webkit-transform: translate3d(0px, 4px, 0); - -moz-transform: translate3d(0px, 4px, 0); - -ms-transform: translate3d(0px, 4px, 0); - transform: translate3d(0px, 4px, 0); - width: 100%; - background-color: #ffffff; - color: #3f4250; - box-shadow: 0px 4px 8px 0px #22263829,0px 8px 24px 0px #2226383d; - padding: 0; - margin-bottom: 80px; -} - -.emotion-18[data-animated="true"] { - -webkit-animation: 0ms animation-0 forwards; - animation: 0ms animation-0 forwards; -} - -.emotion-18[data-has-arrow="true"]::after { - content: " "; - position: absolute; - top: -5px; - left: 0px; - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); - margin-left: -8px; - border-width: 8px; - border-style: solid; - border-color: #151a2d transparent transparent transparent; - pointer-events: none; -} - -.emotion-18[data-visible-in-dom="false"] { - display: none; -} - -.emotion-20 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-top: 12px; - padding-bottom: 12px; - padding-left: 16px; - padding-right: 16px; -} - -.emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - height: 40px; - background: #ffffff; - border: 1px solid #d9dadd; - border-radius: 4px; -} - -.emotion-25>.emotion-32 { - color: #3f4250; -} - -.emotion-25>.emotion-32::-webkit-input-placeholder { - color: #727683; -} - -.emotion-25>.emotion-32::-moz-placeholder { - color: #727683; -} - -.emotion-25>.emotion-32:-ms-input-placeholder { - color: #727683; -} - -.emotion-25>.emotion-32::placeholder { - color: #727683; -} - -.emotion-25[data-success='true'] { - border-color: #22674e; -} - -.emotion-25[data-error='true'] { - border-color: #b3144d; -} - -.emotion-25[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; -} - -.emotion-25[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; -} - -.emotion-25[data-disabled='true']>.emotion-32 { - color: #b5b7bd; -} - -.emotion-25[data-disabled='true']>.emotion-32::-webkit-input-placeholder { - color: #b5b7bd; -} - -.emotion-25[data-disabled='true']>.emotion-32::-moz-placeholder { - color: #b5b7bd; -} - -.emotion-25[data-disabled='true']>.emotion-32:-ms-input-placeholder { - color: #b5b7bd; -} - -.emotion-25[data-disabled='true']>.emotion-32::placeholder { - color: #b5b7bd; -} - -.emotion-25:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-27 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding: 16px; - border-right: 1px solid; - border-color: inherit; -} - -.emotion-27[data-size="small"] { - padding: 8px; -} - -.emotion-31 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - border: none; - outline: none; - height: 100%; - width: 100%; - padding-left: 16px; - background: transparent; - font-size: 14px; -} - -.emotion-31[data-size='large'] { - font-size: 16px; -} - -.emotion-31[data-size='small'] { - padding-left: 8px; -} - -.emotion-33 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - max-height: 256px; - overflow-y: scroll; - padding: 0; - padding-bottom: 4px; - padding-top: 4px; -} - -.emotion-33[data-grouped="true"] { - padding-top: 0; -} - -.emotion-35 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 2px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-37 { - text-align: left; - border: none; - background-color: #ffffff; - padding: 12px 16px 12px 16px; - margin-left: 4px; - margin-right: 4px; - color: #3f4250; - border-radius: 4px; -} - -.emotion-37:hover, -.emotion-37:focus { - background-color: #f1eefc; - color: #641cb3; - cursor: pointer; - outline: none; -} - -.emotion-37[data-selected='true'] { - background-color: #f1eefc; -} - -.emotion-37[disabled] { - background-color: #f3f3f4; - color: #b5b7bd; -} - -.emotion-37[disabled]:hover, -.emotion-37 [disabled]:focus { - background-color: #f3f3f4; - color: #b5b7bd; - cursor: not-allowed; - outline: none; -} - -.emotion-41 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - overflow: hidden; -} - -.emotion-44 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; - overflow: auto; - text-overflow: ellipsis; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-flex-wrap: wrap; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - max-width: 100%; -} - -.emotion-64 { - color: #727683; - font-size: 14px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 20px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - text-align: left; -} - -.emotion-115 { - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-118 { - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - white-space: nowrap; - border-radius: 16px; - padding: 0 16px; - gap: 8px; - width: -webkit-fit-content; - width: -moz-fit-content; - width: fit-content; - height: 24px; - text-transform: uppercase; - color: #3f4250; - background: #f9f9fa; - border: 1px solid #d9dadd; -} - -.emotion-121 { - color: #22674e; - font-size: 12px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 16px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - padding-top: 4px; -} - -
-
-
-
-
-

- placeholder -

-
- - - - - - -
-
-
- -
-

- success -

-
-
-
-`; - -exports[`SelectInputV2 > renders correctly with tooltip 1`] = ` - - .emotion-0 { - width: 100%; -} - -.emotion-2 { - display: inherit; -} - -.emotion-2[data-container-full-width="true"] { - width: 100%; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-6 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 4px; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.emotion-8 { - color: #222638; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-12 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: justify; - -webkit-justify-content: space-between; - justify-content: space-between; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - padding: 8px; - padding-right: 0; - padding-left: 16px; - cursor: pointer; - box-shadow: none; - background: #ffffff; - border-radius: 4px; - width: 100%; - overflow: hidden; -} - -.emotion-12[data-size='small'] { - height: 32px; - padding-left: 8px; -} - -.emotion-12[data-size='medium'] { - height: 40px; -} - -.emotion-12[data-size='large'] { - height: 48px; -} - -.emotion-12[data-state='neutral'] { - border: 1px solid #d9dadd; -} - -.emotion-12[data-state='neutral']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #792dd4; - box-shadow: 0px 0px 0px 3px #8c40ef40; -} - -.emotion-12[data-state='neutral']:not([data-disabled='true']):hover, -.emotion-12[data-state='neutral']:not([data-disabled='true']):focus { - border-color: #792dd4; - outline: none; -} - -.emotion-12[data-state='neutral'][data-dropdownvisible='true'] { - border-color: #792dd4; -} - -.emotion-12[data-state='success'] { - border: 1px solid #22674e; -} - -.emotion-12[data-state='success']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #1b533f; - box-shadow: 0px 0px 0px 3px #45d19f40; -} - -.emotion-12[data-state='success'][data-dropdownvisible='true'] { - border-color: #1b533f; -} - -.emotion-12[data-state='danger'] { - border: 1px solid #b3144d; -} - -.emotion-12[data-state='danger']:not([data-disabled="true"]):not([data-readonly="true"]):active { - border-color: #92103f; - box-shadow: 0px 0px 0px 3px #f91b6c40; -} - -.emotion-12[data-state='danger'][data-dropdownvisible='true'] { - border-color: #92103f; -} - -.emotion-12:not([data-disabled='true']):not([data-readonly]):hover { - border-color: #8c40ef; -} - -.emotion-12[data-readonly='true'] { - background: #f9f9fa; - border-color: #d9dadd; - cursor: default; -} - -.emotion-12[data-disabled='true'] { - background: #f3f3f4; - border-color: #e9eaeb; - cursor: not-allowed; -} - -.emotion-15 { - color: #727683; - font-size: 16px; - font-family: Inter,Asap,sans-serif; - font-weight: 400; - letter-spacing: 0; - line-height: 24px; - text-transform: none; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.emotion-17 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 8px; - -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: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - padding-right: 16px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-19 { - vertical-align: middle; - fill: #3f4250; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-19 .fillStroke { - stroke: #3f4250; - fill: none; -} - -
-
-
-
-
- -
-
- -
-
-
-
-
-
-`; diff --git a/packages/ui/src/components/SelectInputV2/__tests__/index.test.tsx b/packages/ui/src/components/SelectInputV2/__tests__/index.test.tsx deleted file mode 100644 index baa894b5d6..0000000000 --- a/packages/ui/src/components/SelectInputV2/__tests__/index.test.tsx +++ /dev/null @@ -1,1293 +0,0 @@ -import { fireEvent, screen } from '@testing-library/react' -import { userEvent } from '@testing-library/user-event' -import { renderWithTheme } from '@utils/test' -import type { ReactNode } from 'react' -import { afterAll, beforeAll, describe, expect, test, vi } from 'vitest' -import { SelectInputV2 } from '..' -import { OptionalInfo, cities, dataGrouped, dataUnGrouped } from './resources' - -export type OptionType = { - value: string - label: ReactNode - disabled: boolean - description?: string - optionalInfo?: ReactNode -} - -describe('SelectInputV2', () => { - beforeAll(() => { - Object.defineProperty(HTMLElement.prototype, 'offsetWidth', { - configurable: true, - value: 500, - }) - }) - - afterAll(() => { - Object.defineProperty(HTMLElement.prototype, 'offsetWidth', {}) - }) - - test.skip('renders correctly', () => { - const { asFragment } = renderWithTheme( - , - ) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly small', () => { - const { asFragment } = renderWithTheme( - , - ) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with tooltip', () => { - const { asFragment } = renderWithTheme( - , - ) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly required', () => { - const { asFragment } = renderWithTheme( - , - ) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly not clearable', () => { - const { asFragment } = renderWithTheme( - , - ) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly ungrouped', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly grouped', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with default value', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('Pluto') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with footer', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('Pluto') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly multiselect', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('Pluto') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with label on the right and optional info on the left', async () => { - const { asFragment } = renderWithTheme( - {}} - />, - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with label on the right and optional info on the right', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with label on the bottom and optional info on the left', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with label on the bottom and optional info on the right', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly loadMore', () => { - const { asFragment } = renderWithTheme( - , - ) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with emptyState', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly disabled', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly required', async () => { - const { asFragment } = renderWithTheme( - , - ) - - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with dropdownAlign', async () => { - const { asFragment } = renderWithTheme( - , - ) - - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly readOnly', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with error', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with success', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with not searchable', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('handles correctly dropdown with clicks - grouped', async () => { - renderWithTheme( - , - ) - - const input = screen.getByText('placeholder') - await userEvent.click(input) - const dropdown = screen.getByRole('dialog') - expect(dropdown).toBeVisible() - - await userEvent.click(input) - await userEvent.click(input) - expect(dropdown).not.toBeInTheDocument() - }) - - test.skip('handles correctly dropdown with clicks - ungrouped', async () => { - renderWithTheme( - , - ) - - const input = screen.getByText('placeholder') - await userEvent.click(input) - const dropdown = screen.getByRole('dialog') - expect(dropdown).toBeVisible() - - await userEvent.click(input) - await userEvent.click(input) - expect(dropdown).not.toBeInTheDocument() - }) - - test.skip('handles correctly closable tags', async () => { - renderWithTheme( - {}} - />, - ) - const venusCloseButton = screen.getByTestId('close-tag') - const venus = screen.getByText('Venus') - await userEvent.click(venusCloseButton) - expect(venus).not.toBeVisible() - }) - test.skip('renders correctly unclosable tags when readonly', () => { - const { asFragment } = renderWithTheme( - {}} - />, - ) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('handles correctly dropdown with arrow down/up key press with ungrouped data', async () => { - renderWithTheme( - , - ) - - const input = screen.getByTestId('select-input-test') - await userEvent.tab() - await userEvent.tab() - expect(input).toHaveFocus() - await userEvent.keyboard('[arrowDown]') - const dropdown = screen.getByRole('dialog') - expect(dropdown).toBeVisible() - await userEvent.keyboard('[arrowDown]') - await userEvent.keyboard('[arrowUp]') - const mercury = screen.getByRole('option', { - name: /mercury/i, - }) - expect(mercury).toHaveFocus() - }) - test.skip('handles correctly dropdown with arrow pressing enter or space', async () => { - renderWithTheme( - , - ) - - const input = screen.getByTestId('select-input-test') - await userEvent.tab() - await userEvent.tab() - expect(input).toHaveFocus() - await userEvent.keyboard(' ') - const dropdown = screen.getByRole('dialog') - expect(dropdown).toBeVisible() - }) - test.skip('handles correctly dropdown with arrow down/up key press with grouped data', async () => { - renderWithTheme( - , - ) - - const input = screen.getByTestId('select-input-test') - await userEvent.tab() - await userEvent.tab() - expect(input).toHaveFocus() - await userEvent.keyboard('[arrowDown]') - const dropdown = screen.getByRole('dialog') - expect(dropdown).toBeVisible() - await userEvent.tab() - await userEvent.keyboard('[arrowDown]') - await userEvent.keyboard('[arrowUp]') - const mercury = screen.getByRole('option', { - name: /mercury/i, - }) - expect(mercury).toHaveFocus() - }) - - test.skip('handles correctly clear all', async () => { - renderWithTheme( - , - ) - const clearAll = screen.getByTestId('clear-all') - await userEvent.click(clearAll) - expect(clearAll).not.toBeInTheDocument() - }) - - test.skip('handles click autoclose when outside click', async () => { - renderWithTheme( - <> - Test outside element - - , - ) - const input = screen.getByTestId('select-input-test') - - await userEvent.click(input) - const dropdown = screen.getByRole('dialog') - const outsideClick = screen.getByText('Test outside element') - - expect(dropdown).toBeVisible() - await userEvent.click(outsideClick) - await userEvent.click(outsideClick) - - expect(dropdown).not.toBeVisible() - }) - test.skip('handles click on item', async () => { - const onChange = vi.fn() - - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - - await userEvent.click(input) - const dropdown = screen.getByRole('dialog') - const venus = screen.getByText('Venus') - - expect(dropdown).toBeVisible() - await userEvent.click(venus) - - expect(onChange).toHaveBeenCalledTimes(1) - }) - - test.skip('handles keydown when not searchable on ungrouped data', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const dropdown = screen.getByRole('dialog') - const venus = screen.getByRole('option', { - name: /venus/i, - }) - await userEvent.type(dropdown, 'v') - expect(venus).toHaveFocus() - await userEvent.type(dropdown, 'a') - }) - - test.skip('handles keydown when not searchable on grouped data', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const dropdown = screen.getByRole('dialog') - const venus = screen.getByRole('option', { - name: /venus/i, - }) - await userEvent.type(dropdown, 'v') - expect(venus).toHaveFocus() - await userEvent.type(dropdown, 'a') - }) - - test.skip('renders with onChange', async () => { - renderWithTheme( - values} - />, - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByText('Earth') - await userEvent.click(earth) - await userEvent.click(earth) - }) - test.skip('renders with onChange - multiselect', async () => { - renderWithTheme( - values} - multiselect - />, - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByTestId('option-earth') - await userEvent.click(earth) - await userEvent.click(earth) - }) - test.skip('handles correctly searchable and closest value - grouped data', async () => { - renderWithTheme( - values} - />, - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const dropdown = screen.getByRole('dialog') - expect(dropdown).toBeVisible() - const venus = screen.getByTestId('option-venus') - const earth = screen.getByTestId('option-earth') - - await userEvent.click(screen.getByTestId('search-bar')) - await userEvent.keyboard('e') - - expect(earth).toBeVisible() - expect(venus).toBeVisible() - - await userEvent.keyboard('a') - await userEvent.keyboard('[Enter]') - await userEvent.keyboard('[Enter]') // do not add when already added - expect(earth).toBeVisible() - expect(venus).not.toBeVisible() - - expect(input.textContent).toContain('Earth') - await userEvent.keyboard( - '[Backspace][Backspace][Backspace][Backspace][Backspace]', - ) - const mars = screen.getByText('Mars') - expect(mars).toBeVisible() - - const options = screen.getAllByRole('option') - await userEvent.keyboard('aa') - await userEvent.keyboard('[Enter]') - - for (const option of options) { - expect(option).not.toBeVisible() - } - - const emptyState = screen.getByText('No options') - expect(emptyState).toBeVisible() - - await userEvent.keyboard('[Backspace][Backspace]') - await userEvent.keyboard('ju') - await userEvent.keyboard('[Enter]') - expect(input.textContent).toContain('Jupiter') - }) - - test.skip('handles correctly with searchable and closest value - multiselect', async () => { - // There is issues with this test - renderWithTheme( - values} - searchable - />, - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const dropdown = screen.getByRole('dialog') - expect(dropdown).toBeVisible() - const venus = screen.getByText('Venus') - const earth = screen.getByText('Earth') - const earthCheckbox = screen.getByRole('checkbox', { - name: /earth/i, - }) - await userEvent.keyboard('[Enter]') // empty search doesn't do anything - await userEvent.keyboard('e') - expect(earth).toBeVisible() - expect(venus).toBeVisible() - - await userEvent.keyboard('a') - await userEvent.keyboard('[Enter]') - expect(venus).not.toBeVisible() - expect(earthCheckbox).toBeChecked() - - await userEvent.keyboard( - '[Backspace][Backspace][Backspace][Backspace][Backspace]', - ) - const mars = screen.getByTestId('option-mars') - expect(mars).toBeVisible() - await userEvent.click(mars) - await userEvent.click(screen.getByTestId('search-bar')) - - const options = screen.getAllByRole('option') - await userEvent.keyboard('aa') - await userEvent.keyboard('[Enter]') - - for (const option of options) { - expect(option).not.toBeVisible() - } - const emptyState = screen.getByText('No options') - expect(emptyState).toBeVisible() - }) - test.skip('handles correctly with searchable and closest value - multiselect & grouped data', async () => { - // There is issues with this test - renderWithTheme( - values} - searchable - />, - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const dropdown = screen.getByRole('dialog') - expect(dropdown).toBeVisible() - const venus = screen.getByText('Venus') - const earth = screen.getByText('Earth') - const earthCheckbox = screen.getByRole('checkbox', { - name: /earth/i, - }) - await userEvent.keyboard('[Enter]') // empty search doesn't do anything - await userEvent.keyboard('e') - expect(earth).toBeVisible() - expect(venus).toBeVisible() - - await userEvent.keyboard('a') - await userEvent.keyboard('[Enter]') - expect(venus).not.toBeVisible() - expect(earthCheckbox).toBeChecked() - - await userEvent.keyboard( - '[Backspace][Backspace][Backspace][Backspace][Backspace]', - ) - const mars = screen.getByTestId('option-mars') - expect(mars).toBeVisible() - await userEvent.click(mars) - await userEvent.click(screen.getByTestId('search-bar')) - - const options = screen.getAllByRole('option') - await userEvent.keyboard('aa') - await userEvent.keyboard('[Enter]') - - for (const option of options) { - expect(option).not.toBeVisible() - } - const emptyState = screen.getByText('No options') - expect(emptyState).toBeVisible() - - await userEvent.keyboard('[Backspace]') - await userEvent.keyboard('[Enter]') - }, 10000) - - test.skip('renders correctly selected tags when multiselect', async () => { - renderWithTheme( - values} - optionalInfoPlacement="left" - descriptionDirection="column" - />, - ) - - const closeTag = screen.getByTestId('close-tag') - const tag = screen.getByTestId('selected-options-tags') - expect(tag).toBeVisible() - await userEvent.click(closeTag) - expect(tag).not.toBeVisible() - - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const options = screen.getAllByRole('option') - - fireEvent.click(options[1]) - fireEvent.click(options[2]) - fireEvent.click(options[4]) - fireEvent.click(options[5]) - fireEvent.click(options[6]) - - const plustag = screen.getByTestId('plus-tag') - expect(plustag).toBeInTheDocument() - }) - - test.skip('handles correcty selectAll grouped data', async () => { - renderWithTheme( - values} - selectAll={{ - label: 'Select', - description: 'all', - }} - />, - ) - - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const selectAllCheckBox = screen.getByRole('checkbox', { - name: 'Select all', - }) - const selectAll = screen.getByTestId('select-all') - await userEvent.click(selectAll) - const plustag = screen.getByTestId('plus-tag') - expect(plustag).toBeInTheDocument() - - const venus = screen.getByTestId('option-venus') - const earth = screen.getByTestId('option-earth') - const earthCheckbox = screen.getByRole('checkbox', { - name: /earth/i, - }) - await userEvent.click(venus) - expect(selectAllCheckBox).not.toBeChecked() - await userEvent.click(venus) - expect(selectAllCheckBox).toBeChecked() - - await userEvent.click(selectAll) - expect(screen.getByText('placeholder')).toBeInTheDocument() - - await userEvent.click(selectAll) - await userEvent.click(earth) - await userEvent.click(screen.getByTestId('search-bar')) - - await userEvent.keyboard('ea') - await userEvent.keyboard('[Enter]') - - expect(earthCheckbox).toBeChecked() - - await userEvent.click(screen.getByTestId('search-bar')) - await userEvent.tab() - await userEvent.keyboard(' ') - expect(selectAllCheckBox).not.toBeChecked() - await userEvent.keyboard('[Enter]') - expect(selectAllCheckBox).toBeChecked() - await userEvent.keyboard('<') // Nothing when the user press any key - expect(selectAllCheckBox).toBeChecked() - }, 15000) - - test.skip('handles correcty selectAll ungrouped data', async () => { - renderWithTheme( - values} - selectAll={{ - label: 'Select', - description: 'all', - }} - />, - ) - - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const selectAllCheckBox = screen.getByRole('checkbox', { - name: 'Select all', - }) - const selectAll = screen.getByTestId('select-all') - await userEvent.click(selectAll) - const plustag = screen.getByTestId('plus-tag') - expect(plustag).toBeInTheDocument() - - const venus = screen.getByTestId('option-venus') - const earthCheckbox = screen.getByRole('checkbox', { - name: /earth/i, - }) - const earth = screen.getByTestId('option-earth') - await userEvent.click(venus) - expect(selectAllCheckBox).not.toBeChecked() - await userEvent.click(venus) - expect(selectAllCheckBox).toBeChecked() - - await userEvent.click(selectAll) - expect(screen.getByText('placeholder')).toBeInTheDocument() - - await userEvent.click(selectAll) - await userEvent.click(earth) - await userEvent.click(screen.getByTestId('search-bar')) - - await userEvent.keyboard('ea') - await userEvent.keyboard('[Enter]') - - expect(earthCheckbox).toBeChecked() - - await userEvent.click(screen.getByTestId('search-bar')) - await userEvent.tab() - await userEvent.keyboard(' ') - expect(selectAllCheckBox).not.toBeChecked() - await userEvent.keyboard('[Enter]') - expect(selectAllCheckBox).toBeChecked() - await userEvent.keyboard('<') // Nothing when the user press any key - expect(selectAllCheckBox).toBeChecked() - }, 10000) - - test.skip('handles correcty selectAllGroup', async () => { - renderWithTheme( - values} - selectAllGroup - />, - ) - - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const selectAllGroupCheckBox = screen.getByRole('checkbox', { - name: 'TERRESTRIAL PLANETS', - }) - const selectAllGroup = screen.getByTestId('group-0') - await userEvent.click(selectAllGroup) - const mercury = screen.getByRole('checkbox', { - name: /mercury/i, - }) - const venus = screen.getByRole('checkbox', { - name: /venus/i, - }) - const earth = screen.getByRole('checkbox', { - name: /earth/i, - }) - const jupiter = screen.getByRole('checkbox', { - name: /jupiter/i, - }) - - expect(mercury).toBeChecked() - expect(venus).toBeChecked() - expect(earth).toBeChecked() - expect(jupiter).not.toBeChecked() - - await userEvent.click(screen.getByTestId('option-mercury')) - expect(selectAllGroup).not.toBeChecked() - - await userEvent.click(screen.getByTestId('option-mercury')) - expect(selectAllGroupCheckBox).toBeChecked() - }, 10000) - - test.skip('handles correcty selectAllGroup - keyboard events', async () => { - renderWithTheme( - values} - selectAllGroup - />, - ) - - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const selectAllGroupCheckBox = screen.getByRole('checkbox', { - name: 'TERRESTRIAL PLANETS', - }) - const selectAllGroup = screen.getByTestId('group-0') - await userEvent.click(selectAllGroup) - const earth = screen.getByTestId('option-earth') - - await userEvent.click(earth) - await userEvent.click(screen.getByTestId('search-bar')) - - await userEvent.keyboard('ea') - await userEvent.keyboard('[Enter]') - - expect(selectAllGroupCheckBox).toBeChecked() - - await userEvent.click(selectAllGroup) - expect(selectAllGroupCheckBox).not.toBeChecked() - }, 10000) - - test.skip('handles correcty selectAllGroup with selectAll - grouped data', async () => { - renderWithTheme( - values} - selectAllGroup - selectAll={{ - label: 'Select', - description: 'all', - }} - />, - ) - - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const selectAllGroupCheckBox = screen.getByRole('checkbox', { - name: 'TERRESTRIAL PLANETS', - }) - const selectAllGroup = screen.getByTestId('group-0') - await userEvent.click(selectAllGroup) - const venus = screen.getByRole('checkbox', { - name: /venus/i, - }) - - const selectAllCheckBox = screen.getByRole('checkbox', { - name: 'Select all', - }) - const selectAll = screen.getByTestId('select-all') - await userEvent.click(selectAll) - - await userEvent.click(screen.getByTestId('option-venus')) - await userEvent.click(screen.getByTestId('search-bar')) - - await userEvent.keyboard('ve') - await userEvent.keyboard('[Enter]') - - expect(venus).toBeChecked() - expect(selectAllGroupCheckBox).toBeChecked() - expect(selectAllCheckBox).toBeChecked() - - await userEvent.click(selectAllGroup) - expect(selectAllGroupCheckBox).not.toBeChecked() - expect(selectAllCheckBox).not.toBeChecked() - - await userEvent.click(selectAllGroup) - expect(selectAllGroupCheckBox).toBeChecked() - expect(selectAllCheckBox).toBeChecked() - - await userEvent.tab() - await userEvent.keyboard(' ') - expect(selectAllCheckBox).not.toBeChecked() - await userEvent.keyboard('[Enter]') - expect(selectAllCheckBox).toBeChecked() - }, 10000) - - test.skip('handles correctly click on item - optionalInfoPlacement="left" & descriptionDirection="row" & multiselect', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByTestId('option-earth') - await userEvent.click(earth) - }) - test.skip('handles correctly click on item - optionalInfoPlacement="right" & descriptionDirection="row" & multiselect', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByTestId('option-earth') - await userEvent.click(earth) - }) - test.skip('handles correctly click on item - optionalInfoPlacement="left" & descriptionDirection="column" & multiselect', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByTestId('option-earth') - await userEvent.click(earth) - }) - test.skip('handles correctly click on item - optionalInfoPlacement="right" & descriptionDirection="column" & multiselect', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByTestId('option-earth') - await userEvent.click(earth) - }) - test.skip('handles correctly click on item - optionalInfoPlacement="left" & descriptionDirection="row"', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByTestId('option-earth') - await userEvent.click(earth) - }) - test.skip('handles correctly click on item - optionalInfoPlacement="right" & descriptionDirection="row"', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByTestId('option-earth') - await userEvent.click(earth) - }) - test.skip('handles correctly click on item - optionalInfoPlacement="left" & descriptionDirection="column"', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByTestId('option-earth') - await userEvent.click(earth) - }) - test.skip('handles correctly click on item - optionalInfoPlacement="right" & descriptionDirection="column"', async () => { - renderWithTheme( - , - ) - const input = screen.getByTestId('select-input-test') - await userEvent.click(input) - const earth = screen.getByTestId('option-earth') - await userEvent.click(earth) - }) - test.skip('renders correctly loading - grouped data', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly loading - ungrouped data', async () => { - const { asFragment } = renderWithTheme( - , - ) - const input = screen.getByText('placeholder') - await userEvent.click(input) - expect(asFragment()).toMatchSnapshot() - }) - - test.skip('renders correctly with function footer', async () => { - const f = vi.fn(() => {}) - - const { asFragment } = renderWithTheme( - ( - - )} - />, - ) - const input = screen.getByText('Pluto') - await userEvent.click(input) - - const footer = screen.getByTestId('buttonclose') - const dropdown = screen.getByRole('dialog') - expect(dropdown).toBeVisible() - - await userEvent.click(footer) - - expect(f).toHaveBeenCalledOnce() - setTimeout(() => expect(dropdown).not.toBeVisible(), 500) - - expect(asFragment()).toMatchSnapshot() - }) -}) diff --git a/packages/ui/src/components/SelectInputV2/index.tsx b/packages/ui/src/components/SelectInputV2/index.tsx deleted file mode 100644 index dda755bc25..0000000000 --- a/packages/ui/src/components/SelectInputV2/index.tsx +++ /dev/null @@ -1,278 +0,0 @@ -'use client' - -import styled from '@emotion/styled' -import { useId, useRef } from 'react' -import type { ComponentProps, HTMLAttributes, ReactNode } from 'react' -import { Label } from '../Label' -import type { Popup } from '../Popup' -import { Stack } from '../Stack' -import { Text } from '../Text' -import { Dropdown } from './Dropdown' -import { SelectBar } from './SelectBar' -import { SelectInputProvider } from './SelectInputProvider' -import type { DataType } from './types' - -type SelectInputV2Props = { - /** - * Input name - */ - name?: string - /** - * Place holder when no value defined - */ - placeholder?: string - /** - * When searchable, placeholder when no value is searched - */ - placeholderSearch?: string - /** - * Label of the component - */ - label?: string - /** - * Helper text to give more information to the user - */ - helper?: string - /** - * Selectable options - */ - options: DataType - /** - * Message to show when no option available - */ - emptyState?: ReactNode - /** - * Whether it is possible to search through the input - */ - searchable?: boolean - /** - * Whether the component in disabled - */ - disabled?: boolean - /** - * Whether the component in readOnly - */ - readOnly?: boolean - /** - * Whether it is possible to clear the search input - */ - clearable?: boolean - /** - * Size of the input - */ - size?: 'small' | 'medium' | 'large' - /** - * Whether field is required - */ - required?: boolean - /** - * More information regarding/description ofs the selectInput - */ - labelDescription?: ReactNode - /** - * Whether option description is on the right of the option or under it - */ - descriptionDirection?: 'row' | 'column' - /** - * Where to place the additional info prop - */ - optionalInfoPlacement?: 'left' | 'right' - /** - * To add custom fixed elements at the bottom of the dropdown - */ - footer?: ((closeDropdown: () => void) => ReactNode) | ReactNode - /** - * Display an error message under the select bar - */ - error?: string | boolean - /** - * Display a success message under the select bar - */ - success?: string - /** - * Load more button to implement lazy loading - */ - loadMore?: ReactNode - /** - * When the options are loading, display a skeleton - */ - isLoading?: boolean - /** - * Add a tooltip around the select bar - */ - tooltip?: string - /** - * Adds an option to select every selectable options - */ - selectAll?: { label: ReactNode; description?: string } - /** - * When options are group, define a option to select every selectable options of a group - */ - selectAllGroup?: boolean - dropdownAlign?: ComponentProps['align'] - autofocus?: boolean - /** - * Whether it is possible to select multiple options - */ - multiselect?: IsMulti - /** - * Default value, must be one of the options - */ - value?: IsMulti extends true ? string[] : string - onChange?: IsMulti extends true - ? (value: string[]) => void - : (value: string) => void - 'data-testid'?: string - /** - * In some cases, when the space is limited, you will need to change the `portalTarget` of the dropdown for a higher parent element. - * If you don't know which element to target, you can use `document.body`. - */ - portalTarget?: ComponentProps['portalTarget'] -} & Pick< - HTMLAttributes, - 'id' | 'onBlur' | 'onFocus' | 'aria-label' | 'className' -> - -const SelectInputContainer = styled.div` - width: 100%; -` -const HelperText = styled(Text)` - padding-top: ${({ theme }) => theme.space['0.5']}; -` - -/** - * SelectInputV2 component is used to select one or many elements from a selection. - */ -export const SelectInputV2 = ({ - name, - id, - onBlur, - onFocus, - onChange, - 'aria-label': ariaLabel, - value, - label, - helper, - options, - size = 'large', - emptyState, - descriptionDirection = 'column', - success, - error, - 'data-testid': dataTestId, - className, - tooltip, - footer, - placeholderSearch = 'Search in list', - placeholder = 'Select item', - searchable = true, - disabled = false, - readOnly = false, - clearable = false, - multiselect = false, - required = false, - labelDescription, - autofocus, - loadMore, - optionalInfoPlacement = 'right', - isLoading, - selectAll, - selectAllGroup = false, - dropdownAlign, - portalTarget, -}: SelectInputV2Props) => { - const localId = useId() - const finalId = id ?? localId - const ref = useRef(null) - const numberOfOptions = Array.isArray(options) - ? options.length - : Object.values(options).reduce( - (acc, current) => - acc + current.filter(option => !option.disabled).length, - 0, - ) - const finalDataTestId = dataTestId ?? `select-input-${name ?? 'name'}` - - return ( - - - - - {label || labelDescription ? ( - - ) : null} - - - - {!error && !success && helper ? ( - - {helper} - - ) : null} - {(error && typeof error === 'string') || success ? ( - - {error || success} - - ) : null} - - - ) -} diff --git a/packages/ui/src/components/SelectableCard/__stories__/Children.stories.tsx b/packages/ui/src/components/SelectableCard/__stories__/Children.stories.tsx index 8668d6db15..dcde3d1255 100644 --- a/packages/ui/src/components/SelectableCard/__stories__/Children.stories.tsx +++ b/packages/ui/src/components/SelectableCard/__stories__/Children.stories.tsx @@ -1,11 +1,12 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ChangeEvent } from 'react' import { useState } from 'react' import { SelectableCard } from '..' import { Badge } from '../../Badge' import { Checkbox } from '../../Checkbox' -import { SelectInputV2 } from '../../SelectInputV2' +import { SelectInput } from '../../SelectInput' import { Stack } from '../../Stack' +import { Text } from '../../Text' export const Children: StoryFn = args => { const [value, onChange] = useState('label-9') @@ -25,13 +26,15 @@ export const Children: StoryFn = args => { > {({ checked }) => ( - I am a children with a badge   - - info - + + I am a children with a badge   + + info + + )} @@ -47,23 +50,25 @@ export const Children: StoryFn = args => { label="Middle Radio" > - I am a children with clickable select input - - {}}> - First element - - {}}> - Second element - - - + + I am a children with clickable select input + + {}}> + First element + + {}}> + Second element + + + + { } > - This option will cost you 1.99€ and provide you with a lot of - happiness + + This option will cost you 1.99€ and provide you with a lot of + happiness + { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + @@ -96,17 +100,19 @@ export const Examples: StoryFn = args => { } > - This option will cost you 1.99€ and provide you with a lot of - happiness - + + This option will cost you 1.99€ and provide you with a lot of + happiness + + { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + @@ -157,8 +165,10 @@ export const Examples: StoryFn = args => { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + diff --git a/packages/ui/src/components/SelectableCard/__stories__/Illustration.stories.tsx b/packages/ui/src/components/SelectableCard/__stories__/Illustration.stories.tsx index 9fb4334b0c..bbffba9761 100644 --- a/packages/ui/src/components/SelectableCard/__stories__/Illustration.stories.tsx +++ b/packages/ui/src/components/SelectableCard/__stories__/Illustration.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { appleSiliconM2Wire, appleSiliconWire, @@ -39,8 +39,10 @@ export const Illustration: StoryFn = args => { productIcon="macMini" showTick > - Offer the best experience to your Mac, iPhone and iPad users with VNC, - the remote desktop-sharing protocol. + + Offer the best experience to your Mac, iPhone and iPad users with + VNC, the remote desktop-sharing protocol. + Learn more @@ -65,7 +67,9 @@ export const Illustration: StoryFn = args => { productIcon="macMiniM2" showTick > - Offer the best experience to your Mac + + Offer the best experience to your Mac + Learn more @@ -93,8 +97,10 @@ export const Illustration: StoryFn = args => { illustration={appleSiliconWire as string} showTick > - Offer the best experience to your Mac, iPhone and iPad users with VNC, - the remote desktop-sharing protocol. + + Offer the best experience to your Mac, iPhone and iPad users with + VNC, the remote desktop-sharing protocol. + Learn more @@ -119,7 +125,9 @@ export const Illustration: StoryFn = args => { illustration={appleSiliconM2Wire as string} showTick > - Offer the best experience to your Mac + + Offer the best experience to your Mac + Learn more diff --git a/packages/ui/src/components/SelectableCard/__stories__/ShowTick.stories.tsx b/packages/ui/src/components/SelectableCard/__stories__/ShowTick.stories.tsx index 10fbaacf2f..36bab92473 100644 --- a/packages/ui/src/components/SelectableCard/__stories__/ShowTick.stories.tsx +++ b/packages/ui/src/components/SelectableCard/__stories__/ShowTick.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { SelectableCard } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/SelectableCard/__stories__/Template.stories.tsx b/packages/ui/src/components/SelectableCard/__stories__/Template.stories.tsx index 09fa6b4129..9beccf6f50 100644 --- a/packages/ui/src/components/SelectableCard/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/SelectableCard/__stories__/Template.stories.tsx @@ -1,5 +1,6 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { SelectableCard } from '..' +import { Text } from '../../Text' export const Template: StoryFn = ({ ...props }) => ( @@ -7,5 +8,9 @@ export const Template: StoryFn = ({ ...props }) => ( Template.args = { label: 'Selectable Radio', - children: 'test', + children: ( + + test + + ), } diff --git a/packages/ui/src/components/SelectableCard/__stories__/Tooltip.stories.tsx b/packages/ui/src/components/SelectableCard/__stories__/Tooltip.stories.tsx index e83dfe7fc3..2f5ef54555 100644 --- a/packages/ui/src/components/SelectableCard/__stories__/Tooltip.stories.tsx +++ b/packages/ui/src/components/SelectableCard/__stories__/Tooltip.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { SelectableCard } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/SelectableCard/__stories__/Type.stories.tsx b/packages/ui/src/components/SelectableCard/__stories__/Type.stories.tsx index 97a160ec63..ccff9c5411 100644 --- a/packages/ui/src/components/SelectableCard/__stories__/Type.stories.tsx +++ b/packages/ui/src/components/SelectableCard/__stories__/Type.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { SelectableCard } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/SelectableCard/__stories__/index.stories.tsx b/packages/ui/src/components/SelectableCard/__stories__/index.stories.tsx index 4a37564f6a..4489e9b537 100644 --- a/packages/ui/src/components/SelectableCard/__stories__/index.stories.tsx +++ b/packages/ui/src/components/SelectableCard/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { SelectableCard } from '..' export default { diff --git a/packages/ui/src/components/SelectableCard/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/SelectableCard/__tests__/__snapshots__/index.test.tsx.snap index 61ebdf5b20..5742563f80 100644 --- a/packages/ui/src/components/SelectableCard/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/SelectableCard/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,13 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -19,13 +22,10 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -80,7 +80,7 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -89,10 +89,10 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -101,10 +101,10 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -112,10 +112,10 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -124,10 +124,10 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-5 { @@ -408,10 +408,11 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -420,11 +421,9 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-15[data-has-label='true'] { @@ -444,10 +443,11 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -456,11 +456,9 @@ exports[`SelectableCard > checkbox > renders correctly with aria label 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-15[data-has-label='true'] { @@ -554,10 +552,13 @@ exports[`SelectableCard > checkbox > renders correctly with checked prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -566,13 +567,10 @@ exports[`SelectableCard > checkbox > renders correctly with checked prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -652,7 +650,7 @@ exports[`SelectableCard > checkbox > renders correctly with checked prop 1`] = ` align-items: start; } -.emotion-3 .eqr7bqq4 { +.emotion-3 .eqr7bqq3 { cursor: pointer; } @@ -661,7 +659,7 @@ exports[`SelectableCard > checkbox > renders correctly with checked prop 1`] = ` color: #b5b7bd; } -.emotion-3[aria-disabled='true'] .eqr7bqq4 { +.emotion-3[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -734,7 +732,7 @@ exports[`SelectableCard > checkbox > renders correctly with checked prop 1`] = ` stroke: #e51963; } -.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq6 { +.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq5 { fill: #ffffff; } @@ -917,10 +915,11 @@ exports[`SelectableCard > checkbox > renders correctly with checked prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -929,11 +928,9 @@ exports[`SelectableCard > checkbox > renders correctly with checked prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-11[data-has-label='true'] { @@ -953,10 +950,11 @@ exports[`SelectableCard > checkbox > renders correctly with checked prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -965,11 +963,9 @@ exports[`SelectableCard > checkbox > renders correctly with checked prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-11[data-has-label='true'] { @@ -1063,10 +1059,13 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1075,13 +1074,10 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -1145,10 +1141,13 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1157,13 +1156,10 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -1243,7 +1239,7 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] align-items: start; } -.emotion-3 .eqr7bqq4 { +.emotion-3 .eqr7bqq3 { cursor: pointer; } @@ -1252,7 +1248,7 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] color: #b5b7bd; } -.emotion-3[aria-disabled='true'] .eqr7bqq4 { +.emotion-3[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -1325,7 +1321,7 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] stroke: #e51963; } -.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq6 { +.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq5 { fill: #ffffff; } @@ -1504,10 +1500,13 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1516,13 +1515,10 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-13 { @@ -1530,10 +1526,13 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1542,19 +1541,16 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-16 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -1570,10 +1566,11 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1582,11 +1579,9 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-18[data-has-label='true'] { @@ -1606,10 +1601,11 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1618,11 +1614,9 @@ exports[`SelectableCard > checkbox > renders correctly with complex children 1`] -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-18[data-has-label='true'] { @@ -1732,10 +1726,13 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1744,13 +1741,10 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -1805,7 +1799,7 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -1814,10 +1808,13 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1826,13 +1823,10 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -1887,7 +1881,7 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -1896,10 +1890,10 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1908,10 +1902,10 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -1919,10 +1913,10 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1931,10 +1925,10 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-5 { @@ -2329,7 +2323,7 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = .emotion-16 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2344,7 +2338,7 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = .emotion-16 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -2362,10 +2356,11 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2374,11 +2369,9 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-18[data-has-label='true'] { @@ -2398,10 +2391,11 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2410,11 +2404,9 @@ exports[`SelectableCard > checkbox > renders correctly with default props 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-18[data-has-label='true'] { @@ -2513,10 +2505,13 @@ exports[`SelectableCard > checkbox > renders correctly with disabled prop 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -2525,13 +2520,10 @@ exports[`SelectableCard > checkbox > renders correctly with disabled prop 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -2611,7 +2603,7 @@ exports[`SelectableCard > checkbox > renders correctly with disabled prop 1`] = align-items: start; } -.emotion-3 .eqr7bqq4 { +.emotion-3 .eqr7bqq3 { cursor: pointer; } @@ -2620,7 +2612,7 @@ exports[`SelectableCard > checkbox > renders correctly with disabled prop 1`] = color: #b5b7bd; } -.emotion-3[aria-disabled='true'] .eqr7bqq4 { +.emotion-3[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -2693,7 +2685,7 @@ exports[`SelectableCard > checkbox > renders correctly with disabled prop 1`] = stroke: #e51963; } -.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq6 { +.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq5 { fill: #ffffff; } @@ -2876,10 +2868,11 @@ exports[`SelectableCard > checkbox > renders correctly with disabled prop 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2888,11 +2881,9 @@ exports[`SelectableCard > checkbox > renders correctly with disabled prop 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-11[data-has-label='true'] { @@ -2912,10 +2903,11 @@ exports[`SelectableCard > checkbox > renders correctly with disabled prop 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2924,11 +2916,9 @@ exports[`SelectableCard > checkbox > renders correctly with disabled prop 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-11[data-has-label='true'] { @@ -3021,10 +3011,13 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -3033,13 +3026,10 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -3103,10 +3093,13 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -3115,13 +3108,10 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -3185,25 +3175,24 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + width: 100%; -webkit-flex: 1; -ms-flex: 1; flex: 1; - width: 100%; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -3211,10 +3200,10 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3223,10 +3212,9 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 1rem; max-width: calc(100% - 10rem); -webkit-flex: 0 1 auto; @@ -3255,7 +3243,7 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` align-items: start; } -.emotion-7 .eqr7bqq4 { +.emotion-7 .eqr7bqq3 { cursor: pointer; } @@ -3264,7 +3252,7 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` color: #b5b7bd; } -.emotion-7[aria-disabled='true'] .eqr7bqq4 { +.emotion-7[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -3337,7 +3325,7 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` stroke: #e51963; } -.emotion-7 .emotion-10[aria-checked="mixed"]+.emotion-12 .eqr7bqq6 { +.emotion-7 .emotion-10[aria-checked="mixed"]+.emotion-12 .eqr7bqq5 { fill: #ffffff; } @@ -3512,18 +3500,6 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: normal; - -webkit-box-align: normal; - -ms-flex-align: normal; - align-items: normal; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; @@ -3531,6 +3507,18 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` -webkit-flex: 1; -ms-flex: 1; flex: 1; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-17 { @@ -3538,10 +3526,13 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -3550,19 +3541,16 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-20 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -3578,10 +3566,11 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3590,11 +3579,9 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-22[data-has-label='true'] { @@ -3614,10 +3601,11 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3626,11 +3614,9 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-22[data-has-label='true'] { @@ -3650,10 +3636,10 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -3662,10 +3648,9 @@ exports[`SelectableCard > checkbox > renders correctly with illustration 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-26 { @@ -3811,10 +3796,13 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -3823,13 +3811,10 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -3893,10 +3878,13 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -3905,13 +3893,10 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -3991,7 +3976,7 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` align-items: start; } -.emotion-3 .eqr7bqq4 { +.emotion-3 .eqr7bqq3 { cursor: pointer; } @@ -4000,7 +3985,7 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` color: #b5b7bd; } -.emotion-3[aria-disabled='true'] .eqr7bqq4 { +.emotion-3[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -4073,7 +4058,7 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` stroke: #e51963; } -.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq6 { +.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq5 { fill: #ffffff; } @@ -4252,10 +4237,13 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4264,13 +4252,10 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-13 { @@ -4278,10 +4263,13 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -4290,19 +4278,16 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-16 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -4318,10 +4303,11 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4330,11 +4316,9 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-18[data-has-label='true'] { @@ -4354,10 +4338,11 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4366,11 +4351,9 @@ exports[`SelectableCard > checkbox > renders correctly with isError prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-18[data-has-label='true'] { @@ -4478,10 +4461,13 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -4490,13 +4476,10 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -4560,10 +4543,13 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -4572,13 +4558,10 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -4642,25 +4625,24 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + width: 100%; -webkit-flex: 1; -ms-flex: 1; flex: 1; - width: 100%; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -4668,10 +4650,10 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4680,10 +4662,9 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 1rem; max-width: calc(100% - 10rem); -webkit-flex: 0 1 auto; @@ -4712,7 +4693,7 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` align-items: start; } -.emotion-7 .eqr7bqq4 { +.emotion-7 .eqr7bqq3 { cursor: pointer; } @@ -4721,7 +4702,7 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` color: #b5b7bd; } -.emotion-7[aria-disabled='true'] .eqr7bqq4 { +.emotion-7[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -4794,7 +4775,7 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` stroke: #e51963; } -.emotion-7 .emotion-10[aria-checked="mixed"]+.emotion-12 .eqr7bqq6 { +.emotion-7 .emotion-10[aria-checked="mixed"]+.emotion-12 .eqr7bqq5 { fill: #ffffff; } @@ -4969,10 +4950,13 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -4981,13 +4965,10 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-17 { @@ -4995,10 +4976,13 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -5007,19 +4991,16 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-20 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -5035,10 +5016,11 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5047,11 +5029,9 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-22[data-has-label='true'] { @@ -5071,10 +5051,11 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5083,11 +5064,9 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-22[data-has-label='true'] { @@ -5107,10 +5086,10 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5119,10 +5098,9 @@ exports[`SelectableCard > checkbox > renders correctly with productIcon 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-26 { @@ -5295,10 +5273,13 @@ exports[`SelectableCard > checkbox > renders correctly with showTick 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -5307,13 +5288,10 @@ exports[`SelectableCard > checkbox > renders correctly with showTick 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -5393,7 +5371,7 @@ exports[`SelectableCard > checkbox > renders correctly with showTick 1`] = ` align-items: start; } -.emotion-3 .eqr7bqq4 { +.emotion-3 .eqr7bqq3 { cursor: pointer; } @@ -5402,7 +5380,7 @@ exports[`SelectableCard > checkbox > renders correctly with showTick 1`] = ` color: #b5b7bd; } -.emotion-3[aria-disabled='true'] .eqr7bqq4 { +.emotion-3[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -5475,7 +5453,7 @@ exports[`SelectableCard > checkbox > renders correctly with showTick 1`] = ` stroke: #e51963; } -.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq6 { +.emotion-3 .emotion-6[aria-checked="mixed"]+.emotion-8 .eqr7bqq5 { fill: #ffffff; } @@ -5650,10 +5628,11 @@ exports[`SelectableCard > checkbox > renders correctly with showTick 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5662,11 +5641,9 @@ exports[`SelectableCard > checkbox > renders correctly with showTick 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-11[data-has-label='true'] { @@ -5686,10 +5663,11 @@ exports[`SelectableCard > checkbox > renders correctly with showTick 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5698,11 +5676,9 @@ exports[`SelectableCard > checkbox > renders correctly with showTick 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-11[data-has-label='true'] { @@ -5795,10 +5771,13 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -5807,13 +5786,9 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-2 { @@ -5833,18 +5808,6 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-align-items: start; - -webkit-box-align: start; - -ms-flex-align: start; - align-items: start; - -webkit-box-pack: normal; - -ms-flex-pack: normal; - -webkit-justify-content: normal; - justify-content: normal; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; @@ -5852,6 +5815,18 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` -webkit-flex: 1; -ms-flex: 1; flex: 1; + -webkit-align-items: start; + -webkit-box-align: start; + -ms-flex-align: start; + align-items: start; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -5915,10 +5890,13 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -5927,13 +5905,10 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -6013,7 +5988,7 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` align-items: start; } -.emotion-7 .eqr7bqq4 { +.emotion-7 .eqr7bqq3 { cursor: pointer; } @@ -6022,7 +5997,7 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` color: #b5b7bd; } -.emotion-7[aria-disabled='true'] .eqr7bqq4 { +.emotion-7[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -6095,7 +6070,7 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` stroke: #e51963; } -.emotion-7 .emotion-10[aria-checked="mixed"]+.emotion-12 .eqr7bqq6 { +.emotion-7 .emotion-10[aria-checked="mixed"]+.emotion-12 .eqr7bqq5 { fill: #ffffff; } @@ -6274,10 +6249,13 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6286,13 +6264,10 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-17 { @@ -6300,10 +6275,13 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -6312,19 +6290,16 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-20 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -6340,10 +6315,11 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6352,11 +6328,9 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-22[data-has-label='true'] { @@ -6376,10 +6350,11 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6388,11 +6363,9 @@ exports[`SelectableCard > checkbox > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-22[data-has-label='true'] { @@ -6510,10 +6483,13 @@ exports[`SelectableCard > radio > renders correctly with aria label 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -6522,13 +6498,10 @@ exports[`SelectableCard > radio > renders correctly with aria label 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -6583,7 +6556,7 @@ exports[`SelectableCard > radio > renders correctly with aria label 1`] = ` } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -6592,10 +6565,10 @@ exports[`SelectableCard > radio > renders correctly with aria label 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6604,10 +6577,10 @@ exports[`SelectableCard > radio > renders correctly with aria label 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-5 { @@ -6814,10 +6787,11 @@ exports[`SelectableCard > radio > renders correctly with aria label 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -6826,11 +6800,9 @@ exports[`SelectableCard > radio > renders correctly with aria label 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-15[data-has-label='true'] { @@ -6924,10 +6896,13 @@ exports[`SelectableCard > radio > renders correctly with checked prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -6936,13 +6911,10 @@ exports[`SelectableCard > radio > renders correctly with checked prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -6997,7 +6969,7 @@ exports[`SelectableCard > radio > renders correctly with checked prop 1`] = ` } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -7006,10 +6978,10 @@ exports[`SelectableCard > radio > renders correctly with checked prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7018,10 +6990,10 @@ exports[`SelectableCard > radio > renders correctly with checked prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-5 { @@ -7228,10 +7200,11 @@ exports[`SelectableCard > radio > renders correctly with checked prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7240,11 +7213,9 @@ exports[`SelectableCard > radio > renders correctly with checked prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-15[data-has-label='true'] { @@ -7339,10 +7310,13 @@ exports[`SelectableCard > radio > renders correctly with complex children 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -7351,13 +7325,10 @@ exports[`SelectableCard > radio > renders correctly with complex children 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -7412,7 +7383,7 @@ exports[`SelectableCard > radio > renders correctly with complex children 1`] = } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -7421,10 +7392,10 @@ exports[`SelectableCard > radio > renders correctly with complex children 1`] = display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7433,10 +7404,10 @@ exports[`SelectableCard > radio > renders correctly with complex children 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-5 { @@ -7636,7 +7607,7 @@ exports[`SelectableCard > radio > renders correctly with complex children 1`] = .emotion-16 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -7653,11 +7624,12 @@ exports[`SelectableCard > radio > renders correctly with complex children 1`] = display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; - display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7666,11 +7638,9 @@ exports[`SelectableCard > radio > renders correctly with complex children 1`] = -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-18[data-has-label='true'] { @@ -7773,10 +7743,13 @@ exports[`SelectableCard > radio > renders correctly with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -7785,13 +7758,10 @@ exports[`SelectableCard > radio > renders correctly with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -7846,7 +7816,7 @@ exports[`SelectableCard > radio > renders correctly with default props 1`] = ` } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -7855,10 +7825,10 @@ exports[`SelectableCard > radio > renders correctly with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -7867,10 +7837,10 @@ exports[`SelectableCard > radio > renders correctly with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-5 { @@ -8070,7 +8040,7 @@ exports[`SelectableCard > radio > renders correctly with default props 1`] = ` .emotion-16 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -8088,10 +8058,11 @@ exports[`SelectableCard > radio > renders correctly with default props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8100,11 +8071,9 @@ exports[`SelectableCard > radio > renders correctly with default props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-18[data-has-label='true'] { @@ -8203,10 +8172,13 @@ exports[`SelectableCard > radio > renders correctly with disabled prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -8215,13 +8187,10 @@ exports[`SelectableCard > radio > renders correctly with disabled prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -8276,7 +8245,7 @@ exports[`SelectableCard > radio > renders correctly with disabled prop 1`] = ` } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -8285,10 +8254,10 @@ exports[`SelectableCard > radio > renders correctly with disabled prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8297,10 +8266,10 @@ exports[`SelectableCard > radio > renders correctly with disabled prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-5 { @@ -8507,10 +8476,11 @@ exports[`SelectableCard > radio > renders correctly with disabled prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8519,11 +8489,9 @@ exports[`SelectableCard > radio > renders correctly with disabled prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-15[data-has-label='true'] { @@ -8617,10 +8585,13 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -8629,13 +8600,10 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -8690,7 +8658,7 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` } .emotion-0[data-has-label='true'] .emotion-7, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -8699,25 +8667,24 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + width: 100%; -webkit-flex: 1; -ms-flex: 1; flex: 1; - width: 100%; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -8725,10 +8692,10 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8737,10 +8704,9 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 1rem; max-width: calc(100% - 10rem); -webkit-flex: 0 1 auto; @@ -8753,10 +8719,10 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8765,10 +8731,10 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-9 { @@ -8964,7 +8930,7 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` .emotion-20 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -8982,10 +8948,11 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -8994,11 +8961,9 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-22[data-has-label='true'] { @@ -9018,10 +8983,10 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9030,10 +8995,9 @@ exports[`SelectableCard > radio > renders correctly with illustration 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-26 { @@ -9172,10 +9136,13 @@ exports[`SelectableCard > radio > renders correctly with isError prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -9184,13 +9151,10 @@ exports[`SelectableCard > radio > renders correctly with isError prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -9245,7 +9209,7 @@ exports[`SelectableCard > radio > renders correctly with isError prop 1`] = ` } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -9254,10 +9218,10 @@ exports[`SelectableCard > radio > renders correctly with isError prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9266,10 +9230,10 @@ exports[`SelectableCard > radio > renders correctly with isError prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-5 { @@ -9469,7 +9433,7 @@ exports[`SelectableCard > radio > renders correctly with isError prop 1`] = ` .emotion-16 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -9487,10 +9451,11 @@ exports[`SelectableCard > radio > renders correctly with isError prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9499,11 +9464,9 @@ exports[`SelectableCard > radio > renders correctly with isError prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-18[data-has-label='true'] { @@ -9604,10 +9567,13 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -9616,13 +9582,10 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -9677,7 +9640,7 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` } .emotion-0[data-has-label='true'] .emotion-7, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -9686,25 +9649,24 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: stretch; - -webkit-box-align: stretch; - -ms-flex-align: stretch; - align-items: stretch; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - justify-content: space-between; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; + width: 100%; -webkit-flex: 1; -ms-flex: 1; flex: 1; - width: 100%; + -webkit-align-items: stretch; + -webkit-box-align: stretch; + -ms-flex-align: stretch; + align-items: stretch; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-4 { @@ -9712,10 +9674,10 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9724,10 +9686,9 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; padding: 1rem; max-width: calc(100% - 10rem); -webkit-flex: 0 1 auto; @@ -9740,10 +9701,10 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9752,10 +9713,10 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-9 { @@ -9951,7 +9912,7 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` .emotion-20 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -9969,10 +9930,11 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -9981,11 +9943,9 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-22[data-has-label='true'] { @@ -10005,10 +9965,10 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10017,10 +9977,9 @@ exports[`SelectableCard > radio > renders correctly with productIcon 1`] = ` -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-26 { @@ -10186,10 +10145,13 @@ exports[`SelectableCard > radio > renders correctly with showTick 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -10198,13 +10160,10 @@ exports[`SelectableCard > radio > renders correctly with showTick 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -10259,7 +10218,7 @@ exports[`SelectableCard > radio > renders correctly with showTick 1`] = ` } .emotion-0[data-has-label='true'] .emotion-3, -.emotion-0[data-has-label='true'] .eqr7bqq1 { +.emotion-0[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -10268,10 +10227,10 @@ exports[`SelectableCard > radio > renders correctly with showTick 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10280,10 +10239,10 @@ exports[`SelectableCard > radio > renders correctly with showTick 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-5 { @@ -10482,10 +10441,11 @@ exports[`SelectableCard > radio > renders correctly with showTick 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10494,11 +10454,9 @@ exports[`SelectableCard > radio > renders correctly with showTick 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-15[data-has-label='true'] { @@ -10592,10 +10550,13 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10604,13 +10565,9 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-2 { @@ -10630,10 +10587,13 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -10642,13 +10602,10 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -10703,7 +10660,7 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` } .emotion-4[data-has-label='true'] .emotion-7, -.emotion-4[data-has-label='true'] .eqr7bqq1 { +.emotion-4[data-has-label='true'] .eqr7bqq0 { width: 100%; } @@ -10712,10 +10669,10 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10724,10 +10681,10 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-9 { @@ -10927,7 +10884,7 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` .emotion-20 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -10945,10 +10902,11 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + width: 100%; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -10957,11 +10915,9 @@ exports[`SelectableCard > radio > renders correctly with tooltip prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - width: 100%; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; } .emotion-22[data-has-label='true'] { diff --git a/packages/ui/src/components/SelectableCardGroup/__stories__/Checkbox.tsx b/packages/ui/src/components/SelectableCardGroup/__stories__/Checkbox.tsx index 12136cada1..23b5ad8a40 100644 --- a/packages/ui/src/components/SelectableCardGroup/__stories__/Checkbox.tsx +++ b/packages/ui/src/components/SelectableCardGroup/__stories__/Checkbox.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { SelectableCardGroup } from '..' diff --git a/packages/ui/src/components/SelectableCardGroup/__stories__/Columns.stories.tsx b/packages/ui/src/components/SelectableCardGroup/__stories__/Columns.stories.tsx index 43625d7db5..5ab35ebce0 100644 --- a/packages/ui/src/components/SelectableCardGroup/__stories__/Columns.stories.tsx +++ b/packages/ui/src/components/SelectableCardGroup/__stories__/Columns.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { SelectableCardGroup } from '..' diff --git a/packages/ui/src/components/SelectableCardGroup/__stories__/Error.stories.tsx b/packages/ui/src/components/SelectableCardGroup/__stories__/Error.stories.tsx index 391c8e4ab3..e1a1223ba5 100644 --- a/packages/ui/src/components/SelectableCardGroup/__stories__/Error.stories.tsx +++ b/packages/ui/src/components/SelectableCardGroup/__stories__/Error.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { SelectableCardGroup } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/SelectableCardGroup/__stories__/Examples.stories.tsx b/packages/ui/src/components/SelectableCardGroup/__stories__/Examples.stories.tsx index 134abd7254..d83da65cb7 100644 --- a/packages/ui/src/components/SelectableCardGroup/__stories__/Examples.stories.tsx +++ b/packages/ui/src/components/SelectableCardGroup/__stories__/Examples.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { SelectableCardGroup } from '..' import { Badge } from '../../Badge' @@ -40,8 +40,10 @@ export const Examples: StoryFn = args => { } > - This option will cost you 1.99€ and provide you with a lot of - happiness + + This option will cost you 1.99€ and provide you with a lot of + happiness + { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + @@ -95,8 +99,10 @@ export const Examples: StoryFn = args => { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + { } > - This option will cost you 2.99€ and provide you with a lot more of - happiness + + This option will cost you 2.99€ and provide you with a lot more of + happiness + diff --git a/packages/ui/src/components/SelectableCardGroup/__stories__/Template.stories.tsx b/packages/ui/src/components/SelectableCardGroup/__stories__/Template.stories.tsx index 2e4331b19f..14ca57e684 100644 --- a/packages/ui/src/components/SelectableCardGroup/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/SelectableCardGroup/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { SelectableCardGroup } from '..' diff --git a/packages/ui/src/components/SelectableCardGroup/__stories__/index.stories.tsx b/packages/ui/src/components/SelectableCardGroup/__stories__/index.stories.tsx index b8e93f275f..493f5692f3 100644 --- a/packages/ui/src/components/SelectableCardGroup/__stories__/index.stories.tsx +++ b/packages/ui/src/components/SelectableCardGroup/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { SelectableCardGroup } from '..' export default { diff --git a/packages/ui/src/components/SelectableCardGroup/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/SelectableCardGroup/__tests__/__snapshots__/index.test.tsx.snap index 444af7206b..110647924f 100644 --- a/packages/ui/src/components/SelectableCardGroup/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/SelectableCardGroup/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; } .emotion-2 { @@ -36,10 +36,10 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.75rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -48,24 +48,26 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.75rem; } -.emotion-6 { +.emotion-7 { + color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; text-transform: none; -webkit-text-decoration: none; text-decoration: none; + cursor: text; } -.emotion-8 { +.emotion-9 { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; @@ -79,15 +81,18 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` justify-content: normal; } -.emotion-10 { +.emotion-11 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -96,13 +101,10 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; position: relative; padding: 1rem; border-radius: 0.25rem; @@ -114,54 +116,54 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` color: #3f4250; } -.emotion-10[data-has-label='false']>:first-child { +.emotion-11[data-has-label='false']>:first-child { margin-bottom: -0.25rem; } -.emotion-10[data-has-default-cursor='true'] { +.emotion-11[data-has-default-cursor='true'] { cursor: default; } -.emotion-10[data-checked='true'] { +.emotion-11[data-checked='true'] { border: 1px solid #8c40ef; } -.emotion-10[data-error='true'] { +.emotion-11[data-error='true'] { border: 1px solid #b3144d; } -.emotion-10[data-disabled='true'] { +.emotion-11[data-disabled='true'] { border: 1px solid #e9eaeb; color: #b5b7bd; background: #f3f3f4; cursor: not-allowed; } -.emotion-10[data-image="illustration"] { +.emotion-11[data-image="illustration"] { padding: 0rem; } -.emotion-10[data-image="icon"] { +.emotion-11[data-image="icon"] { padding: 0rem; padding-right: 1rem; } -.emotion-10:hover:not([data-error='true']):not([data-disabled='true']), -.emotion-10:active:not([data-error='true']):not([data-disabled='true']) { +.emotion-11:hover:not([data-error='true']):not([data-disabled='true']), +.emotion-11:active:not([data-error='true']):not([data-disabled='true']) { border: 1px solid #8c40ef; } -.emotion-10:hover:not([data-error='true']):not([data-disabled='true'])[data-cheked='false'], -.emotion-10:active:not([data-error='true']):not([data-disabled='true'])[data-cheked='false'] { +.emotion-11:hover:not([data-error='true']):not([data-disabled='true'])[data-cheked='false'], +.emotion-11:active:not([data-error='true']):not([data-disabled='true'])[data-cheked='false'] { box-shadow: 0px 4px 16px 4px #f6f3ffcc; } -.emotion-10[data-has-label='true'] .ehkrmld6, -.emotion-10[data-has-label='true'] .emotion-14 { +.emotion-11[data-has-label='true'] .ehkrmld6, +.emotion-11[data-has-label='true'] .emotion-15 { width: 100%; } -.emotion-13 { +.emotion-14 { position: relative; display: -webkit-inline-box; display: -webkit-inline-flex; @@ -182,65 +184,65 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` align-items: start; } -.emotion-13 .eqr7bqq4 { +.emotion-14 .eqr7bqq3 { cursor: pointer; } -.emotion-13[aria-disabled='true'] { +.emotion-14[aria-disabled='true'] { cursor: not-allowed; color: #b5b7bd; } -.emotion-13[aria-disabled='true'] .eqr7bqq4 { +.emotion-14[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } -.emotion-13[aria-disabled='true'] .emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-19 { fill: #e9eaeb; } -.emotion-13[aria-disabled='true'] .emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-19 .emotion-21 { stroke: #d9dadd; fill: #f3f3f4; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]:checked+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]:checked+.emotion-19 { fill: #ffd3e3; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]:checked+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]:checked+.emotion-19 .emotion-21 { stroke: #ffd3e3; fill: #ffd3e3; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]+.emotion-19 { fill: #ffebf2; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-invalid="true"]+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-invalid="true"]+.emotion-19 .emotion-21 { stroke: #ffbbd3; fill: #ffebf2; } -.emotion-13[aria-disabled='true'] .emotion-16:checked+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17:checked+.emotion-19 { fill: #e5dbfd; } -.emotion-13[aria-disabled='true'] .emotion-16:checked+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17:checked+.emotion-19 .emotion-21 { stroke: #d8c5fc; fill: #d8c5fc; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-checked="mixed"]+.emotion-18 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-checked="mixed"]+.emotion-19 { fill: #e5dbfd; } -.emotion-13[aria-disabled='true'] .emotion-16[aria-checked="mixed"]+.emotion-18 .emotion-20 { +.emotion-14[aria-disabled='true'] .emotion-17[aria-checked="mixed"]+.emotion-19 .emotion-21 { stroke: #e5dbfd; fill: #e5dbfd; } -.emotion-13 .emotion-16:checked+.emotion-18 path { +.emotion-14 .emotion-17:checked+.emotion-19 path { transform-origin: center; -webkit-transition: 200ms -webkit-transform ease-in-out; transition: 200ms transform ease-in-out; @@ -254,107 +256,107 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` transform: translate(2px, 2px); } -.emotion-13 .emotion-16:checked+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17:checked+.emotion-19 .emotion-21 { fill: #8c40ef; stroke: #8c40ef; } -.emotion-13 .emotion-16[aria-invalid="true"]:checked+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-invalid="true"]:checked+.emotion-19 .emotion-21 { fill: #e51963; stroke: #e51963; } -.emotion-13 .emotion-16[aria-checked="mixed"]+.emotion-18 .eqr7bqq6 { +.emotion-14 .emotion-17[aria-checked="mixed"]+.emotion-19 .eqr7bqq5 { fill: #ffffff; } -.emotion-13 .emotion-16[aria-checked="mixed"]+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-checked="mixed"]+.emotion-19 .emotion-21 { fill: #8c40ef; stroke: #8c40ef; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='false']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='false']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #e5dbfd; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='true']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='true']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #792dd4; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='mixed']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='mixed']+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #792dd4; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='true'][aria-checked='false']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true'][aria-checked='false']+.emotion-19 .emotion-21 { stroke: #92103f; fill: #ffd3e3; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='true'][aria-checked='true']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='true'][aria-checked='true']+.emotion-19 .emotion-21 { stroke: #d6175c; fill: #d6175c; } -.emotion-13 .emotion-16[aria-invalid="true"]+.emotion-18 { +.emotion-14 .emotion-17[aria-invalid="true"]+.emotion-19 { fill: #e51963; } -.emotion-13 .emotion-16[aria-invalid="true"]+.emotion-18 .emotion-20 { +.emotion-14 .emotion-17[aria-invalid="true"]+.emotion-19 .emotion-21 { stroke: #e51963; fill: #ffebf2; } -.emotion-13[data-checked='true'] { +.emotion-14[data-checked='true'] { color: #641cb3; } -.emotion-13[data-error='true'] { +.emotion-14[data-error='true'] { color: #b3144d; } -.emotion-13[aria-disabled='true'] { +.emotion-14[aria-disabled='true'] { color: #b5b7bd; } -.emotion-13 input+svg { +.emotion-14 input+svg { display: none; } -.emotion-13 label { +.emotion-14 label { width: 100%; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='false']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='false']+.emotion-19 .emotion-21 { fill: #ffffff; stroke: #d9dadd; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='true']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='true']+.emotion-19 .emotion-21 { stroke: #8c40ef; fill: #8c40ef; } -.emotion-13:hover[aria-disabled='false'] .emotion-16[aria-invalid='false'][aria-checked='mixed']+.emotion-18 .emotion-20 { +.emotion-14:hover[aria-disabled='false'] .emotion-17[aria-invalid='false'][aria-checked='mixed']+.emotion-19 .emotion-21 { stroke: #8c40ef; fill: #8c40ef; } -.emotion-13 .emotion-16:focus+.emotion-18, -.emotion-13 .emotion-16:active+.emotion-18 { +.emotion-14 .emotion-17:focus+.emotion-19, +.emotion-14 .emotion-17:active+.emotion-19 { outline: none; background-color: #ffffff; fill: #ffffff; } -.emotion-13 .emotion-16[aria-checked='false'] .emotion-20 { +.emotion-14 .emotion-17[aria-checked='false'] .emotion-21 { fill: #ffffff; stroke: #d9dadd; } -.emotion-15 { +.emotion-16 { position: absolute; white-space: nowrap; height: 1.5rem; @@ -363,57 +365,57 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` border-width: 0; } -.emotion-15:not(:disabled) { +.emotion-16:not(:disabled) { cursor: pointer; } -.emotion-15:disabled { +.emotion-16:disabled { cursor: not-allowed; } -.emotion-15:not(:disabled):checked+.emotion-18, -.emotion-15:not(:disabled)[aria-checked='mixed']+.emotion-18 { +.emotion-16:not(:disabled):checked+.emotion-19, +.emotion-16:not(:disabled)[aria-checked='mixed']+.emotion-19 { fill: #8c40ef; } -.emotion-15:not(:disabled):checked+.emotion-18 .emotion-20, -.emotion-15:not(:disabled)[aria-checked='mixed']+.emotion-18 .emotion-20 { +.emotion-16:not(:disabled):checked+.emotion-19 .emotion-21, +.emotion-16:not(:disabled)[aria-checked='mixed']+.emotion-19 .emotion-21 { stroke: #8c40ef; } -.emotion-15:not(:disabled)[aria-invalid='true']+.emotion-18, -.emotion-15:not(:disabled)[aria-invalid='mixed']+.emotion-18 { +.emotion-16:not(:disabled)[aria-invalid='true']+.emotion-19, +.emotion-16:not(:disabled)[aria-invalid='mixed']+.emotion-19 { fill: #ffebf2; } -.emotion-15:not(:disabled)[aria-invalid='true']+.emotion-18 .emotion-20, -.emotion-15:not(:disabled)[aria-invalid='mixed']+.emotion-18 .emotion-20 { +.emotion-16:not(:disabled)[aria-invalid='true']+.emotion-19 .emotion-21, +.emotion-16:not(:disabled)[aria-invalid='mixed']+.emotion-19 .emotion-21 { stroke: #b3144d; } -.emotion-15:focus+.emotion-18 { +.emotion-16:focus+.emotion-19 { background-color: #f1eefc; fill: #ffebf2; outline: 1px solid 0px 0px 0px 3px #8c40ef40; } -.emotion-15:focus+.emotion-18 .emotion-20 { +.emotion-16:focus+.emotion-19 .emotion-21 { stroke: #792dd4; fill: #e5dbfd; } -.emotion-15[aria-invalid='true']:focus+.emotion-18 { +.emotion-16[aria-invalid='true']:focus+.emotion-19 { background-color: #ffebf2; fill: #ffebf2; outline: 1px solid 0px 0px 0px 3px #f91b6c40; } -.emotion-15[aria-invalid='true']:focus+.emotion-18 .emotion-20 { +.emotion-16[aria-invalid='true']:focus+.emotion-19 .emotion-21 { stroke: #92103f; fill: #ffd3e3; } -.emotion-17 { +.emotion-18 { border-radius: 0.25rem; height: 1.5rem; width: 1.5rem; @@ -421,7 +423,7 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` min-height: 1.5rem; } -.emotion-17 path { +.emotion-18 path { fill: #ffffff; -webkit-transform: translate(2px, 2px); -moz-transform: translate(2px, 2px); @@ -433,20 +435,23 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` transform: scale(0); } -.emotion-19 { +.emotion-20 { fill: #ffffff; stroke: #d9dadd; } -.emotion-21 { +.emotion-22 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -455,6 +460,17 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-24 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; @@ -462,17 +478,6 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` -webkit-flex: 1; -ms-flex: 1; flex: 1; -} - -.emotion-23 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -481,19 +486,16 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } -.emotion-26 { +.emotion-27 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -517,15 +519,15 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` class="emotion-4 emotion-1" > - Label   + Label
renders correctly 1`] = ` >
@@ -546,7 +548,7 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` aria-checked="true" aria-invalid="false" checked="" - class="emotion-15 emotion-16" + class="emotion-16 emotion-17" id="«r2»" name="checkbox" tabindex="-1" @@ -554,13 +556,13 @@ exports[`SelectableCardGroup > renders correctly 1`] = ` value="value-1" /> renders correctly 1`] = `
renders correctly 1`] = ` >
renders correctly 1`] = ` value="value-2" /> renders correctly 1`] = `
))} diff --git a/packages/ui/src/components/Table/__stories__/index.stories.tsx b/packages/ui/src/components/Table/__stories__/index.stories.tsx index 7bd41bbb4c..c957de81ff 100644 --- a/packages/ui/src/components/Table/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Table/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Table } from '..' export default { diff --git a/packages/ui/src/components/Table/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Table/__tests__/__snapshots__/index.test.tsx.snap index 8414b95dcd..8e553f49a8 100644 --- a/packages/ui/src/components/Table/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Table/__tests__/__snapshots__/index.test.tsx.snap @@ -49,7 +49,7 @@ exports[`Table > Should render correctly 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -581,7 +581,7 @@ exports[`Table > Should render correctly with bad sort value 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -605,7 +605,7 @@ exports[`Table > Should render correctly with bad sort value 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1166,7 +1166,7 @@ exports[`Table > Should render correctly with highlight animation on Table.Row 1 .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1190,7 +1190,7 @@ exports[`Table > Should render correctly with highlight animation on Table.Row 1 .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1225,11 +1225,11 @@ exports[`Table > Should render correctly with highlight animation on Table.Row 1 .emotion-13 { vertical-align: middle; - fill: #727683; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-13 .fillStroke { @@ -1343,11 +1343,11 @@ exports[`Table > Should render correctly with highlight animation on Table.Row 1 > @@ -1748,7 +1748,7 @@ exports[`Table > Should render correctly with info 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1772,7 +1772,7 @@ exports[`Table > Should render correctly with info 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -1807,11 +1807,11 @@ exports[`Table > Should render correctly with info 1`] = ` .emotion-13 { vertical-align: middle; - fill: #727683; - height: 1.5rem; - width: 1.5rem; - min-width: 1.5rem; - min-height: 1.5rem; + fill: #3f4250; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-13 .fillStroke { @@ -1925,11 +1925,11 @@ exports[`Table > Should render correctly with info 1`] = ` > @@ -2325,7 +2325,7 @@ exports[`Table > Should render correctly with loading 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -3009,7 +3009,7 @@ exports[`Table > Should render correctly with selectDisabled as a string 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -3033,7 +3033,7 @@ exports[`Table > Should render correctly with selectDisabled as a string 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -3585,7 +3585,7 @@ exports[`Table > Should render correctly with selectable and shift click 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -3609,7 +3609,7 @@ exports[`Table > Should render correctly with selectable and shift click 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -3643,7 +3643,7 @@ exports[`Table > Should render correctly with selectable and shift click 1`] = ` gap: 0.5rem; } -.emotion-11 .eqr7bqq4 { +.emotion-11 .eqr7bqq3 { cursor: pointer; } @@ -3652,7 +3652,7 @@ exports[`Table > Should render correctly with selectable and shift click 1`] = ` color: #b5b7bd; } -.emotion-11[aria-disabled='true'] .eqr7bqq4 { +.emotion-11[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -3964,7 +3964,7 @@ exports[`Table > Should render correctly with selectable and shift click 1`] = ` gap: 0.5rem; } -.emotion-54 .eqr7bqq4 { +.emotion-54 .eqr7bqq3 { cursor: pointer; } @@ -3973,7 +3973,7 @@ exports[`Table > Should render correctly with selectable and shift click 1`] = ` color: #b5b7bd; } -.emotion-54[aria-disabled='true'] .eqr7bqq4 { +.emotion-54[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -5121,7 +5121,7 @@ exports[`Table > Should render correctly with selectable then click on first row .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -5145,7 +5145,7 @@ exports[`Table > Should render correctly with selectable then click on first row .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -5179,7 +5179,7 @@ exports[`Table > Should render correctly with selectable then click on first row gap: 0.5rem; } -.emotion-11 .eqr7bqq4 { +.emotion-11 .eqr7bqq3 { cursor: pointer; } @@ -5188,7 +5188,7 @@ exports[`Table > Should render correctly with selectable then click on first row color: #b5b7bd; } -.emotion-11[aria-disabled='true'] .eqr7bqq4 { +.emotion-11[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -5261,7 +5261,7 @@ exports[`Table > Should render correctly with selectable then click on first row stroke: #e51963; } -.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq6 { +.emotion-11 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq5 { fill: #ffffff; } @@ -5500,7 +5500,7 @@ exports[`Table > Should render correctly with selectable then click on first row gap: 0.5rem; } -.emotion-52 .eqr7bqq4 { +.emotion-52 .eqr7bqq3 { cursor: pointer; } @@ -5509,7 +5509,7 @@ exports[`Table > Should render correctly with selectable then click on first row color: #b5b7bd; } -.emotion-52[aria-disabled='true'] .eqr7bqq4 { +.emotion-52[aria-disabled='true'] .eqr7bqq3 { cursor: not-allowed; } @@ -5582,7 +5582,7 @@ exports[`Table > Should render correctly with selectable then click on first row stroke: #e51963; } -.emotion-52 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq6 { +.emotion-52 .emotion-14[aria-checked="mixed"]+.emotion-16 .eqr7bqq5 { fill: #ffffff; } @@ -6682,7 +6682,7 @@ exports[`Table > Should render correctly with sort then click 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -6706,7 +6706,7 @@ exports[`Table > Should render correctly with sort then click 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -6744,7 +6744,7 @@ exports[`Table > Should render correctly with sort then click 1`] = ` .emotion-16 { color: #641cb3; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -8097,7 +8097,7 @@ exports[`Table > Should render correctly with stipped 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -8121,7 +8121,7 @@ exports[`Table > Should render correctly with stipped 1`] = ` .emotion-9 { color: #3f4250; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; diff --git a/packages/ui/src/components/Tabs/TabMenu.tsx b/packages/ui/src/components/Tabs/TabMenu.tsx index 5a7e1efdb9..bbace7cdbf 100644 --- a/packages/ui/src/components/Tabs/TabMenu.tsx +++ b/packages/ui/src/components/Tabs/TabMenu.tsx @@ -9,7 +9,7 @@ import type { Ref, } from 'react' import { forwardRef } from 'react' -import { MenuV2 } from '../MenuV2' +import { Menu } from '../Menu' import { StyledTabButton } from './Tab' const ArrowIcon = styled(ArrowDownIcon)`` @@ -37,8 +37,8 @@ const StyledPositioningWrapper = styled.div` type TabMenuProps = { children: ReactNode disclosure: ReactNode - visible?: ComponentProps['visible'] - id?: ComponentProps['id'] + visible?: ComponentProps['visible'] + id?: ComponentProps['id'] } & Omit, 'aria-disabled'> export const TabMenu = forwardRef( @@ -55,7 +55,7 @@ export const TabMenu = forwardRef( ref: Ref, ) => ( - {children} - +
), ) diff --git a/packages/ui/src/components/Tabs/TabMenuItem.tsx b/packages/ui/src/components/Tabs/TabMenuItem.tsx index 28c494ec15..c9883ad433 100644 --- a/packages/ui/src/components/Tabs/TabMenuItem.tsx +++ b/packages/ui/src/components/Tabs/TabMenuItem.tsx @@ -3,10 +3,10 @@ import styled from '@emotion/styled' import type { ComponentProps } from 'react' import { useMemo } from 'react' -import { MenuV2 } from '../MenuV2' +import { Menu } from '../Menu' import { useTabsContext } from './TabsContext' -const StyledMenuItem = styled(MenuV2.Item)` +const StyledMenuItem = styled(Menu.Item)` &[aria-selected='true'] { color: ${({ theme }) => theme.colors.primary.text}; } diff --git a/packages/ui/src/components/Tabs/__stories__/Template.stories.tsx b/packages/ui/src/components/Tabs/__stories__/Template.stories.tsx index 34402f8427..3d3705cbc4 100644 --- a/packages/ui/src/components/Tabs/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Tabs/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { useState } from 'react' import { Tabs } from '..' diff --git a/packages/ui/src/components/Tabs/__stories__/index.stories.tsx b/packages/ui/src/components/Tabs/__stories__/index.stories.tsx index c4dd490a01..0e0afcc37f 100644 --- a/packages/ui/src/components/Tabs/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Tabs/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Tabs } from '..' export default { diff --git a/packages/ui/src/components/Tabs/__tests__/__snapshots__/Tab.test.tsx.snap b/packages/ui/src/components/Tabs/__tests__/__snapshots__/Tab.test.tsx.snap index e48f84717e..f4de5f300e 100644 --- a/packages/ui/src/components/Tabs/__tests__/__snapshots__/Tab.test.tsx.snap +++ b/packages/ui/src/components/Tabs/__tests__/__snapshots__/Tab.test.tsx.snap @@ -38,7 +38,7 @@ exports[`Tab > renders correctly 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -99,10 +99,10 @@ exports[`Tab > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -111,10 +111,10 @@ exports[`Tab > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -122,10 +122,10 @@ exports[`Tab > renders correctly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -134,10 +134,9 @@ exports[`Tab > renders correctly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; }
renders correctly with counter, badge and subtitle 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -262,10 +261,10 @@ exports[`Tab > renders correctly with counter, badge and subtitle 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -274,10 +273,10 @@ exports[`Tab > renders correctly with counter, badge and subtitle 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -285,10 +284,10 @@ exports[`Tab > renders correctly with counter, badge and subtitle 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -297,15 +296,14 @@ exports[`Tab > renders correctly with counter, badge and subtitle 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-8 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -353,10 +351,10 @@ exports[`Tab > renders correctly with counter, badge and subtitle 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -365,16 +363,15 @@ exports[`Tab > renders correctly with counter, badge and subtitle 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-15 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -464,7 +461,7 @@ exports[`Tab > renders correctly with subtitle 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -525,10 +522,10 @@ exports[`Tab > renders correctly with subtitle 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -537,10 +534,10 @@ exports[`Tab > renders correctly with subtitle 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -548,10 +545,10 @@ exports[`Tab > renders correctly with subtitle 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -560,10 +557,9 @@ exports[`Tab > renders correctly with subtitle 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-6 { @@ -571,10 +567,10 @@ exports[`Tab > renders correctly with subtitle 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -583,16 +579,15 @@ exports[`Tab > renders correctly with subtitle 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-9 { color: #727683; font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; diff --git a/packages/ui/src/components/Tabs/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Tabs/__tests__/__snapshots__/index.test.tsx.snap index d59762fa4e..05258b746c 100644 --- a/packages/ui/src/components/Tabs/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Tabs/__tests__/__snapshots__/index.test.tsx.snap @@ -144,7 +144,7 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -236,7 +236,7 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -297,10 +297,10 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -309,10 +309,10 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -320,10 +320,10 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -332,10 +332,10 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-6 { @@ -343,10 +343,10 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -355,10 +355,9 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-6 { @@ -366,10 +365,10 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -378,10 +377,9 @@ exports[`Tabs > renders correctly with Tabs and last disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; }
renders correctly with Tabs menu selected 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -583,10 +581,10 @@ exports[`Tabs > renders correctly with Tabs menu selected 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -595,10 +593,10 @@ exports[`Tabs > renders correctly with Tabs menu selected 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-6 { @@ -606,10 +604,10 @@ exports[`Tabs > renders correctly with Tabs menu selected 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -618,10 +616,9 @@ exports[`Tabs > renders correctly with Tabs menu selected 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-20 { @@ -684,7 +681,7 @@ exports[`Tabs > renders correctly with Tabs menu selected 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -999,7 +996,7 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1091,7 +1088,7 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1152,10 +1149,10 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1164,10 +1161,10 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-4 { @@ -1175,10 +1172,10 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1187,10 +1184,10 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-6 { @@ -1198,10 +1195,10 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1210,10 +1207,9 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-6 { @@ -1221,10 +1217,10 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1233,10 +1229,9 @@ exports[`Tabs > renders correctly with Tabs name 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; }
renders correctly with Tabs with prop 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1439,10 +1434,10 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1451,10 +1446,10 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-6 { @@ -1462,10 +1457,10 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1474,15 +1469,14 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; } .emotion-10 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1519,7 +1513,7 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` .emotion-32 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1622,7 +1616,7 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1742,7 +1736,7 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` border-bottom-color: #d9dadd; outline: none; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2327,10 +2321,10 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2339,10 +2333,9 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; overflow-y: auto; overflow-x: hidden; max-height: calc(30rem - 0.25rem); @@ -2376,10 +2369,10 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2388,16 +2381,16 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; overflow: auto; } .emotion-7 { border-bottom: 1px solid #d9dadd; padding: 0.25rem 0.25rem; + width: 100%; } .emotion-7:last-child { @@ -2440,14 +2433,14 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` } .emotion-10:hover, -.emotion-10:focus, +.emotion-10:focus-visible, .emotion-10[data-active='true'] { background-color: #e9eaeb; color: #222638; } .emotion-10:hover svg, -.emotion-10:focus svg, +.emotion-10:focus-visible svg, .emotion-10[data-active='true'] svg { fill: #222638; } @@ -2476,6 +2469,9 @@ exports[`Tabs > renders correctly with Tabs with prop 1`] = ` > ) : null} {success ? ( ) : null} {error ? ( ) : null} diff --git a/packages/ui/src/components/TagList/__stories__/Icons.stories.tsx b/packages/ui/src/components/TagList/__stories__/Icons.stories.tsx index 11dd89dc6f..7ce5351ace 100644 --- a/packages/ui/src/components/TagList/__stories__/Icons.stories.tsx +++ b/packages/ui/src/components/TagList/__stories__/Icons.stories.tsx @@ -1,13 +1,14 @@ +import { IdIcon, LockIcon, PlusIcon } from '@ultraviolet/icons' import { Template } from './Template.stories' export const Icons = Template.bind({}) Icons.args = { tags: [ - { label: 'smooth', icon: 'id' }, + { label: 'smooth', icon: }, 'code', - { label: 'hello', icon: 'lock' }, - { label: 'world', icon: 'plus' }, + { label: 'hello', icon: }, + { label: 'world', icon: }, ], threshold: 3, } diff --git a/packages/ui/src/components/TagList/__stories__/ParentWithWidth.stories.tsx b/packages/ui/src/components/TagList/__stories__/ParentWithWidth.stories.tsx index c5017432e9..7c9d24c23c 100644 --- a/packages/ui/src/components/TagList/__stories__/ParentWithWidth.stories.tsx +++ b/packages/ui/src/components/TagList/__stories__/ParentWithWidth.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { TagList } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/TagList/__stories__/Template.stories.tsx b/packages/ui/src/components/TagList/__stories__/Template.stories.tsx index 15400b21f3..382c537178 100644 --- a/packages/ui/src/components/TagList/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/TagList/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { TagList } from '..' export const Template: StoryFn = args => diff --git a/packages/ui/src/components/TagList/__stories__/index.stories.tsx b/packages/ui/src/components/TagList/__stories__/index.stories.tsx index 165c4a4643..1d4129b2b1 100644 --- a/packages/ui/src/components/TagList/__stories__/index.stories.tsx +++ b/packages/ui/src/components/TagList/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { TagList } from '..' export default { diff --git a/packages/ui/src/components/TagList/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/TagList/__tests__/__snapshots__/index.test.tsx.snap index 47a3327a6e..3a63c5eaae 100644 --- a/packages/ui/src/components/TagList/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/TagList/__tests__/__snapshots__/index.test.tsx.snap @@ -65,7 +65,7 @@ exports[`TagList > renders correctly 1`] = ` .emotion-7 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -210,7 +210,7 @@ exports[`TagList > renders correctly a scrollable popover with non default popov .emotion-7 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -382,7 +382,7 @@ exports[`TagList > renders correctly and add ellipsis to the first tag as it too .emotion-7 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -485,7 +485,7 @@ exports[`TagList > renders correctly and ignore custom threshold as it does not .emotion-7 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -638,7 +638,7 @@ exports[`TagList > renders correctly with copiable 1`] = ` .emotion-9 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -749,7 +749,7 @@ exports[`TagList > renders correctly with custom threshold 1`] = ` .emotion-7 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -861,7 +861,7 @@ exports[`TagList > renders correctly with custom threshold and extra tags 1`] = .emotion-7 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1015,7 +1015,7 @@ exports[`TagList > renders correctly with custom threshold and extra tags and ma .emotion-7 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1168,7 +1168,7 @@ exports[`TagList > renders correctly with icons 1`] = ` .emotion-9 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1283,7 +1283,7 @@ exports[`TagList > renders correctly with multiline 1`] = ` .emotion-7 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -1445,7 +1445,7 @@ exports[`TagList > renders correctly with placement 1`] = ` .emotion-7 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; diff --git a/packages/ui/src/components/TagList/index.tsx b/packages/ui/src/components/TagList/index.tsx index 656be86782..3ab271744b 100644 --- a/packages/ui/src/components/TagList/index.tsx +++ b/packages/ui/src/components/TagList/index.tsx @@ -3,7 +3,7 @@ import styled from '@emotion/styled' import { consoleLightTheme } from '@ultraviolet/themes' import { useEffect, useMemo, useRef, useState } from 'react' -import type { ComponentProps } from 'react' +import type { ComponentProps, ReactNode } from 'react' import { Popover } from '../Popover' import { Tag } from '../Tag' @@ -58,9 +58,7 @@ const StyledTagContainer = styled.div<{ `}; ` -export type TagType = - | string - | { label: string; icon: NonNullable['icon']> } +export type TagType = string | { label: string; icon: ReactNode } type TagListProps = { /** @@ -283,19 +281,30 @@ export const TagList = ({ return null } - const renderTag = (tag: TagType, index: number, isEllipsis = false) => ( - - {getTagLabel(tag)} - - ) + const renderTag = (tag: TagType, index: number, isEllipsis = false) => + typeof tag !== 'string' && tag.icon ? ( + + {tag.icon} + {getTagLabel(tag)} + + ) : ( + + {getTagLabel(tag)} + + ) return ( > = args => ( Sentiments.parameters = { docs: { description: { - story: - 'Set a sentiment using `sentiment` property. (`color` prop is deprecated but still works and has the same effect)', + story: 'Set a sentiment using `sentiment` property.', }, }, } diff --git a/packages/ui/src/components/Text/__stories__/Template.stories.tsx b/packages/ui/src/components/Text/__stories__/Template.stories.tsx index 5bc4987373..47d8c78a60 100644 --- a/packages/ui/src/components/Text/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/Text/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import type { ComponentProps } from 'react' import { Text } from '../index' diff --git a/packages/ui/src/components/Text/__stories__/Variants.stories.tsx b/packages/ui/src/components/Text/__stories__/Variants.stories.tsx index ed274955a6..ac4977ff5b 100644 --- a/packages/ui/src/components/Text/__stories__/Variants.stories.tsx +++ b/packages/ui/src/components/Text/__stories__/Variants.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { Text, textVariants } from '../index' export const Variants: StoryFn = props => ( diff --git a/packages/ui/src/components/Text/__stories__/index.stories.tsx b/packages/ui/src/components/Text/__stories__/index.stories.tsx index 769de32469..58f72300aa 100644 --- a/packages/ui/src/components/Text/__stories__/index.stories.tsx +++ b/packages/ui/src/components/Text/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { Text } from '..' export default { diff --git a/packages/ui/src/components/Text/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/Text/__tests__/__snapshots__/index.test.tsx.snap index b17b291cd5..fb20d1bbc9 100644 --- a/packages/ui/src/components/Text/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/Text/__tests__/__snapshots__/index.test.tsx.snap @@ -4,7 +4,7 @@ exports[`Text > renders correctly with dir 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -37,7 +37,7 @@ exports[`Text > renders correctly with htmlFor 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -67,7 +67,7 @@ exports[`Text > renders correctly with placement 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -97,7 +97,7 @@ exports[`Text > renders correctly with tooltip 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -129,7 +129,7 @@ exports[`Text > renders correctly with type="body" 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -154,7 +154,7 @@ exports[`Text > renders correctly with type="bodySmall" 1`] = ` .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.25rem; @@ -179,7 +179,7 @@ exports[`Text > renders correctly with type="bodySmallStrong" 1`] = ` .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.25rem; @@ -204,7 +204,7 @@ exports[`Text > renders correctly with type="bodySmallStronger" 1`] = ` .emotion-0 { font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.25rem; @@ -229,7 +229,7 @@ exports[`Text > renders correctly with type="bodyStrong" 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -254,7 +254,7 @@ exports[`Text > renders correctly with type="bodyStronger" 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.5rem; @@ -279,7 +279,7 @@ exports[`Text > renders correctly with type="caption" 1`] = ` .emotion-0 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -304,7 +304,7 @@ exports[`Text > renders correctly with type="captionSmall" 1`] = ` .emotion-0 { font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -329,7 +329,7 @@ exports[`Text > renders correctly with type="captionSmallStrong" 1`] = ` .emotion-0 { font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1rem; @@ -354,7 +354,7 @@ exports[`Text > renders correctly with type="captionSmallStronger" 1`] = ` .emotion-0 { font-size: 0.625rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1rem; @@ -379,7 +379,7 @@ exports[`Text > renders correctly with type="captionStrong" 1`] = ` .emotion-0 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1rem; @@ -404,7 +404,7 @@ exports[`Text > renders correctly with type="captionStronger" 1`] = ` .emotion-0 { font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1rem; @@ -504,7 +504,7 @@ exports[`Text > renders correctly with type="heading" 1`] = ` .emotion-0 { font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -529,7 +529,7 @@ exports[`Text > renders correctly with type="headingLarge" 1`] = ` .emotion-0 { font-size: 2.1875rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 3rem; @@ -604,7 +604,7 @@ exports[`Text > renders correctly with type="headingSmall" 1`] = ` .emotion-0 { font-size: 1.3125rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -729,7 +729,7 @@ exports[`Text > renders correctly with whiteSpace 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -755,7 +755,7 @@ exports[`Text > with disabled 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -780,7 +780,7 @@ exports[`Text > with italic 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -807,7 +807,7 @@ exports[`Text > with monochrome 1`] = ` .emotion-0 { color: #151a2d; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -832,7 +832,7 @@ exports[`Text > with multiple nested children renders correctly 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -843,7 +843,7 @@ exports[`Text > with multiple nested children renders correctly 1`] = ` .emotion-2 { font-size: 1.5625rem; - font-family: Space Grotesk,Inter,Asap,sans-serif; + font-family: Space Grotesk,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 2rem; @@ -880,7 +880,7 @@ exports[`Text > with prominence stronger on non neutral 1`] = ` .emotion-0 { color: #b3144d; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; @@ -905,7 +905,7 @@ exports[`Text > with underline 1`] = ` .emotion-0 { font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1.5rem; diff --git a/packages/ui/src/components/Text/index.tsx b/packages/ui/src/components/Text/index.tsx index 3c79975dfa..4b12b03855 100644 --- a/packages/ui/src/components/Text/index.tsx +++ b/packages/ui/src/components/Text/index.tsx @@ -6,7 +6,7 @@ import type { CSSProperties, ElementType, ReactNode } from 'react' import { useRef } from 'react' import recursivelyGetChildrenString from '../../helpers/recursivelyGetChildrenString' import { useIsOverflowing } from '../../hooks/useIsOverflowing' -import type { Color, ExtendedColor } from '../../theme' +import type { ExtendedColor } from '../../theme' import { typography } from '../../theme' import capitalize from '../../utils/capitalize' import { Tooltip } from '../Tooltip' @@ -73,7 +73,15 @@ const generateStyles = ({ : undefined return ` - ${sentiment ? `color: ${!isSentimentMonochrome ? textColor : theme.colors.other.monochrome[sentiment].text};` : ''} + ${ + sentiment + ? `color: ${ + !isSentimentMonochrome + ? textColor + : theme.colors.other.monochrome[sentiment].text + };` + : '' + } font-size: ${theme.typography[variant].fontSize}; font-family: ${theme.typography[variant].fontFamily}; @@ -103,10 +111,6 @@ type TextProps = { children: ReactNode placement?: PlacementProps variant: TextVariant - /** - * @deprecated use `sentiment` property instead - */ - color?: Color sentiment?: ExtendedColor prominence?: ProminenceProps as: ElementType @@ -159,7 +163,6 @@ export const Text = ({ variant, children, as, - color, sentiment, oneLine = false, placement, @@ -176,7 +179,6 @@ export const Text = ({ 'data-testid': dataTestId, 'aria-hidden': ariaHidden, }: TextProps) => { - const computedSentiment = sentiment ?? color const elementRef = useRef(null) const isOverflowing = useIsOverflowing(elementRef) @@ -189,7 +191,7 @@ export const Text = ({ as={as} placement={placement} prominence={prominence} - sentiment={computedSentiment} + sentiment={sentiment} variant={variant} oneLine={oneLine} className={className} diff --git a/packages/ui/src/components/TextArea/__stories__/AutomaticRows.stories.tsx b/packages/ui/src/components/TextArea/__stories__/AutomaticRows.stories.tsx index 6292178496..4e3e7efcb0 100644 --- a/packages/ui/src/components/TextArea/__stories__/AutomaticRows.stories.tsx +++ b/packages/ui/src/components/TextArea/__stories__/AutomaticRows.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { TextArea } from '..' import { Stack } from '../../Stack' diff --git a/packages/ui/src/components/TextArea/__stories__/Examples.stories.tsx b/packages/ui/src/components/TextArea/__stories__/Examples.stories.tsx index bc22395488..397cbfcfaf 100644 --- a/packages/ui/src/components/TextArea/__stories__/Examples.stories.tsx +++ b/packages/ui/src/components/TextArea/__stories__/Examples.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { AlertCircleOutlineIcon } from '@ultraviolet/icons' import { useState } from 'react' import { TextArea } from '..' diff --git a/packages/ui/src/components/TextArea/__stories__/Template.stories.tsx b/packages/ui/src/components/TextArea/__stories__/Template.stories.tsx index 41216f8448..0bbc08514a 100644 --- a/packages/ui/src/components/TextArea/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/TextArea/__stories__/Template.stories.tsx @@ -1,4 +1,4 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { TextArea } from '..' diff --git a/packages/ui/src/components/TextArea/__stories__/index.stories.tsx b/packages/ui/src/components/TextArea/__stories__/index.stories.tsx index b4f4d02897..146776545b 100644 --- a/packages/ui/src/components/TextArea/__stories__/index.stories.tsx +++ b/packages/ui/src/components/TextArea/__stories__/index.stories.tsx @@ -1,4 +1,4 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { TextArea } from '..' export default { diff --git a/packages/ui/src/components/TextArea/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/TextArea/__tests__/__snapshots__/index.test.tsx.snap index 95452a788d..aaf2060e87 100644 --- a/packages/ui/src/components/TextArea/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/TextArea/__tests__/__snapshots__/index.test.tsx.snap @@ -7,10 +7,10 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -19,10 +19,10 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -30,10 +30,10 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -42,16 +42,16 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -64,7 +64,7 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -98,7 +98,7 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` color: #3f4250; border-radius: 0.25rem; padding: 0.75rem 0.5rem 0.75rem 1rem; - padding-right: calc(1.5rem + 0px + 16px); + padding-right: calc(1.5rem + 0px + smallpx); } .emotion-7::-webkit-input-placeholder { @@ -167,10 +167,10 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -179,10 +179,10 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -193,10 +193,10 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -205,10 +205,10 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -245,7 +245,7 @@ exports[`TextArea > should render correctly when input has a error sentiment 1` .emotion-15 { color: #b3144d; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -318,10 +318,10 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -330,10 +330,10 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -341,10 +341,10 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -353,16 +353,16 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -375,7 +375,7 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -409,7 +409,7 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 color: #3f4250; border-radius: 0.25rem; padding: 0.75rem 0.5rem 0.75rem 1rem; - padding-right: calc(1.5rem + 0px + 16px); + padding-right: calc(1.5rem + 0px + smallpx); } .emotion-7::-webkit-input-placeholder { @@ -478,10 +478,10 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -490,10 +490,10 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -504,10 +504,10 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -516,10 +516,10 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -528,10 +528,10 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 .emotion-11 { vertical-align: middle; fill: #22674e; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } .emotion-11 .fillStroke { @@ -556,7 +556,7 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 .emotion-15 { color: #22674e; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -596,7 +596,7 @@ exports[`TextArea > should render correctly when input has a success sentiment 1 > should render correctly when input is disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -641,10 +641,10 @@ exports[`TextArea > should render correctly when input is disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -652,10 +652,10 @@ exports[`TextArea > should render correctly when input is disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -664,16 +664,16 @@ exports[`TextArea > should render correctly when input is disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -686,7 +686,7 @@ exports[`TextArea > should render correctly when input is disabled 1`] = ` .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -861,10 +861,10 @@ exports[`TextArea > should render correctly when input is disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -873,10 +873,10 @@ exports[`TextArea > should render correctly when input is disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -887,10 +887,10 @@ exports[`TextArea > should render correctly when input is disabled 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -899,10 +899,10 @@ exports[`TextArea > should render correctly when input is disabled 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -951,10 +951,10 @@ exports[`TextArea > should render correctly when input is readOnly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -963,10 +963,10 @@ exports[`TextArea > should render correctly when input is readOnly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -974,10 +974,10 @@ exports[`TextArea > should render correctly when input is readOnly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -986,16 +986,16 @@ exports[`TextArea > should render correctly when input is readOnly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1008,7 +1008,7 @@ exports[`TextArea > should render correctly when input is readOnly 1`] = ` .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1183,10 +1183,10 @@ exports[`TextArea > should render correctly when input is readOnly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1195,10 +1195,10 @@ exports[`TextArea > should render correctly when input is readOnly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -1209,10 +1209,10 @@ exports[`TextArea > should render correctly when input is readOnly 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1221,10 +1221,10 @@ exports[`TextArea > should render correctly when input is readOnly 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -1272,10 +1272,10 @@ exports[`TextArea > should render correctly when it is required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1284,10 +1284,10 @@ exports[`TextArea > should render correctly when it is required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -1295,10 +1295,10 @@ exports[`TextArea > should render correctly when it is required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1307,10 +1307,10 @@ exports[`TextArea > should render correctly when it is required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-2 { @@ -1318,10 +1318,10 @@ exports[`TextArea > should render correctly when it is required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: start; -webkit-box-align: start; -ms-flex-align: start; @@ -1330,16 +1330,16 @@ exports[`TextArea > should render correctly when it is required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.25rem; } .emotion-5 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1352,7 +1352,7 @@ exports[`TextArea > should render correctly when it is required 1`] = ` .emotion-5 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1365,7 +1365,7 @@ exports[`TextArea > should render correctly when it is required 1`] = ` .emotion-7 { color: #b3144d; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1539,10 +1539,10 @@ exports[`TextArea > should render correctly when it is required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1551,10 +1551,10 @@ exports[`TextArea > should render correctly when it is required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -1565,10 +1565,10 @@ exports[`TextArea > should render correctly when it is required 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1577,10 +1577,10 @@ exports[`TextArea > should render correctly when it is required 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -1637,10 +1637,10 @@ exports[`TextArea > should render correctly with basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1649,16 +1649,16 @@ exports[`TextArea > should render correctly with basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1753,10 +1753,10 @@ exports[`TextArea > should render correctly with basic props 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -1765,10 +1765,10 @@ exports[`TextArea > should render correctly with basic props 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -1816,10 +1816,10 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1828,10 +1828,10 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -1839,10 +1839,10 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -1851,16 +1851,16 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -1873,7 +1873,7 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2048,10 +2048,10 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2060,10 +2060,10 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -2074,10 +2074,10 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2086,10 +2086,10 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -2112,7 +2112,7 @@ exports[`TextArea > should render correctly with maxlength 1`] = ` .emotion-13 { color: #727683; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -2174,10 +2174,10 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2186,10 +2186,10 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -2197,10 +2197,10 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2209,16 +2209,16 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2231,7 +2231,7 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2265,7 +2265,7 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` color: #3f4250; border-radius: 0.25rem; padding: 0.75rem 0.5rem 0.75rem 1rem; - padding-right: calc(1.5rem + 0px + 16px); + padding-right: calc(1.5rem + 0px + smallpx); } .emotion-7::-webkit-input-placeholder { @@ -2334,10 +2334,10 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2346,10 +2346,10 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -2360,10 +2360,10 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2372,10 +2372,10 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -2412,7 +2412,7 @@ exports[`TextArea > should render with AutoExpandMax 1`] = ` .emotion-15 { color: #b3144d; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -2486,10 +2486,10 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2498,10 +2498,10 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -2509,10 +2509,10 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2521,16 +2521,16 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2543,7 +2543,7 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2577,7 +2577,7 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` color: #3f4250; border-radius: 0.25rem; padding: 0.75rem 0.5rem 0.75rem 1rem; - padding-right: calc(1.5rem + 0px + 16px); + padding-right: calc(1.5rem + 0px + smallpx); } .emotion-7::-webkit-input-placeholder { @@ -2646,10 +2646,10 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2658,10 +2658,10 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -2672,10 +2672,10 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2684,10 +2684,10 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -2724,7 +2724,7 @@ exports[`TextArea > should render with AutoExpandMax and rows 1`] = ` .emotion-15 { color: #b3144d; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; @@ -2798,10 +2798,10 @@ exports[`TextArea > should render with auto rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2810,10 +2810,10 @@ exports[`TextArea > should render with auto rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { @@ -2821,10 +2821,10 @@ exports[`TextArea > should render with auto rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.25rem; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: normal; -webkit-box-align: normal; -ms-flex-align: normal; @@ -2833,16 +2833,16 @@ exports[`TextArea > should render with auto rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2855,7 +2855,7 @@ exports[`TextArea > should render with auto rows 1`] = ` .emotion-3 { color: #3f4250; font-size: 1rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 500; letter-spacing: 0; line-height: 1.5rem; @@ -2889,7 +2889,7 @@ exports[`TextArea > should render with auto rows 1`] = ` color: #3f4250; border-radius: 0.25rem; padding: 0.75rem 0.5rem 0.75rem 1rem; - padding-right: calc(1.5rem + 0px + 16px); + padding-right: calc(1.5rem + 0px + smallpx); } .emotion-7::-webkit-input-placeholder { @@ -2958,10 +2958,10 @@ exports[`TextArea > should render with auto rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2970,10 +2970,10 @@ exports[`TextArea > should render with auto rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -2984,10 +2984,10 @@ exports[`TextArea > should render with auto rows 1`] = ` display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; @@ -2996,10 +2996,10 @@ exports[`TextArea > should render with auto rows 1`] = ` -ms-flex-pack: normal; -webkit-justify-content: normal; justify-content: normal; - -webkit-box-flex-wrap: nowrap; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; position: absolute; top: 0.75rem; right: 0.5rem; @@ -3036,7 +3036,7 @@ exports[`TextArea > should render with auto rows 1`] = ` .emotion-15 { color: #b3144d; font-size: 0.75rem; - font-family: Inter,Asap,sans-serif; + font-family: Inter,sans-serif; font-weight: 400; letter-spacing: 0; line-height: 1rem; diff --git a/packages/ui/src/components/TextArea/index.tsx b/packages/ui/src/components/TextArea/index.tsx index 2786978657..ad84236acc 100644 --- a/packages/ui/src/components/TextArea/index.tsx +++ b/packages/ui/src/components/TextArea/index.tsx @@ -2,7 +2,7 @@ import { useTheme } from '@emotion/react' import styled from '@emotion/styled' -import { AlertCircleIcon, CheckCircleIcon } from '@ultraviolet/icons' +import { AlertCircleIcon, CheckCircleIcon, CloseIcon } from '@ultraviolet/icons' import type { DOMAttributes, ReactNode } from 'react' import { forwardRef, @@ -20,7 +20,7 @@ import { Stack } from '../Stack' import { Text } from '../Text' import { Tooltip } from '../Tooltip' -const STATE_ICON_SIZE = 16 +const STATE_ICON_SIZE = 'small' const StyledTextAreaWrapper = styled.div` position: relative; @@ -221,7 +221,7 @@ export const TextArea = forwardRef( textArea.style.minHeight = `calc(${minHeight}px + 2*${padding})` } } - }, [value, rows, theme, maxRows]) + }, [value, rows, theme, maxRows, textAreaRef.current?.value]) const sentiment = useMemo(() => { if (error) { @@ -288,12 +288,13 @@ export const TextArea = forwardRef( aria-label="clear value" variant="ghost" size="xsmall" - icon="close" onClick={() => { onChange('') }} sentiment="neutral" - /> + > + + ) : null} {success ? ( diff --git a/packages/ui/src/components/TextInputV2/__stories__/Clearable.stories.tsx b/packages/ui/src/components/TextInput/__stories__/Clearable.stories.tsx similarity index 100% rename from packages/ui/src/components/TextInputV2/__stories__/Clearable.stories.tsx rename to packages/ui/src/components/TextInput/__stories__/Clearable.stories.tsx diff --git a/packages/ui/src/components/TextInputV2/__stories__/ControlledVSUncontrolled.stories.tsx b/packages/ui/src/components/TextInput/__stories__/ControlledVSUncontrolled.stories.tsx similarity index 81% rename from packages/ui/src/components/TextInputV2/__stories__/ControlledVSUncontrolled.stories.tsx rename to packages/ui/src/components/TextInput/__stories__/ControlledVSUncontrolled.stories.tsx index e2b9ff5b94..695d99c88d 100644 --- a/packages/ui/src/components/TextInputV2/__stories__/ControlledVSUncontrolled.stories.tsx +++ b/packages/ui/src/components/TextInput/__stories__/ControlledVSUncontrolled.stories.tsx @@ -1,17 +1,17 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' -import { TextInputV2 } from '..' +import { TextInput } from '..' import { Stack } from '../../Stack' import { Text } from '../../Text' -export const ControlledVSUncontrolled: StoryFn = props => { +export const ControlledVSUncontrolled: StoryFn = props => { const [value, setValue] = useState('content') return ( - + - setValue(event.target.value)} diff --git a/packages/ui/src/components/TextInput/__stories__/DisableResize.stories.tsx b/packages/ui/src/components/TextInput/__stories__/DisableResize.stories.tsx deleted file mode 100644 index 1218b2e8fb..0000000000 --- a/packages/ui/src/components/TextInput/__stories__/DisableResize.stories.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { Template } from './Template.stories' - -export const DisableResize = Template.bind({}) - -DisableResize.args = { - label: 'First Name', - multiline: true, - resizable: false, -} - -DisableResize.parameters = { - docs: { - description: { - story: 'Disable resize in multiline mode using `resizable` prop.', - }, - }, -} diff --git a/packages/ui/src/components/TextInput/__stories__/Disabled.stories.tsx b/packages/ui/src/components/TextInput/__stories__/Disabled.stories.tsx index ea340f337e..c814d5aa1a 100644 --- a/packages/ui/src/components/TextInput/__stories__/Disabled.stories.tsx +++ b/packages/ui/src/components/TextInput/__stories__/Disabled.stories.tsx @@ -3,14 +3,6 @@ import { Template } from './Template.stories' export const Disabled = Template.bind({}) Disabled.args = { - label: 'First Name', + ...Template.args, disabled: true, } - -Disabled.parameters = { - docs: { - description: { - story: 'Mark `TextInput` as disabled using `disabled` property.', - }, - }, -} diff --git a/packages/ui/src/components/TextInput/__stories__/Error.stories.tsx b/packages/ui/src/components/TextInput/__stories__/Error.stories.tsx index 76a7ff4332..64b28c7647 100644 --- a/packages/ui/src/components/TextInput/__stories__/Error.stories.tsx +++ b/packages/ui/src/components/TextInput/__stories__/Error.stories.tsx @@ -3,12 +3,6 @@ import { Template } from './Template.stories' export const Error = Template.bind({}) Error.args = { - placeholder: 'Placeholder', - error: 'An error', -} - -Error.parameters = { - docs: { - description: { story: 'Fill `TextInput` error using `error` property.' }, - }, + ...Template.args, + error: 'Error during field update', } diff --git a/packages/ui/src/components/TextInputV2/__stories__/Examples.stories.tsx b/packages/ui/src/components/TextInput/__stories__/Examples.stories.tsx similarity index 88% rename from packages/ui/src/components/TextInputV2/__stories__/Examples.stories.tsx rename to packages/ui/src/components/TextInput/__stories__/Examples.stories.tsx index fd92caa742..2525900a30 100644 --- a/packages/ui/src/components/TextInputV2/__stories__/Examples.stories.tsx +++ b/packages/ui/src/components/TextInput/__stories__/Examples.stories.tsx @@ -1,24 +1,24 @@ import randomName from '@scaleway/random-name' -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' -import { TextInputV2 } from '..' +import { TextInput } from '..' import { Link } from '../../Link' import { Stack } from '../../Stack' import { Text } from '../../Text' -export const Examples: StoryFn = args => { +export const Examples: StoryFn = args => { const [value, setValue] = useState('Text') return ( - setValue(event.target.value)} /> - = args => { onChange={event => setValue(event.target.value)} onRandomize={() => setValue(randomName())} /> - = args => { onRandomize={() => setValue(randomName())} type="password" /> - = args => { loading clearable /> - = args => { onRandomize={() => setValue(randomName())} loading /> - = ({ ...args }) => { +export const OnRandomize: StoryFn = ({ ...args }) => { const [value, setValue] = useState(args.value) return ( - setValue(event.target.value)} diff --git a/packages/ui/src/components/TextInputV2/__stories__/Password.stories.tsx b/packages/ui/src/components/TextInput/__stories__/Password.stories.tsx similarity index 87% rename from packages/ui/src/components/TextInputV2/__stories__/Password.stories.tsx rename to packages/ui/src/components/TextInput/__stories__/Password.stories.tsx index 98c51c2342..76d49a87a2 100644 --- a/packages/ui/src/components/TextInputV2/__stories__/Password.stories.tsx +++ b/packages/ui/src/components/TextInput/__stories__/Password.stories.tsx @@ -1,6 +1,6 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' -import { TextInputV2 } from '..' +import { TextInput } from '..' import { CopyButton } from '../../CopyButton' import { Stack } from '../../Stack' @@ -13,21 +13,21 @@ const generateRandomPassword = (length = 12) => { () => charset[Math.floor(Math.random() * charset.length)], ).join('') } -export const Password: StoryFn = ({ ...args }) => { +export const Password: StoryFn = ({ ...args }) => { const [value, setValue] = useState(args.value) const [value2, setValue2] = useState(args.value) const [value3, setValue3] = useState(args.value) return ( - setValue(event.target.value)} type="password" /> - = ({ ...args }) => { setValue2(generateRandomPassword()) }} /> - = args => { +export const Size: StoryFn = args => { const [value, setValue] = useState('Text') return ( @@ -13,7 +13,7 @@ export const Size: StoryFn = args => { TEXTINPUT_SIZE_HEIGHT, ) as (keyof typeof TEXTINPUT_SIZE_HEIGHT)[] ).map(size => ( - ( - <> - {textInputSizes.map(size => ( - - ))} - -) - -Sizes.parameters = { - docs: { - description: { story: 'Set size using `size` property.' }, - }, -} - -Sizes.decorators = [ - StoryComponent => ( - - - - ), -] diff --git a/packages/ui/src/components/TextInputV2/__stories__/Success.stories.tsx b/packages/ui/src/components/TextInput/__stories__/Success.stories.tsx similarity index 100% rename from packages/ui/src/components/TextInputV2/__stories__/Success.stories.tsx rename to packages/ui/src/components/TextInput/__stories__/Success.stories.tsx diff --git a/packages/ui/src/components/TextInput/__stories__/TabIndex.stories.tsx b/packages/ui/src/components/TextInput/__stories__/TabIndex.stories.tsx deleted file mode 100644 index 135d1fb7dd..0000000000 --- a/packages/ui/src/components/TextInput/__stories__/TabIndex.stories.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import { Template } from './Template.stories' - -export const TabIndex = Template.bind({}) - -TabIndex.args = { - label: 'First Name', - tabIndex: -1, -} - -TabIndex.parameters = { - docs: { - description: { - story: 'Can disable tabulation on field with `tabIndex="-1"`', - }, - }, -} diff --git a/packages/ui/src/components/TextInput/__stories__/Template.stories.tsx b/packages/ui/src/components/TextInput/__stories__/Template.stories.tsx index a75ae7d89f..43e7b96890 100644 --- a/packages/ui/src/components/TextInput/__stories__/Template.stories.tsx +++ b/packages/ui/src/components/TextInput/__stories__/Template.stories.tsx @@ -1,12 +1,23 @@ -import type { StoryFn } from '@storybook/react' +import type { StoryFn } from '@storybook/react-vite' import { useState } from 'react' import { TextInput } from '..' -export const Template: StoryFn = ({ - defaultValue = '', - ...args -}) => { - const [value, setValue] = useState(defaultValue) +export const Template: StoryFn = ({ ...args }) => { + const [value, setValue] = useState(args.value) - return + return ( + setValue(event.target.value)} + /> + ) +} + +Template.args = { + placeholder: 'Placeholder', + value: 'Text', + role: 'status', + 'aria-live': 'polite', + 'aria-atomic': 'true', } diff --git a/packages/ui/src/components/TextInput/__stories__/ToggleablePassword.stories.tsx b/packages/ui/src/components/TextInput/__stories__/ToggleablePassword.stories.tsx deleted file mode 100644 index e84ee91e01..0000000000 --- a/packages/ui/src/components/TextInput/__stories__/ToggleablePassword.stories.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { Template } from './Template.stories' - -export const ToggleablePassword = Template.bind({}) - -ToggleablePassword.args = { - label: 'Password', - defaultValue: 'my-safe-password', - type: 'toggleable-password', -} - -ToggleablePassword.parameters = { - docs: { - description: { - story: - 'Set type to `toggleable-password` adds a eye toggle to display typed password **This behaviour is dangerous, use it only when the user fills a new password.**', - }, - }, -} diff --git a/packages/ui/src/components/TextInput/__stories__/ToggleableRequired.stories.tsx b/packages/ui/src/components/TextInput/__stories__/ToggleableRequired.stories.tsx deleted file mode 100644 index 3fcc1d10c3..0000000000 --- a/packages/ui/src/components/TextInput/__stories__/ToggleableRequired.stories.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { Template } from './Template.stories' - -export const ToggleableRequired = Template.bind({}) - -ToggleableRequired.args = { - label: 'Password', - defaultValue: 'my-safe-password', - type: 'toggleable-password', - required: true, -} diff --git a/packages/ui/src/components/TextInput/__stories__/Unit.stories.tsx b/packages/ui/src/components/TextInput/__stories__/Unit.stories.tsx deleted file mode 100644 index de06078545..0000000000 --- a/packages/ui/src/components/TextInput/__stories__/Unit.stories.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { Template } from './Template.stories' - -export const Unit = Template.bind({}) - -Unit.args = { - label: 'Margin', - defaultValue: '16', - unit: 'px', -} - -Unit.parameters = { - docs: { - description: { story: 'Specify a unit using `unit` prop.' }, - }, -} diff --git a/packages/ui/src/components/TextInput/__stories__/UnitRequired.stories.tsx b/packages/ui/src/components/TextInput/__stories__/UnitRequired.stories.tsx deleted file mode 100644 index 8ccd8473f4..0000000000 --- a/packages/ui/src/components/TextInput/__stories__/UnitRequired.stories.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { Template } from './Template.stories' - -export const UnitRequired = Template.bind({}) - -UnitRequired.args = { - label: 'Margin', - defaultValue: '16', - unit: 'px', - required: true, -} diff --git a/packages/ui/src/components/TextInput/__stories__/Valid.stories.tsx b/packages/ui/src/components/TextInput/__stories__/Valid.stories.tsx deleted file mode 100644 index fe9618d4b8..0000000000 --- a/packages/ui/src/components/TextInput/__stories__/Valid.stories.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { Template } from './Template.stories' - -export const Valid = Template.bind({}) - -Valid.args = { - label: 'First Name', - valid: false, -} - -Valid.parameters = { - docs: { - description: { story: 'Add a check mark using `valid` property.' }, - }, -} diff --git a/packages/ui/src/components/TextInput/__stories__/ValidRequired.stories.tsx b/packages/ui/src/components/TextInput/__stories__/ValidRequired.stories.tsx deleted file mode 100644 index e2aff033a7..0000000000 --- a/packages/ui/src/components/TextInput/__stories__/ValidRequired.stories.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { Template } from './Template.stories' - -export const ValidRequired = Template.bind({}) - -ValidRequired.args = { - label: 'First Name', - valid: true, - required: true, -} diff --git a/packages/ui/src/components/TextInput/__stories__/index.stories.tsx b/packages/ui/src/components/TextInput/__stories__/index.stories.tsx index e4517b9845..1c3c2095bf 100644 --- a/packages/ui/src/components/TextInput/__stories__/index.stories.tsx +++ b/packages/ui/src/components/TextInput/__stories__/index.stories.tsx @@ -1,37 +1,20 @@ -import type { Meta } from '@storybook/react' +import type { Meta } from '@storybook/react-vite' import { TextInput } from '..' export default { component: TextInput, title: 'Components/Data Entry/TextInput', - tags: ['deprecated'], - parameters: { - deprecated: true, - deprecatedReason: - 'This component is deprecated. Please use the TextInputV2 component instead.', - migrationLink: 'Migrations/TextInput to TextInputV2', - }, } as Meta export { Playground } from './Playground.stories' -export { NoLabel } from './NoLabel.stories' -export { Placeholder } from './Placeholder.stories' -export { Sizes } from './Sizes.stories' +export { Size } from './Size.stories' +export { Password } from './Password.stories' +export { OnRandomize } from './OnRandomize.stories' +export { Clearable } from './Clearable.stories' export { Disabled } from './Disabled.stories' -export { Required } from './Required.stories' -export { Valid } from './Valid.stories' export { ReadOnly } from './ReadOnly.stories' +export { Loading } from './Loading.stories' +export { Success } from './Success.stories' export { Error } from './Error.stories' -export { Notice } from './Notice.stories' -export { ToggleablePassword } from './ToggleablePassword.stories' -export { Unit } from './Unit.stories' -export { Randomize } from './Randomize.stories' -export { ForceEdit } from './ForceEdit.stories' -export { Multiline } from './Multiline.stories' -export { DisableResize } from './DisableResize.stories' -export { TabIndex } from './TabIndex.stories' -export { ToggleableRequired } from './ToggleableRequired.stories' -export { RandomizeRequired } from './RandomizeRequired.stories' -export { UnitRequired } from './UnitRequired.stories' -export { ValidRequired } from './ValidRequired.stories' -export { MultipleRightComponents } from './MultipleRightComponents.stories' +export { ControlledVSUncontrolled } from './ControlledVSUncontrolled.stories' +export { Examples } from './Examples.stories' diff --git a/packages/ui/src/components/TextInput/__tests__/__snapshots__/index.test.tsx.snap b/packages/ui/src/components/TextInput/__tests__/__snapshots__/index.test.tsx.snap index 3f8beb96f3..343c5f36af 100644 --- a/packages/ui/src/components/TextInput/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/ui/src/components/TextInput/__tests__/__snapshots__/index.test.tsx.snap @@ -1,9318 +1,1570 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`TextInput > should handle events on random button 1`] = ` +exports[`TextInput > should render correctly when input has a error sentiment 1`] = ` .emotion-0 { - position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { - position: relative; -} - -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-3 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + cursor: pointer; +} + +.emotion-3 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + cursor: pointer; +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 3rem; + background: #ffffff; border: 1px solid #d9dadd; border-radius: 0.25rem; +} + +.emotion-5>.emotion-8 { color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-2::-webkit-input-placeholder { +} + +.emotion-5>.emotion-8::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-2::-moz-placeholder { +.emotion-5>.emotion-8::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-2:-ms-input-placeholder { +.emotion-5>.emotion-8:-ms-input-placeholder { color: #727683; - opacity: 0; } -.emotion-2::placeholder { +.emotion-5>.emotion-8::placeholder { color: #727683; - opacity: 0; } -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; +.emotion-5[data-success='true'] { + border-color: #22674e; +} + +.emotion-5[data-error='true'] { + border-color: #b3144d; +} + +.emotion-5[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; +} + +.emotion-5[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; +} + +.emotion-5[data-disabled='true']>.emotion-8 { + color: #b5b7bd; } -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-5[data-disabled='true']>.emotion-8::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-2::-webkit-input-placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8::-moz-placeholder { + color: #b5b7bd; } -.emotion-2::-moz-placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-2:-ms-input-placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8::placeholder { + color: #b5b7bd; } -.emotion-2::placeholder { - opacity: 1; +.emotion-5:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 3rem; + background: #ffffff; border: 1px solid #d9dadd; border-radius: 0.25rem; +} + +.emotion-5>.emotion-8 { color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-2::-webkit-input-placeholder { +} + +.emotion-5>.emotion-8::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-2::-moz-placeholder { +.emotion-5>.emotion-8::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-2:-ms-input-placeholder { +.emotion-5>.emotion-8:-ms-input-placeholder { color: #727683; - opacity: 0; } -.emotion-2::placeholder { +.emotion-5>.emotion-8::placeholder { color: #727683; - opacity: 0; } -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; +.emotion-5[data-success='true'] { + border-color: #22674e; } -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-5[data-error='true'] { + border-color: #b3144d; } -.emotion-2::-webkit-input-placeholder { - opacity: 1; +.emotion-5[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; } -.emotion-2::-moz-placeholder { - opacity: 1; +.emotion-5[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; } -.emotion-2:-ms-input-placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8 { + color: #b5b7bd; } -.emotion-2::placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-4 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; - pointer-events: auto; +.emotion-5[data-disabled='true']>.emotion-8::-moz-placeholder { + color: #b5b7bd; } -.emotion-4:hover, -.emotion-4:focus-within { - color: #3f4250; +.emotion-5[data-disabled='true']>.emotion-8:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-4>button { - box-shadow: none!important; +.emotion-5[data-disabled='true']>.emotion-8::placeholder { + color: #b5b7bd; } -.emotion-4 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; - pointer-events: auto; +.emotion-5:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-4:hover, -.emotion-4:focus-within { - color: #3f4250; +.emotion-7 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + font-size: 0.875rem; +} + +.emotion-7[data-size='large'] { + font-size: 1rem; +} + +.emotion-7[data-size='small'] { + padding-left: 0.5rem; +} + +.emotion-7 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + font-size: 0.875rem; } -.emotion-4>button { - box-shadow: none!important; +.emotion-7[data-size='large'] { + font-size: 1rem; +} + +.emotion-7[data-size='small'] { + padding-left: 0.5rem; } -.emotion-6 { +.emotion-9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; - min-width: 24px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding: 0 1rem; } -.emotion-6 { +.emotion-9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; - min-width: 24px; -} - -.emotion-8 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-8:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-8:hover, -.emotion-8:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-8:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-8:hover, -.emotion-8:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-10 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-10 .fillStroke { - stroke: currentColor; - fill: none; + padding: 0 1rem; } -.emotion-10 path { - fill: currentColor; -} - -.emotion-10 { +.emotion-11 { vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + fill: #b3144d; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-10 .fillStroke { - stroke: currentColor; +.emotion-11 .fillStroke { + stroke: #b3144d; fill: none; } -.emotion-10 path { - fill: currentColor; -} - -.emotion-12 { - height: auto; -} - -.emotion-12[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-12 { - height: auto; -} - -.emotion-12[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-14 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-14 { - font-size: 12px; +.emotion-13 { color: #b3144d; - padding-top: 0.125rem; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; }
-
-
- +
+ +
+
- + +
-
-
-
+ success +

`; -exports[`TextInput > should handle events on toggleable password 1`] = ` +exports[`TextInput > should render correctly when input has a success sentiment 1`] = ` .emotion-0 { - position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; } .emotion-0 { - position: relative; -} - -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: nowrap; + -webkit-flex-wrap: nowrap; + -ms-flex-wrap: nowrap; + flex-wrap: nowrap; + -webkit-align-items: normal; + -webkit-box-align: normal; + -ms-flex-align: normal; + align-items: normal; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.25rem; +} + +.emotion-3 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + cursor: pointer; +} + +.emotion-3 { + color: #3f4250; + font-size: 1rem; + font-family: Inter,sans-serif; + font-weight: 500; + letter-spacing: 0; + line-height: 1.5rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; + cursor: pointer; +} + +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 3rem; + background: #ffffff; + border: 1px solid #d9dadd; border-radius: 0.25rem; +} + +.emotion-5>.emotion-8 { color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-2::-webkit-input-placeholder { +} + +.emotion-5>.emotion-8::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-2::-moz-placeholder { +.emotion-5>.emotion-8::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-2:-ms-input-placeholder { +.emotion-5>.emotion-8:-ms-input-placeholder { color: #727683; - opacity: 0; } -.emotion-2::placeholder { +.emotion-5>.emotion-8::placeholder { color: #727683; - opacity: 0; } -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; +.emotion-5[data-success='true'] { + border-color: #22674e; +} + +.emotion-5[data-error='true'] { + border-color: #b3144d; +} + +.emotion-5[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; +} + +.emotion-5[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; +} + +.emotion-5[data-disabled='true']>.emotion-8 { + color: #b5b7bd; } -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-5[data-disabled='true']>.emotion-8::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-2::-webkit-input-placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8::-moz-placeholder { + color: #b5b7bd; } -.emotion-2::-moz-placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-2:-ms-input-placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8::placeholder { + color: #b5b7bd; } -.emotion-2::placeholder { - opacity: 1; +.emotion-5:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; +.emotion-5 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + height: 3rem; + background: #ffffff; border: 1px solid #d9dadd; border-radius: 0.25rem; +} + +.emotion-5>.emotion-8 { color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-2::-webkit-input-placeholder { +} + +.emotion-5>.emotion-8::-webkit-input-placeholder { color: #727683; - opacity: 0; } -.emotion-2::-moz-placeholder { +.emotion-5>.emotion-8::-moz-placeholder { color: #727683; - opacity: 0; } -.emotion-2:-ms-input-placeholder { +.emotion-5>.emotion-8:-ms-input-placeholder { color: #727683; - opacity: 0; } -.emotion-2::placeholder { +.emotion-5>.emotion-8::placeholder { color: #727683; - opacity: 0; } -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; +.emotion-5[data-success='true'] { + border-color: #22674e; } -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; +.emotion-5[data-error='true'] { + border-color: #b3144d; } -.emotion-2::-webkit-input-placeholder { - opacity: 1; +.emotion-5[data-readonly='true'] { + background: #f9f9fa; + border-color: #d9dadd; } -.emotion-2::-moz-placeholder { - opacity: 1; +.emotion-5[data-disabled='true'] { + background: #f3f3f4; + border-color: #e9eaeb; } -.emotion-2:-ms-input-placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8 { + color: #b5b7bd; } -.emotion-2::placeholder { - opacity: 1; +.emotion-5[data-disabled='true']>.emotion-8::-webkit-input-placeholder { + color: #b5b7bd; } -.emotion-4 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; - pointer-events: auto; +.emotion-5[data-disabled='true']>.emotion-8::-moz-placeholder { + color: #b5b7bd; } -.emotion-4:hover, -.emotion-4:focus-within { - color: #3f4250; +.emotion-5[data-disabled='true']>.emotion-8:-ms-input-placeholder { + color: #b5b7bd; } -.emotion-4>button { - box-shadow: none!important; +.emotion-5[data-disabled='true']>.emotion-8::placeholder { + color: #b5b7bd; } -.emotion-4 { - pointer-events: none; - position: absolute; - right: 0; - bottom: 0; - top: 0; - padding: 0 0.5rem; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - gap: 0.5rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-transition: -webkit-transform 150ms,color 150ms; - transition: transform 150ms,color 150ms; - color: #727683; - pointer-events: auto; +.emotion-5:not([data-disabled='true']):not([data-readonly]):hover { + border-color: #8c40ef; } -.emotion-4:hover, -.emotion-4:focus-within { - color: #3f4250; +.emotion-7 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + font-size: 0.875rem; +} + +.emotion-7[data-size='large'] { + font-size: 1rem; +} + +.emotion-7[data-size='small'] { + padding-left: 0.5rem; +} + +.emotion-7 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + border: none; + outline: none; + height: 100%; + width: 100%; + padding-left: 1rem; + background: transparent; + font-size: 0.875rem; +} + +.emotion-7[data-size='large'] { + font-size: 1rem; } -.emotion-4>button { - box-shadow: none!important; +.emotion-7[data-size='small'] { + padding-left: 0.5rem; } -.emotion-6 { +.emotion-9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; - min-width: 24px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 0.5rem; + padding: 0 1rem; } -.emotion-6 { +.emotion-9 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; - gap: 0rem; - -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; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; -webkit-box-flex-wrap: nowrap; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; - min-width: 24px; -} - -.emotion-8 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; -webkit-align-items: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-8:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-8:hover, -.emotion-8:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-8 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - position: relative; - height: 2rem; - padding: 0 0.5rem; + -webkit-box-pack: normal; + -ms-flex-pack: normal; + -webkit-justify-content: normal; + justify-content: normal; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; gap: 0.5rem; - border-radius: 0.25rem; - box-sizing: border-box; - width: 2rem; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: pointer; - -webkit-box-pack: center; - -ms-flex-pack: center; - -webkit-justify-content: center; - justify-content: center; - outline-offset: 2px; - white-space: nowrap; - -webkit-text-decoration: none; - text-decoration: none; - font-size: 0.875rem; - font-family: Inter,Asap,sans-serif; - font-weight: 500; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - background: none; - border: none; - color: #3f4250; -} - -.emotion-8:hover { - -webkit-text-decoration: none; - text-decoration: none; -} - -.emotion-8:active { - box-shadow: 0px 0px 0px 3px #151a2d5c; -} - -.emotion-8:hover, -.emotion-8:active { - background: #e9eaeb; - color: #222638; -} - -.emotion-10 { - vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; -} - -.emotion-10 .fillStroke { - stroke: currentColor; - fill: none; -} - -.emotion-10 path { - fill: currentColor; + padding: 0 1rem; } -.emotion-10 { +.emotion-11 { vertical-align: middle; - fill: currentColor; - height: 16px; - width: 16px; - min-width: 16px; - min-height: 16px; + fill: #22674e; + height: 1rem; + width: 1rem; + min-width: 1rem; + min-height: 1rem; } -.emotion-10 .fillStroke { - stroke: currentColor; +.emotion-11 .fillStroke { + stroke: #22674e; fill: none; } -.emotion-10 path { - fill: currentColor; -} - -.emotion-12 { - height: auto; -} - -.emotion-12[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-12 { - height: auto; -} - -.emotion-12[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-14 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -.emotion-14 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; +.emotion-13 { + color: #22674e; + font-size: 0.75rem; + font-family: Inter,sans-serif; + font-weight: 400; + letter-spacing: 0; + line-height: 1rem; + text-transform: none; + -webkit-text-decoration: none; + text-decoration: none; }
-
-
- +
+ +
+
- + +
-
-
-
+ success +

`; -exports[`TextInput > should render correctly 1`] = ` +exports[`TextInput > should render correctly when input is disabled 1`] = ` .emotion-0 { - position: relative; -} - -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-2::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; -} - -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-2::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-2::-moz-placeholder { - opacity: 1; -} - -.emotion-2:-ms-input-placeholder { - opacity: 1; -} - -.emotion-2::placeholder { - opacity: 1; -} - -.emotion-4 { - height: auto; -} - -.emotion-4[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-6 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -
-
-
- -
-
-
-
-
-
- -`; - -exports[`TextInput > should render correctly disabled true 1`] = ` - - .emotion-0 { - position: relative; -} - -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - cursor: default; - pointer-events: none; - background-color: #f3f3f4; - border-color: #e9eaeb; - color: #b5b7bd; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; -} - -.emotion-2::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; -} - -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-2::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-2::-moz-placeholder { - opacity: 1; -} - -.emotion-2:-ms-input-placeholder { - opacity: 1; -} - -.emotion-2::placeholder { - opacity: 1; -} - -.emotion-4 { - display: block; - position: absolute; - left: 0; - top: 0; - padding-left: 8px; - padding-right: 8px; - pointer-events: none; - color: #727683; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - width: 100%; - height: 48px; - font-size:font-family: Inter,Asap,sans-serif; - font-size: 0.875rem; - font-weight: Regular; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - -webkit-text-decoration: none; - text-decoration: none; - weight: 400; - -webkit-transition: -webkit-transform 150ms; - transition: transform 150ms; - -webkit-transform: translate(0, 12px) scale(1); - -moz-transform: translate(0, 12px) scale(1); - -ms-transform: translate(0, 12px) scale(1); - transform: translate(0, 12px) scale(1); - -webkit-transform: translate(-9.6%, -3px) scale(0.8); - -moz-transform: translate(-9.6%, -3px) scale(0.8); - -ms-transform: translate(-9.6%, -3px) scale(0.8); - transform: translate(-9.6%, -3px) scale(0.8); - color: #b5b7bd; -} - -.emotion-6 { - height: auto; -} - -.emotion-6[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-8 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -
-
-
- - -
-
-
-
-
-
- -`; - -exports[`TextInput > should render correctly error string 1`] = ` - - .emotion-0 { - position: relative; -} - -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - border-color: #b3144d; -} - -.emotion-2::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; -} - -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-2::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-2::-moz-placeholder { - opacity: 1; -} - -.emotion-2:-ms-input-placeholder { - opacity: 1; -} - -.emotion-2::placeholder { - opacity: 1; -} - -.emotion-2:hover, -.emotion-2:focus { - border-color: #92103f; -} - -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #f91b6c40; - border-color: #92103f; -} - -.emotion-4 { - display: block; - position: absolute; - left: 0; - top: 0; - padding-left: 8px; - padding-right: 8px; - pointer-events: none; - color: #727683; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - width: 100%; - height: 48px; - font-size:font-family: Inter,Asap,sans-serif; - font-size: 0.875rem; - font-weight: Regular; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - -webkit-text-decoration: none; - text-decoration: none; - weight: 400; - -webkit-transition: -webkit-transform 150ms; - transition: transform 150ms; - -webkit-transform: translate(0, 12px) scale(1); - -moz-transform: translate(0, 12px) scale(1); - -ms-transform: translate(0, 12px) scale(1); - transform: translate(0, 12px) scale(1); - -webkit-transform: translate(-9.6%, -3px) scale(0.8); - -moz-transform: translate(-9.6%, -3px) scale(0.8); - -ms-transform: translate(-9.6%, -3px) scale(0.8); - transform: translate(-9.6%, -3px) scale(0.8); - color: #b3144d; -} - -.emotion-6 { - height: auto; -} - -.emotion-6[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-8 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -
-
-
- - -
-
-
- test error -
-
-
-
-
-`; - -exports[`TextInput > should render correctly label and noTopLabel 1`] = ` - - .emotion-0 { - position: relative; -} - -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-2::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; -} - -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-2::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-2::-moz-placeholder { - opacity: 1; -} - -.emotion-2:-ms-input-placeholder { - opacity: 1; -} - -.emotion-2::placeholder { - opacity: 1; -} - -.emotion-4 { - height: auto; -} - -.emotion-4[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-6 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -
-
-
- -
-
-
-
-
-
- -`; - -exports[`TextInput > should render correctly label and noTopLabel 2`] = ` - - .emotion-0 { - position: relative; -} - -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; -} - -.emotion-2::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; -} - -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-2::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-2::-moz-placeholder { - opacity: 1; -} - -.emotion-2:-ms-input-placeholder { - opacity: 1; -} - -.emotion-2::placeholder { - opacity: 1; -} - -.emotion-4 { - height: auto; -} - -.emotion-4[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-6 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -
-
-
- -
-
-
-
-
-
- -`; - -exports[`TextInput > should render correctly label and noTopLabel 3`] = ` - - .emotion-0 { - position: relative; -} - -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; -} - -.emotion-2::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; -} - -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-2::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-2::-moz-placeholder { - opacity: 1; -} - -.emotion-2:-ms-input-placeholder { - opacity: 1; -} - -.emotion-2::placeholder { - opacity: 1; -} - -.emotion-4 { - display: block; - position: absolute; - left: 0; - top: 0; - padding-left: 8px; - padding-right: 8px; - pointer-events: none; - color: #727683; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - width: 100%; - height: 48px; - font-size:font-family: Inter,Asap,sans-serif; - font-size: 0.875rem; - font-weight: Regular; - letter-spacing: 0; - line-height: 1.25rem; - paragraph-spacing: 0; - text-case: none; - -webkit-text-decoration: none; - text-decoration: none; - weight: 400; - -webkit-transition: -webkit-transform 150ms; - transition: transform 150ms; - -webkit-transform: translate(0, 12px) scale(1); - -moz-transform: translate(0, 12px) scale(1); - -ms-transform: translate(0, 12px) scale(1); - transform: translate(0, 12px) scale(1); - -webkit-transform: translate(-9.6%, -3px) scale(0.8); - -moz-transform: translate(-9.6%, -3px) scale(0.8); - -ms-transform: translate(-9.6%, -3px) scale(0.8); - transform: translate(-9.6%, -3px) scale(0.8); -} - -.emotion-6 { - height: auto; -} - -.emotion-6[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-8 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -
-
-
- - -
-
-
-
-
-
- -`; - -exports[`TextInput > should render correctly multiline true 1`] = ` - - .emotion-0 { - position: relative; -} - -.emotion-2 { - -webkit-transition: border-color 0.2s ease,box-shadow 0.2s ease; - transition: border-color 0.2s ease,box-shadow 0.2s ease; - -webkit-appearance: none; - -moz-appearance: none; - -ms-appearance: none; - appearance: none; - background-color: #ffffff; - background-image: none; - border: 1px solid #d9dadd; - border-radius: 0.25rem; - color: #3f4250; - display: block; - max-width: 100%; - outline: none; - position: relative; - width: 100%; - padding-left: 0.5rem; - padding-right: 0.5rem; - padding-top: 14px; - font-size: 16px; - line-height: 24px; - height: 48px; - padding-left: 8px; - padding-right: 20px; - padding-top: 14px; - padding: 8px; - padding-top: 20px; - height: initial; - resize: none; - padding-top: 0.5rem; -} - -.emotion-2::-webkit-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::-moz-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:-ms-input-placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2::placeholder { - color: #727683; - opacity: 0; -} - -.emotion-2:hover, -.emotion-2:focus { - border-color: #792dd4; -} - -.emotion-2:focus { - box-shadow: 0px 0px 0px 3px #8c40ef40; - border-color: #792dd4; -} - -.emotion-2::-webkit-input-placeholder { - opacity: 1; -} - -.emotion-2::-moz-placeholder { - opacity: 1; -} - -.emotion-2:-ms-input-placeholder { - opacity: 1; -} - -.emotion-2::placeholder { - opacity: 1; -} - -.emotion-4 { - height: auto; -} - -.emotion-4[data-is-animated="true"] { - -webkit-transition: max-height 300ms ease-out,opacity 300ms ease-out; - transition: max-height 300ms ease-out,opacity 300ms ease-out; -} - -.emotion-6 { - font-size: 12px; - color: #b3144d; - padding-top: 0.125rem; -} - -
-
-
-