@pedidopago/ui 1.4.4 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Badge/styles.d.ts.map +1 -1
- package/dist/components/Badge/styles.js +1 -1
- package/dist/components/Button/styles.d.ts.map +1 -1
- package/dist/components/Button/styles.js +1 -1
- package/dist/components/DateInput/index.d.ts.map +1 -1
- package/dist/components/DateInput/index.js +1 -0
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/Icon/data/dash.d.ts.map +1 -1
- package/dist/components/Icon/data/dash.js +1 -1
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/components/Icon/types.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +6 -3
- package/dist/components/MultipleSelect/components/OptionsArea/styles.d.ts.map +1 -1
- package/dist/components/MultipleSelect/components/OptionsArea/styles.js +1 -1
- package/dist/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.d.ts.map +1 -1
- package/dist/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.js +1 -1
- package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.d.ts +3 -1
- package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.d.ts.map +1 -1
- package/dist/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.js +29 -21
- package/dist/components/MultipleSelect/components/SelectArea/index.d.ts.map +1 -1
- package/dist/components/MultipleSelect/components/SelectArea/index.js +2 -0
- package/dist/components/Pagination/styles.d.ts.map +1 -1
- package/dist/components/Pagination/styles.js +1 -1
- package/dist/components/Progress/Circle/index.d.ts +2 -2
- package/dist/components/Progress/Circle/index.d.ts.map +1 -1
- package/dist/components/Progress/Circle/index.js +53 -36
- package/dist/components/Progress/Circle/styles.d.ts +28 -0
- package/dist/components/Progress/Circle/styles.d.ts.map +1 -0
- package/dist/components/Progress/Circle/styles.js +83 -0
- package/dist/components/Progress/Circle/types.d.ts +19 -0
- package/dist/components/Progress/Circle/types.d.ts.map +1 -0
- package/dist/components/Progress/Circle/types.js +1 -0
- package/dist/components/Progress/Linear/index.d.ts +2 -2
- package/dist/components/Progress/Linear/index.d.ts.map +1 -1
- package/dist/components/Progress/Linear/index.js +28 -25
- package/dist/components/Progress/Linear/styles.d.ts +16 -0
- package/dist/components/Progress/Linear/styles.d.ts.map +1 -0
- package/dist/components/Progress/Linear/styles.js +79 -0
- package/dist/components/Progress/Linear/types.d.ts +14 -0
- package/dist/components/Progress/Linear/types.d.ts.map +1 -0
- package/dist/components/Progress/Linear/types.js +1 -0
- package/dist/components/Progress/index.d.ts +2 -2
- package/dist/components/Progress/index.d.ts.map +1 -1
- package/dist/components/Progress/index.js +18 -45
- package/dist/components/Progress/types.d.ts +28 -0
- package/dist/components/Progress/types.d.ts.map +1 -0
- package/dist/components/Progress/types.js +1 -0
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +18 -0
- package/dist/components/Tabs/TabsExample.js +1 -0
- package/dist/components/Tabs/components/TabPanel.d.ts.map +1 -1
- package/dist/components/Tabs/components/TabPanel.js +3 -1
- package/dist/components/Tabs/styles.d.ts +2 -0
- package/dist/components/Tabs/styles.d.ts.map +1 -1
- package/dist/components/Tabs/styles.js +3 -1
- package/dist/components/Tabs/types.d.ts +1 -0
- package/dist/components/Tabs/types.d.ts.map +1 -1
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/Tooltip/index.js +10 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +55 -1
- package/dist/shared/hooks/devices.d.ts +9 -0
- package/dist/shared/hooks/devices.d.ts.map +1 -0
- package/dist/shared/hooks/devices.js +14 -0
- package/dist/shared/hooks/useBreakpoints.d.ts +26 -0
- package/dist/shared/hooks/useBreakpoints.d.ts.map +1 -0
- package/dist/shared/hooks/useBreakpoints.js +129 -0
- package/dist/shared/hooks/useDevices.d.ts +9 -0
- package/dist/shared/hooks/useDevices.d.ts.map +1 -0
- package/dist/shared/hooks/useDevices.js +61 -0
- package/dist/shared/hooks/useWindowSize.d.ts +4 -0
- package/dist/shared/hooks/useWindowSize.d.ts.map +1 -1
- package/dist/shared/theme/theme.types.d.ts +1 -1
- package/dist/shared/theme/theme.types.d.ts.map +1 -1
- package/dist/utils/colorToGray.d.ts +1 -1
- package/dist/utils/colorToGray.d.ts.map +1 -1
- package/dist/utils/getSvg.js +1 -1
- package/dist/utils/getValuesBySize.d.ts +7 -0
- package/dist/utils/getValuesBySize.d.ts.map +1 -0
- package/dist/utils/getValuesBySize.js +10 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GlobalColorsProps } from '../../shared/theme';
|
|
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-outlined' | 'check-circle' | 'check-square' | 'check' | 'cheque' | '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' | 'dislike' | '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' | 'like' | 'link-2' | 'link' | 'linkedin' | 'list-2' | 'list' | 'listagem' | 'loader' | 'lock' | 'log-in' | 'log-out' | 'machine-money' | 'mail' | 'map-pin' | 'map' | 'maximize-2' | 'maximize' | 'medical' | 'meh' | 'menu' | 'message-square' | 'mic-off' | 'mic' | 'minimize-2' | 'minimize' | 'minus-circle' | 'minus-square' | 'minus' | 'money' | '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' | 'pp-extended' | 'pp' | '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' | 'pp-colored-extended' | 'pp-colored';
|
|
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-outlined' | 'check-circle' | 'check-square' | 'check' | 'cheque' | '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' | 'dislike' | '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' | 'like' | 'link-2' | 'link' | 'linkedin' | 'list-2' | 'list' | 'listagem' | 'loader' | 'lock' | 'log-in' | 'log-out' | 'machine-money' | 'mail' | 'map-pin' | 'map' | 'maximize-2' | 'maximize' | 'medical' | 'meh' | 'menu' | 'message-square' | 'mic-off' | 'mic' | 'minimize-2' | 'minimize' | 'minus-circle' | 'minus-square' | 'minus' | 'money' | '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' | 'pin' | 'pix' | 'play-circle' | 'play' | 'plug' | 'plus-circle' | 'plus-square' | 'plus' | 'pocket' | 'power' | 'pp-extended' | 'pp' | 'printer' | 'radio' | 'real' | 'refresh-ccw' | 'refresh-cw' | 'repeat' | 'revenue' | 'rewind' | 'robot' | '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' | 'pp-colored-extended' | 'pp-colored';
|
|
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,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,G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AAY,GACZ,iBAAiB,GACjB,gBAAgB,GAChB,cAAc,GACd,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,qBAAqB,GACrB,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,uBAAuB,GACvB,cAAc,GACd,cAAc,GACd,OAAO,GACP,QAAQ,G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AAC;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,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ModalProps } from './types';
|
|
3
|
-
export declare const Modal: import("react").MemoExoticComponent<({ open, left, top, anchorX, anchorY, offsetX, offsetY, hideScrollBar, disableScrollOnOpen, maxWidth, maxHeight, onClose, ...rest }: ModalProps) => JSX.Element>;
|
|
3
|
+
export declare const Modal: import("react").MemoExoticComponent<({ open, left, top, anchorX, anchorY, offsetX, offsetY, hideScrollBar, disableScrollOnOpen, maxWidth, maxHeight, onClose, hideOverlay, ...rest }: ModalProps) => JSX.Element>;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA8GrC,eAAO,MAAM,KAAK,wLA7Ff,UAAU,iBA6F4B,CAAC"}
|
|
@@ -19,7 +19,7 @@ var _styles = require("./styles");
|
|
|
19
19
|
|
|
20
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
21
|
|
|
22
|
-
var _excluded = ["open", "left", "top", "anchorX", "anchorY", "offsetX", "offsetY", "hideScrollBar", "disableScrollOnOpen", "maxWidth", "maxHeight", "onClose"];
|
|
22
|
+
var _excluded = ["open", "left", "top", "anchorX", "anchorY", "offsetX", "offsetY", "hideScrollBar", "disableScrollOnOpen", "maxWidth", "maxHeight", "onClose", "hideOverlay"];
|
|
23
23
|
|
|
24
24
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
25
25
|
|
|
@@ -46,11 +46,12 @@ var ModalComponent = function ModalComponent(_ref) {
|
|
|
46
46
|
maxWidth = _ref.maxWidth,
|
|
47
47
|
maxHeight = _ref.maxHeight,
|
|
48
48
|
onClose = _ref.onClose,
|
|
49
|
+
hideOverlay = _ref.hideOverlay,
|
|
49
50
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
50
51
|
|
|
51
52
|
var containerRef = (0, _react.useRef)(null);
|
|
52
53
|
(0, _useKeyPress.useKeyPress)('Escape', function () {
|
|
53
|
-
return onClose && onClose();
|
|
54
|
+
return open && onClose && onClose();
|
|
54
55
|
});
|
|
55
56
|
(0, _useDisableBodyScroll.useDisableBodyScroll)(open && disableScrollOnOpen, 'modal');
|
|
56
57
|
|
|
@@ -124,7 +125,8 @@ var ModalComponent = function ModalComponent(_ref) {
|
|
|
124
125
|
isOpen: open,
|
|
125
126
|
onClick: function onClick() {
|
|
126
127
|
return onClose();
|
|
127
|
-
}
|
|
128
|
+
},
|
|
129
|
+
hidden: hideOverlay
|
|
128
130
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.ModalContainer, {
|
|
129
131
|
ref: containerRef,
|
|
130
132
|
open: open,
|
|
@@ -134,6 +136,7 @@ var ModalComponent = function ModalComponent(_ref) {
|
|
|
134
136
|
top: "calc(".concat(top, " + ").concat(offsetY, ")"),
|
|
135
137
|
anchorTranslate: getAnchorTranslate(),
|
|
136
138
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.ModalElement, {
|
|
139
|
+
"data-scroll": "dispatch-scroll",
|
|
137
140
|
open: open,
|
|
138
141
|
maxHeight: typeof maxHeight === 'number' ? "".concat(maxHeight, "px") : maxHeight,
|
|
139
142
|
hideScrollBar: hideScrollBar,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/MultipleSelect/components/OptionsArea/styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,kBAAkB;;;uHAwC9B,CAAC;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/MultipleSelect/components/OptionsArea/styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,kBAAkB;;;uHAwC9B,CAAC;AA6BF,eAAO,MAAM,iBAAiB;;;gIAe7B,CAAC;AAEF,eAAO,MAAM,IAAI;;;yHAGhB,CAAC;AAEF,eAAO,MAAM,UAAU;;;mHAErB,CAAC"}
|
|
@@ -49,7 +49,7 @@ var OptionsAreaWrapper = _styled.default.div(_templateObject || (_templateObject
|
|
|
49
49
|
|
|
50
50
|
exports.OptionsAreaWrapper = OptionsAreaWrapper;
|
|
51
51
|
|
|
52
|
-
var OptionItemStyle = _styled.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n box-sizing: border-box;\n\n
|
|
52
|
+
var OptionItemStyle = _styled.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n box-sizing: border-box;\n\n padding: 16px 24px;\n\n outline: 0;\n background: none;\n border: 0;\n\n font-size: ", ";\n font-weight: ", ";\n\n cursor: pointer;\n\n :focus,\n :hover {\n background-color: ", ";\n\n border-radius: ", ";\n }\n"])), function (_ref7) {
|
|
53
53
|
var theme = _ref7.theme;
|
|
54
54
|
return theme.fontSizes.xs;
|
|
55
55
|
}, function (_ref8) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectAreaWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.ts"],"names":[],"mappings":";AAGA,OAAO,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;AAGtD,eAAO,MAAM,iBAAiB;;;
|
|
1
|
+
{"version":3,"file":"SelectAreaWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/MultipleSelect/components/SelectArea/SelectAreaWrapper.ts"],"names":[],"mappings":";AAGA,OAAO,EAAc,WAAW,EAAE,MAAM,aAAa,CAAC;AAGtD,eAAO,MAAM,iBAAiB;;;uHAsB7B,CAAC"}
|
|
@@ -15,7 +15,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
15
15
|
|
|
16
16
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
17
17
|
|
|
18
|
-
var SelectAreaWrapper = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n box-sizing: border-box;\n position: relative;\n\n min-height: 52px;\n padding: 4px 20px;\n\n border: 2px solid\n ", ";\n border-radius: 8px;\n\n transition: all ease-in-out 0.2s;\n\n ", "\n"])), function (_ref) {
|
|
18
|
+
var SelectAreaWrapper = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n position: relative;\n\n width: 100%;\n min-height: 52px;\n padding: 4px 20px;\n\n border: 2px solid\n ", ";\n border-radius: 8px;\n\n transition: all ease-in-out 0.2s;\n\n ", "\n"])), function (_ref) {
|
|
19
19
|
var theme = _ref.theme;
|
|
20
20
|
return {
|
|
21
21
|
light: theme.colors.neutral.neutral2,
|
|
@@ -3,7 +3,9 @@ import { IStyleProps } from '../../types';
|
|
|
3
3
|
export declare const SelectedOptionsArea: import("@emotion/styled").StyledComponent<{
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
as?: import("react").ElementType<any> | undefined;
|
|
6
|
-
} &
|
|
6
|
+
} & {
|
|
7
|
+
multiple?: boolean | undefined;
|
|
8
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
9
|
export declare const SelectedSingleOption: import("@emotion/styled").StyledComponent<{
|
|
8
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
9
11
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedOptionsArea.d.ts","sourceRoot":"","sources":["../../../../../src/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"SelectedOptionsArea.d.ts","sourceRoot":"","sources":["../../../../../src/components/MultipleSelect/components/SelectArea/SelectedOptionsArea.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,mBAAmB;;;;;yGAe/B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;uHA0BhC,CAAC;AAEF,eAAO,MAAM,cAAc;;;mIA4B1B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;yHAI9B,CAAC"}
|
|
@@ -9,59 +9,67 @@ var _react = require("@emotion/react");
|
|
|
9
9
|
|
|
10
10
|
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
11
11
|
|
|
12
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
|
12
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
13
13
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
|
|
16
16
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
17
17
|
|
|
18
|
-
var SelectedOptionsArea = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n
|
|
18
|
+
var SelectedOptionsArea = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", "\n"])), function (_ref) {
|
|
19
|
+
var multiple = _ref.multiple;
|
|
20
|
+
|
|
21
|
+
if (multiple) {
|
|
22
|
+
return (0, _react.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n flex-wrap: wrap;\n flex: 1;\n position: relative;\n "])));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
return (0, _react.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: grid;\n "])));
|
|
26
|
+
});
|
|
19
27
|
|
|
20
28
|
exports.SelectedOptionsArea = SelectedOptionsArea;
|
|
21
29
|
|
|
22
|
-
var SelectedSingleOption = _styled.default.div(
|
|
23
|
-
var theme = _ref.theme;
|
|
24
|
-
return theme.fontWeight['400'];
|
|
25
|
-
}, function (_ref2) {
|
|
30
|
+
var SelectedSingleOption = _styled.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: inline;\n\n min-width: 73px;\n height: 29px;\n padding: 4px 8px;\n border-radius: 6px;\n\n max-width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n\n transition: all ease-in-out 0.2s;\n\n font-weight: ", ";\n font-size: ", ";\n\n color: ", ";\n\n ", ";\n"])), function (_ref2) {
|
|
26
31
|
var theme = _ref2.theme;
|
|
27
|
-
return theme.
|
|
32
|
+
return theme.fontWeight['400'];
|
|
28
33
|
}, function (_ref3) {
|
|
29
34
|
var theme = _ref3.theme;
|
|
35
|
+
return theme.fontSizes.xs;
|
|
36
|
+
}, function (_ref4) {
|
|
37
|
+
var theme = _ref4.theme;
|
|
30
38
|
return {
|
|
31
39
|
dark: theme.colors.neutral.white,
|
|
32
40
|
light: theme.colors.neutral.neutral5
|
|
33
41
|
}[theme.colorMode];
|
|
34
|
-
}, function (
|
|
35
|
-
var disabled =
|
|
36
|
-
return !disabled && (0, _react.css)(
|
|
42
|
+
}, function (_ref5) {
|
|
43
|
+
var disabled = _ref5.disabled;
|
|
44
|
+
return !disabled && (0, _react.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n cursor: pointer;\n "])));
|
|
37
45
|
});
|
|
38
46
|
|
|
39
47
|
exports.SelectedSingleOption = SelectedSingleOption;
|
|
40
48
|
|
|
41
|
-
var SelectedOption = _styled.default.button(
|
|
42
|
-
var theme =
|
|
49
|
+
var SelectedOption = _styled.default.button(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n\n min-width: 73px;\n height: 29px;\n padding: 4px 8px;\n border-radius: 6px;\n\n margin: 2px;\n\n transition: all ease-in-out 0.2s;\n\n background-color: ", ";\n\n border: 0;\n color: ", ";\n\n ", ";\n"])), function (_ref6) {
|
|
50
|
+
var theme = _ref6.theme;
|
|
43
51
|
return {
|
|
44
52
|
dark: theme.colors.neutral.neutral4,
|
|
45
53
|
light: theme.colors.neutral.neutral1
|
|
46
54
|
}[theme.colorMode];
|
|
47
|
-
}, function (
|
|
48
|
-
var theme =
|
|
55
|
+
}, function (_ref7) {
|
|
56
|
+
var theme = _ref7.theme;
|
|
49
57
|
return {
|
|
50
58
|
dark: theme.colors.neutral.white,
|
|
51
59
|
light: theme.colors.neutral.neutral6
|
|
52
60
|
}[theme.colorMode];
|
|
53
|
-
}, function (
|
|
54
|
-
var disabled =
|
|
55
|
-
return !disabled && (0, _react.css)(
|
|
61
|
+
}, function (_ref8) {
|
|
62
|
+
var disabled = _ref8.disabled;
|
|
63
|
+
return !disabled && (0, _react.css)(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n cursor: pointer;\n "])));
|
|
56
64
|
});
|
|
57
65
|
|
|
58
66
|
exports.SelectedOption = SelectedOption;
|
|
59
67
|
|
|
60
|
-
var SelectedOptionText = _styled.default.span(
|
|
61
|
-
var theme = _ref8.theme;
|
|
62
|
-
return theme.fontWeight['400'];
|
|
63
|
-
}, function (_ref9) {
|
|
68
|
+
var SelectedOptionText = _styled.default.span(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n margin-right: 8px;\n font-weight: ", ";\n font-size: ", ";\n"])), function (_ref9) {
|
|
64
69
|
var theme = _ref9.theme;
|
|
70
|
+
return theme.fontWeight['400'];
|
|
71
|
+
}, function (_ref10) {
|
|
72
|
+
var theme = _ref10.theme;
|
|
65
73
|
return theme.fontSizes.xxs;
|
|
66
74
|
});
|
|
67
75
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/MultipleSelect/components/SelectArea/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGjD,UAAU,gBAAgB;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,UAAU,EAAE,CAAC;IAC9B,oBAAoB,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAChF,kBAAkB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,kBAAkB,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;IAClD,qBAAqB,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAC7D;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,KAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,UAAU,EACV,QAAQ,EACR,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,WAAW,GACZ,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/MultipleSelect/components/SelectArea/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGjD,UAAU,gBAAgB;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,UAAU,EAAE,CAAC;IAC9B,oBAAoB,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IAChF,kBAAkB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,kBAAkB,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;IAClD,qBAAqB,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAC7D;AAED,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,KAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,UAAU,EACV,QAAQ,EACR,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,WAAW,GACZ,EAAE,gBAAgB,eAuDlB"}
|
|
@@ -44,6 +44,7 @@ function SelectArea(_ref) {
|
|
|
44
44
|
animate: selectedOptions.length > 0 || Boolean(placeholder),
|
|
45
45
|
children: label
|
|
46
46
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SelectedOptionsArea.SelectedOptionsArea, {
|
|
47
|
+
multiple: multiple,
|
|
47
48
|
children: selectedOptions.length ? multiple ? selectedOptions.map(function (option) {
|
|
48
49
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SelectedOptionsArea.SelectedOption, {
|
|
49
50
|
"data-testid": "select-area--selected-option",
|
|
@@ -70,6 +71,7 @@ function SelectArea(_ref) {
|
|
|
70
71
|
disabled: disabled,
|
|
71
72
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ButtonsArea.Button, {
|
|
72
73
|
tabIndex: 0,
|
|
74
|
+
type: "button",
|
|
73
75
|
disabled: disabled,
|
|
74
76
|
show: selectedOptions.length > 0,
|
|
75
77
|
onClick: function onClick(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAqC5C,eAAO,MAAM,cAAc;;;iIAe1B,CAAC;AAEF,eAAO,MAAM,cAAc;;;6HAK1B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;yIA2C5B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;yIA6BpC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;yIA4BhC,CAAC;AAEF,eAAO,MAAM,aAAa;;;+
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/styles.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAqC5C,eAAO,MAAM,cAAc;;;iIAe1B,CAAC;AAEF,eAAO,MAAM,cAAc;;;6HAK1B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;yIA2C5B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;yIA6BpC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;yIA4BhC,CAAC;AAEF,eAAO,MAAM,aAAa;;;+HASzB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;6HA0BpB,CAAC;AAEF,eAAO,MAAM,aAAa;;;yGAEzB,CAAC"}
|
|
@@ -76,7 +76,7 @@ var NextNavigationButton = _styled.default.button(_templateObject16 || (_templat
|
|
|
76
76
|
|
|
77
77
|
exports.NextNavigationButton = NextNavigationButton;
|
|
78
78
|
|
|
79
|
-
var SmallPageInfo = _styled.default.span(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n font-weight: 600;\n display: block;\n min-width: 60px;\n font-size: 16px;\n line-height: 1.5;\n color: ", ";\n margin: 0 24px;\n"])), function (_ref7) {
|
|
79
|
+
var SmallPageInfo = _styled.default.span(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n font-weight: 600;\n display: block;\n min-width: 60px;\n font-size: 16px;\n text-align: center;\n line-height: 1.5;\n color: ", ";\n margin: 0 24px;\n"])), function (_ref7) {
|
|
80
80
|
var grayColor = _ref7.grayColor,
|
|
81
81
|
theme = _ref7.theme;
|
|
82
82
|
return grayColor || theme.colors.neutral.neutral5;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare function CircleProgress({ percent, isAnimated,
|
|
2
|
+
import { CircleProps } from './types';
|
|
3
|
+
export declare function CircleProgress({ percent, isAnimated, percentBarColor, size, stroke, circleBody, showValue, steps, }: CircleProps): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Circle/index.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Circle/index.tsx"],"names":[],"mappings":";AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,UAAU,EACV,eAAe,EACf,IAAI,EACJ,MAAM,EACN,UAAU,EACV,SAAS,EACT,KAAK,GACN,EAAE,WAAW,eA0Eb"}
|
|
@@ -7,9 +7,13 @@ exports.CircleProgress = CircleProgress;
|
|
|
7
7
|
|
|
8
8
|
var _react = require("react");
|
|
9
9
|
|
|
10
|
+
var _react2 = require("@emotion/react");
|
|
11
|
+
|
|
12
|
+
var _colorCheck = require("../../../utils/colorCheck");
|
|
13
|
+
|
|
10
14
|
var _getSteps = require("../getSteps");
|
|
11
15
|
|
|
12
|
-
var
|
|
16
|
+
var _styles = require("./styles");
|
|
13
17
|
|
|
14
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
19
|
|
|
@@ -28,11 +32,10 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
28
32
|
function CircleProgress(_ref) {
|
|
29
33
|
var percent = _ref.percent,
|
|
30
34
|
isAnimated = _ref.isAnimated,
|
|
31
|
-
|
|
35
|
+
percentBarColor = _ref.percentBarColor,
|
|
32
36
|
size = _ref.size,
|
|
33
37
|
stroke = _ref.stroke,
|
|
34
38
|
circleBody = _ref.circleBody,
|
|
35
|
-
grayColor = _ref.grayColor,
|
|
36
39
|
showValue = _ref.showValue,
|
|
37
40
|
steps = _ref.steps;
|
|
38
41
|
|
|
@@ -46,6 +49,7 @@ function CircleProgress(_ref) {
|
|
|
46
49
|
metric = _useState4[0],
|
|
47
50
|
setMetric = _useState4[1];
|
|
48
51
|
|
|
52
|
+
var theme = (0, _react2.useTheme)();
|
|
49
53
|
var radius = (size || 100) / 2 - (stroke || 10) / 2;
|
|
50
54
|
var circumference = 2 * Math.PI * radius;
|
|
51
55
|
(0, _react.useEffect)(function () {
|
|
@@ -54,40 +58,53 @@ function CircleProgress(_ref) {
|
|
|
54
58
|
if (showValue === 'percent') setMetric(Math.round(percentValue));
|
|
55
59
|
if (showValue === 'step' && steps) setMetric((0, _getSteps.getSteps)(steps, percentValue));
|
|
56
60
|
}, [percent, circumference, percentProgress, showValue, steps]);
|
|
57
|
-
return /*#__PURE__*/(0, _jsxRuntime.
|
|
58
|
-
|
|
61
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.CircleArea, {
|
|
62
|
+
size: size && size + 1,
|
|
63
|
+
children: [(showValue === 'percent' || showValue === 'step') && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Value, {
|
|
64
|
+
size: size,
|
|
65
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
|
|
66
|
+
className: "valueMetric",
|
|
67
|
+
children: metric
|
|
68
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("p", {
|
|
69
|
+
className: "metric",
|
|
70
|
+
children: [" ", showValue === 'percent' ? '%' : "/".concat(steps)]
|
|
71
|
+
})]
|
|
72
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.SVGArea, {
|
|
59
73
|
size: size && size + 1,
|
|
60
|
-
children: [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
74
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("linearGradient", {
|
|
75
|
+
x1: "1",
|
|
76
|
+
y1: "0",
|
|
77
|
+
x2: "1",
|
|
78
|
+
y2: "1",
|
|
79
|
+
id: "linear_colors",
|
|
80
|
+
children: Array.isArray(percentBarColor) ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
81
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
|
|
82
|
+
offset: "15%",
|
|
83
|
+
stopColor: (0, _colorCheck.stripThemeColors)(percentBarColor[0], theme.colors) || percentBarColor[0]
|
|
84
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
|
|
85
|
+
offset: "70%",
|
|
86
|
+
stopColor: (0, _colorCheck.stripThemeColors)(percentBarColor[1], theme.colors) || percentBarColor[1]
|
|
87
|
+
})]
|
|
88
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)("stop", {
|
|
89
|
+
offset: "100%",
|
|
90
|
+
stopColor: percentBarColor ? (0, _colorCheck.stripThemeColors)(percentBarColor, theme.colors) || percentBarColor : theme.colors.primary.default
|
|
91
|
+
})
|
|
92
|
+
}), circleBody && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SVGSecondCircle, {
|
|
93
|
+
cx: "50%",
|
|
94
|
+
cy: "50%",
|
|
95
|
+
r: radius,
|
|
96
|
+
strokeWidth: stroke,
|
|
97
|
+
"shape-rendering": "geometricPrecision"
|
|
98
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SVGCircle, {
|
|
99
|
+
cx: "50%",
|
|
100
|
+
cy: "50%",
|
|
101
|
+
r: radius,
|
|
102
|
+
circumference: circumference,
|
|
103
|
+
percent: percentProgress,
|
|
104
|
+
isAnimated: isAnimated,
|
|
105
|
+
strokeWidth: stroke && stroke + 1,
|
|
106
|
+
"shape-rendering": "geometricPrecision"
|
|
90
107
|
})]
|
|
91
|
-
})
|
|
108
|
+
})]
|
|
92
109
|
});
|
|
93
110
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DisplayValueProps } from '../types';
|
|
3
|
+
import { CircleStyleProps, CircleBodyProps } from './types';
|
|
4
|
+
export declare const CircleArea: import("@emotion/styled").StyledComponent<{
|
|
5
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
|
+
as?: import("react").ElementType<any> | undefined;
|
|
7
|
+
} & {
|
|
8
|
+
size?: number | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const Value: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any> | undefined;
|
|
13
|
+
} & DisplayValueProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
+
export declare const SVGArea: import("@emotion/styled").StyledComponent<{
|
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any> | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
size?: number | undefined;
|
|
19
|
+
}, import("react").SVGProps<SVGSVGElement>, {}>;
|
|
20
|
+
export declare const SVGCircle: import("@emotion/styled").StyledComponent<{
|
|
21
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
+
as?: import("react").ElementType<any> | undefined;
|
|
23
|
+
} & CircleStyleProps, import("react").SVGProps<SVGCircleElement>, {}>;
|
|
24
|
+
export declare const SVGSecondCircle: import("@emotion/styled").StyledComponent<{
|
|
25
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
26
|
+
as?: import("react").ElementType<any> | undefined;
|
|
27
|
+
} & CircleBodyProps, import("react").SVGProps<SVGCircleElement>, {}>;
|
|
28
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Circle/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,UAAU;;;;;yGAKtB,CAAC;AAEF,eAAO,MAAM,KAAK;;;6HAkBjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;+CAInB,CAAC;AACF,eAAO,MAAM,SAAS;;;qEAUrB,CAAC;AAEF,eAAO,MAAM,eAAe;;;oEAM3B,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Value = exports.SVGSecondCircle = exports.SVGCircle = exports.SVGArea = exports.CircleArea = void 0;
|
|
7
|
+
|
|
8
|
+
var _styled = _interopRequireDefault(require("@emotion/styled"));
|
|
9
|
+
|
|
10
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
15
|
+
|
|
16
|
+
var CircleArea = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n"])), function (_ref) {
|
|
17
|
+
var _ref$size = _ref.size,
|
|
18
|
+
size = _ref$size === void 0 ? 101 : _ref$size;
|
|
19
|
+
return size || 101;
|
|
20
|
+
}, function (_ref2) {
|
|
21
|
+
var size = _ref2.size;
|
|
22
|
+
return size || 101;
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
exports.CircleArea = CircleArea;
|
|
26
|
+
|
|
27
|
+
var Value = _styled.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: absolute;\n font-weight: bolder;\n font-size: ", "px;\n width: ", "px;\n height: ", "px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n .valueMetric {\n color: ", ";\n }\n\n .metric {\n font-size: ", "px;\n color: ", ";\n }\n"])), function (_ref3) {
|
|
28
|
+
var size = _ref3.size;
|
|
29
|
+
return size ? size / 4 : 24;
|
|
30
|
+
}, function (_ref4) {
|
|
31
|
+
var size = _ref4.size;
|
|
32
|
+
return size || 101;
|
|
33
|
+
}, function (_ref5) {
|
|
34
|
+
var size = _ref5.size;
|
|
35
|
+
return size || 101;
|
|
36
|
+
}, function (_ref6) {
|
|
37
|
+
var theme = _ref6.theme;
|
|
38
|
+
return theme.colors.neutral.black;
|
|
39
|
+
}, function (_ref7) {
|
|
40
|
+
var size = _ref7.size;
|
|
41
|
+
return size ? size / 8 : 12;
|
|
42
|
+
}, function (_ref8) {
|
|
43
|
+
var theme = _ref8.theme;
|
|
44
|
+
return theme.colors.neutral.neutral5;
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
exports.Value = Value;
|
|
48
|
+
|
|
49
|
+
var SVGArea = _styled.default.svg(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: ", "px;\n height: ", "px;\n transform: rotate(-90deg);\n"])), function (_ref9) {
|
|
50
|
+
var size = _ref9.size;
|
|
51
|
+
return size || 101;
|
|
52
|
+
}, function (_ref10) {
|
|
53
|
+
var size = _ref10.size;
|
|
54
|
+
return size || 101;
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
exports.SVGArea = SVGArea;
|
|
58
|
+
|
|
59
|
+
var SVGCircle = _styled.default.circle(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n stroke: url('#linear_colors');\n stroke-width: ", "px;\n border-radius: 10px;\n fill: transparent;\n stroke-dasharray: ", ";\n stroke-dashoffset: ", ";\n stroke-linecap: round;\n transition: ", ";\n shape-rendering: geometricPrecision;\n"])), function (_ref11) {
|
|
60
|
+
var strokeWidth = _ref11.strokeWidth;
|
|
61
|
+
return strokeWidth || 11;
|
|
62
|
+
}, function (_ref12) {
|
|
63
|
+
var circumference = _ref12.circumference;
|
|
64
|
+
return circumference || 0;
|
|
65
|
+
}, function (_ref13) {
|
|
66
|
+
var percent = _ref13.percent;
|
|
67
|
+
return percent || 0;
|
|
68
|
+
}, function (_ref14) {
|
|
69
|
+
var isAnimated = _ref14.isAnimated;
|
|
70
|
+
return isAnimated && 'stroke-dashoffset 1s ease';
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
exports.SVGCircle = SVGCircle;
|
|
74
|
+
|
|
75
|
+
var SVGSecondCircle = _styled.default.circle(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n stroke: ", ";\n stroke-width: ", "px;\n border-radius: 10px;\n fill: transparent;\n shape-rendering: geometricPrecision;\n"])), function (_ref15) {
|
|
76
|
+
var theme = _ref15.theme;
|
|
77
|
+
return theme.colors.neutral.neutral1;
|
|
78
|
+
}, function (_ref16) {
|
|
79
|
+
var strokeWidth = _ref16.strokeWidth;
|
|
80
|
+
return strokeWidth || 10;
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
exports.SVGSecondCircle = SVGSecondCircle;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { GlobalColorsProps } from '../../../shared/theme';
|
|
2
|
+
import { LinearProps } from '../Linear/types';
|
|
3
|
+
export declare type CircleProps = LinearProps & {
|
|
4
|
+
size?: number;
|
|
5
|
+
stroke?: number;
|
|
6
|
+
circleBody?: boolean;
|
|
7
|
+
showValue?: string;
|
|
8
|
+
};
|
|
9
|
+
export interface CircleStyleProps {
|
|
10
|
+
circumference?: number;
|
|
11
|
+
percent: number;
|
|
12
|
+
strokeWidth?: number;
|
|
13
|
+
color?: string | string[] | GlobalColorsProps | GlobalColorsProps[];
|
|
14
|
+
isAnimated?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface CircleBodyProps {
|
|
17
|
+
strokeWidth?: number;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=types.d.ts.map
|