@pedidopago/ui 1.3.22 → 1.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/components/Button/Button.test.js +1 -1
  2. package/dist/components/Button/index.d.ts.map +1 -1
  3. package/dist/components/Button/index.js +38 -45
  4. package/dist/components/CollapseCard/ExpandButton/index.d.ts +4 -0
  5. package/dist/components/CollapseCard/ExpandButton/index.d.ts.map +1 -0
  6. package/dist/components/CollapseCard/ExpandButton/index.js +47 -0
  7. package/dist/components/CollapseCard/ExpandButton/styles.d.ts +268 -0
  8. package/dist/components/CollapseCard/ExpandButton/styles.d.ts.map +1 -0
  9. package/dist/components/CollapseCard/ExpandButton/styles.js +22 -0
  10. package/dist/components/CollapseCard/ExpandButton/types.d.ts +6 -0
  11. package/dist/components/CollapseCard/ExpandButton/types.d.ts.map +1 -0
  12. package/dist/components/CollapseCard/ExpandButton/types.js +1 -0
  13. package/dist/components/CollapseCard/expand-button.test.d.ts +2 -0
  14. package/dist/components/CollapseCard/expand-button.test.d.ts.map +1 -0
  15. package/dist/components/CollapseCard/expand-button.test.js +196 -0
  16. package/dist/components/CollapseCard/index.d.ts +5 -0
  17. package/dist/components/CollapseCard/index.d.ts.map +1 -0
  18. package/dist/components/CollapseCard/index.js +121 -0
  19. package/dist/components/CollapseCard/styles.d.ts +266 -0
  20. package/dist/components/CollapseCard/styles.d.ts.map +1 -0
  21. package/dist/components/CollapseCard/styles.js +32 -0
  22. package/dist/components/CollapseCard/types.d.ts +13 -0
  23. package/dist/components/CollapseCard/types.d.ts.map +1 -0
  24. package/dist/components/CollapseCard/types.js +1 -0
  25. package/dist/components/Icon/data/dash.d.ts.map +1 -1
  26. package/dist/components/Icon/data/dash.js +1 -1
  27. package/dist/components/Icon/types.d.ts +1 -1
  28. package/dist/components/Icon/types.d.ts.map +1 -1
  29. package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts +5 -0
  30. package/dist/components/Illustration/AlternativeOrderSvg/index.d.ts.map +1 -0
  31. package/dist/components/Illustration/AlternativeOrderSvg/index.js +107 -0
  32. package/dist/components/Illustration/CollaboratorSvg/index.d.ts +5 -0
  33. package/dist/components/Illustration/CollaboratorSvg/index.d.ts.map +1 -0
  34. package/dist/components/Illustration/CollaboratorSvg/index.js +99 -0
  35. package/dist/components/Illustration/index.d.ts.map +1 -1
  36. package/dist/components/Illustration/index.js +14 -0
  37. package/dist/components/Illustration/styles.d.ts.map +1 -1
  38. package/dist/components/Illustration/styles.js +7 -1
  39. package/dist/components/Illustration/types.d.ts +1 -1
  40. package/dist/components/Illustration/types.d.ts.map +1 -1
  41. package/dist/components/Label/index.d.ts +2 -3
  42. package/dist/components/Label/index.d.ts.map +1 -1
  43. package/dist/components/Label/index.js +23 -11
  44. package/dist/components/Label/styles.js +1 -1
  45. package/dist/components/Label/types.d.ts +3 -1
  46. package/dist/components/Label/types.d.ts.map +1 -1
  47. package/dist/components/Select/types.d.ts +2 -1
  48. package/dist/components/Select/types.d.ts.map +1 -1
  49. package/dist/shared/hooks/useDisableBodyScroll.d.ts.map +1 -1
  50. package/dist/shared/hooks/useDisableBodyScroll.js +33 -21
  51. package/dist/utils/getColorValue.d.ts +1 -0
  52. package/dist/utils/getColorValue.d.ts.map +1 -1
  53. package/dist/utils/getColorValue.js +12 -2
  54. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { GlobalColorsProps } from '../../shared/theme';
