@selfdecode/sd-component-library 4.0.79 → 4.0.81
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/README.md +17 -15
- package/lib/components/accordions/base-accordion/base-accordian.stories.d.ts +7 -0
- package/lib/components/accordions/sublist-accordion/sublist-accordian.stories.d.ts +8 -0
- package/lib/components/badges/primary-badge/primary-badge.stories.d.ts +6 -0
- package/lib/components/badges/secondary-badge/secondary-badge.stories.d.ts +6 -0
- package/lib/components/boolean-feedback/thumbs-feedback/thumbs-feedback.stories.d.ts +7 -0
- package/lib/components/boxes/outside-click-box/outside-click-box.stories.d.ts +7 -0
- package/lib/components/breadcrumbs/primary-breadcrumb/primary-breadcrumb.stories.d.ts +6 -0
- package/lib/components/breadcrumbs/secondary-breadcrumb/secondary-breadcrumb.stories.d.ts +6 -0
- package/lib/components/buttons/cta/primary-blue-button/primary-blue-button.stories.d.ts +6 -0
- package/lib/components/buttons/cta/primary-orange-button/primary-orange-button.stories.d.ts +7 -0
- package/lib/components/buttons/cta/secondary-blue-button/secondary-blue-button.stories.d.ts +9 -0
- package/lib/components/buttons/cta/secondary-orange-button/secondary-orange-button.stories.d.ts +6 -0
- package/lib/components/buttons/cta/text-cta-button/text-cta-button.stories.d.ts +6 -0
- package/lib/components/buttons/logos/powered-by-grey-logo/powered-by-grey-logo.stories.d.ts +6 -0
- package/lib/components/buttons/logos/powered-by-white-logo/powered-by-grey-logo.stories.d.ts +6 -0
- package/lib/components/buttons/logos/sd-white-logo/sd-white-logo.stories.d.ts +6 -0
- package/lib/components/buttons/partials/circle-button/circle-button.stories.d.ts +6 -0
- package/lib/components/buttons/partials/icon-button/icon-button.stories.d.ts +9 -0
- package/lib/components/buttons/partials/square-button/square-button.stories.d.ts +6 -0
- package/lib/components/cards/round-card/round-card.stories.d.ts +6 -0
- package/lib/components/checkboxes/checkbox/checkbox.stories.d.ts +9 -0
- package/lib/components/checkboxes/checkbox-v2/checkbox.stories.d.ts +10 -0
- package/lib/components/checkboxes/checkbox-v2/partials/checkbox-v2-container/interfaces.d.ts +1 -0
- package/lib/components/checkboxes/partial-checkbox/partial-checkbox.stories.d.ts +9 -0
- package/lib/components/checkboxes/partial-checkbox-v2/partial-checkbox-v2.stories.d.ts +10 -0
- package/lib/components/containers/layout-independend-max-width-container/layout-independend-max-width-container.stories.d.ts +6 -0
- package/lib/components/containers/section-container/section-container.stories.d.ts +6 -0
- package/lib/components/custom-scrollbar-box/custom-scrollbar-box.stories.d.ts +7 -0
- package/lib/components/dividers/horizontal-divider/horizontal-divider.stories.d.ts +6 -0
- package/lib/components/dividers/vertical-divider/vertical-divider.stories.d.ts +6 -0
- package/lib/components/feature-explanation/feature-explanation.stories.d.ts +6 -0
- package/lib/components/feedback/multiple-options-feedback/multiple-options-feedback.stories.d.ts +7 -0
- package/lib/components/feedback/yes-no-feedback-block/yes-no-feedback-block.stories.d.ts +7 -0
- package/lib/components/icons/bordered-plain-warning-circle-icon/bordered-plain-warning-circle-icon.stories.d.ts +8 -0
- package/lib/components/icons/round-bordered-star/round-bordered-star.stories.d.ts +9 -0
- package/lib/components/icons/triangular-pointer-icon/triangular-pointer-icon.stories.d.ts +6 -0
- package/lib/components/inputs/autocomplete-input/autocomplete-input.stories.d.ts +7 -0
- package/lib/components/inputs/client-portal-input/client-portal-input.stories.d.ts +8 -0
- package/lib/components/inputs/date-inputs/outlined-date-input/outlined-date-input.stories.d.ts +7 -0
- package/lib/components/inputs/date-inputs/outlined-date-range-input/outlined-date-range-input.stories.d.ts +8 -0
- package/lib/components/inputs/date-inputs/primary-date-input/primary-date-input.stories.d.ts +9 -0
- package/lib/components/inputs/date-inputs/primary-date-range-input/primary-date-range-input.stories.d.ts +7 -0
- package/lib/components/inputs/decody-question-input/decody-question-input.stories.d.ts +6 -0
- package/lib/components/inputs/multi-row-secondary-text-input/multi-row-secondary-text-input.stories.d.ts +7 -0
- package/lib/components/inputs/primary-number-input/primary-number-input.stories.d.ts +6 -0
- package/lib/components/inputs/primary-text-input/primary-number-input.stories.d.ts +7 -0
- package/lib/components/inputs/search-autocomplete-input/search-autocomplete-input.stories.d.ts +7 -0
- package/lib/components/inputs/search-input/search-input.stories.d.ts +6 -0
- package/lib/components/inputs/search-input-v2/search-input-v2.stories.d.ts +6 -0
- package/lib/components/inputs/secondary-number-input/secondary-number-input.stories.d.ts +10 -0
- package/lib/components/inputs/secondary-text-input/secondary-text-input.stories.d.ts +8 -0
- package/lib/components/links/primary-link/primary-link.stories.d.ts +7 -0
- package/lib/components/lists/primary-list/primary-list.stories.d.ts +6 -0
- package/lib/components/menus/actions-menu/actions-menu.stories.d.ts +6 -0
- package/lib/components/meters/bars-meter/bars-meter.stories.d.ts +8 -0
- package/lib/components/meters/compact-donut-gauge/compact-donut-gauge.stories.d.ts +7 -0
- package/lib/components/meters/dashed-meter/dashed-meter.stories.d.ts +7 -0
- package/lib/components/meters/donut-diagram/donut-diagram.stories.d.ts +9 -0
- package/lib/components/meters/gradient-outline-meter/gradient-outline-meter.stories.d.ts +9 -0
- package/lib/components/meters/gradient-outline-meter/small-gradient-outline-meter.stories.d.ts +9 -0
- package/lib/components/meters/linear-discrete-gauge-meter/linear-discrete-gauge-meter.stories.d.ts +6 -0
- package/lib/components/meters/linear-numeric-gauge-meter/linear-numeric-gauge-meter.stories.d.ts +6 -0
- package/lib/components/meters/multi-option-discrete-outline-meter/multi-option-discrete-outline-meter.stories.d.ts +6 -0
- package/lib/components/meters/multi-option-discrete-outline-meter/small-multi-option-discrete-outline-meter.stories.d.ts +6 -0
- package/lib/components/meters/outline-meter/interfaces.d.ts +1 -0
- package/lib/components/meters/outline-meter/outline-meter.stories.d.ts +9 -0
- package/lib/components/meters/outline-meter/small-outline-meter.stories.d.ts +9 -0
- package/lib/components/meters/people-meter/people-meter.stories.d.ts +6 -0
- package/lib/components/meters/smiley-meter-v2/interfaces.d.ts +1 -1
- package/lib/components/meters/smiley-meter-v2/small-smiley-meter-v2.stories.d.ts +7 -0
- package/lib/components/meters/smiley-meter-v2/smiley-meter-v2.stories.d.ts +7 -0
- package/lib/components/modals/primary-modal/primary-modal.stories.d.ts +8 -0
- package/lib/components/page-selectors/page-selector/page-selector.stories.d.ts +6 -0
- package/lib/components/pagination-bars/pagination-bar/pagination-bar.stories.d.ts +6 -0
- package/lib/components/pagination-bars/pagination-bar-mobile/pagination-bar-mobile.stories.d.ts +7 -0
- package/lib/components/progress-bars/line-progress-bar/line-progress-bar.stories.d.ts +6 -0
- package/lib/components/progress-bars/rounded-progress-bar/rounded-progress-bar.stories.d.ts +6 -0
- package/lib/components/progress-bars/striped-line-progress-bar/striped-line-progress-bar.stories.d.ts +6 -0
- package/lib/components/progress-steps/progress-steps.stories.d.ts +7 -0
- package/lib/components/selectors/combined-secondary-custom-selector/combined-secondary-custom-selector.stories.d.ts +7 -0
- package/lib/components/selectors/combined-secondary-selector-v2/combined-secondary-selector-v2.stories.d.ts +7 -0
- package/lib/components/selectors/compact-primary-selector/compact-primary-selector.stories.d.ts +6 -0
- package/lib/components/selectors/custom-scrollable-selector/custom-scrollable-selector.stories.d.ts +7 -0
- package/lib/components/selectors/custom-selector/custom-selector.stories.d.ts +7 -0
- package/lib/components/selectors/primary-custom-scrollable-selector/primary-custom-scrollable-selector.stories.d.ts +8 -0
- package/lib/components/selectors/primary-selector/primary-selector.stories.d.ts +7 -0
- package/lib/components/selectors/primary-selector-v2/primary-selector-v2.stories.d.ts +7 -0
- package/lib/components/selectors/secondary-custom-selector/secondary-custom-selector.stories.d.ts +7 -0
- package/lib/components/selectors/secondary-selector/secondary-selector.stories.d.ts +9 -0
- package/lib/components/selectors/secondary-selector-v2/secondary-selector-v2.stories.d.ts +7 -0
- package/lib/components/selectors/selector/selector.stories.d.ts +6 -0
- package/lib/components/selectors/selector-v2/selector-v2.stories.d.ts +10 -0
- package/lib/components/selectors/tertiary-custom-selector/tertiary-custom-selector.stories.d.ts +7 -0
- package/lib/components/selectors/tertiary-selector/tertiary-selector.stories.d.ts +8 -0
- package/lib/components/selectors/tertiary-selector-v2/tertiary-selector-v2.stories.d.ts +7 -0
- package/lib/components/selectors/updated-secondary-selector-v2/updated-secondary-selector-v2.stories.d.ts +7 -0
- package/lib/components/switches/carousel-switch/carousel-switch.stories.d.ts +7 -0
- package/lib/components/switches/text-switch/text-switch.stories.d.ts +7 -0
- package/lib/components/switches/toggle-switch/toggle-switch.stories.d.ts +6 -0
- package/lib/components/tabs/tab-bar/partials/tab/tab.d.ts +0 -1
- package/lib/components/tabs/tab-bar/tab-bar.d.ts +0 -1
- package/lib/components/tabs/tab-bar/tab-bar.stories.d.ts +17 -0
- package/lib/components/tabs/tab-bar-v2/tab-bar-v2.stories.d.ts +9 -0
- package/lib/components/tabs/tabbed-view-v2/tab-bar-v2.stories.d.ts +7 -0
- package/lib/components/tabs/tabs-menu/tabs-menu.d.ts +0 -1
- package/lib/components/tabs/tabs-menu/tabs-menu.stories.d.ts +29 -0
- package/lib/components/texts/base-text-v2/base-text-v2.stories.d.ts +6 -0
- package/lib/components/texts/eighteen-bold/eighteen-bold.stories.d.ts +6 -0
- package/lib/components/texts/eighteen-regular/eighteen-regular.stories.d.ts +6 -0
- package/lib/components/texts/fifty-five-sb/fifty-five-sb.stories.d.ts +6 -0
- package/lib/components/texts/fourteen-regular/fourteen-regular.stories.d.ts +6 -0
- package/lib/components/texts/fourteen-sb/fourteen-sb.stories.d.ts +6 -0
- package/lib/components/texts/fourty-bold/fourty-bold.stories.d.ts +6 -0
- package/lib/components/texts/no-translate/no-translate.stories.d.ts +6 -0
- package/lib/components/texts/responsive-text/responsive-text.stories.d.ts +6 -0
- package/lib/components/texts/responsive-text-v2/responsive-text-v2.stories.d.ts +6 -0
- package/lib/components/texts/sixteen-regular/sixteen-regular.stories.d.ts +6 -0
- package/lib/components/texts/sixteen-sb/sixteen-sb.stories.d.ts +6 -0
- package/lib/components/texts/ten-sb/ten-sb.stories.d.ts +6 -0
- package/lib/components/texts/thirteen-bold/thirteen-bold.stories.d.ts +6 -0
- package/lib/components/texts/thirteen-regular/thirteen-regular.stories.d.ts +6 -0
- package/lib/components/texts/thirteen-sb/thirteen-sb.stories.d.ts +6 -0
- package/lib/components/texts/thirty-two-bold/thirty-two-bold.stories.d.ts +6 -0
- package/lib/components/texts/thirty-two-regular/thirty-two-regular.stories.d.ts +6 -0
- package/lib/components/texts/twelve-regular/twelve-regular.stories.d.ts +6 -0
- package/lib/components/texts/twelve-sb/twelve-regular.stories.d.ts +6 -0
- package/lib/components/texts/twenty-four-bold/twenty-four-bold.stories.d.ts +6 -0
- package/lib/components/texts/twenty-four-regular/twenty-four-regular.stories.d.ts +6 -0
- package/lib/components/tooltips/actions-tooltip/actions-tooltip.stories.d.ts +6 -0
- package/lib/components/tooltips/primary-info-tooltip/primary-info-tooltip.stories.d.ts +6 -0
- package/lib/components/tooltips/react-element-tooltip/react-element-tooltip.stories.d.ts +6 -0
- package/lib/components/tooltips/tooltip-with-pointer/tooltip-with-pointer.stories.d.ts +8 -0
- package/lib/sd-component-library101.js +4 -4
- package/lib/sd-component-library107.js +1 -1
- package/lib/sd-component-library113.js +1 -1
- package/lib/sd-component-library121.js +1 -1
- package/lib/sd-component-library122.js +1 -1
- package/lib/sd-component-library124.js +1 -1
- package/lib/sd-component-library15.js +1 -1
- package/lib/sd-component-library161.js +1 -1
- package/lib/sd-component-library166.js +1 -1
- package/lib/sd-component-library190.js +3 -3
- package/lib/sd-component-library194.js +3 -2
- package/lib/sd-component-library194.js.map +1 -1
- package/lib/sd-component-library195.js +2 -30
- package/lib/sd-component-library195.js.map +1 -1
- package/lib/sd-component-library196.js +21 -590
- package/lib/sd-component-library196.js.map +1 -1
- package/lib/sd-component-library197.js +599 -57
- package/lib/sd-component-library197.js.map +1 -1
- package/lib/sd-component-library200.js +3 -3
- package/lib/sd-component-library200.js.map +1 -1
- package/lib/sd-component-library201.js +3 -3
- package/lib/sd-component-library201.js.map +1 -1
- package/lib/sd-component-library202.js +57 -3
- package/lib/sd-component-library202.js.map +1 -1
- package/lib/sd-component-library203.js +21 -20
- package/lib/sd-component-library203.js.map +1 -1
- package/lib/sd-component-library205.js +19 -62
- package/lib/sd-component-library205.js.map +1 -1
- package/lib/sd-component-library206.js +3 -23
- package/lib/sd-component-library206.js.map +1 -1
- package/lib/sd-component-library207.js +3 -3
- package/lib/sd-component-library207.js.map +1 -1
- package/lib/sd-component-library208.js +64 -3
- package/lib/sd-component-library208.js.map +1 -1
- package/lib/sd-component-library209.js +23 -31
- package/lib/sd-component-library209.js.map +1 -1
- package/lib/sd-component-library210.js +40 -19
- package/lib/sd-component-library210.js.map +1 -1
- package/lib/sd-component-library211.js +127 -18
- package/lib/sd-component-library211.js.map +1 -1
- package/lib/sd-component-library212.js +13 -28
- package/lib/sd-component-library212.js.map +1 -1
- package/lib/sd-component-library213.js +14 -33
- package/lib/sd-component-library213.js.map +1 -1
- package/lib/sd-component-library214.js +3 -129
- package/lib/sd-component-library214.js.map +1 -1
- package/lib/sd-component-library215.js +3 -43
- package/lib/sd-component-library215.js.map +1 -1
- package/lib/sd-component-library216.js +44 -45
- package/lib/sd-component-library216.js.map +1 -1
- package/lib/sd-component-library217.js +3 -8
- package/lib/sd-component-library217.js.map +1 -1
- package/lib/sd-component-library218.js +52 -21
- package/lib/sd-component-library218.js.map +1 -1
- package/lib/sd-component-library219.js +14 -107
- package/lib/sd-component-library219.js.map +1 -1
- package/lib/sd-component-library220.js +60 -42
- package/lib/sd-component-library220.js.map +1 -1
- package/lib/sd-component-library221.js +3 -24
- package/lib/sd-component-library221.js.map +1 -1
- package/lib/sd-component-library222.js +3 -53
- package/lib/sd-component-library222.js.map +1 -1
- package/lib/sd-component-library223.js +25 -63
- package/lib/sd-component-library223.js.map +1 -1
- package/lib/sd-component-library224.js +31 -43
- package/lib/sd-component-library224.js.map +1 -1
- package/lib/sd-component-library225.js +129 -13
- package/lib/sd-component-library225.js.map +1 -1
- package/lib/sd-component-library226.js +42 -47
- package/lib/sd-component-library226.js.map +1 -1
- package/lib/sd-component-library227.js +45 -39
- package/lib/sd-component-library227.js.map +1 -1
- package/lib/sd-component-library228.js +8 -27
- package/lib/sd-component-library228.js.map +1 -1
- package/lib/sd-component-library229.js +3 -75
- package/lib/sd-component-library229.js.map +1 -1
- package/lib/sd-component-library23.js +1 -1
- package/lib/sd-component-library230.js +19 -21
- package/lib/sd-component-library230.js.map +1 -1
- package/lib/sd-component-library231.js +20 -20
- package/lib/sd-component-library231.js.map +1 -1
- package/lib/sd-component-library232.js +28 -2
- package/lib/sd-component-library232.js.map +1 -1
- package/lib/sd-component-library233.js +29 -22
- package/lib/sd-component-library233.js.map +1 -1
- package/lib/sd-component-library234.js +47 -20
- package/lib/sd-component-library234.js.map +1 -1
- package/lib/sd-component-library235.js +75 -3
- package/lib/sd-component-library235.js.map +1 -1
- package/lib/sd-component-library236.js +64 -3
- package/lib/sd-component-library236.js.map +1 -1
- package/lib/sd-component-library237.js +39 -36
- package/lib/sd-component-library237.js.map +1 -1
- package/lib/sd-component-library238.js +12 -128
- package/lib/sd-component-library238.js.map +1 -1
- package/lib/sd-component-library239.js +29 -13
- package/lib/sd-component-library239.js.map +1 -1
- package/lib/sd-component-library24.js +1 -1
- package/lib/sd-component-library240.js +3 -14
- package/lib/sd-component-library240.js.map +1 -1
- package/lib/sd-component-library241.js +24 -3
- package/lib/sd-component-library241.js.map +1 -1
- package/lib/sd-component-library242.js +3 -3
- package/lib/sd-component-library242.js.map +1 -1
- package/lib/sd-component-library243.js +321 -61
- package/lib/sd-component-library243.js.map +1 -1
- package/lib/sd-component-library244.js +5 -3
- package/lib/sd-component-library244.js.map +1 -1
- package/lib/sd-component-library245.js +2 -3
- package/lib/sd-component-library245.js.map +1 -1
- package/lib/sd-component-library246.js +19 -44
- package/lib/sd-component-library246.js.map +1 -1
- package/lib/sd-component-library247.js +19 -51
- package/lib/sd-component-library247.js.map +1 -1
- package/lib/sd-component-library248.js +20 -324
- package/lib/sd-component-library248.js.map +1 -1
- package/lib/sd-component-library249.js +109 -5
- package/lib/sd-component-library249.js.map +1 -1
- package/lib/sd-component-library250.js +42 -24
- package/lib/sd-component-library250.js.map +1 -1
- package/lib/sd-component-library251.js +24 -3
- package/lib/sd-component-library251.js.map +1 -1
- package/lib/sd-component-library252.js +48 -19
- package/lib/sd-component-library252.js.map +1 -1
- package/lib/sd-component-library253.js +25 -3
- package/lib/sd-component-library253.js.map +1 -1
- package/lib/sd-component-library254.js +21 -15
- package/lib/sd-component-library254.js.map +1 -1
- package/lib/sd-component-library255.js +39 -23
- package/lib/sd-component-library255.js.map +1 -1
- package/lib/sd-component-library256.js +25 -20
- package/lib/sd-component-library256.js.map +1 -1
- package/lib/sd-component-library259.js +1 -1
- package/lib/sd-component-library275.js +2 -3
- package/lib/sd-component-library275.js.map +1 -1
- package/lib/sd-component-library276.js +2 -3
- package/lib/sd-component-library276.js.map +1 -1
- package/lib/sd-component-library277.js +70 -3
- package/lib/sd-component-library277.js.map +1 -1
- package/lib/sd-component-library278.js +102 -6
- package/lib/sd-component-library278.js.map +1 -1
- package/lib/sd-component-library279.js +106 -10
- package/lib/sd-component-library279.js.map +1 -1
- package/lib/sd-component-library280.js +10 -2
- package/lib/sd-component-library280.js.map +1 -1
- package/lib/sd-component-library281.js +6 -2
- package/lib/sd-component-library281.js.map +1 -1
- package/lib/sd-component-library282.js +2 -70
- package/lib/sd-component-library282.js.map +1 -1
- package/lib/sd-component-library283.js +35 -101
- package/lib/sd-component-library283.js.map +1 -1
- package/lib/sd-component-library284.js +14 -106
- package/lib/sd-component-library284.js.map +1 -1
- package/lib/sd-component-library285.js +2 -2
- package/lib/sd-component-library286.js +8 -36
- package/lib/sd-component-library286.js.map +1 -1
- package/lib/sd-component-library287.js +328 -14
- package/lib/sd-component-library287.js.map +1 -1
- package/lib/sd-component-library288.js +51 -2
- package/lib/sd-component-library288.js.map +1 -1
- package/lib/sd-component-library289.js +3 -8
- package/lib/sd-component-library289.js.map +1 -1
- package/lib/sd-component-library290.js +3 -328
- package/lib/sd-component-library290.js.map +1 -1
- package/lib/sd-component-library291.js +3 -51
- package/lib/sd-component-library291.js.map +1 -1
- package/lib/sd-component-library293.js +1 -1
- package/lib/sd-component-library294.js +1 -1
- package/lib/sd-component-library299.js +2 -9
- package/lib/sd-component-library299.js.map +1 -1
- package/lib/sd-component-library300.js +2 -5
- package/lib/sd-component-library300.js.map +1 -1
- package/lib/sd-component-library301.js +8 -3
- package/lib/sd-component-library301.js.map +1 -1
- package/lib/sd-component-library302.js +5 -19
- package/lib/sd-component-library302.js.map +1 -1
- package/lib/sd-component-library303.js +4 -3
- package/lib/sd-component-library303.js.map +1 -1
- package/lib/sd-component-library304.js +19 -2
- package/lib/sd-component-library304.js.map +1 -1
- package/lib/sd-component-library305.js +3 -2
- package/lib/sd-component-library305.js.map +1 -1
- package/lib/sd-component-library307.js +54 -31
- package/lib/sd-component-library307.js.map +1 -1
- package/lib/sd-component-library308.js +22 -21
- package/lib/sd-component-library308.js.map +1 -1
- package/lib/sd-component-library309.js +20 -88
- package/lib/sd-component-library309.js.map +1 -1
- package/lib/sd-component-library310.js +34 -50
- package/lib/sd-component-library310.js.map +1 -1
- package/lib/sd-component-library311.js +51 -5
- package/lib/sd-component-library311.js.map +1 -1
- package/lib/sd-component-library312.js +93 -4
- package/lib/sd-component-library312.js.map +1 -1
- package/lib/sd-component-library313.js +4 -57
- package/lib/sd-component-library313.js.map +1 -1
- package/lib/sd-component-library314.js +4 -26
- package/lib/sd-component-library314.js.map +1 -1
- package/lib/sd-component-library316.js +28 -89
- package/lib/sd-component-library316.js.map +1 -1
- package/lib/sd-component-library317.js +17 -25
- package/lib/sd-component-library317.js.map +1 -1
- package/lib/sd-component-library318.js +89 -20
- package/lib/sd-component-library318.js.map +1 -1
- package/lib/sd-component-library5.js +1 -1
- package/lib/sd-component-library52.js +3 -3
- package/lib/sd-component-library53.js +2 -2
- package/lib/sd-component-library54.js +2 -2
- package/lib/sd-component-library55.js +1 -1
- package/lib/sd-component-library56.js +2 -2
- package/lib/sd-component-library57.js +5 -5
- package/lib/sd-component-library58.js +1 -1
- package/lib/sd-component-library59.js +2 -2
- package/lib/sd-component-library6.js +1 -1
- package/lib/sd-component-library60.js +1 -1
- package/lib/sd-component-library65.js +2 -2
- package/lib/sd-component-library67.js +3 -3
- package/lib/sd-component-library69.js +2 -2
- package/lib/sd-component-library70.js +3 -3
- package/lib/sd-component-library71.js +1 -1
- package/lib/sd-component-library72.js +1 -1
- package/lib/sd-component-library74.js +1 -1
- package/lib/sd-component-library75.js +1 -1
- package/lib/sd-component-library80.js +1 -1
- package/lib/sd-component-library81.js +42 -41
- package/lib/sd-component-library81.js.map +1 -1
- package/lib/sd-component-library82.js +2 -2
- package/lib/sd-component-library83.js +1 -1
- package/lib/sd-component-library84.js +41 -40
- package/lib/sd-component-library84.js.map +1 -1
- package/lib/sd-component-library85.js +1 -1
- package/lib/sd-component-library87.js +33 -32
- package/lib/sd-component-library87.js.map +1 -1
- package/lib/sd-component-library88.js +1 -1
- package/lib/sd-component-library89.js +39 -38
- package/lib/sd-component-library89.js.map +1 -1
- package/lib/sd-component-library90.js +1 -1
- package/lib/sd-component-library93.js +2 -2
- package/lib/sd-component-library94.js +3 -3
- package/lib/sd-component-library95.js +2 -2
- package/lib/sd-component-library96.js +3 -3
- package/lib/sd-component-library97.js +2 -2
- package/lib/sd-component-library99.js +4 -4
- package/package.json +20 -6
- package/lib/favicon.ico +0 -0
- package/lib/index.html +0 -35
|
@@ -1,7 +1,96 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { j as a } from "./sd-component-library190.js";
|
|
2
|
+
import { useState as S, useCallback as B } from "react";
|
|
3
|
+
import { Box as Y } from "rebass";
|
|
4
|
+
import { labelPaddingX as c, labelWidth as W } from "./sd-component-library224.js";
|
|
5
|
+
import { getCoordinateForArc as $ } from "./sd-component-library86.js";
|
|
6
|
+
import { ResponsiveTextV2 as z } from "./sd-component-library144.js";
|
|
7
|
+
const D = (j) => {
|
|
8
|
+
const {
|
|
9
|
+
label: d,
|
|
10
|
+
color: p,
|
|
11
|
+
alpha: e,
|
|
12
|
+
radius: r,
|
|
13
|
+
horizontal: v,
|
|
14
|
+
pointerLength: m,
|
|
15
|
+
round: y,
|
|
16
|
+
pointY: i
|
|
17
|
+
} = j, [h, C] = S(0), [f, R] = S(0), T = B((t) => {
|
|
18
|
+
if (t) {
|
|
19
|
+
const { height: o, y: l } = t.getBoundingClientRect();
|
|
20
|
+
C(o), R(l);
|
|
21
|
+
}
|
|
22
|
+
}, []);
|
|
23
|
+
let { x: b, y: g } = $(
|
|
24
|
+
r + m,
|
|
25
|
+
e,
|
|
26
|
+
r
|
|
27
|
+
);
|
|
28
|
+
const s = e === 180, n = e < 180, u = e > 180;
|
|
29
|
+
if (v) {
|
|
30
|
+
const { x: t, y: o } = $(
|
|
31
|
+
r,
|
|
32
|
+
e,
|
|
33
|
+
r
|
|
34
|
+
);
|
|
35
|
+
b = t + m * (n ? -1 : 1), g = o;
|
|
36
|
+
}
|
|
37
|
+
if (!d)
|
|
38
|
+
return null;
|
|
39
|
+
let x = y || s ? `${c}px` : void 0;
|
|
40
|
+
if (!x && i) {
|
|
41
|
+
const t = f - h, o = f;
|
|
42
|
+
x = [
|
|
43
|
+
n || i > t,
|
|
44
|
+
u || i > t,
|
|
45
|
+
u || i < o,
|
|
46
|
+
n || i < o
|
|
47
|
+
].map((l) => l ? `${c}px` : "0").join(" ");
|
|
48
|
+
}
|
|
49
|
+
return /* @__PURE__ */ a.jsx(
|
|
50
|
+
Y,
|
|
51
|
+
{
|
|
52
|
+
sx: {
|
|
53
|
+
position: "absolute",
|
|
54
|
+
left: `${b}px`,
|
|
55
|
+
top: `${g}px`
|
|
56
|
+
},
|
|
57
|
+
children: /* @__PURE__ */ a.jsx(
|
|
58
|
+
Y,
|
|
59
|
+
{
|
|
60
|
+
sx: {
|
|
61
|
+
boxSizing: "content-box",
|
|
62
|
+
position: "relative",
|
|
63
|
+
top: `calc(-${h}px)`,
|
|
64
|
+
left: s ? "-50%" : n ? "-100%" : void 0,
|
|
65
|
+
py: "7px",
|
|
66
|
+
px: `${c}px`,
|
|
67
|
+
borderColor: p,
|
|
68
|
+
borderWidth: "2px",
|
|
69
|
+
borderStyle: "solid",
|
|
70
|
+
borderRadius: x,
|
|
71
|
+
bg: "cl_white",
|
|
72
|
+
"& > div": {
|
|
73
|
+
maxWidth: s ? void 0 : `${W}px`
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
ref: T,
|
|
77
|
+
children: /* @__PURE__ */ a.jsx(
|
|
78
|
+
z,
|
|
79
|
+
{
|
|
80
|
+
fontSizeWeight: [[12, "semi-bold"]],
|
|
81
|
+
width: "max-content",
|
|
82
|
+
color: p !== "#CCD0DB" ? p : "cl_darkGrey",
|
|
83
|
+
textTransform: "uppercase",
|
|
84
|
+
letterSpacing: "1.8px",
|
|
85
|
+
children: d
|
|
86
|
+
}
|
|
87
|
+
)
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
}
|
|
91
|
+
);
|
|
92
|
+
};
|
|
4
93
|
export {
|
|
5
|
-
|
|
94
|
+
D as MatchedRangeLabelBox
|
|
6
95
|
};
|
|
7
96
|
//# sourceMappingURL=sd-component-library312.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library312.js","sources":["../src/components/meters/
|
|
1
|
+
{"version":3,"file":"sd-component-library312.js","sources":["../src/components/meters/common-outline-meter-partials/matched-range-label-box/matched-range-label-box.tsx"],"sourcesContent":["import React, { useCallback, useState } from \"react\";\n\nimport { Box } from \"rebass\";\n\nimport { ResponsiveTextV2 } from \"../../../texts/responsive-text-v2\";\nimport { labelPaddingX, labelWidth } from \"../../outline-meter/contants\";\nimport { getCoordinateForArc } from \"../../outline-meter/utils\";\nimport { MatchedRangeLabelBoxProps as Props } from \"./interfaces\";\n\nexport const MatchedRangeLabelBox: React.FC<Props> = (props) => {\n const {\n label,\n color,\n alpha,\n radius,\n horizontal,\n pointerLength,\n round,\n pointY,\n } = props;\n\n const [textHeight, setTextHeight] = useState(0);\n const [textY, setTextY] = useState(0);\n\n const ref = useCallback((node: HTMLElement) => {\n if (node) {\n const { height, y } = node.getBoundingClientRect();\n setTextHeight(height);\n setTextY(y);\n }\n }, []);\n\n let { x: pointerEndX, y: pointerEndY } = getCoordinateForArc(\n radius + pointerLength,\n alpha,\n radius\n );\n\n const isOnTop = alpha === 180;\n const isOnLeft = alpha < 180;\n const isOnRight = alpha > 180;\n\n if (horizontal) {\n const { x: pointerStartX, y: pointerStartY } = getCoordinateForArc(\n radius,\n alpha,\n radius\n );\n\n pointerEndX = pointerStartX + pointerLength * (isOnLeft ? -1 : 1);\n pointerEndY = pointerStartY;\n }\n\n if (!label) return null;\n\n let borderRadius = round || isOnTop ? `${labelPaddingX}px` : undefined;\n if (!borderRadius && pointY) {\n const textTopY = textY - textHeight;\n const textBottomY = textY;\n\n borderRadius = [\n isOnLeft || pointY > textTopY,\n isOnRight || pointY > textTopY,\n isOnRight || pointY < textBottomY,\n isOnLeft || pointY < textBottomY,\n ]\n .map((flag) => (flag ? `${labelPaddingX}px` : \"0\"))\n .join(\" \");\n }\n\n return (\n <Box\n sx={{\n position: \"absolute\",\n left: `${pointerEndX}px`,\n top: `${pointerEndY}px`,\n }}\n >\n <Box\n sx={{\n boxSizing: \"content-box\",\n position: \"relative\",\n top: `calc(-${textHeight}px)`,\n left: isOnTop ? \"-50%\" : isOnLeft ? \"-100%\" : undefined,\n py: \"7px\",\n px: `${labelPaddingX}px`,\n borderColor: color,\n borderWidth: \"2px\",\n borderStyle: \"solid\",\n borderRadius,\n bg: \"cl_white\",\n \"& > div\": {\n maxWidth: isOnTop ? undefined : `${labelWidth}px`,\n },\n }}\n ref={ref}\n >\n <ResponsiveTextV2\n fontSizeWeight={[[12, \"semi-bold\"]]}\n width=\"max-content\"\n color={color !== \"#CCD0DB\" ? color : \"cl_darkGrey\"}\n textTransform=\"uppercase\"\n letterSpacing=\"1.8px\"\n >\n {label}\n </ResponsiveTextV2>\n </Box>\n </Box>\n );\n};\n"],"names":["MatchedRangeLabelBox","props","label","color","alpha","radius","horizontal","pointerLength","round","pointY","textHeight","setTextHeight","useState","textY","setTextY","ref","useCallback","node","height","y","pointerEndX","pointerEndY","getCoordinateForArc","isOnTop","isOnLeft","isOnRight","pointerStartX","pointerStartY","borderRadius","labelPaddingX","textTopY","textBottomY","flag","jsx","Box","labelWidth","ResponsiveTextV2"],"mappings":";;;;;;AASa,MAAAA,IAAwC,CAACC,MAAU;AACxD,QAAA;AAAA,IACJ,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,IACA,YAAAC;AAAA,IACA,eAAAC;AAAA,IACA,OAAAC;AAAA,IACA,QAAAC;AAAA,EACE,IAAAR,GAEE,CAACS,GAAYC,CAAa,IAAIC,EAAS,CAAC,GACxC,CAACC,GAAOC,CAAQ,IAAIF,EAAS,CAAC,GAE9BG,IAAMC,EAAY,CAACC,MAAsB;AAC7C,QAAIA,GAAM;AACR,YAAM,EAAE,QAAAC,GAAQ,GAAAC,EAAE,IAAIF,EAAK,sBAAsB;AACjD,MAAAN,EAAcO,CAAM,GACpBJ,EAASK,CAAC;AAAA,IACZ;AAAA,EACF,GAAG,CAAE,CAAA;AAEL,MAAI,EAAE,GAAGC,GAAa,GAAGC,EAAgB,IAAAC;AAAA,IACvCjB,IAASE;AAAA,IACTH;AAAA,IACAC;AAAA,EAAA;AAGF,QAAMkB,IAAUnB,MAAU,KACpBoB,IAAWpB,IAAQ,KACnBqB,IAAYrB,IAAQ;AAE1B,MAAIE,GAAY;AACd,UAAM,EAAE,GAAGoB,GAAe,GAAGC,EAAkB,IAAAL;AAAA,MAC7CjB;AAAA,MACAD;AAAA,MACAC;AAAA,IAAA;AAGY,IAAAe,IAAAM,IAAgBnB,KAAiBiB,IAAW,KAAK,IACjDH,IAAAM;AAAA,EAChB;AAEA,MAAI,CAACzB;AAAc,WAAA;AAEnB,MAAI0B,IAAepB,KAASe,IAAU,GAAGM,CAAa,OAAO;AACzD,MAAA,CAACD,KAAgBnB,GAAQ;AAC3B,UAAMqB,IAAWjB,IAAQH,GACnBqB,IAAclB;AAEL,IAAAe,IAAA;AAAA,MACbJ,KAAYf,IAASqB;AAAA,MACrBL,KAAahB,IAASqB;AAAA,MACtBL,KAAahB,IAASsB;AAAA,MACtBP,KAAYf,IAASsB;AAAA,IACvB,EACG,IAAI,CAACC,MAAUA,IAAO,GAAGH,CAAa,OAAO,GAAI,EACjD,KAAK,GAAG;AAAA,EACb;AAGE,SAAAI,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,UAAU;AAAA,QACV,MAAM,GAAGd,CAAW;AAAA,QACpB,KAAK,GAAGC,CAAW;AAAA,MACrB;AAAA,MAEA,UAAAY,gBAAAA,EAAA;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,IAAI;AAAA,YACF,WAAW;AAAA,YACX,UAAU;AAAA,YACV,KAAK,SAASxB,CAAU;AAAA,YACxB,MAAMa,IAAU,SAASC,IAAW,UAAU;AAAA,YAC9C,IAAI;AAAA,YACJ,IAAI,GAAGK,CAAa;AAAA,YACpB,aAAa1B;AAAA,YACb,aAAa;AAAA,YACb,aAAa;AAAA,YACb,cAAAyB;AAAA,YACA,IAAI;AAAA,YACJ,WAAW;AAAA,cACT,UAAUL,IAAU,SAAY,GAAGY,CAAU;AAAA,YAC/C;AAAA,UACF;AAAA,UACA,KAAApB;AAAA,UAEA,UAAAkB,gBAAAA,EAAA;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,gBAAgB,CAAC,CAAC,IAAI,WAAW,CAAC;AAAA,cAClC,OAAM;AAAA,cACN,OAAOjC,MAAU,YAAYA,IAAQ;AAAA,cACrC,eAAc;AAAA,cACd,eAAc;AAAA,cAEb,UAAAD;AAAA,YAAA;AAAA,UACH;AAAA,QAAA;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,61 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { SixteenRegular as l } from "./sd-component-library145.js";
|
|
5
|
-
import { ThirteenRegular as i } from "./sd-component-library149.js";
|
|
6
|
-
function b(o) {
|
|
7
|
-
const { synonyms: t, value: r, onSelect: c } = o, n = h(() => t[0], [t]), x = h(() => t.slice(1), [t]), a = h(() => {
|
|
8
|
-
const s = n.toLowerCase().indexOf(r.toLowerCase());
|
|
9
|
-
return /* @__PURE__ */ e.jsxs(p, { children: [
|
|
10
|
-
/* @__PURE__ */ e.jsx(l, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: n.substring(0, s) }) }),
|
|
11
|
-
/* @__PURE__ */ e.jsx(l, { width: [""], color: "cl_purple", cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: n.substring(s, s + r.length) }) }),
|
|
12
|
-
/* @__PURE__ */ e.jsx(l, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: n.substring(s + r.length) }) })
|
|
13
|
-
] });
|
|
14
|
-
}, [n, r]);
|
|
15
|
-
return /* @__PURE__ */ e.jsxs(
|
|
16
|
-
j,
|
|
17
|
-
{
|
|
18
|
-
sx: {
|
|
19
|
-
p: "10px 16px",
|
|
20
|
-
cursor: "pointer"
|
|
21
|
-
},
|
|
22
|
-
onClick: (s) => c(n),
|
|
23
|
-
"data-test": "result-box",
|
|
24
|
-
children: [
|
|
25
|
-
a,
|
|
26
|
-
/* @__PURE__ */ e.jsx(p, { flexWrap: "wrap", children: x.map((s, d, u) => /* @__PURE__ */ e.jsx(
|
|
27
|
-
m,
|
|
28
|
-
{
|
|
29
|
-
value: r,
|
|
30
|
-
synonym: s,
|
|
31
|
-
appendSlash: d !== u.length - 1
|
|
32
|
-
},
|
|
33
|
-
s
|
|
34
|
-
)) })
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
const m = (o) => {
|
|
40
|
-
const { value: t, synonym: r, appendSlash: c } = o, n = r.toLowerCase().indexOf(t.toLowerCase());
|
|
41
|
-
return /* @__PURE__ */ e.jsxs(p, { children: [
|
|
42
|
-
n !== -1 ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
43
|
-
/* @__PURE__ */ e.jsx(i, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r.substring(0, n) }) }),
|
|
44
|
-
/* @__PURE__ */ e.jsx(i, { width: [""], color: "cl_purple", cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r.substring(n, n + t.length) }) }),
|
|
45
|
-
/* @__PURE__ */ e.jsx(i, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r.substring(n + t.length) }) })
|
|
46
|
-
] }) : /* @__PURE__ */ e.jsx(i, { width: [""], cursor: "inherit", children: /* @__PURE__ */ e.jsx("span", { style: { whiteSpace: "pre" }, children: r }) }),
|
|
47
|
-
c && /* @__PURE__ */ e.jsx(
|
|
48
|
-
i,
|
|
49
|
-
{
|
|
50
|
-
color: "cl_darkGrey",
|
|
51
|
-
width: ["12px"],
|
|
52
|
-
textAlign: "center",
|
|
53
|
-
children: "/"
|
|
54
|
-
}
|
|
55
|
-
)
|
|
56
|
-
] }, r);
|
|
1
|
+
const p = (c, r, n, t) => {
|
|
2
|
+
const o = c - (r - 1) * n, s = t / r, e = (t + 1) / r, a = (360 - c) / 2 + n * t + o * s, S = a + o * (e - s);
|
|
3
|
+
return { rangeArcStart: a, rangeArcEnd: S };
|
|
57
4
|
};
|
|
58
5
|
export {
|
|
59
|
-
|
|
6
|
+
p as getRangeProperties
|
|
60
7
|
};
|
|
61
8
|
//# sourceMappingURL=sd-component-library313.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library313.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library313.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/utils.ts"],"sourcesContent":["export const getRangeProperties = (\n arc: number,\n totalRanges: number,\n distanceBetweenRanges: number,\n idx: number\n) => {\n const arcForRanges = arc - (totalRanges - 1) * distanceBetweenRanges;\n\n const start = idx / totalRanges;\n const end = (idx + 1) / totalRanges;\n\n const arcStart = (360 - arc) / 2; // deg\n\n const rangeArcStart =\n arcStart + distanceBetweenRanges * idx + arcForRanges * start;\n\n const rangeArcEnd = rangeArcStart + arcForRanges * (end - start);\n\n return { rangeArcStart, rangeArcEnd };\n};\n"],"names":["getRangeProperties","arc","totalRanges","distanceBetweenRanges","idx","arcForRanges","start","end","rangeArcStart","rangeArcEnd"],"mappings":"AAAO,MAAMA,IAAqB,CAChCC,GACAC,GACAC,GACAC,MACG;AACG,QAAAC,IAAeJ,KAAOC,IAAc,KAAKC,GAEzCG,IAAQF,IAAMF,GACdK,KAAOH,IAAM,KAAKF,GAIlBM,KAFY,MAAMP,KAAO,IAGlBE,IAAwBC,IAAMC,IAAeC,GAEpDG,IAAcD,IAAgBH,KAAgBE,IAAMD;AAEnD,SAAA,EAAE,eAAAE,GAAe,aAAAC;AAC1B;"}
|
|
@@ -1,29 +1,7 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
const { onClick: e, title: o, height: i } = t;
|
|
5
|
-
return /* @__PURE__ */ r.jsx(
|
|
6
|
-
s,
|
|
7
|
-
{
|
|
8
|
-
fontSizeWeight: [[16, "regular"]],
|
|
9
|
-
sx: {
|
|
10
|
-
position: "relative",
|
|
11
|
-
height: `${i}px`,
|
|
12
|
-
px: "15px",
|
|
13
|
-
display: "flex",
|
|
14
|
-
justifyContent: "flex-start",
|
|
15
|
-
alignItems: "center",
|
|
16
|
-
opacity: 0.8,
|
|
17
|
-
":hover": {
|
|
18
|
-
opacity: 1
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
onClick: e,
|
|
22
|
-
children: o
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
};
|
|
1
|
+
import { j as e } from "./sd-component-library190.js";
|
|
2
|
+
import { LabelPointer as t } from "./sd-component-library320.js";
|
|
3
|
+
const s = (r) => /* @__PURE__ */ e.jsx(t, { ...r });
|
|
26
4
|
export {
|
|
27
|
-
|
|
5
|
+
s as DiscreteMeterLabelPointer
|
|
28
6
|
};
|
|
29
7
|
//# sourceMappingURL=sd-component-library314.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library314.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library314.js","sources":["../src/components/meters/multi-option-discrete-outline-meter/partials/discrete-meter-label-pointer/discrete-meter-label-pointer.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { LabelPointer } from \"../../../common-outline-meter-partials\";\nimport { DiscreteMeterLabelPointerProps as Props } from \"./interfaces\";\n\nexport const DiscreteMeterLabelPointer: React.FC<Props> = (props) => {\n return <LabelPointer {...props} />;\n};\n"],"names":["DiscreteMeterLabelPointer","props","jsx","LabelPointer"],"mappings":";;AAKa,MAAAA,IAA6C,CAACC,MAClDC,gBAAAA,EAAA,IAACC,GAAc,EAAA,GAAGF,EAAO,CAAA;"}
|
|
@@ -1,93 +1,32 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
x1: _ + (s === "left" ? -1 : 1) * k,
|
|
29
|
-
x2: s === "left" ? -i : d + i,
|
|
30
|
-
y1: x,
|
|
31
|
-
y2: x,
|
|
32
|
-
stroke: V.colors.cl_lightGrey,
|
|
33
|
-
strokeWidth: 1
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
/* @__PURE__ */ o.jsx(
|
|
37
|
-
"foreignObject",
|
|
38
|
-
{
|
|
39
|
-
x: e ? T : s === "left" ? -i : I - ((n == null ? void 0 : n.width) ?? 0),
|
|
40
|
-
y: e ? W : x,
|
|
41
|
-
width: ((n == null ? void 0 : n.width) ?? 0) + w,
|
|
42
|
-
height: 50,
|
|
43
|
-
style: { overflow: "visible" },
|
|
44
|
-
children: /* @__PURE__ */ o.jsxs(
|
|
45
|
-
X,
|
|
46
|
-
{
|
|
47
|
-
width: "fit-content",
|
|
48
|
-
justifyItems: "flex-start",
|
|
49
|
-
gap: r ? "1px" : "4px",
|
|
50
|
-
sx: {
|
|
51
|
-
transform: e ? `translate(${b ? -100 : 0}%, calc(${y} * ${B ? 0 : F ? -1 : -0.5}))` : `translateY(calc(${y} / -2)) scale(${r ? 1.3 : 1})`,
|
|
52
|
-
transition: l,
|
|
53
|
-
transformOrigin: s,
|
|
54
|
-
...e ? {
|
|
55
|
-
borderRadius: "4px",
|
|
56
|
-
boxShadow: "0px 3px 6px #00000029",
|
|
57
|
-
px: "5px",
|
|
58
|
-
py: "3px"
|
|
59
|
-
} : s === "left" ? { pr: j } : { pl: j }
|
|
60
|
-
},
|
|
61
|
-
bg: "cl_white",
|
|
62
|
-
children: [
|
|
63
|
-
/* @__PURE__ */ o.jsx(
|
|
64
|
-
g,
|
|
65
|
-
{
|
|
66
|
-
width: "fit-content",
|
|
67
|
-
fontSizeWeight: [18, "bold"],
|
|
68
|
-
color: z,
|
|
69
|
-
sx: { transition: l },
|
|
70
|
-
ref: G,
|
|
71
|
-
children: R
|
|
72
|
-
}
|
|
73
|
-
),
|
|
74
|
-
/* @__PURE__ */ o.jsx(
|
|
75
|
-
g,
|
|
76
|
-
{
|
|
77
|
-
fontSizeWeight: [r ? 13 : 14, "bold"],
|
|
78
|
-
color: r ? "cl_darkGrey" : "cl_grey",
|
|
79
|
-
sx: { transition: l },
|
|
80
|
-
children: C ?? `${Math.round((a - p) * 100)}%`
|
|
81
|
-
}
|
|
82
|
-
)
|
|
83
|
-
]
|
|
84
|
-
}
|
|
85
|
-
)
|
|
86
|
-
}
|
|
87
|
-
)
|
|
88
|
-
] });
|
|
1
|
+
import { j as e } from "./sd-component-library190.js";
|
|
2
|
+
import { getSelectedRangeText as l } from "./sd-component-library277.js";
|
|
3
|
+
import { FourteenRegular as n } from "./sd-component-library138.js";
|
|
4
|
+
import { FourteenSb as p } from "./sd-component-library139.js";
|
|
5
|
+
import { BaseGridContainer as i } from "./sd-component-library36.js";
|
|
6
|
+
const a = (r) => {
|
|
7
|
+
const { isMobile: o, selectedRange: t } = r;
|
|
8
|
+
return /* @__PURE__ */ e.jsxs(
|
|
9
|
+
i,
|
|
10
|
+
{
|
|
11
|
+
...o ? {
|
|
12
|
+
p: "10px 20px",
|
|
13
|
+
gap: "3px",
|
|
14
|
+
borderWidth: "1px 0",
|
|
15
|
+
borderStyle: "solid",
|
|
16
|
+
borderColor: "#CCD0DB"
|
|
17
|
+
} : {
|
|
18
|
+
gap: "10px",
|
|
19
|
+
m: "auto 0",
|
|
20
|
+
justifyContent: "flex-end"
|
|
21
|
+
},
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ e.jsx(n, { color: "cl_grey", children: "Selected:" }),
|
|
24
|
+
/* @__PURE__ */ e.jsx(p, { color: "cl_purple", children: l(t) })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
);
|
|
89
28
|
};
|
|
90
29
|
export {
|
|
91
|
-
|
|
30
|
+
a as SelectedRangeText
|
|
92
31
|
};
|
|
93
32
|
//# sourceMappingURL=sd-component-library316.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library316.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library316.js","sources":["../src/components/inputs/date-inputs/base-date-range-input/partials/selected-range-text/selected-range-text.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { BaseGridContainer } from \"../../../../../containers\";\nimport { FourteenRegular } from \"../../../../../texts/fourteen-regular\";\nimport { FourteenSb } from \"../../../../../texts/fourteen-sb\";\nimport { getSelectedRangeText } from \"../../utils\";\nimport { SelectedRangeTextProps as Props } from \"./interfaces\";\n\nexport const SelectedRangeText: React.FC<Props> = (props) => {\n const { isMobile, selectedRange } = props;\n\n return (\n <BaseGridContainer\n {...(isMobile\n ? {\n p: \"10px 20px\",\n gap: \"3px\",\n borderWidth: \"1px 0\",\n borderStyle: \"solid\",\n borderColor: \"#CCD0DB\",\n }\n : {\n gap: \"10px\",\n m: \"auto 0\",\n justifyContent: \"flex-end\",\n })}\n >\n <FourteenRegular color=\"cl_grey\">Selected:</FourteenRegular>\n\n <FourteenSb color=\"cl_purple\">\n {getSelectedRangeText(selectedRange)}\n </FourteenSb>\n </BaseGridContainer>\n );\n};\n"],"names":["SelectedRangeText","props","isMobile","selectedRange","jsxs","BaseGridContainer","jsx","FourteenRegular","FourteenSb","getSelectedRangeText"],"mappings":";;;;;AAQa,MAAAA,IAAqC,CAACC,MAAU;AACrD,QAAA,EAAE,UAAAC,GAAU,eAAAC,EAAkB,IAAAF;AAGlC,SAAAG,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACE,GAAIH,IACD;AAAA,QACE,GAAG;AAAA,QACH,KAAK;AAAA,QACL,aAAa;AAAA,QACb,aAAa;AAAA,QACb,aAAa;AAAA,MAAA,IAEf;AAAA,QACE,KAAK;AAAA,QACL,GAAG;AAAA,QACH,gBAAgB;AAAA,MAClB;AAAA,MAEJ,UAAA;AAAA,QAACI,gBAAAA,EAAA,IAAAC,GAAA,EAAgB,OAAM,WAAU,UAAS,aAAA;AAAA,8BAEzCC,GAAW,EAAA,OAAM,aACf,UAAAC,EAAqBN,CAAa,GACrC;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
|
@@ -1,32 +1,24 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { j as r } from "./sd-component-library190.js";
|
|
2
|
+
import { endOfDay as s } from "date-fns";
|
|
3
|
+
import { SecondaryBlueButton as p } from "./sd-component-library19.js";
|
|
4
|
+
const c = (e) => {
|
|
5
|
+
const { onClose: n, onSelect: o, selectedRange: t } = e, a = () => {
|
|
6
|
+
t && o({
|
|
7
|
+
startDate: t.startDate ?? /* @__PURE__ */ new Date(),
|
|
8
|
+
endDate: s(t.endDate ?? /* @__PURE__ */ new Date())
|
|
9
|
+
}), n();
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ r.jsx(
|
|
12
|
+
p,
|
|
10
13
|
{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
borderStyle: "solid",
|
|
16
|
-
borderColor: "#CCD0DB"
|
|
17
|
-
} : {
|
|
18
|
-
gap: "10px",
|
|
19
|
-
m: "auto 0",
|
|
20
|
-
justifyContent: "flex-end"
|
|
21
|
-
},
|
|
22
|
-
children: [
|
|
23
|
-
/* @__PURE__ */ e.jsx(n, { color: "cl_grey", children: "Selected:" }),
|
|
24
|
-
/* @__PURE__ */ e.jsx(p, { color: "cl_purple", children: l(t) })
|
|
25
|
-
]
|
|
14
|
+
width: "140px",
|
|
15
|
+
onClick: a,
|
|
16
|
+
disabled: !t || !t.startDate || !t.endDate,
|
|
17
|
+
children: "Apply"
|
|
26
18
|
}
|
|
27
19
|
);
|
|
28
20
|
};
|
|
29
21
|
export {
|
|
30
|
-
|
|
22
|
+
c as ApplyButton
|
|
31
23
|
};
|
|
32
24
|
//# sourceMappingURL=sd-component-library317.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library317.js","sources":["../src/components/inputs/date-inputs/base-date-range-input/partials/
|
|
1
|
+
{"version":3,"file":"sd-component-library317.js","sources":["../src/components/inputs/date-inputs/base-date-range-input/partials/apply-button/apply-button.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { endOfDay } from \"date-fns\";\n\nimport { SecondaryBlueButton } from \"../../../../../buttons\";\nimport { ApplyButtonProps as Props } from \"./interfaces\";\n\nexport const ApplyButton: React.FC<Props> = (props) => {\n const { onClose, onSelect, selectedRange } = props;\n\n const handleApply = () => {\n selectedRange &&\n onSelect({\n startDate: selectedRange.startDate ?? new Date(),\n endDate: endOfDay(selectedRange.endDate ?? new Date()),\n });\n onClose();\n };\n\n return (\n <SecondaryBlueButton\n width=\"140px\"\n onClick={handleApply}\n disabled={\n !selectedRange || !selectedRange.startDate || !selectedRange.endDate\n }\n >\n Apply\n </SecondaryBlueButton>\n );\n};\n"],"names":["ApplyButton","props","onClose","onSelect","selectedRange","handleApply","endOfDay","jsx","SecondaryBlueButton"],"mappings":";;;AAOa,MAAAA,IAA+B,CAACC,MAAU;AACrD,QAAM,EAAE,SAAAC,GAAS,UAAAC,GAAU,eAAAC,EAAA,IAAkBH,GAEvCI,IAAc,MAAM;AACxB,IAAAD,KACED,EAAS;AAAA,MACP,WAAWC,EAAc,aAAa,oBAAI,KAAK;AAAA,MAC/C,SAASE,EAASF,EAAc,WAAW,oBAAI,MAAM;AAAA,IAAA,CACtD,GACKF;EAAA;AAIR,SAAAK,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,OAAM;AAAA,MACN,SAASH;AAAA,MACT,UACE,CAACD,KAAiB,CAACA,EAAc,aAAa,CAACA,EAAc;AAAA,MAEhE,UAAA;AAAA,IAAA;AAAA,EAAA;AAIL;"}
|
|
@@ -1,24 +1,93 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
)
|
|
1
|
+
import { j as o } from "./sd-component-library190.js";
|
|
2
|
+
import { useState as L, useCallback as M } from "react";
|
|
3
|
+
import V from "./sd-component-library189.js";
|
|
4
|
+
import { getCoordinateForArc as f } from "./sd-component-library86.js";
|
|
5
|
+
import { GridContainerV2 as X } from "./sd-component-library39.js";
|
|
6
|
+
import { ResponsiveTextV2 as g } from "./sd-component-library144.js";
|
|
7
|
+
const y = "21.5px", w = 10, j = `${w}px`, J = ({
|
|
8
|
+
segment: $,
|
|
9
|
+
isHover: r,
|
|
10
|
+
animationDuration: S,
|
|
11
|
+
labelOffset: i,
|
|
12
|
+
labelPointerOffset: k,
|
|
13
|
+
radius: c,
|
|
14
|
+
mobile: e,
|
|
15
|
+
labelOffsetMobile: u
|
|
16
|
+
}) => {
|
|
17
|
+
const { start: p, end: a, text: R, color: z, secondaryText: C } = $, d = c * 2, t = (p + a) / 2, h = Math.round(t * 360), { x: _, y: x } = f(c, h), [n, A] = L(), G = M((m) => {
|
|
18
|
+
m && A(m.getBoundingClientRect());
|
|
19
|
+
}, []), l = `all ${S}ms`, s = t > 0.5 ? "right" : "left", I = d + i, { x: T, y: W } = f(
|
|
20
|
+
c + u,
|
|
21
|
+
h,
|
|
22
|
+
c
|
|
23
|
+
), b = t < 0.5, B = t < 0.15 || t > 0.85, F = t > 0.35 || t < 0.65;
|
|
24
|
+
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
25
|
+
!e && /* @__PURE__ */ o.jsx(
|
|
26
|
+
"line",
|
|
27
|
+
{
|
|
28
|
+
x1: _ + (s === "left" ? -1 : 1) * k,
|
|
29
|
+
x2: s === "left" ? -i : d + i,
|
|
30
|
+
y1: x,
|
|
31
|
+
y2: x,
|
|
32
|
+
stroke: V.colors.cl_lightGrey,
|
|
33
|
+
strokeWidth: 1
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ o.jsx(
|
|
37
|
+
"foreignObject",
|
|
38
|
+
{
|
|
39
|
+
x: e ? T : s === "left" ? -i : I - ((n == null ? void 0 : n.width) ?? 0),
|
|
40
|
+
y: e ? W : x,
|
|
41
|
+
width: ((n == null ? void 0 : n.width) ?? 0) + w,
|
|
42
|
+
height: 50,
|
|
43
|
+
style: { overflow: "visible" },
|
|
44
|
+
children: /* @__PURE__ */ o.jsxs(
|
|
45
|
+
X,
|
|
46
|
+
{
|
|
47
|
+
width: "fit-content",
|
|
48
|
+
justifyItems: "flex-start",
|
|
49
|
+
gap: r ? "1px" : "4px",
|
|
50
|
+
sx: {
|
|
51
|
+
transform: e ? `translate(${b ? -100 : 0}%, calc(${y} * ${B ? 0 : F ? -1 : -0.5}))` : `translateY(calc(${y} / -2)) scale(${r ? 1.3 : 1})`,
|
|
52
|
+
transition: l,
|
|
53
|
+
transformOrigin: s,
|
|
54
|
+
...e ? {
|
|
55
|
+
borderRadius: "4px",
|
|
56
|
+
boxShadow: "0px 3px 6px #00000029",
|
|
57
|
+
px: "5px",
|
|
58
|
+
py: "3px"
|
|
59
|
+
} : s === "left" ? { pr: j } : { pl: j }
|
|
60
|
+
},
|
|
61
|
+
bg: "cl_white",
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ o.jsx(
|
|
64
|
+
g,
|
|
65
|
+
{
|
|
66
|
+
width: "fit-content",
|
|
67
|
+
fontSizeWeight: [18, "bold"],
|
|
68
|
+
color: z,
|
|
69
|
+
sx: { transition: l },
|
|
70
|
+
ref: G,
|
|
71
|
+
children: R
|
|
72
|
+
}
|
|
73
|
+
),
|
|
74
|
+
/* @__PURE__ */ o.jsx(
|
|
75
|
+
g,
|
|
76
|
+
{
|
|
77
|
+
fontSizeWeight: [r ? 13 : 14, "bold"],
|
|
78
|
+
color: r ? "cl_darkGrey" : "cl_grey",
|
|
79
|
+
sx: { transition: l },
|
|
80
|
+
children: C ?? `${Math.round((a - p) * 100)}%`
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
}
|
|
87
|
+
)
|
|
88
|
+
] });
|
|
20
89
|
};
|
|
21
90
|
export {
|
|
22
|
-
|
|
91
|
+
J as SegmentLabel
|
|
23
92
|
};
|
|
24
93
|
//# sourceMappingURL=sd-component-library318.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-component-library318.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"sd-component-library318.js","sources":["../src/components/meters/donut-diagram/partials/segment-label/segment-label.tsx"],"sourcesContent":["import React, { useCallback, useState } from \"react\";\n\nimport theme from \"../../../../../core/theme\";\nimport { Grid } from \"../../../../containers\";\nimport { ResponsiveTextV2 } from \"../../../../texts\";\nimport { getCoordinateForArc } from \"../../../outline-meter/utils\";\nimport { DonutSegmentLabelPosition } from \"../../interfaces\";\nimport { SegmentLabelProps as Props } from \"./interfaces\";\n\nconst rowHeight = \"21.5px\";\nconst maskSize = 10;\nconst maskSizePx = `${maskSize}px`;\n\nexport const SegmentLabel: React.FC<Props> = ({\n segment,\n isHover,\n animationDuration,\n labelOffset,\n labelPointerOffset,\n radius,\n mobile,\n labelOffsetMobile,\n}) => {\n const { start, end, text, color, secondaryText } = segment;\n const diameter = radius * 2;\n const middle = (start + end) / 2;\n const middleAlpha = Math.round(middle * 360);\n const { x, y } = getCoordinateForArc(radius, middleAlpha);\n\n const [rect, setRect] = useState<DOMRect>();\n const ref = useCallback((node: HTMLDivElement) => {\n if (node) {\n setRect(node.getBoundingClientRect());\n }\n }, []);\n\n const transition = `all ${animationDuration}ms`;\n\n const position: DonutSegmentLabelPosition = middle > 0.5 ? \"right\" : \"left\";\n const maxX = diameter + labelOffset;\n\n const { x: pointerX, y: pointerY } = getCoordinateForArc(\n radius + labelOffsetMobile,\n middleAlpha,\n radius\n );\n\n const isAtLeft = middle < 0.5;\n const isInBottom = middle < 0.15 || middle > 0.85;\n const isInTop = middle > 0.35 || middle < 0.65;\n\n return (\n <>\n {!mobile && (\n <line\n x1={x + (position === \"left\" ? -1 : 1) * labelPointerOffset}\n x2={position === \"left\" ? -labelOffset : diameter + labelOffset}\n y1={y}\n y2={y}\n stroke={theme.colors[\"cl_lightGrey\"]}\n strokeWidth={1}\n />\n )}\n\n <foreignObject\n x={\n mobile\n ? pointerX\n : position === \"left\"\n ? -labelOffset\n : maxX - (rect?.width ?? 0)\n }\n y={mobile ? pointerY : y}\n width={(rect?.width ?? 0) + maskSize}\n height={50}\n style={{ overflow: \"visible\" }}\n >\n <Grid\n width=\"fit-content\"\n justifyItems=\"flex-start\"\n gap={isHover ? \"1px\" : \"4px\"}\n sx={{\n transform: mobile\n ? `translate(${isAtLeft ? -100 : 0}%, calc(${rowHeight} * ${\n isInBottom ? 0 : isInTop ? -1 : -0.5\n }))`\n : `translateY(calc(${rowHeight} / -2)) scale(${\n isHover ? 1.3 : 1\n })`,\n transition,\n transformOrigin: position,\n ...(mobile\n ? {\n borderRadius: \"4px\",\n boxShadow: \"0px 3px 6px #00000029\",\n px: \"5px\",\n py: \"3px\",\n }\n : position === \"left\"\n ? { pr: maskSizePx }\n : { pl: maskSizePx }),\n }}\n bg=\"cl_white\"\n >\n <ResponsiveTextV2\n width=\"fit-content\"\n fontSizeWeight={[18, \"bold\"]}\n color={color}\n sx={{ transition }}\n ref={ref}\n >\n {text}\n </ResponsiveTextV2>\n\n <ResponsiveTextV2\n fontSizeWeight={[isHover ? 13 : 14, \"bold\"]}\n color={isHover ? \"cl_darkGrey\" : \"cl_grey\"}\n sx={{ transition }}\n >\n {secondaryText ?? `${Math.round((end - start) * 100)}%`}\n </ResponsiveTextV2>\n </Grid>\n </foreignObject>\n </>\n );\n};\n"],"names":["rowHeight","maskSize","maskSizePx","SegmentLabel","segment","isHover","animationDuration","labelOffset","labelPointerOffset","radius","mobile","labelOffsetMobile","start","end","text","color","secondaryText","diameter","middle","middleAlpha","x","y","getCoordinateForArc","rect","setRect","useState","ref","useCallback","node","transition","position","maxX","pointerX","pointerY","isAtLeft","isInBottom","isInTop","jsxs","Fragment","jsx","theme","Grid","ResponsiveTextV2"],"mappings":"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"}
|