2
- export declare type IconName = 'activity' | 'airplay' | 'alert-circle' | 'alert-octagon' | 'alert-triangle' | 'align-center' | 'align-justify' | 'align-left' | 'align-right' | 'anchor' | 'aperture' | 'archive' | 'arrow-down-circle' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-down' | 'arrow-left-circle' | 'arrow-left' | 'arrow-right-circle' | 'arrow-right' | 'arrow-up-circle' | 'arrow-up-left' | 'arrow-up-right' | 'arrow-up' | 'at-sign' | 'award' | 'bank' | 'bar-chart-2' | 'bar-chart' | 'barcode' | 'barcode1' | 'battery-charging' | 'battery' | 'bell-off' | 'bell' | 'billet' | 'bluetooth' | 'bold' | 'book-open' | 'book' | 'bookmark' | 'box' | 'briefcase' | 'calendar' | 'camera-off' | 'camera' | 'card-and-code' | 'card' | 'card1' | 'card2' | 'cardcredit' | 'cash' | 'cast' | 'check-circle' | 'check-square' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'chevrons-down' | 'chevrons-left' | 'chevrons-right' | 'chevrons-up' | 'chrome' | 'circle' | 'clipboard' | 'clock' | 'cloud-drizzle' | 'cloud-off' | 'cloud-snow' | 'cloud' | 'code' | 'codepen' | 'codesandbox' | 'coffee' | 'coin' | 'color' | 'columns' | 'command' | 'compass' | 'copy' | 'corner-down-left' | 'corner-down-right' | 'corner-left-down' | 'corner-left-up' | 'corner-right-down' | 'corner-right-up' | 'corner-up-left' | 'corner-up-right' | 'cpu' | 'crop' | 'crosshair' | 'csv' | 'database' | 'delete' | 'desktop' | 'disc' | 'dna' | 'dollar-sign' | 'download-cloud' | 'download' | 'droplet' | 'duplicate' | 'edit-3' | 'edit' | 'editor-align-center' | 'editor-align-justify' | 'editor-align-left' | 'editor-align-right' | 'editor-blockquotes' | 'editor-bold' | 'editor-clear-marks' | 'editor-clear-nodes' | 'editor-code-block' | 'editor-h1' | 'editor-h2' | 'editor-h3' | 'editor-h4' | 'editor-h5' | 'editor-h6' | 'editor-hard-break' | 'editor-horizontal-rule' | 'editor-italic' | 'editor-ordered-list' | 'editor-paragraph' | 'editor-redo' | 'editor-strike' | 'editor-underline' | 'editor-undo' | 'editor-unordered-list' | 'equal' | 'expand' | 'external-link' | 'eye-off' | 'eye' | 'facebook' | 'fast-forward' | 'feather' | 'fi_youtube' | 'figma' | 'file-plus' | 'file-text' | 'file' | 'film' | 'filter' | 'flag' | 'folder-minus' | 'folder-plus' | 'folder' | 'framer' | 'frown' | 'genre' | 'gift' | 'git-branch' | 'git-commit' | 'git-pull-request' | 'github' | 'gitlab' | 'globe' | 'grid' | 'hard-drive' | 'hash' | 'headphones' | 'heart' | 'help-circle' | 'hexagon' | 'home' | 'id' | 'image' | 'inbox' | 'inf' | 'info' | 'instagram' | 'italic' | 'key' | 'layers' | 'layout' | 'life-buoy' | 'link-2' | 'link' | 'linkedin' | 'list-2' | 'list' | 'listagem' | 'loader' | 'lock' | 'log-in' | 'log-out' | 'mail' | 'map-pin' | 'map' | 'maximize-2' | 'maximize' | 'medical' | 'meh' | 'menu' | 'message-square' | 'mic-off' | 'mic' | 'minimize-2' | 'minimize' | 'minus-circle' | 'minus-square' | 'minus' | 'moneylist' | 'monitor' | 'moon' | 'more-horizontal' | 'more-vertical' | 'mouse-pointer' | 'move' | 'music' | 'navigation-2' | 'navigation' | 'octagon' | 'package' | 'paperclip' | 'pause-circle' | 'pause' | 'pdf' | 'pen-tool' | 'percent' | 'phone-call' | 'pie-chart' | 'pix' | 'play-circle' | 'play' | 'plug' | 'plus-circle' | 'plus-square' | 'plus' | 'pocket' | 'power' | 'printer' | 'radio' | 'real' | 'refresh-ccw' | 'refresh-cw' | 'repeat' | 'revenue' | 'rewind' | 'rotate-ccw' | 'rotate-cw' | 'rotate' | 'rss' | 'save' | 'scissors' | 'search' | 'send' | 'server' | 'settings' | 'share-2' | 'share' | 'shield-off' | 'shield' | 'shop' | 'shopping-bag' | 'shopping-cart' | 'shuffle' | 'sidebar' | 'skip-back' | 'skip-forward' | 'slack' | 'slash' | 'sliders' | 'smartphone' | 'smile' | 'speaker' | 'square' | 'star' | 'stop-circle' | 'sun' | 'sunrise' | 'sunset' | 'tablet' | 'tag' | 'target' | 'terminal' | 'thermometer' | 'thumbs-down' | 'thumbs-up' | 'toggle-left' | 'toggle-right' | 'tool' | 'trash-2' | 'trash' | 'trello' | 'trending-down' | 'trending-up' | 'triangle' | 'truck' | 'tv' | 'twitch' | 'twitter' | 'type' | 'umbrella' | 'underline' | 'unlock' | 'upload-cloud' | 'upload' | 'user-check' | 'user-minus' | 'user-plus' | 'user-x' | 'user' | 'user2-out' | 'users' | 'video-off' | 'video' | 'voicemail' | 'volume-1' | 'volume-2' | 'volume-x' | 'volume' | 'weight' | 'whatsapp' | 'wifi-off' | 'wifi' | 'wind' | 'x-circle' | 'x-octagon' | 'x-square' | 'x' | 'xls' | 'zap-off' | 'zap' | 'zoom-in' | 'zoom-out' | 'zoom' | 'ecc-budget' | 'ecc-card' | 'ecc-cart' | 'ecc-client' | 'ecc-logout' | 'ecc-loock' | 'ecc-medical' | 'ecc-star' | 'ecc-table' | 'ecc-truck' | 'ecc-user' | 'ecc-www' | 'scl-facebook' | 'scl-google' | 'pmt-amex' | 'pmt-aura' | 'pmt-billet' | 'pmt-dinersclub' | 'pmt-discover' | 'pmt-elo' | 'pmt-hipercard' | 'pmt-jcb' | 'pmt-mastercard' | 'pmt-paypal' | 'pmt-pix' | 'pmt-visa' | 'illust-banking-billet' | 'illust-budget-analysis' | 'illust-budget-available' | 'illust-budget-error' | 'illust-budget-incomplete' | 'illust-card' | 'illust-check-prescription' | 'illust-date' | 'illust-error-prescription' | 'illust-inclusion-order' | 'illust-incomplete-prescription' | 'illust-order-canceled' | 'illust-order-error' | 'illust-order-success' | 'illust-order-withdrawal' | 'illust-pix' | 'illust-preparation-order' | 'illust-retention-prescription' | 'illust-sent-order' | 'illust-success-prescription' | 'bty-baldness' | 'bty-beard' | 'bty-beauty' | 'bty-blue-light' | 'bty-breasts-and-ass' | 'bty-dandruff' | 'bty-deodorants' | 'bty-eyebags-darkcircles' | 'bty-eyebrows-lashes' | 'bty-filler' | 'bty-hair-growth' | 'bty-hair-loss' | 'bty-hair-strengthener' | 'bty-hand-sanitizer' | 'bty-illuminator' | 'bty-moisturizer' | 'bty-mycosis-chilblains' | 'bty-nail-strengthener' | 'bty-neck-arms' | 'bty-pimples' | 'bty-repellent' | 'bty-sunscreen' | 'bty-varicose-veins' | 'bty-warts' | 'bty-white-hair' | 'bty-whitening' | 'bty-wound-healing' | 'bty-wrinkles' | 'hlt-ansiety-stress' | 'hlt-antiemetic' | 'hlt-bach-florals' | 'hlt-bacillus-lacto' | 'hlt-bad-breath' | 'hlt-builder-vase' | 'hlt-cholesterol' | 'hlt-depression' | 'hlt-diabetes' | 'hlt-digestion-reflux' | 'hlt-diuretics' | 'hlt-gases' | 'hlt-gastric-protector' | 'hlt-hangover' | 'hlt-health' | 'hlt-heart-health' | 'hlt-high-pressure' | 'hlt-homeopathy' | 'hlt-immunity' | 'hlt-intestinal-health' | 'hlt-intimate-hygiene' | 'hlt-libido' | 'hlt-live-protector' | 'hlt-longevity' | 'hlt-memory' | 'hlt-menopause' | 'hlt-nutritional-supplement' | 'hlt-pms-cramps' | 'hlt-prostate' | 'hlt-roast' | 'hlt-sexual-health' | 'hlt-sleep-well' | 'hlt-stress' | 'hlt-urinary-tract' | 'hlt-vitamins-minerals' | 'men-baldness' | 'men-beard' | 'men-dough' | 'men-gynecomastia' | 'men-libido' | 'men-men' | 'wmn-breasts-and-ass' | 'wmn-cellulite' | 'wmn-eyelashes-brows' | 'wmn-filler' | 'wmn-hair-growth' | 'wmn-hair-strengthener' | 'wmn-menopause' | 'wmn-pms-cramps' | 'wmn-whitening' | 'wmn-woman' | 'smr-dry-belly' | 'smr-hair' | 'smr-moisturizer' | 'smr-summer' | 'smr-sunscreen' | 'smr-tanning' | 'sts-budget-analysis' | 'sts-budget-available' | 'sts-budget-expired' | 'sts-budget-incomplete' | 'sts-inclusion-order' | 'sts-medication-performed' | 'sts-order-canceled' | 'sts-order-preparation' | 'sts-order-sent' | 'sts-order-withdrawal' | 'sts-revenue-check' | 'sts-revenue-retention' | 'sts-waiting-billet' | 'sts-waiting-card' | 'sts-waiting-repeat-date' | 'ppe-accelerate-metabolism' | 'ppe-articulations' | 'ppe-binge-eating' | 'ppe-bones' | 'ppe-bruises' | 'ppe-candy-will' | 'ppe-carbohydrate-blocker' | 'ppe-carbohydrate-blocker2' | 'ppe-cellulite-stretch-marks' | 'ppe-cellulite' | 'ppe-conductive-vessel' | 'ppe-detox' | 'ppe-dough' | 'ppe-dry-belly' | 'ppe-energy' | 'ppe-fatty-acids' | 'ppe-fibers' | 'ppe-gh' | 'ppe-gynecomastia' | 'ppe-increase-satiety' | 'ppe-increased-appetite' | 'ppe-inhibit-appetite' | 'ppe-laxative' | 'ppe-lipolitical-action' | 'ppe-localized-fat' | 'ppe-muscle-definition' | 'ppe-pain' | 'ppe-physical-perfomance' | 'ppe-post-workout' | 'ppe-pre-workout' | 'ppe-pro-hormonal' | 'ppe-reduction-measures' | 'ppe-slimming-chocolates' | 'ppe-slimming-gums' | 'ppe-slimming' | 'ppe-strength' | 'ppe-tcp' | 'ppe-thermogenic' | 'ppe-vasodilation' | 'form-bar' | 'form-capsule' | 'form-chocolate' | 'form-cookie' | 'form-cream' | 'form-enamel' | 'form-eyedrop' | 'form-eyeliner' | 'form-floral' | 'form-foam' | 'form-gel' | 'form-gum' | 'form-homeopathy' | 'form-lipstick' | 'form-lollipop' | 'form-lotion' | 'form-oil' | 'form-oralfilm' | 'form-oralpaste' | 'form-others' | 'form-patch' | 'form-pomade' | 'form-pot' | 'form-sachet' | 'form-serum' | 'form-shampoo' | 'form-soapshampoo' | 'form-spray' | 'form-sublingual' | 'form-sunscreen' | 'form-syringe' | 'form-syrup' | 'form-tablet' | 'form-units';
2
+ export declare type IconName = 'activity' | 'adjustments-horizontal' | 'airplay' | 'alert-circle' | 'alert-octagon' | 'alert-triangle' | 'align-center' | 'align-justify' | 'align-left' | 'align-right' | 'anchor' | 'aperture' | 'archive' | 'arrow-down-circle' | 'arrow-down-left' | 'arrow-down-right' | 'arrow-down' | 'arrow-left-circle' | 'arrow-left' | 'arrow-right-circle' | 'arrow-right' | 'arrow-up-circle' | 'arrow-up-left' | 'arrow-up-right' | 'arrow-up' | 'at-sign' | 'award' | 'bank' | 'bar-chart-2' | 'bar-chart' | 'barcode' | 'barcode1' | 'battery-charging' | 'battery' | 'bell-off' | 'bell' | 'billet' | 'bluetooth' | 'bold' | 'book-open' | 'book' | 'bookmark' | 'box' | 'briefcase' | 'calendar' | 'camera-off' | 'camera' | 'card-and-code' | 'card' | 'card1' | 'card2' | 'cardcredit' | 'cash' | 'cast' | 'check-circle' | 'check-square' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'chevrons-down' | 'chevrons-left' | 'chevrons-right' | 'chevrons-up' | 'chrome' | 'circle' | 'clipboard' | 'clock' | 'cloud-drizzle' | 'cloud-off' | 'cloud-snow' | 'cloud' | 'code' | 'codepen' | 'codesandbox' | 'coffee' | 'coin' | 'color' | 'columns' | 'command' | 'compass' | 'copy' | 'corner-down-left' | 'corner-down-right' | 'corner-left-down' | 'corner-left-up' | 'corner-right-down' | 'corner-right-up' | 'corner-up-left' | 'corner-up-right' | 'cpu' | 'crop' | 'crosshair' | 'csv' | 'database' | 'delete' | 'desktop' | 'disc' | 'dna' | 'dollar-sign' | 'download-cloud' | 'download' | 'droplet' | 'duplicate' | 'edit-3' | 'edit' | 'editor-align-center' | 'editor-align-justify' | 'editor-align-left' | 'editor-align-right' | 'editor-blockquotes' | 'editor-bold' | 'editor-clear-marks' | 'editor-clear-nodes' | 'editor-code-block' | 'editor-h1' | 'editor-h2' | 'editor-h3' | 'editor-h4' | 'editor-h5' | 'editor-h6' | 'editor-hard-break' | 'editor-horizontal-rule' | 'editor-italic' | 'editor-ordered-list' | 'editor-paragraph' | 'editor-redo' | 'editor-strike' | 'editor-underline' | 'editor-undo' | 'editor-unordered-list' | 'equal' | 'expand' | 'external-link' | 'eye-off' | 'eye' | 'facebook' | 'fast-forward' | 'feather' | 'fi_youtube' | 'figma' | 'file-plus' | 'file-text' | 'file' | 'film' | 'filter' | 'flag' | 'folder-minus' | 'folder-plus' | 'folder' | 'framer' | 'frown' | 'genre' | 'gift' | 'git-branch' | 'git-commit' | 'git-pull-request' | 'github' | 'gitlab' | 'globe' | 'grid' | 'hard-drive' | 'hash' | 'headphones' | 'heart' | 'help-circle' | 'hexagon' | 'home' | 'id' | 'image' | 'inbox' | 'inf' | 'info' | 'instagram' | 'italic' | 'key' | 'layers' | 'layout' | 'life-buoy' | 'link-2' | 'link' | 'linkedin' | 'list-2' | 'list' | 'listagem' | 'loader' | 'lock' | 'log-in' | 'log-out' | 'mail' | 'map-pin' | 'map' | 'maximize-2' | 'maximize' | 'medical' | 'meh' | 'menu' | 'message-square' | 'mic-off' | 'mic' | 'minimize-2' | 'minimize' | 'minus-circle' | 'minus-square' | 'minus' | 'moneylist' | 'monitor' | 'moon' | 'more-horizontal' | 'more-vertical' | 'mouse-pointer' | 'move' | 'music' | 'navigation-2' | 'navigation' | 'octagon' | 'package' | 'paperclip' | 'pause-circle' | 'pause' | 'pdf' | 'pen-tool' | 'percent' | 'phone-call' | 'pie-chart' | 'pix' | 'play-circle' | 'play' | 'plug' | 'plus-circle' | 'plus-square' | 'plus' | 'pocket' | 'power' | 'printer' | 'radio' | 'real' | 'refresh-ccw' | 'refresh-cw' | 'repeat' | 'revenue' | 'rewind' | 'rotate-ccw' | 'rotate-cw' | 'rotate' | 'rss' | 'save' | 'scissors' | 'search' | 'send' | 'server' | 'settings' | 'share-2' | 'share' | 'shield-off' | 'shield' | 'shop' | 'shopping-bag' | 'shopping-cart' | 'shuffle' | 'sidebar' | 'skip-back' | 'skip-forward' | 'slack' | 'slash' | 'sliders' | 'smartphone' | 'smile' | 'speaker' | 'square' | 'star' | 'stop-circle' | 'sun' | 'sunrise' | 'sunset' | 'tablet' | 'tag' | 'target' | 'terminal' | 'thermometer' | 'thumbs-down' | 'thumbs-up' | 'toggle-left' | 'toggle-right' | 'tool' | 'trash-2' | 'trash' | 'trello' | 'trending-down' | 'trending-up' | 'triangle' | 'truck' | 'tv' | 'twitch' | 'twitter' | 'type' | 'umbrella' | 'underline' | 'unlock' | 'upload-cloud' | 'upload' | 'user-check' | 'user-minus' | 'user-plus' | 'user-x' | 'user' | 'user2-out' | 'users' | 'video-off' | 'video' | 'voicemail' | 'volume-1' | 'volume-2' | 'volume-x' | 'volume' | 'weight' | 'whatsapp' | 'wifi-off' | 'wifi' | 'wind' | 'x-circle' | 'x-octagon' | 'x-square' | 'x' | 'xls' | 'zap-off' | 'zap' | 'zoom-in' | 'zoom-out' | 'zoom' | 'ecc-budget' | 'ecc-card' | 'ecc-cart' | 'ecc-client' | 'ecc-logout' | 'ecc-loock' | 'ecc-medical' | 'ecc-star' | 'ecc-table' | 'ecc-truck' | 'ecc-user' | 'ecc-www' | 'scl-facebook' | 'scl-google' | 'pmt-amex' | 'pmt-aura' | 'pmt-billet' | 'pmt-dinersclub' | 'pmt-discover' | 'pmt-elo' | 'pmt-hipercard' | 'pmt-jcb' | 'pmt-mastercard' | 'pmt-paypal' | 'pmt-pix' | 'pmt-visa' | 'illust-banking-billet' | 'illust-budget-analysis' | 'illust-budget-available' | 'illust-budget-error' | 'illust-budget-incomplete' | 'illust-card' | 'illust-check-prescription' | 'illust-date' | 'illust-error-prescription' | 'illust-inclusion-order' | 'illust-incomplete-prescription' | 'illust-order-canceled' | 'illust-order-error' | 'illust-order-success' | 'illust-order-withdrawal' | 'illust-pix' | 'illust-preparation-order' | 'illust-retention-prescription' | 'illust-sent-order' | 'illust-success-prescription' | 'bty-baldness' | 'bty-beard' | 'bty-beauty' | 'bty-blue-light' | 'bty-breasts-and-ass' | 'bty-dandruff' | 'bty-deodorants' | 'bty-eyebags-darkcircles' | 'bty-eyebrows-lashes' | 'bty-filler' | 'bty-hair-growth' | 'bty-hair-loss' | 'bty-hair-strengthener' | 'bty-hand-sanitizer' | 'bty-illuminator' | 'bty-moisturizer' | 'bty-mycosis-chilblains' | 'bty-nail-strengthener' | 'bty-neck-arms' | 'bty-pimples' | 'bty-repellent' | 'bty-sunscreen' | 'bty-varicose-veins' | 'bty-warts' | 'bty-white-hair' | 'bty-whitening' | 'bty-wound-healing' | 'bty-wrinkles' | 'hlt-ansiety-stress' | 'hlt-antiemetic' | 'hlt-bach-florals' | 'hlt-bacillus-lacto' | 'hlt-bad-breath' | 'hlt-builder-vase' | 'hlt-cholesterol' | 'hlt-depression' | 'hlt-diabetes' | 'hlt-digestion-reflux' | 'hlt-diuretics' | 'hlt-gases' | 'hlt-gastric-protector' | 'hlt-hangover' | 'hlt-health' | 'hlt-heart-health' | 'hlt-high-pressure' | 'hlt-homeopathy' | 'hlt-immunity' | 'hlt-intestinal-health' | 'hlt-intimate-hygiene' | 'hlt-libido' | 'hlt-live-protector' | 'hlt-longevity' | 'hlt-memory' | 'hlt-menopause' | 'hlt-nutritional-supplement' | 'hlt-pms-cramps' | 'hlt-prostate' | 'hlt-roast' | 'hlt-sexual-health' | 'hlt-sleep-well' | 'hlt-stress' | 'hlt-urinary-tract' | 'hlt-vitamins-minerals' | 'men-baldness' | 'men-beard' | 'men-dough' | 'men-gynecomastia' | 'men-libido' | 'men-men' | 'wmn-breasts-and-ass' | 'wmn-cellulite' | 'wmn-eyelashes-brows' | 'wmn-filler' | 'wmn-hair-growth' | 'wmn-hair-strengthener' | 'wmn-menopause' | 'wmn-pms-cramps' | 'wmn-whitening' | 'wmn-woman' | 'smr-dry-belly' | 'smr-hair' | 'smr-moisturizer' | 'smr-summer' | 'smr-sunscreen' | 'smr-tanning' | 'sts-budget-analysis' | 'sts-budget-available' | 'sts-budget-expired' | 'sts-budget-incomplete' | 'sts-inclusion-order' | 'sts-medication-performed' | 'sts-order-canceled' | 'sts-order-preparation' | 'sts-order-sent' | 'sts-order-withdrawal' | 'sts-revenue-check' | 'sts-revenue-retention' | 'sts-waiting-billet' | 'sts-waiting-card' | 'sts-waiting-repeat-date' | 'ppe-accelerate-metabolism' | 'ppe-articulations' | 'ppe-binge-eating' | 'ppe-bones' | 'ppe-bruises' | 'ppe-candy-will' | 'ppe-carbohydrate-blocker' | 'ppe-carbohydrate-blocker2' | 'ppe-cellulite-stretch-marks' | 'ppe-cellulite' | 'ppe-conductive-vessel' | 'ppe-detox' | 'ppe-dough' | 'ppe-dry-belly' | 'ppe-energy' | 'ppe-fatty-acids' | 'ppe-fibers' | 'ppe-gh' | 'ppe-gynecomastia' | 'ppe-increase-satiety' | 'ppe-increased-appetite' | 'ppe-inhibit-appetite' | 'ppe-laxative' | 'ppe-lipolitical-action' | 'ppe-localized-fat' | 'ppe-muscle-definition' | 'ppe-pain' | 'ppe-physical-perfomance' | 'ppe-post-workout' | 'ppe-pre-workout' | 'ppe-pro-hormonal' | 'ppe-reduction-measures' | 'ppe-slimming-chocolates' | 'ppe-slimming-gums' | 'ppe-slimming' | 'ppe-strength' | 'ppe-tcp' | 'ppe-thermogenic' | 'ppe-vasodilation' | 'form-bar' | 'form-capsule' | 'form-chocolate' | 'form-cookie' | 'form-cream' | 'form-enamel' | 'form-eyedrop' | 'form-eyeliner' | 'form-floral' | 'form-foam' | 'form-gel' | 'form-gum' | 'form-homeopathy' | 'form-lipstick' | 'form-lollipop' | 'form-lotion' | 'form-oil' | 'form-oralfilm' | 'form-oralpaste' | 'form-others' | 'form-patch' | 'form-pomade' | 'form-pot' | 'form-sachet' | 'form-serum' | 'form-shampoo' | 'form-soapshampoo' | 'form-spray' | 'form-sublingual' | 'form-sunscreen' | 'form-syringe' | 'form-syrup' | 'form-tablet' | 'form-units';
3
3
  export declare type IIconComponentProps = {
4
4
  name: IconName;
5
5
  size?: number | string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,oBAAY,QAAQ,GAChB,UAAU,GACV,SAAS,GACT,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,YAAY,GACZ,aAAa,GACb,QAAQ,GACR,UAAU,GACV,SAAS,GACT,mBAAmB,GACnB,iBAAiB,GACjB,kBAAkB,GAClB,YAAY,GACZ,mBAAmB,GACnB,YAAY,GACZ,oBAAoB,GACpB,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,UAAU,GACV,SAAS,GACT,O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AAY,GACZ,cAAc,GACd,kBAAkB,GAClB,YAAY,GACZ,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,YAAY,GACZ,aAAa,GACb,YAAY,CAAC;AAEjB,oBAAY,mBAAmB,GAAG;IAChC,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,CAAC,EAAE,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CACjD,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/types.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,oBAAY,QAAQ,GAChB,UAAU,GACV,wBAAwB,GACxB,SAAS,GACT,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,cAAc,GACd,eAAe,GACf,YAAY,GACZ,aAAa,GACb,QAAQ,GACR,UAAU,GACV,SAAS,GACT,mBAAmB,GACnB,iBAAiB,GACjB,kBAAkB,GAClB,YAAY,GACZ,mBAAmB,GACnB,YAAY,GACZ,oBAAoB,GACpB,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,UAAU,GACV,SAAS,GACT,OAAO,GACP,MAAM,GACN,aAAa,GACb,WAAW,GACX,SAAS,GACT,UAAU,GACV,kBAAkB,GAClB,SAAS,GACT,UAAU,GACV,MAAM,GACN,QAAQ,GACR,WAAW,GACX,MAAM,GACN,WAAW,GACX,MAAM,GACN,UAAU,GACV,KAAK,GACL,WAAW,GACX,UAAU,GACV,YAAY,GACZ,QAAQ,GACR,eAAe,GACf,MAAM,GACN,OAAO,GACP,OAAO,GACP,YAAY,GACZ,MAAM,GACN,MAAM,GACN,cAAc,GACd,cAAc,GACd,OAAO,GACP,cAAc,GACd,cAAc,GAC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EAAE,CAAC,CAAC;CACjD,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare function AlternativeOrderSvg({ color }: {
3
+ color: string;
4
+ }): JSX.Element;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Illustration/AlternativeOrderSvg/index.tsx"],"names":[],"mappings":";AAAA,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,eA8E/D"}
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AlternativeOrderSvg = AlternativeOrderSvg;
7
+
8
+ var _jsxRuntime = require("react/jsx-runtime");
9
+
10
+ function AlternativeOrderSvg(_ref) {
11
+ var color = _ref.color;
12
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
13
+ width: "168",
14
+ height: "167",
15
+ viewBox: "0 0 168 167",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
19
+ d: "M167.066 83.1856C167.066 95.5397 164.356 107.276 159.491 117.82C146.307 146.474 117.251 166.371 83.5328 166.371C49.8149 166.371 20.759 146.474 7.57439 117.82C2.70917 107.276 0 95.5397 0 83.1856C0 37.2424 37.3979 0 83.5328 0C129.668 0 167.066 37.2424 167.066 83.1856Z",
20
+ fill: "#EAEFED"
21
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
22
+ filter: "url(#filter0_d_3_37)",
23
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
24
+ d: "M8.1759 37.5051C8.1759 31.799 12.8016 27.1733 18.5077 27.1733H148.947C154.653 27.1733 159.278 31.799 159.278 37.5051V128.554C159.278 134.26 154.653 138.886 148.947 138.886H18.5077C12.8016 138.886 8.1759 134.26 8.1759 128.554V37.5051Z",
25
+ fill: "white"
26
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("ellipse", {
27
+ cx: "84.1606",
28
+ cy: "83.0296",
29
+ rx: "39.7536",
30
+ ry: "39.7536",
31
+ fill: "#0FB075"
32
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("ellipse", {
33
+ cx: "87.1798",
34
+ cy: "84.5392",
35
+ rx: "37.7407",
36
+ ry: "38.2439",
37
+ fill: "url(#paint0_linear_3_37)"
38
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
39
+ fillRule: "evenodd",
40
+ clipRule: "evenodd",
41
+ d: "M86.8013 68.9429C88.3337 68.9008 89.8497 69.2712 91.1905 70.0159C92.5466 70.7691 93.6725 71.8768 94.4474 73.2207C95.2341 74.585 94.7659 76.3287 93.4016 77.1154C92.0373 77.9021 90.2936 77.4339 89.5069 76.0696C89.2487 75.6219 88.8735 75.2526 88.4214 75.0015C87.9693 74.7504 87.4573 74.627 86.9403 74.6444C86.9084 74.6454 86.8764 74.646 86.8444 74.646H81.1414C80.3848 74.646 79.6594 74.9464 79.1247 75.481C78.5901 76.0155 78.2898 76.7403 78.2898 77.4959C78.2898 78.2515 78.5901 78.9763 79.1247 79.5108C79.6594 80.0453 80.3848 80.3458 81.1414 80.3458H86.8444C89.113 80.3458 91.2887 81.2467 92.8931 82.8506C94.4975 84.4545 95.399 86.6301 95.399 88.8987C95.399 91.1674 94.4975 93.3429 92.8931 94.9469C91.2887 96.5508 89.113 97.4517 86.8444 97.4517H81.1845C79.6521 97.4938 78.1361 97.1234 76.7953 96.3788C75.4391 95.6256 74.3133 94.5178 73.5384 93.1739C72.7517 91.8096 73.2199 90.0659 74.5842 89.2792C75.9484 88.4925 77.6922 88.9607 78.4789 90.325C78.737 90.7727 79.1122 91.142 79.5643 91.3931C80.0165 91.6442 80.5284 91.7677 81.0454 91.7503C81.0774 91.7492 81.1094 91.7486 81.1414 91.7486H86.8444C87.6009 91.7486 88.3263 91.4482 88.861 90.9136C89.3957 90.3791 89.6959 89.6543 89.6959 88.8987C89.6959 88.1432 89.3957 87.4184 88.861 86.8838C88.3263 86.3493 87.6009 86.0488 86.8444 86.0488H81.1414C78.8728 86.0488 76.697 85.1479 75.0927 83.544C73.4883 81.9401 72.5868 79.7645 72.5868 77.4959C72.5868 75.2272 73.4883 73.0517 75.0927 71.4477C76.697 69.8438 78.8728 68.9429 81.1414 68.9429H86.8013Z",
42
+ fill: "white"
43
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
44
+ fillRule: "evenodd",
45
+ clipRule: "evenodd",
46
+ d: "M83.9929 60.3851C85.5678 60.3851 86.8445 61.6617 86.8445 63.2366V69.8901C86.8445 71.465 85.5678 72.7417 83.9929 72.7417C82.4181 72.7417 81.1414 71.465 81.1414 69.8901V63.2366C81.1414 61.6617 82.4181 60.3851 83.9929 60.3851ZM83.9929 93.6528C85.5678 93.6528 86.8445 94.9295 86.8445 96.5043V103.158C86.8445 104.733 85.5678 106.009 83.9929 106.009C82.4181 106.009 81.1414 104.733 81.1414 103.158V96.5043C81.1414 94.9295 82.4181 93.6528 83.9929 93.6528Z",
47
+ fill: "white"
48
+ })]
49
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
50
+ cx: "30.5001",
51
+ cy: "135.203",
52
+ r: "30.3756",
53
+ fill: color
54
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("defs", {
55
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("filter", {
56
+ id: "filter0_d_3_37",
57
+ x: "2.1759",
58
+ y: "23.1733",
59
+ width: "163.103",
60
+ height: "123.713",
61
+ filterUnits: "userSpaceOnUse",
62
+ colorInterpolationFilters: "sRGB",
63
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("feFlood", {
64
+ floodOpacity: "0",
65
+ result: "BackgroundImageFix"
66
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feColorMatrix", {
67
+ in: "SourceAlpha",
68
+ type: "matrix",
69
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
70
+ result: "hardAlpha"
71
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feOffset", {
72
+ dy: "2"
73
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feGaussianBlur", {
74
+ stdDeviation: "3"
75
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feComposite", {
76
+ in2: "hardAlpha",
77
+ operator: "out"
78
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feColorMatrix", {
79
+ type: "matrix",
80
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
81
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
82
+ mode: "normal",
83
+ in2: "BackgroundImageFix",
84
+ result: "effect1_dropShadow_3_37"
85
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
86
+ mode: "normal",
87
+ in: "SourceGraphic",
88
+ in2: "effect1_dropShadow_3_37",
89
+ result: "shape"
90
+ })]
91
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("linearGradient", {
92
+ id: "paint0_linear_3_37",
93
+ x1: "59.9492",
94
+ y1: "55.009",
95
+ x2: "119.169",
96
+ y2: "127.341",
97
+ gradientUnits: "userSpaceOnUse",
98
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
99
+ stopColor: "#10C281"
100
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
101
+ offset: "1",
102
+ stopColor: "#34D399"
103
+ })]
104
+ })]
105
+ })]
106
+ });
107
+ }
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare function CollaboratorSvg({ color }: {
3
+ color: string;
4
+ }): JSX.Element;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Illustration/CollaboratorSvg/index.tsx"],"names":[],"mappings":";AAAA,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,eAwF3D"}
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CollaboratorSvg = CollaboratorSvg;
7
+
8
+ var _jsxRuntime = require("react/jsx-runtime");
9
+
10
+ function CollaboratorSvg(_ref) {
11
+ var color = _ref.color;
12
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("svg", {
13
+ width: "148",
14
+ height: "148",
15
+ viewBox: "0 0 148 148",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
19
+ d: "M143.639 74C143.639 114.9 111.514 148 71.8195 148C32.1247 148 0 114.9 0 74C0 33.1 32.1247 0 71.8195 0C111.514 0 143.639 33.1 143.639 74Z",
20
+ fill: "#EAEFED"
21
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
22
+ filter: "url(#filter0_d_0_4)",
23
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
24
+ d: "M140.739 18H16.8475C15.0549 18 13.5875 19.8 13.5875 22V126C13.5875 128.2 15.0549 130 16.8485 130H140.739C142.533 130 144 128.2 144 126V22C144 19.8 142.533 18 140.739 18Z",
25
+ fill: "white"
26
+ })
27
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
28
+ d: "M16.8602 18C14.725 18 12.9781 19.8 12.9781 22V126C12.9781 128.2 14.725 130 16.8602 130H90.6208V18H16.8602Z",
29
+ fill: "".concat(color, "45")
30
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
31
+ d: "M12.9781 81.488V22C12.9781 19.8 14.725 18 16.8602 18H90.6208V84.799C81.0775 94.678 67.8676 100.793 53.2717 100.793C37.1084 100.793 22.6436 93.293 12.9781 81.488Z",
32
+ fill: "".concat(color, "55")
33
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
34
+ fillRule: "evenodd",
35
+ clipRule: "evenodd",
36
+ d: "M32.0831 104.589L45.3959 110.108L57.3966 117.372L59.029 89.608C59.029 89.608 73.7239 93.483 75.9813 89.353C77.8564 85.926 75.4242 83.745 76.6277 83.165C77.3401 82.821 78.5329 80.433 77.0547 79.243C78.1369 78.745 77.9632 76.958 77.771 76.407C77.4876 75.6 76.7519 75.887 77.2644 74.537C77.6555 73.509 79.482 73.505 79.417 71.451C79.3539 69.397 73.8015 64.102 72.9601 62.219C72.4263 61.028 72.0895 55.468 71.0258 53.152C69.173 49.118 65.9887 46.236 62.6928 44.573C61.0285 43.729 59.238 43.1806 57.3966 42.951C55.5351 42.73 53.5076 42.569 51.6413 42.681C47.0982 42.958 42.7813 45.144 39.2738 48.088C36.2904 50.597 33.7068 53.768 32.4597 57.55C30.9088 62.25 31.6008 67.635 34.0446 71.898C35.7197 74.82 44.5506 78.069 45.3891 81.363L32.0831 104.589Z",
37
+ fill: "#975D48"
38
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
39
+ fillRule: "evenodd",
40
+ clipRule: "evenodd",
41
+ d: "M18.8013 130H69.269C69.269 130 56.1668 91 35.7856 97.5L18.8013 130Z",
42
+ fill: "#465953"
43
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
44
+ fillRule: "evenodd",
45
+ clipRule: "evenodd",
46
+ d: "M23.6537 91.5C29.9622 95.5 36.7802 100.378 55.4737 100.378V84.064C55.4737 80.301 51.873 74.838 50.7607 72.515C50.1183 71.169 49.6369 69.541 50.3143 68.216C50.6569 67.55 51.247 67.058 51.838 66.607C55.1379 64.092 58.9297 62.184 61.7385 59.099C64.5258 56.035 66.1398 51.886 66.2291 47.704C71.2283 50.828 72.2969 58.37 72.3085 58.405C73.5799 57.251 75.0726 55.961 75.0726 53.322C75.0726 43.47 52.4174 29.132 34.0443 44.638C15.8681 59.976 23.6537 91.5 23.6537 91.5Z",
47
+ fill: "#EAEFED"
48
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
49
+ d: "M133.324 70H100.326C99.2584 70 98.3849 69.1 98.3849 68C98.3849 66.9 99.2584 66 100.326 66H133.324C134.392 66 135.265 66.9 135.265 68C135.265 69.1 134.392 70 133.324 70ZM133.324 60H100.326C99.2584 60 98.3849 59.1 98.3849 58C98.3849 56.9 99.2584 56 100.326 56H133.324C134.392 56 135.265 56.9 135.265 58C135.265 59.1 134.392 60 133.324 60Z",
50
+ fill: "#CAD6D1"
51
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
52
+ d: "M122.648 88H103.238C100.52 88 98.3849 85.8 98.3849 83C98.3849 80.2 100.52 78 103.238 78H122.648C125.366 78 127.501 80.2 127.501 83C127.501 85.8 125.366 88 122.648 88Z",
53
+ fill: "".concat(color, "95")
54
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
55
+ d: "M129.816 40C130.799 41.9575 131.697 43.9596 132.506 46H101.297C99.6466 46 98.3849 44.7 98.3849 43C98.3849 41.3 99.6466 40 101.297 40H129.816Z",
56
+ fill: "#CAD6D1"
57
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
58
+ cx: "116.5",
59
+ cy: "122.5",
60
+ r: "22.5",
61
+ fill: color
62
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("defs", {
63
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("filter", {
64
+ id: "filter0_d_0_4",
65
+ x: "8.58747",
66
+ y: "14",
67
+ width: "140.413",
68
+ height: "122",
69
+ filterUnits: "userSpaceOnUse",
70
+ colorInterpolationFilters: "sRGB",
71
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("feFlood", {
72
+ floodOpacity: "0",
73
+ result: "BackgroundImageFix"
74
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feColorMatrix", {
75
+ in: "SourceAlpha",
76
+ type: "matrix",
77
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
78
+ result: "hardAlpha"
79
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feOffset", {
80
+ dy: "1"
81
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feGaussianBlur", {
82
+ stdDeviation: "2.5"
83
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feColorMatrix", {
84
+ type: "matrix",
85
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"
86
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
87
+ mode: "normal",
88
+ in2: "BackgroundImageFix",
89
+ result: "effect1_dropShadow_0_4"
90
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("feBlend", {
91
+ mode: "normal",
92
+ in: "SourceGraphic",
93
+ in2: "effect1_dropShadow_0_4",
94
+ result: "shape"
95
+ })]
96
+ })
97
+ })]
98
+ });
99
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Illustration/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAkB3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAG5C,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8CvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Illustration/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAoB3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAG5C,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAkDvC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -9,6 +9,8 @@ var _Icon = _interopRequireDefault(require("../Icon"));
9
9
 
10
10
  var _OrderSvg = require("./OrderSvg");
11
11
 
12
+ var _AlternativeOrderSvg = require("./AlternativeOrderSvg");
13
+
12
14
  var _PrescriptionSvg = require("./PrescriptionSvg");
13
15
 
14
16
  var _CalendarSvg = require("./CalendarSvg");
@@ -27,6 +29,8 @@ var _CardSvg = require("./CardSvg");
27
29
 
28
30
  var _TransportSvg = require("./TransportSvg");
29
31
 
32
+ var _CollaboratorSvg = require("./CollaboratorSvg");
33
+
30
34
  var _theme = require("../../shared/theme");
31
35
 
32
36
  var _styles = require("./styles");
@@ -60,6 +64,11 @@ var Illustration = function Illustration(_ref) {
60
64
  color: color
61
65
  });
62
66
 
67
+ case 'illust-alternative-order':
68
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_AlternativeOrderSvg.AlternativeOrderSvg, {
69
+ color: color
70
+ });
71
+
63
72
  case 'illust-prescription':
64
73
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PrescriptionSvg.PrescriptionSvg, {
65
74
  color: color
@@ -110,6 +119,11 @@ var Illustration = function Illustration(_ref) {
110
119
  color: color
111
120
  });
112
121
 
122
+ case 'illust-collaborator':
123
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CollaboratorSvg.CollaboratorSvg, {
124
+ color: color
125
+ });
126
+
113
127
  default:
114
128
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_OrderSvg.OrderSvg, {
115
129
  color: color
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Illustration/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,qBAAqB;;;yGAKjC,CAAC;AAEF,eAAO,MAAM,aAAa;;;sIAiCzB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Illustration/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,qBAAqB;;;yGAKjC,CAAC;AAEF,eAAO,MAAM,aAAa;;;sIA6CzB,CAAC"}
@@ -24,11 +24,17 @@ var IconContainer = _styled.default.div(_templateObject2 || (_templateObject2 =
24
24
  case 'illust-order':
25
25
  return "\n top: 40px;\n left: 54px;\n ";
26
26
 
27
+ case 'illust-alternative-order':
28
+ return "\n width: 35px;\n top: 105px;\n left: 12px;\n ";
29
+
27
30
  case 'illust-box-delivery':
28
31
  return "\n top: 123px;\n left: 122px;\n width: 35px;\n ";
29
32
 
30
33
  case 'illust-transport':
31
- return "\n top: 123px;\n left: 122px;\n width: 35px;\n ";
34
+ return "\n top: 123px;\n left: 122px;\n width: 35px;\n ";
35
+
36
+ case 'illust-collaborator':
37
+ return "\n top: 92px;\n left: 99px;\n width: 35px;\n ";
32
38
 
33
39
  default:
34
40
  return "\n top: 123px;\n left: 10px;\n width: 35px;\n ";
@@ -1,7 +1,7 @@
1
1
  import { IconName } from '../Icon/types';
2
2
  export interface IllustrationProps {
3
3
  iconName?: IconName;
4
- name?: 'illust-inquiry' | 'illust-order' | 'illust-prescription' | 'illust-calendar' | 'illust-card' | 'illust-pix' | 'illust-boleto' | 'illust-box-closed' | 'illust-box-open' | 'illust-box-delivery' | 'illust-transport';
4
+ name?: 'illust-inquiry' | 'illust-order' | 'illust-alternative-order' | 'illust-prescription' | 'illust-calendar' | 'illust-card' | 'illust-pix' | 'illust-boleto' | 'illust-box-closed' | 'illust-box-open' | 'illust-box-delivery' | 'illust-transport' | 'illust-collaborator';
5
5
  type?: 'default' | 'success' | 'warning' | 'error' | 'critical' | 'informative';
6
6
  }
7
7
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Illustration/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,IAAI,CAAC,EACD,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,aAAa,GACb,YAAY,GACZ,eAAe,GACf,mBAAmB,GACnB,iBAAiB,GACjB,qBAAqB,GACrB,kBAAkB,CAAC;IACvB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,CAAC;CACjF"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Illustration/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,IAAI,CAAC,EACD,gBAAgB,GAChB,cAAc,GACd,0BAA0B,GAC1B,qBAAqB,GACrB,iBAAiB,GACjB,aAAa,GACb,YAAY,GACZ,eAAe,GACf,mBAAmB,GACnB,iBAAiB,GACjB,qBAAqB,GACrB,kBAAkB,GAClB,qBAAqB,CAAC;IAC1B,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,CAAC;CACjF"}
@@ -1,5 +1,4 @@
1
- import { FC } from 'react';
1
+ /// <reference types="react" />
2
2
  import { LabelProps } from './types';
3
- declare const LabelInput: FC<LabelProps>;
4
- export default LabelInput;
3
+ export default function LabelInput({ label, labelType, icon: Icon, iconSide, textColor, backgroundColor, }: LabelProps): JSX.Element;
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Label/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,UAAU,CAkB9B,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Label/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,KAAK,EACL,SAAqB,EACrB,IAAI,EAAE,IAAI,EACV,QAAiB,EACjB,SAAc,EACd,eAAoB,GACrB,EAAE,UAAU,eA6BZ"}
@@ -3,10 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = void 0;
6
+ exports.default = LabelInput;
7
7
 
8
8
  var _react = require("@emotion/react");
9
9
 
10
+ var _getColorValue = require("src/utils/getColorValue");
11
+
10
12
  var _Icon = _interopRequireDefault(require("../Icon"));
11
13
 
12
14
  var _styles = require("./styles");
@@ -15,19 +17,32 @@ var _jsxRuntime = require("react/jsx-runtime");
15
17
 
16
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
19
 
18
- var LabelInput = function LabelInput(_ref) {
20
+ function LabelInput(_ref) {
19
21
  var label = _ref.label,
20
22
  _ref$labelType = _ref.labelType,
21
23
  labelType = _ref$labelType === void 0 ? 'success' : _ref$labelType,
22
24
  Icon = _ref.icon,
23
25
  _ref$iconSide = _ref.iconSide,
24
- iconSide = _ref$iconSide === void 0 ? 'left' : _ref$iconSide;
26
+ iconSide = _ref$iconSide === void 0 ? 'left' : _ref$iconSide,
27
+ _ref$textColor = _ref.textColor,
28
+ textColor = _ref$textColor === void 0 ? '' : _ref$textColor,
29
+ _ref$backgroundColor = _ref.backgroundColor,
30
+ backgroundColor = _ref$backgroundColor === void 0 ? '' : _ref$backgroundColor;
25
31
  var theme = (0, _react.useTheme)();
26
- var backgroundColor = theme.colors[labelType].blurred;
27
- var textColor = theme.colors[labelType].default;
32
+ var parsedTextColor = (0, _getColorValue.getColorValue)(textColor, theme, theme.colors[labelType].default);
33
+ var parsedBackgroundColor = (0, _getColorValue.getColorValue)(backgroundColor, theme, theme.colors[labelType].blurred);
34
+
35
+ if (parsedTextColor.includes('.')) {
36
+ parsedTextColor = (0, _getColorValue.getThemeHex)(parsedTextColor, theme);
37
+ }
38
+
39
+ if (parsedBackgroundColor.includes('.')) {
40
+ parsedBackgroundColor = (0, _getColorValue.getThemeHex)(parsedTextColor, theme);
41
+ }
42
+
28
43
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.LabelWrapper, {
29
- backgroundColor: backgroundColor,
30
- color: textColor,
44
+ backgroundColor: parsedBackgroundColor,
45
+ color: parsedTextColor,
31
46
  "data-testid": "label-wrapper",
32
47
  children: [Icon && iconSide === 'left' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
33
48
  name: Icon,
@@ -37,7 +52,4 @@ var LabelInput = function LabelInput(_ref) {
37
52
  size: "16px"
38
53
  })]
39
54
  });
40
- };
41
-
42
- var _default = LabelInput;
43
- exports.default = _default;
55
+ }
@@ -13,7 +13,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
13
13
 
14
14
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
15
 
16
- var LabelWrapper = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 4px 8px;\n border-radius: 80px;\n\n background-color: ", ";\n\n color: ", ";\n font-size: ", ";\n font-weight: 500;\n user-select: none;\n"])), function (_ref) {
16
+ var LabelWrapper = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px 14px;\n border-radius: 1em;\n\n background-color: ", ";\n\n color: ", ";\n font-size: ", ";\n font-weight: 500;\n user-select: none;\n"])), function (_ref) {
17
17
  var backgroundColor = _ref.backgroundColor;
18
18
  return backgroundColor;
19
19
  }, function (_ref2) {
@@ -1,4 +1,4 @@
1
- import { ExtendThemeProps } from '../../shared/theme';
1
+ import { ExtendThemeProps, GlobalColorsProps } from '../../shared/theme';
2
2
  import { IconName } from '../Icon/types';
3
3
  export declare type IStyleProps = {
4
4
  theme?: ExtendThemeProps;
@@ -12,5 +12,7 @@ export declare type LabelProps = {
12
12
  icon?: IconName;
13
13
  label?: string;
14
14
  iconSide?: 'left' | 'right';
15
+ textColor?: GlobalColorsProps | (string & {});
16
+ backgroundColor?: GlobalColorsProps | (string & {});
15
17
  };
16
18
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Label/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,oBAAY,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,UAAU,GAAG;IACvB,SAAS,CAAC,EACN,SAAS,GACT,OAAO,GACP,SAAS,GACT,aAAa,GACb,UAAU,GACV,mBAAmB,GACnB,mBAAmB,CAAC;IACxB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Label/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,oBAAY,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,UAAU,GAAG;IACvB,SAAS,CAAC,EACN,SAAS,GACT,OAAO,GACP,SAAS,GACT,aAAa,GACb,UAAU,GACV,mBAAmB,GACnB,mBAAmB,CAAC;IACxB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAC9C,eAAe,CAAC,EAAE,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CACrD,CAAC"}
@@ -1,6 +1,7 @@
1
+ import { ReactNode } from 'react';
1
2
  export declare type SelectAlertType = 'success' | 'error' | 'warning' | 'informative' | 'critical' | 'success_secondary' | 'warning_secondary';
2
3
  export interface SelectOption {
3
- label: string;
4
+ label: ReactNode;
4
5
  value: string | number;
5
6
  }
6
7
  export declare type sizeSelect = 'sm' | 'md';
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/types.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe,GACvB,SAAS,GACT,OAAO,GACP,SAAS,GACT,aAAa,GACb,UAAU,GACV,mBAAmB,GACnB,mBAAmB,CAAC;AAExB,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,oBAAY,UAAU,GAAG,IAAI,GAAG,IAAI,CAAC;AAErC,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,oBAAY,eAAe,GACvB,SAAS,GACT,OAAO,GACP,SAAS,GACT,aAAa,GACb,UAAU,GACV,mBAAmB,GACnB,mBAAmB,CAAC;AAExB,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,oBAAY,UAAU,GAAG,IAAI,GAAG,IAAI,CAAC;AAErC,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDisableBodyScroll.d.ts","sourceRoot":"","sources":["../../../src/shared/hooks/useDisableBodyScroll.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,oBAAoB,YACtB,OAAO,SACV,OAAO,GAAG,eAAe,SAwBhC,CAAC"}
1
+ {"version":3,"file":"useDisableBodyScroll.d.ts","sourceRoot":"","sources":["../../../src/shared/hooks/useDisableBodyScroll.tsx"],"names":[],"mappings":"AAoCA,eAAO,MAAM,oBAAoB,YACtB,OAAO,SACV,OAAO,GAAG,eAAe,SAehC,CAAC"}
@@ -18,33 +18,45 @@ function enableBodyOverflow() {
18
18
  document.body.style.paddingRight = '';
19
19
  }
20
20
 
21
- var useDisableBodyScroll = function useDisableBodyScroll(disable) {
22
- var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'child_element';
23
- (0, _react.useEffect)(function () {
24
- // disable body scroll when type modal:
25
- if (disable && type === 'modal') {
26
- document.body.setAttribute('data-modal-open', 'true');
27
- return disableBodyOverflow();
28
- } // enable body scroll when type modal:
21
+ function setBodyOverflow(disable, type) {
22
+ // disable body scroll when type modal:
23
+ if (disable && type === 'modal') {
24
+ document.body.setAttribute('data-modal-open', 'true');
25
+ return disableBodyOverflow();
26
+ } // enable body scroll when type modal:
27
+
29
28
 
29
+ if (!disable && type === 'modal') {
30
+ document.body.setAttribute('data-modal-open', 'false');
31
+ return enableBodyOverflow();
32
+ } // disable body scroll when type child_element:
30
33
 
31
- if (!disable && type === 'modal') {
32
- document.body.setAttribute('data-modal-open', 'false');
33
- return enableBodyOverflow();
34
- } // disable body scroll when type child_element:
35
34
 
35
+ if (disable && type === 'child_element') {
36
+ if (document.body.getAttribute('data-modal-open') === 'true') return;
37
+ return disableBodyOverflow();
38
+ } // enable body scroll when type child_element:
36
39
 
37
- if (disable && type === 'child_element') {
38
- if (document.body.getAttribute('data-modal-open') === 'true') return;
39
- return disableBodyOverflow();
40
- } // enable body scroll when type child_element:
41
40
 
41
+ if (!disable && type === 'child_element') {
42
+ if (document.body.getAttribute('data-modal-open') === 'true') return;
43
+ return enableBodyOverflow();
44
+ }
45
+ }
42
46
 
43
- if (!disable && type === 'child_element') {
44
- if (document.body.getAttribute('data-modal-open') === 'true') return;
45
- return enableBodyOverflow();
46
- }
47
- }, [disable]);
47
+ var useDisableBodyScroll = function useDisableBodyScroll(disable) {
48
+ var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'child_element';
49
+ (0, _react.useEffect)(function () {
50
+ setBodyOverflow(disable, type);
51
+ document.body.addEventListener('data-modal-open', function () {
52
+ setBodyOverflow(disable, type);
53
+ });
54
+ return function () {
55
+ document.body.removeEventListener('data-modal-open', function () {
56
+ setBodyOverflow(disable, type);
57
+ });
58
+ };
59
+ }, [disable, type]);
48
60
  };
49
61
 
50
62
  exports.useDisableBodyScroll = useDisableBodyScroll;