@corva/ui 3.53.0-4 → 3.53.0-5
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/cjs-bundle/components/AddComment/Popover.js +1 -1
- package/cjs-bundle/components/AddComment/Popover.js.map +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js +1 -1
- package/cjs-bundle/components/AddComment/components/Content.js.map +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js +1 -1
- package/cjs-bundle/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js +1 -1
- package/cjs-bundle/components/CollapsableSidebar.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/cjs-bundle/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js +1 -1
- package/cjs-bundle/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/cjs-bundle/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js +1 -1
- package/cjs-bundle/components/FeedItem/FeedItem.js.map +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js +1 -1
- package/cjs-bundle/components/FeedItem/components/FeedComments.js.map +1 -1
- package/cjs-bundle/components/ImageViewer/index.js +1 -1
- package/cjs-bundle/components/ImageViewer/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
- package/cjs-bundle/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/cjs-bundle/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/cjs-bundle/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/cjs-bundle/components/Popover/Popover.js +1 -1
- package/cjs-bundle/components/Popper/Popper.js +1 -1
- package/cjs-bundle/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.js +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/Autocomplete.scss.js +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js +2 -0
- package/cjs-bundle/componentsV2/Autocomplete/utils.js +1 -1
- package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js +2 -0
- package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.js.map +1 -0
- package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.scss.js +2 -0
- package/cjs-bundle/componentsV2/ColorPicker/ColorPicker.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js +2 -0
- package/cjs-bundle/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.js +2 -0
- package/cjs-bundle/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.js.map +1 -0
- package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js +2 -0
- package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -0
- package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.scss.js +2 -0
- package/cjs-bundle/componentsV2/ColorPicker/Swatches/Swatches.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/ColorPicker/Swatches/constants.js +2 -0
- package/cjs-bundle/componentsV2/ColorPicker/Swatches/constants.js.map +1 -0
- package/cjs-bundle/componentsV2/ColorPicker/utils.js +2 -0
- package/cjs-bundle/componentsV2/ColorPicker/utils.js.map +1 -0
- package/cjs-bundle/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/DatePicker.js +1 -1
- package/cjs-bundle/componentsV2/DatePicker/Input/Input.js +1 -1
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.constants.js +2 -0
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.constants.js.map +1 -0
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js +2 -0
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.js.map +1 -0
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.scss.js +2 -0
- package/cjs-bundle/componentsV2/TextInputNext/TextInputNext.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/InfoIcon.js +2 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/InfoIcon.js.map +1 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/Label.js +2 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/Label.js.map +1 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/MessageWithIcon.js +2 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/MessageWithIcon.js.map +1 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/RequiredIndicator.js +2 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/RequiredIndicator.js.map +1 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/Styles.scss.js +2 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/Styles.scss.js.map +1 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/Unit.js +2 -0
- package/cjs-bundle/componentsV2/TextInputNext/components/Unit.js.map +1 -0
- package/cjs-bundle/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/cjs-bundle/componentsV2/index.js +1 -1
- package/cjs-bundle/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/components/AddComment/Popover.js +1 -1
- package/components/AddComment/Popover.js.map +1 -1
- package/components/AddComment/components/Content.js +1 -1
- package/components/AddComment/components/Content.js.map +1 -1
- package/components/BICOffsetPickerDialog/index.js +1 -1
- package/components/BICOffsetPickerDialog/index.js.map +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/CasingJoints/Editor.js.map +1 -1
- package/components/Casing/CasingTableV2/components/Component.js +1 -1
- package/components/Casing/CasingTableV2/components/Component.js.map +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js +1 -1
- package/components/Casing/CasingTableV2/components/DrillPipe/Editor.js.map +1 -1
- package/components/CollapsableSidebar.js +1 -1
- package/components/CollapsableSidebar.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/DevCenterAppContainer.js.map +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/CommentsSwitch/CommentsSwitchButton.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/NonPriorityMenus/NonPriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js +1 -1
- package/components/DevCenter/DevCenterAppContainer/components/PriorityMenus/PriorityMenus.js.map +1 -1
- package/components/DocumentViewer/DocumentViewer.js +1 -1
- package/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Agitator/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Bit/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Component.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillCollar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/DrillPipe/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Jar/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Lwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Mwd/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Pdm/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Rss/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Stabilizer/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Sub/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/Ur/Editor.js.map +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js +1 -1
- package/components/Drillstring/BHAComponentsTable/components/shared/ConfirmationPopup.js.map +1 -1
- package/components/FeedItem/FeedItem.js +1 -1
- package/components/FeedItem/FeedItem.js.map +1 -1
- package/components/FeedItem/components/FeedComments.js +1 -1
- package/components/FeedItem/components/FeedComments.js.map +1 -1
- package/components/ImageViewer/index.js +1 -1
- package/components/ImageViewer/index.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Filter/NonEngineeredWellsSwitch.d.ts +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV2/components/Filter/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV2/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/components/Table/MetricsAddMenu.js.map +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/CustomSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/OffsetWellSelectionView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/ToggleMapButton.js.map +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js +1 -1
- package/components/OffsetWellPickerV3/components/TabSelection/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js +1 -1
- package/components/OffsetWellPickerV3/components/WellHubView/index.js.map +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js +1 -1
- package/components/OffsetWellPickerV3/components/shared/OffsetWellTableHead.js.map +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/HeaderActions/HeaderActions.js +1 -1
- package/components/OffsetWellPickerV5/components/AppHeader/components/LoadAllWellsToggle/LoadAllWellsToggle.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/Filter.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/CustomDateFields/CustomDateFields.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/PeriodFilterSelect/PeriodFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Filter/components/SingleFilterSelect/SingleFilterSelect.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/ClusterTooltip/ClusterTooltip.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/LayerSwitcher/LayerSwitcher.js +1 -1
- package/components/OffsetWellPickerV5/components/Map/OffsetWellMap/components/MapControls/MapControls.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellPickerContent/OffsetWellPickerContent.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/AdvancedSearch/components/AssetResultSection/AssetResultSection.js +1 -1
- package/components/OffsetWellPickerV5/components/OffsetWellsTable/components/MetricsSettingMenu/MetricsSettingMenu.js +1 -1
- package/components/OffsetWellPickerV5/components/PickerModalActions/PickerModalActions.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js +1 -1
- package/components/PadOffsetsPicker/StagesSelector.js.map +1 -1
- package/components/PadOffsetsPickerV2/PadOffsetsPickerV2.js +1 -1
- package/components/Popover/Popover.js +1 -1
- package/components/Popper/Popper.js +1 -1
- package/components/RealTimeValuesSidebar/SidebarFooter.js +1 -1
- package/componentsV2/Accordion/Accordion.stories.d.ts +13 -0
- package/componentsV2/Accordion/Accordion.stories.d.ts.map +1 -0
- package/componentsV2/AppContainer/AppContainer.stories.d.ts +10 -0
- package/componentsV2/AppContainer/AppContainer.stories.d.ts.map +1 -0
- package/componentsV2/AppFooter/AppFooter.stories.d.ts +11 -0
- package/componentsV2/AppFooter/AppFooter.stories.d.ts.map +1 -0
- package/componentsV2/AppHeader/AppHeader.stories.d.ts +16 -0
- package/componentsV2/AppHeader/AppHeader.stories.d.ts.map +1 -0
- package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts +22 -0
- package/componentsV2/AppHeader/V3/AppHeaderV3.stories.d.ts.map +1 -0
- package/componentsV2/AppSettingsDivider/AppSettingsDivider.stories.d.ts +8 -0
- package/componentsV2/AppSettingsDivider/AppSettingsDivider.stories.d.ts.map +1 -0
- package/componentsV2/Autocomplete/Autocomplete.d.ts +41 -7
- package/componentsV2/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/componentsV2/Autocomplete/Autocomplete.js +1 -1
- package/componentsV2/Autocomplete/Autocomplete.scss.js +1 -1
- package/componentsV2/Autocomplete/Autocomplete.stories.d.ts +29 -0
- package/componentsV2/Autocomplete/Autocomplete.stories.d.ts.map +1 -0
- package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.d.ts +10 -0
- package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.d.ts.map +1 -0
- package/componentsV2/Autocomplete/AutocompleteInput/AutocompleteInput.js +2 -0
- package/componentsV2/Autocomplete/AutocompleteInput/index.d.ts +2 -0
- package/componentsV2/Autocomplete/AutocompleteInput/index.d.ts.map +1 -0
- package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts +29 -0
- package/componentsV2/Autocomplete/AutocompleteNext.stories.d.ts.map +1 -0
- package/componentsV2/Autocomplete/utils.d.ts +5 -2
- package/componentsV2/Autocomplete/utils.d.ts.map +1 -1
- package/componentsV2/Autocomplete/utils.js +1 -1
- package/componentsV2/Avatar/Avatar.stories.d.ts +11 -0
- package/componentsV2/Avatar/Avatar.stories.d.ts.map +1 -0
- package/componentsV2/AvatarGroup/AvatarGroup.stories.d.ts +10 -0
- package/componentsV2/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -0
- package/componentsV2/BadgeComment/BadgeComment.stories.d.ts +8 -0
- package/componentsV2/BadgeComment/BadgeComment.stories.d.ts.map +1 -0
- package/componentsV2/BadgeCounter/BadgeCounter.stories.d.ts +10 -0
- package/componentsV2/BadgeCounter/BadgeCounter.stories.d.ts.map +1 -0
- package/componentsV2/BadgeDot/BadgeDot.stories.d.ts +10 -0
- package/componentsV2/BadgeDot/BadgeDot.stories.d.ts.map +1 -0
- package/componentsV2/Breadcrumbs/Breadcrumbs.stories.d.ts +8 -0
- package/componentsV2/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
- package/componentsV2/Button/Button.stories.d.ts +13 -0
- package/componentsV2/Button/Button.stories.d.ts.map +1 -0
- package/componentsV2/ButtonIcon/ButtonIcon.stories.d.ts +10 -0
- package/componentsV2/ButtonIcon/ButtonIcon.stories.d.ts.map +1 -0
- package/componentsV2/ButtonLive/ButtonLive.stories.d.ts +11 -0
- package/componentsV2/ButtonLive/ButtonLive.stories.d.ts.map +1 -0
- package/componentsV2/ButtonText/ButtonText.stories.d.ts +11 -0
- package/componentsV2/ButtonText/ButtonText.stories.d.ts.map +1 -0
- package/componentsV2/Checkbox/Checkbox.stories.d.ts +12 -0
- package/componentsV2/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/componentsV2/CheckboxGroup/CheckboxGroup.stories.d.ts +12 -0
- package/componentsV2/CheckboxGroup/CheckboxGroup.stories.d.ts.map +1 -0
- package/componentsV2/Chip/Chip.stories.d.ts +16 -0
- package/componentsV2/Chip/Chip.stories.d.ts.map +1 -0
- package/componentsV2/ChipAlert/ChipAlert.stories.d.ts +10 -0
- package/componentsV2/ChipAlert/ChipAlert.stories.d.ts.map +1 -0
- package/componentsV2/ChipIndicator/ChipIndicator.stories.d.ts +11 -0
- package/componentsV2/ChipIndicator/ChipIndicator.stories.d.ts.map +1 -0
- package/componentsV2/ColorPicker/ColorPicker.d.ts +29 -0
- package/componentsV2/ColorPicker/ColorPicker.d.ts.map +1 -0
- package/componentsV2/ColorPicker/ColorPicker.js +2 -0
- package/componentsV2/ColorPicker/ColorPicker.js.map +1 -0
- package/componentsV2/ColorPicker/ColorPicker.scss.js +2 -0
- package/componentsV2/ColorPicker/ColorPicker.scss.js.map +1 -0
- package/componentsV2/ColorPicker/ColorPicker.stories.d.ts +13 -0
- package/componentsV2/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
- package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js +2 -0
- package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragTracker.scss.js.map +1 -0
- package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.d.ts +6 -0
- package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.d.ts.map +1 -0
- package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.js +2 -0
- package/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.js.map +1 -0
- package/componentsV2/ColorPicker/OpacityDragtracker/index.d.ts +2 -0
- package/componentsV2/ColorPicker/OpacityDragtracker/index.d.ts.map +1 -0
- package/componentsV2/ColorPicker/Swatches/Swatches.d.ts +11 -0
- package/componentsV2/ColorPicker/Swatches/Swatches.d.ts.map +1 -0
- package/componentsV2/ColorPicker/Swatches/Swatches.js +2 -0
- package/componentsV2/ColorPicker/Swatches/Swatches.js.map +1 -0
- package/componentsV2/ColorPicker/Swatches/Swatches.scss.js +2 -0
- package/componentsV2/ColorPicker/Swatches/Swatches.scss.js.map +1 -0
- package/componentsV2/ColorPicker/Swatches/constants.d.ts +2 -0
- package/componentsV2/ColorPicker/Swatches/constants.d.ts.map +1 -0
- package/componentsV2/ColorPicker/Swatches/constants.js +2 -0
- package/componentsV2/ColorPicker/Swatches/constants.js.map +1 -0
- package/componentsV2/ColorPicker/Swatches/index.d.ts +2 -0
- package/componentsV2/ColorPicker/Swatches/index.d.ts.map +1 -0
- package/componentsV2/ColorPicker/index.d.ts +2 -0
- package/componentsV2/ColorPicker/index.d.ts.map +1 -0
- package/componentsV2/ColorPicker/utils.d.ts +20 -0
- package/componentsV2/ColorPicker/utils.d.ts.map +1 -0
- package/componentsV2/ColorPicker/utils.js +2 -0
- package/componentsV2/ColorPicker/utils.js.map +1 -0
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.stories.d.ts +10 -0
- package/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.stories.d.ts.map +1 -0
- package/componentsV2/CompletionsOffsetWellPicker/Map/Map.js +1 -1
- package/componentsV2/CopyToClipboard/CopyToClipboard.stories.d.ts +10 -0
- package/componentsV2/CopyToClipboard/CopyToClipboard.stories.d.ts.map +1 -0
- package/componentsV2/Counter/Counter.stories.d.ts +13 -0
- package/componentsV2/Counter/Counter.stories.d.ts.map +1 -0
- package/componentsV2/DatePicker/CalendarControls/CalendarControls.d.ts.map +1 -1
- package/componentsV2/DatePicker/CalendarControls/CalendarControls.js +1 -1
- package/componentsV2/DatePicker/CalendarControls/CalendarControls.scss.js +1 -1
- package/componentsV2/DatePicker/DatePicker.d.ts +18 -2
- package/componentsV2/DatePicker/DatePicker.d.ts.map +1 -1
- package/componentsV2/DatePicker/DatePicker.js +1 -1
- package/componentsV2/DatePicker/DatePicker.stories.d.ts +15 -0
- package/componentsV2/DatePicker/DatePicker.stories.d.ts.map +1 -0
- package/componentsV2/DatePicker/DatePickerNext.stories.d.ts +17 -0
- package/componentsV2/DatePicker/DatePickerNext.stories.d.ts.map +1 -0
- package/componentsV2/DatePicker/Input/Input.d.ts +7 -2
- package/componentsV2/DatePicker/Input/Input.d.ts.map +1 -1
- package/componentsV2/DatePicker/Input/Input.js +1 -1
- package/componentsV2/DragHandle/DragHandle.stories.d.ts +9 -0
- package/componentsV2/DragHandle/DragHandle.stories.d.ts.map +1 -0
- package/componentsV2/EmptyState/EmptyState.stories.d.ts +10 -0
- package/componentsV2/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/componentsV2/FileIcon/FileIcon.stories.d.ts +9 -0
- package/componentsV2/FileIcon/FileIcon.stories.d.ts.map +1 -0
- package/componentsV2/FilesDropzone/FilesDropzone.stories.d.ts +8 -0
- package/componentsV2/FilesDropzone/FilesDropzone.stories.d.ts.map +1 -0
- package/componentsV2/FilesLoader/FilesLoader.stories.d.ts +12 -0
- package/componentsV2/FilesLoader/FilesLoader.stories.d.ts.map +1 -0
- package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts +10 -0
- package/componentsV2/FilesProcessor/FilesProcessor.stories.d.ts.map +1 -0
- package/componentsV2/Grid/Grid.stories.d.ts +13 -0
- package/componentsV2/Grid/Grid.stories.d.ts.map +1 -0
- package/componentsV2/Header/Header.stories.d.ts +8 -0
- package/componentsV2/Header/Header.stories.d.ts.map +1 -0
- package/componentsV2/Hint/Hint.stories.d.ts +11 -0
- package/componentsV2/Hint/Hint.stories.d.ts.map +1 -0
- package/componentsV2/IndicatorLive/IndicatorLive.stories.d.ts +12 -0
- package/componentsV2/IndicatorLive/IndicatorLive.stories.d.ts.map +1 -0
- package/componentsV2/Label/Label.stories.d.ts +14 -0
- package/componentsV2/Label/Label.stories.d.ts.map +1 -0
- package/componentsV2/LoaderCircular/LoaderCircular.stories.d.ts +10 -0
- package/componentsV2/LoaderCircular/LoaderCircular.stories.d.ts.map +1 -0
- package/componentsV2/LoaderLinear/LoaderLinear.stories.d.ts +11 -0
- package/componentsV2/LoaderLinear/LoaderLinear.stories.d.ts.map +1 -0
- package/componentsV2/LoaderLogo/LoaderLogo.stories.d.ts +9 -0
- package/componentsV2/LoaderLogo/LoaderLogo.stories.d.ts.map +1 -0
- package/componentsV2/Menu/Menu.stories.d.ts +18 -0
- package/componentsV2/Menu/Menu.stories.d.ts.map +1 -0
- package/componentsV2/Modal/Modal.stories.d.ts +14 -0
- package/componentsV2/Modal/Modal.stories.d.ts.map +1 -0
- package/componentsV2/ModalWindow/ModalWindow.stories.d.ts +8 -0
- package/componentsV2/ModalWindow/ModalWindow.stories.d.ts.map +1 -0
- package/componentsV2/OffsetWellsButton/OffsetWellsButton.stories.d.ts +15 -0
- package/componentsV2/OffsetWellsButton/OffsetWellsButton.stories.d.ts.map +1 -0
- package/componentsV2/PadModeSelect/PadModeSelect.stories.d.ts +8 -0
- package/componentsV2/PadModeSelect/PadModeSelect.stories.d.ts.map +1 -0
- package/componentsV2/Paper/Paper.stories.d.ts +9 -0
- package/componentsV2/Paper/Paper.stories.d.ts.map +1 -0
- package/componentsV2/Popover/Popover.stories.d.ts +12 -0
- package/componentsV2/Popover/Popover.stories.d.ts.map +1 -0
- package/componentsV2/Popper/Popper.stories.d.ts +8 -0
- package/componentsV2/Popper/Popper.stories.d.ts.map +1 -0
- package/componentsV2/Radio/Radio.stories.d.ts +11 -0
- package/componentsV2/Radio/Radio.stories.d.ts.map +1 -0
- package/componentsV2/RadioGroup/RadioGroup.stories.d.ts +12 -0
- package/componentsV2/RadioGroup/RadioGroup.stories.d.ts.map +1 -0
- package/componentsV2/Skeleton/Skeleton.stories.d.ts +11 -0
- package/componentsV2/Skeleton/Skeleton.stories.d.ts.map +1 -0
- package/componentsV2/Slider/Slider.stories.d.ts +15 -0
- package/componentsV2/Slider/Slider.stories.d.ts.map +1 -0
- package/componentsV2/Stepper/Stepper.stories.d.ts +14 -0
- package/componentsV2/Stepper/Stepper.stories.d.ts.map +1 -0
- package/componentsV2/Switch/Switch.stories.d.ts +12 -0
- package/componentsV2/Switch/Switch.stories.d.ts.map +1 -0
- package/componentsV2/Tabs/Tabs.stories.d.ts +14 -0
- package/componentsV2/Tabs/Tabs.stories.d.ts.map +1 -0
- package/componentsV2/Tag/Tag.stories.d.ts +12 -0
- package/componentsV2/Tag/Tag.stories.d.ts.map +1 -0
- package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts +19 -0
- package/componentsV2/TemplatesControl/TemplatesControl.stories.d.ts.map +1 -0
- package/componentsV2/Text/Text.stories.d.ts +11 -0
- package/componentsV2/Text/Text.stories.d.ts.map +1 -0
- package/componentsV2/TextEndTruncated/TextEndTruncated.stories.d.ts +11 -0
- package/componentsV2/TextEndTruncated/TextEndTruncated.stories.d.ts.map +1 -0
- package/componentsV2/TextInput/TextInput.d.ts +3 -0
- package/componentsV2/TextInput/TextInput.d.ts.map +1 -1
- package/componentsV2/TextInput/TextInput.stories.d.ts +16 -0
- package/componentsV2/TextInput/TextInput.stories.d.ts.map +1 -0
- package/componentsV2/TextInputNext/TextInputNext.constants.d.ts +11 -0
- package/componentsV2/TextInputNext/TextInputNext.constants.d.ts.map +1 -0
- package/componentsV2/TextInputNext/TextInputNext.constants.js +2 -0
- package/componentsV2/TextInputNext/TextInputNext.constants.js.map +1 -0
- package/componentsV2/TextInputNext/TextInputNext.d.ts +82 -0
- package/componentsV2/TextInputNext/TextInputNext.d.ts.map +1 -0
- package/componentsV2/TextInputNext/TextInputNext.js +2 -0
- package/componentsV2/TextInputNext/TextInputNext.js.map +1 -0
- package/componentsV2/TextInputNext/TextInputNext.scss.js +2 -0
- package/componentsV2/TextInputNext/TextInputNext.scss.js.map +1 -0
- package/componentsV2/TextInputNext/TextInputNext.stories.d.ts +20 -0
- package/componentsV2/TextInputNext/TextInputNext.stories.d.ts.map +1 -0
- package/componentsV2/TextInputNext/components/InfoIcon.d.ts +7 -0
- package/componentsV2/TextInputNext/components/InfoIcon.d.ts.map +1 -0
- package/componentsV2/TextInputNext/components/InfoIcon.js +2 -0
- package/componentsV2/TextInputNext/components/InfoIcon.js.map +1 -0
- package/componentsV2/TextInputNext/components/Label.d.ts +9 -0
- package/componentsV2/TextInputNext/components/Label.d.ts.map +1 -0
- package/componentsV2/TextInputNext/components/Label.js +2 -0
- package/componentsV2/TextInputNext/components/Label.js.map +1 -0
- package/componentsV2/TextInputNext/components/MessageWithIcon.d.ts +5 -0
- package/componentsV2/TextInputNext/components/MessageWithIcon.d.ts.map +1 -0
- package/componentsV2/TextInputNext/components/MessageWithIcon.js +2 -0
- package/componentsV2/TextInputNext/components/MessageWithIcon.js.map +1 -0
- package/componentsV2/TextInputNext/components/RequiredIndicator.d.ts +2 -0
- package/componentsV2/TextInputNext/components/RequiredIndicator.d.ts.map +1 -0
- package/componentsV2/TextInputNext/components/RequiredIndicator.js +2 -0
- package/componentsV2/TextInputNext/components/RequiredIndicator.js.map +1 -0
- package/componentsV2/TextInputNext/components/Styles.scss.js +2 -0
- package/componentsV2/TextInputNext/components/Styles.scss.js.map +1 -0
- package/componentsV2/TextInputNext/components/Unit.d.ts +6 -0
- package/componentsV2/TextInputNext/components/Unit.d.ts.map +1 -0
- package/componentsV2/TextInputNext/components/Unit.js +2 -0
- package/componentsV2/TextInputNext/components/Unit.js.map +1 -0
- package/componentsV2/TextInputNext/components/index.d.ts +6 -0
- package/componentsV2/TextInputNext/components/index.d.ts.map +1 -0
- package/componentsV2/TextInputNext/index.d.ts +2 -0
- package/componentsV2/TextInputNext/index.d.ts.map +1 -0
- package/componentsV2/TextLink/TextLink.stories.d.ts +11 -0
- package/componentsV2/TextLink/TextLink.stories.d.ts.map +1 -0
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts +10 -0
- package/componentsV2/TextMiddleTruncated/TextMiddleTruncated.stories.d.ts.map +1 -0
- package/componentsV2/ToggleButtons/ToggleButtons.stories.d.ts +13 -0
- package/componentsV2/ToggleButtons/ToggleButtons.stories.d.ts.map +1 -0
- package/componentsV2/Tooltip/Tooltip.stories.d.ts +12 -0
- package/componentsV2/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/componentsV2/UniversalLink/UniversalLink.stories.d.ts +8 -0
- package/componentsV2/UniversalLink/UniversalLink.stories.d.ts.map +1 -0
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.js +1 -1
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.stories.d.ts +10 -0
- package/componentsV2/WellArchivedMessage/WellArchivedMessage.stories.d.ts.map +1 -0
- package/componentsV2/index.d.ts +1 -0
- package/componentsV2/index.d.ts.map +1 -1
- package/componentsV2/index.js +1 -1
- package/effects/useCombineRefs.d.ts +3 -3
- package/effects/useCombineRefs.d.ts.map +1 -1
- package/icons/IconPark.stories.d.ts +6 -0
- package/icons/IconPark.stories.d.ts.map +1 -0
- package/mcp-server/server.mjs +508 -299
- package/mcp-server/server.mjs.map +1 -1
- package/package.json +1 -1
- package/storyBookHelpers/template/Template.stories.d.ts +8 -0
- package/storyBookHelpers/template/Template.stories.d.ts.map +1 -0
- package/storyBookHelpers/utils.d.ts +1 -1
- package/storyBookHelpers/utils.d.ts.map +1 -1
- package/styles/common.scss +21 -0
- package/styles/mixins.scss +21 -0
- package/testing/AppTestWrapper/AppTestWrapper.js +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/cjs-bundle/componentsV2/Autocomplete/AutocompleteInput.js +0 -2
- package/componentsV2/Autocomplete/AutocompleteInput.d.ts +0 -8
- package/componentsV2/Autocomplete/AutocompleteInput.d.ts.map +0 -1
- package/componentsV2/Autocomplete/AutocompleteInput.js +0 -2
- /package/cjs-bundle/componentsV2/Autocomplete/{AutocompleteInput.js.map → AutocompleteInput/AutocompleteInput.js.map} +0 -0
- /package/componentsV2/Autocomplete/{AutocompleteInput.js.map → AutocompleteInput/AutocompleteInput.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutocompleteNext.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/Autocomplete/AutocompleteNext.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAW,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAiC,MAAM,OAAO,CAAC;AAOtE,OAAO,EAA6B,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAY7E,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAErD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAwCF,eAAe,IAAI,CAAC;AAiBpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAqBnC,CAAC;AAGF,eAAO,MAAM,KAAK,mBAmBjB,CAAC;AASF,eAAO,MAAM,cAAc,mBAmB1B,CAAC;AASF,eAAO,MAAM,WAAW,mBAyBvB,CAAC;AAQF,eAAO,MAAM,MAAM,mBAQlB,CAAC;AAKF,eAAO,MAAM,kBAAkB,mBA0C9B,CAAC;AAOF,eAAO,MAAM,QAAQ,mBA0BpB,CAAC;AAOF,eAAO,MAAM,gCAAgC,mBAkE5C,CAAC;AASF,eAAO,MAAM,KAAK,mBAWjB,CAAC;AAMF,eAAO,MAAM,OAAO,mBAsBnB,CAAC;AAOF,eAAO,MAAM,YAAY,mBAgBxB,CAAC;AAMF,eAAO,MAAM,kBAAkB,mBAgB9B,CAAC;AAOF,eAAO,MAAM,kBAAkB,mBAuB9B,CAAC;AAQF,eAAO,MAAM,QAAQ,mBAYpB,CAAC;AAMF,eAAO,MAAM,MAAM,mBAUlB,CAAC;AAKF,eAAO,MAAM,uBAAuB,mBAyBnC,CAAC;AAMF,eAAO,MAAM,KAAK,mBAWjB,CAAC;AAMF,eAAO,MAAM,aAAa,mBAmCzB,CAAC;AAOF,eAAO,MAAM,UAAU,mBAsCtB,CAAC;AAOF,eAAO,MAAM,gBAAgB,mBAU5B,CAAC;AAOF,eAAO,MAAM,UAAU,mBAmCtB,CAAC;AAMF,eAAO,MAAM,iBAAiB,mBAO7B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { AutocompleteNextProps } from './Autocomplete';
|
|
3
3
|
export type AutocompleteOption = {
|
|
4
4
|
id: string | number;
|
|
5
5
|
title: string;
|
|
@@ -14,6 +14,9 @@ export type InternalOption<T extends AutocompleteOption> = T | OwnAddedOption;
|
|
|
14
14
|
export declare const AllOptionMark: unique symbol;
|
|
15
15
|
export declare const CreateOptionMark: unique symbol;
|
|
16
16
|
export declare const isRealOption: <T extends AutocompleteOption>(a: InternalOption<T>) => a is T;
|
|
17
|
-
|
|
17
|
+
type SelectedValueRenderer = Required<AutocompleteNextProps>['renderSelected'];
|
|
18
|
+
export declare const renderSelectedValue: SelectedValueRenderer;
|
|
19
|
+
export declare const renderSelectedValueChips: Required<AutocompleteNextProps>['renderSelected'];
|
|
18
20
|
export declare const renderOptionDefault: <T extends AutocompleteOption>(option: InternalOption<T>) => JSX.Element;
|
|
21
|
+
export {};
|
|
19
22
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/Autocomplete/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/Autocomplete/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlC,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAKvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAChG,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,kBAAkB,IAAI,CAAC,GAAG,cAAc,CAAC;AAE9E,eAAO,MAAM,aAAa,eAA4B,CAAC;AACvD,eAAO,MAAM,gBAAgB,eAA+B,CAAC;AAE7D,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,kBAAkB,EAAE,GAAG,cAAc,CAAC,CAAC,CAAC,KAAG,CAAC,IAAI,CAEtF,CAAC;AAEF,KAAK,qBAAqB,GAAG,QAAQ,CAAC,qBAAqB,CAAC,CAAC,gBAAgB,CAAC,CAAC;AAoB/E,eAAO,MAAM,mBAAmB,EAAE,qBAQjC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAAC,gBAAgB,CAqBpF,CAAC;AAEJ,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,kBAAkB,EAAE,QAAQ,cAAc,CAAC,CAAC,CAAC,gBAE1F,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import{Text as
|
|
1
|
+
import{jsx as e,Fragment as t}from"react/jsx-runtime";import{Text as r}from"../Text/Text.js";import{TextMiddleTruncated as n}from"../TextMiddleTruncated/TextMiddleTruncated.js";import"../TextMiddleTruncated/TextMiddleTruncated.constants.js";import{Chip as l}from"../Chip/Chip.js";import i from"./Autocomplete.scss.js";var o=Symbol("all-option-mark"),a=Symbol("create-option-mark"),c=function(e){return!e[o]&&!e[a]},d=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],l=t[1].allOptions;if(n.length)return 1===n.length?n[0].option.title:n.length===l.length?"All":"".concat(n.length," Selected")},s=function(){var t=d.apply(void 0,arguments);return t?e(r,{size:16,color:"T1",className:i.selectedValue,children:e(n,{children:t},t)}):null},u=function(r){if(0!==r.length)return e(t,{children:r.map((function(t){var r=t.option,o=t.onDelete;return e(l,{className:i.selectedValueChip,onDelete:o,size:"small",shape:"square",children:e(n,{children:r.title})},r.id)}))})},m=function(t){return e(n,{children:t.title})};export{o as AllOptionMark,a as CreateOptionMark,c as isRealOption,m as renderOptionDefault,s as renderSelectedValue,u as renderSelectedValueChips};
|
|
2
2
|
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { Avatar } from './Avatar';
|
|
4
|
+
type Props = ComponentProps<typeof Avatar>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Sizes: () => JSX.Element;
|
|
9
|
+
export declare const Colors: () => JSX.Element;
|
|
10
|
+
export declare const WithImage: () => JSX.Element;
|
|
11
|
+
//# sourceMappingURL=Avatar.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAE3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAcF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAA0B,CAAC;AAE/D,eAAO,MAAM,KAAK,mBAmBjB,CAAC;AAYF,eAAO,MAAM,MAAM,mBAkBlB,CAAC;AAKF,eAAO,MAAM,SAAS,mBAMrB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { AvatarGroup } from './AvatarGroup';
|
|
4
|
+
type Props = ComponentProps<typeof AvatarGroup>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Items: () => JSX.Element;
|
|
9
|
+
export declare const WithoutTooltips: () => JSX.Element;
|
|
10
|
+
//# sourceMappingURL=AvatarGroup.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/AvatarGroup/AvatarGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAYF,eAAe,IAAI,CAAC;AAWpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAA6C,CAAC;AAElF,eAAO,MAAM,KAAK,mBAgBjB,CAAC;AAKF,eAAO,MAAM,eAAe,mBAAsD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { BadgeComment } from './BadgeComment';
|
|
4
|
+
type Props = ComponentProps<typeof BadgeComment>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
//# sourceMappingURL=BadgeComment.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeComment.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/BadgeComment/BadgeComment.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAYF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAInC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { BadgeCounter } from './BadgeCounter';
|
|
4
|
+
type Props = ComponentProps<typeof BadgeCounter>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const UsageWithComplexComponents: () => JSX.Element;
|
|
9
|
+
export declare const OffsetControl: () => JSX.Element;
|
|
10
|
+
//# sourceMappingURL=BadgeCounter.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeCounter.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/BadgeCounter/BadgeCounter.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAOjD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAI9C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAEjD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAeF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAInC,CAAC;AAEF,eAAO,MAAM,0BAA0B,mBAmBtC,CAAC;AAMF,eAAO,MAAM,aAAa,mBA+BzB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { BadgeDot } from './BadgeDot';
|
|
4
|
+
type Props = ComponentProps<typeof BadgeDot>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const UsageWithComplexComponents: () => JSX.Element;
|
|
9
|
+
export declare const OffsetControl: () => JSX.Element;
|
|
10
|
+
//# sourceMappingURL=BadgeDot.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeDot.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/BadgeDot/BadgeDot.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAOjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAYF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAInC,CAAC;AAEF,eAAO,MAAM,0BAA0B,mBAmBtC,CAAC;AAMF,eAAO,MAAM,aAAa,mBA+BzB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { Breadcrumbs } from './Breadcrumbs';
|
|
4
|
+
type Props = ComponentProps<typeof Breadcrumbs>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
//# sourceMappingURL=Breadcrumbs.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/Breadcrumbs/Breadcrumbs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAShD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAiBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAA6C,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { Button } from './Button';
|
|
4
|
+
type Props = ComponentProps<typeof Button>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Type: () => JSX.Element;
|
|
9
|
+
export declare const Sizes: () => JSX.Element;
|
|
10
|
+
export declare const WithPrefixSuffix: () => JSX.Element;
|
|
11
|
+
export declare const WithHTMLAttributes: () => JSX.Element;
|
|
12
|
+
export declare const ChartButtonMenu: () => JSX.Element;
|
|
13
|
+
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAoB,MAAM,OAAO,CAAC;AAKzD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAE3C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAqBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAA0B,CAAC;AAE/D,eAAO,MAAM,IAAI,mBAShB,CAAC;AAYF,eAAO,MAAM,KAAK,mBAYjB,CAAC;AASF,eAAO,MAAM,gBAAgB,mBA2B5B,CAAC;AAOF,eAAO,MAAM,kBAAkB,mBAW9B,CAAC;AAMF,eAAO,MAAM,eAAe,mBAmB3B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { ButtonIcon } from './ButtonIcon';
|
|
4
|
+
type Props = ComponentProps<typeof ButtonIcon>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Sizes: () => JSX.Element;
|
|
9
|
+
export declare const Type: () => JSX.Element;
|
|
10
|
+
//# sourceMappingURL=ButtonIcon.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonIcon.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ButtonIcon/ButtonIcon.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAkBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAInC,CAAC;AAEF,eAAO,MAAM,KAAK,mBAejB,CAAC;AAUF,eAAO,MAAM,IAAI,mBAkBhB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { ButtonLive } from './ButtonLive';
|
|
4
|
+
type Props = ComponentProps<typeof ButtonLive>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Sizes: () => JSX.Element;
|
|
9
|
+
export declare const Tooltip: () => JSX.Element;
|
|
10
|
+
export declare const WithIndicator: () => JSX.Element;
|
|
11
|
+
//# sourceMappingURL=ButtonLive.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonLive.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ButtonLive/ButtonLive.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAMjD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAgBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAA8B,CAAC;AAEnE,eAAO,MAAM,KAAK,mBAMjB,CAAC;AASF,eAAO,MAAM,OAAO,mBAKnB,CAAC;AAMF,eAAO,MAAM,aAAa,mBAgBzB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { ButtonText } from './ButtonText';
|
|
4
|
+
type Props = ComponentProps<typeof ButtonText>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Type: () => JSX.Element;
|
|
9
|
+
export declare const Sizes: () => JSX.Element;
|
|
10
|
+
export declare const WithPrefixSuffix: () => JSX.Element;
|
|
11
|
+
//# sourceMappingURL=ButtonText.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonText.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ButtonText/ButtonText.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAkBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAA8B,CAAC;AAEnE,eAAO,MAAM,IAAI,mBAKhB,CAAC;AAQF,eAAO,MAAM,KAAK,mBAOjB,CAAC;AAUF,eAAO,MAAM,gBAAgB,mBA8C5B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { Checkbox } from './Checkbox';
|
|
4
|
+
type Props = ComponentProps<typeof Checkbox>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Sizes: () => JSX.Element;
|
|
9
|
+
export declare const LabelPlacementAndMargins: () => JSX.Element;
|
|
10
|
+
export declare const Indeterminate: () => JSX.Element;
|
|
11
|
+
export declare const InteractiveExample: () => JSX.Element;
|
|
12
|
+
//# sourceMappingURL=Checkbox.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/Checkbox/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAA2B,MAAM,OAAO,CAAC;AAYhE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAiBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAYnC,CAAC;AAEF,eAAO,MAAM,KAAK,mBAKjB,CAAC;AASF,eAAO,MAAM,wBAAwB,mBAepC,CAAC;AAWF,eAAO,MAAM,aAAa,mBASzB,CAAC;AAMF,eAAO,MAAM,kBAAkB,mBAmB9B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { CheckboxGroup } from './CheckboxGroup';
|
|
4
|
+
type Props = ComponentProps<typeof CheckboxGroup>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Sizes: () => JSX.Element;
|
|
9
|
+
export declare const Spacing: () => JSX.Element;
|
|
10
|
+
export declare const Horisontal: () => JSX.Element;
|
|
11
|
+
export declare const NonScalarValues: () => JSX.Element;
|
|
12
|
+
//# sourceMappingURL=CheckboxGroup.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxGroup.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/CheckboxGroup/CheckboxGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAqB,MAAM,OAAO,CAAC;AAI1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAElD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAYF,eAAe,IAAI,CAAC;AAyBpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAanC,CAAC;AAKF,eAAO,MAAM,KAAK,mBAUjB,CAAC;AAQF,eAAO,MAAM,OAAO,mBAenB,CAAC;AAQF,eAAO,MAAM,UAAU,mBAiBtB,CAAC;AAQF,eAAO,MAAM,eAAe,mBAsB3B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { Chip } from './Chip';
|
|
4
|
+
type Props = ComponentProps<typeof Chip>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Sizes: () => JSX.Element;
|
|
9
|
+
export declare const Types: () => JSX.Element;
|
|
10
|
+
export declare const Shapes: () => JSX.Element;
|
|
11
|
+
export declare const PrefixAndSuffix: () => JSX.Element;
|
|
12
|
+
export declare const CommonAffixes: () => JSX.Element;
|
|
13
|
+
export declare const DeleteButton: () => JSX.Element;
|
|
14
|
+
export declare const States: () => JSX.Element;
|
|
15
|
+
export declare const WithTruncatedText: () => JSX.Element;
|
|
16
|
+
//# sourceMappingURL=Chip.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chip.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/Chip/Chip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAQjD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAI9B,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAOzC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAmBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAAwB,CAAC;AAE7D,eAAO,MAAM,KAAK,mBAKjB,CAAC;AAQF,eAAO,MAAM,KAAK,mBAKjB,CAAC;AAQF,eAAO,MAAM,MAAM,mBA0ClB,CAAC;AAQF,eAAO,MAAM,eAAe,mBA2F3B,CAAC;AAQF,eAAO,MAAM,aAAa,mBAgBzB,CAAC;AASF,eAAO,MAAM,YAAY,mBAAwD,CAAC;AAoBlF,eAAO,MAAM,MAAM,mBA6BlB,CAAC;AAcF,eAAO,MAAM,iBAAiB,mBAS7B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { ChipAlert } from './ChipAlert';
|
|
4
|
+
type Props = ComponentProps<typeof ChipAlert>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const States: () => JSX.Element;
|
|
9
|
+
export declare const PrefixAndSuffix: () => JSX.Element;
|
|
10
|
+
//# sourceMappingURL=ChipAlert.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipAlert.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ChipAlert/ChipAlert.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAsBF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAA6B,CAAC;AAWlE,eAAO,MAAM,MAAM,mBA8BlB,CAAC;AAQF,eAAO,MAAM,eAAe,mBA8D3B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { ChipIndicator } from './ChipIndicator';
|
|
4
|
+
type Props = ComponentProps<typeof ChipIndicator>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Sizes: () => JSX.Element;
|
|
9
|
+
export declare const States: () => JSX.Element;
|
|
10
|
+
export declare const WithCustomBackground: () => JSX.Element;
|
|
11
|
+
//# sourceMappingURL=ChipIndicator.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipIndicator.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ChipIndicator/ChipIndicator.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAElD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAcF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAAiC,CAAC;AAEtE,eAAO,MAAM,KAAK,mBAKjB,CAAC;AAiBF,eAAO,MAAM,MAAM,mBAQlB,CAAC;AAQF,eAAO,MAAM,oBAAoB,mBAEhC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { TextInputNextProps } from '../TextInputNext';
|
|
2
|
+
import { PopoverProps } from '../Popover';
|
|
3
|
+
export type ColorPickerProps = {
|
|
4
|
+
value?: string;
|
|
5
|
+
onChange?: (value: string) => void;
|
|
6
|
+
size?: TextInputNextProps['size'];
|
|
7
|
+
label?: TextInputNextProps['label'];
|
|
8
|
+
labelPlacement?: TextInputNextProps['labelPlacement'];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Disables drag to change opacity functinality
|
|
12
|
+
*/
|
|
13
|
+
disableOpacityDrag?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Determines base format of the colour `rgb(RRR, GGG, BBB[, AAA])` or `#RRGGBB[AA]`
|
|
16
|
+
*/
|
|
17
|
+
format?: 'rgb' | 'hex';
|
|
18
|
+
/**
|
|
19
|
+
* Allows user to control color's opacity, adds alpha channel to resulting color string
|
|
20
|
+
*/
|
|
21
|
+
enableAlpha?: boolean;
|
|
22
|
+
popoverPlacement?: PopoverProps['placement'];
|
|
23
|
+
onOpen?: () => void;
|
|
24
|
+
onClose?: () => void;
|
|
25
|
+
className?: string;
|
|
26
|
+
testId?: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const ColorPicker: ({ format, className, label, labelPlacement, popoverPlacement, testId, disabled, size, onOpen, onClose, value, onChange, disableOpacityDrag, enableAlpha, }: ColorPickerProps) => JSX.Element;
|
|
29
|
+
//# sourceMappingURL=ColorPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ColorPicker/ColorPicker.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAW,YAAY,EAAE,MAAM,YAAY,CAAC;AAanD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC,IAAI,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpC,cAAc,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,gBAAgB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IAE7C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAiBF,eAAO,MAAM,WAAW,GAAI,4JAezB,gBAAgB,gBAuNlB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@babel/runtime/helpers/slicedToArray";import n from"@babel/runtime/helpers/defineProperty";import{jsxs as s,Fragment as i,jsx as t}from"react/jsx-runtime";import c from"classnames";import{useMemo as r,useState as e,useRef as m,useCallback as a,useEffect as l}from"react";import{ChromePicker as u}from"react-color";import{throttle as p}from"lodash";import{TextInputNext as d}from"../TextInputNext/TextInputNext.js";import{Popover as f}from"../Popover/Popover.js";import{ButtonIcon as j}from"../ButtonIcon/ButtonIcon.js";import{Tooltip as h}from"../Tooltip/Tooltip.js";import I from"../../effects/useOutsideClick.js";import{Swatches as b}from"./Swatches/Swatches.js";import{parseColor as v,channelsToHex as C,channelsToRgba as g,defaultColor as O}from"./utils.js";import{OpacityDragTracker as y}from"./OpacityDragtracker/OpacityDragtracker.js";import P from"./ColorPicker.scss.js";import{PaletteIcon as k,PickerIcon as x}from"../../icons/iconParkIcons.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/SearchOne.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import"../../icons/customIcons/icons/SimulFrac.js";import"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";import"../../icons/customIcons/icons/Pad.js";import"../../icons/customIcons/icons/DrilloutUnit.js";import"../../icons/customIcons/icons/FracFleet.js";import"../../icons/customIcons/icons/Global.js";import"../../icons/customIcons/icons/Program.js";import"../../icons/customIcons/icons/Rig.js";import"../../icons/customIcons/icons/Well.js";import"../../icons/customIcons/icons/Gap.js";import"../../icons/customIcons/icons/Pin.js";import"../../icons/customIcons/icons/CloseOneFilled.js";import"../../icons/customIcons/icons/AttentionFilled.js";import"../../icons/customIcons/icons/CheckOneFilled.js";import"../../icons/customIcons/icons/Archive.js";import"../../icons/customIcons/icons/ArchiveCancel.js";import"../../icons/customIcons/icons/Unarchive.js";import"../../icons/customIcons/icons/Archived.js";import"../../icons/customIcons/icons/InterventionUnit.js";import"../../icons/customIcons/icons/CloudDelete.js";import"../../icons/customIcons/icons/Lasso.js";import"../../icons/customIcons/icons/Radius.js";function N(o,n){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable}))),s.push.apply(s,i)}return s}function D(o){for(var s=1;s<arguments.length;s++){var i=null!=arguments[s]?arguments[s]:{};s%2?N(Object(i),!0).forEach((function(s){n(o,s,i[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):N(Object(i)).forEach((function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(i,n))}))}return o}var F={small:P.small,medium:P.medium,large:P.large},A={inputContainer:P.inputContainer,numberStepButtons:P.numberStepButtons,prefix:P.prefixContainer,suffix:P.suffixContainer,input:P.input,label:P.label},S=function(n){var N=n.format,S=void 0===N?"hex":N,w=n.className,T=n.label,E=n.labelPlacement,M=void 0===E?"top":E,R=n.popoverPlacement,W=void 0===R?"bottom-start":R,z=n.testId,B=n.disabled,G=n.size,U=void 0===G?"small":G,V=n.onOpen,q=n.onClose,L=n.value,H=void 0===L?O:L,Z=n.onChange,J=n.disableOpacityDrag,K=n.enableAlpha,Q=void 0!==K&&K,X=r((function(){try{var o=v(H);return D(D({},o),{},{a:Q?o.a:1})}catch(o){return v(O)}}),[H,Q]),Y=e(!1),$=o(Y,2),_=$[0],oo=$[1],no=m(null),so=e(!0),io=o(so,2),to=io[0],co=io[1],ro=e(X),eo=o(ro,2),mo=eo[0],ao=eo[1],lo=m(null),uo=a((function(){oo(!0),null==V||V()}),[V]),po=a((function(o){o.preventDefault(),uo()}),[uo]),fo=uo,jo=a((function(){oo(!1),null==q||q()}),[q]),ho=a((function(){return co(!0)}),[]),Io=a((function(){return co(!1)}),[]),bo=a((function(o){return ao(o.rgb)}),[]),vo=a((function(o){var n="hex"===S?C(o,Q):g(o,Q);null==Z||Z(n)}),[S,Z,Q]),Co=a((function(o){var n=Number(o);if(!(Number.isNaN(n)||n<0||n>100)){var s=D(D({},X),{},{a:n/100});vo(s)}}),[X,vo]),go=a((function(o){vo(o.rgb)}),[vo]),Oo=a((function(o){var n=X.a||1,s=Q&&0===o.a?0:n;vo(D(D({},o),{},{a:s}))}),[vo,X.a,Q]),yo=a((function(){setTimeout((function(){var o,n;oo(!1),null===(o=document.activeElement)||void 0===o||null===(n=o.blur)||void 0===n||n.call(o)}),0)}),[]),Po=r((function(){return p((function(o){var n=String(Math.round(o));Co(n)}),100)}),[Co]);l((function(){ao(X)}),[X]),l((function(){_&&co(!0)}),[_]),I(lo,jo,[no.current]);var ko=String(Math.round(100*mo.a)),xo=(null==W?void 0:W.startsWith("top"))||(null==W?void 0:W.startsWith("bottom")),No=(null==W?void 0:W.startsWith("left"))||(null==W?void 0:W.startsWith("right"));return s(i,{children:[t(d,{label:T,labelPlacement:M,disabled:B,size:U,prefix:s(i,{children:[s("div",{className:P.fakeValue,children:[ko,t("span",{className:P.fakeValuePercent,children:"%"})]}),t("div",{className:c(P.indicator,0===mo.a&&P.transparent),style:{"--corvaui-colorpicker-indicatorcolor":C(mo,!1)},onClick:po})]}),suffix:Q&&!J&&t(y,{onDrag:Po,onDragEnd:yo}),className:c(P.root,F[U],!Q&&P.noAlpha,w),testId:z,inputContainerRef:no,value:ko,onChange:Co,onFocus:fo,inputType:"number",inputMode:"numeric",elementsClassNames:A}),s(f,{ref:lo,anchorEl:no.current,open:_,onClose:jo,placement:W,className:c(P.popover,xo&&P.marginVertical,No&&P.marginHorizontal,0===mo.a&&P.isTransparent),backdrop:!1,children:[to?t(b,{onChange:Oo,value:X,addTransparent:Q}):t(u,{color:mo,onChange:bo,onChangeComplete:go,disableAlpha:!Q,className:P.picker}),s("div",{className:P.switchButtons,children:[t(h,{title:"Palette",children:t(j,{size:"medium",type:to?"secondary":"tertiary",onClick:ho,children:t(k,{})})}),t(h,{title:"Pick your own",children:t(j,{size:"medium",type:to?"tertiary":"secondary",onClick:Io,children:t(x,{})})})]})]})]})};export{S as ColorPicker};
|
|
2
|
+
//# sourceMappingURL=ColorPicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import i from'./../../ext-esm/style-inject/dist/style-inject.es.js';var r={spacing:"8",root:"ColorPicker_root__cuK3O",inputContainer:"ColorPicker_inputContainer__m2fxo",label:"ColorPicker_label__c3tdQ",indicator:"ColorPicker_indicator__8cXCM",transparent:"ColorPicker_transparent__qdIVz",popover:"ColorPicker_popover__XC1n6",marginVertical:"ColorPicker_marginVertical__NvPrm",marginHorizontal:"ColorPicker_marginHorizontal__OU5sQ",switchButtons:"ColorPicker_switchButtons__XSdR3",numberStepButtons:"ColorPicker_numberStepButtons__8ed-p",prefixContainer:"ColorPicker_prefixContainer__XyJxU",suffixContainer:"ColorPicker_suffixContainer__KzygM",fakeValue:"ColorPicker_fakeValue__L1ty9",fakeValuePercent:"ColorPicker_fakeValuePercent__fBPcp",small:"ColorPicker_small__aZqd8",medium:"ColorPicker_medium__dMpzx",large:"ColorPicker_large__lyQRv",noAlpha:"ColorPicker_noAlpha__o9BSY",input:"ColorPicker_input__59TsK",picker:"ColorPicker_picker__GHZdT",active:"ColorPicker_active__DFLPz",isTransparent:"ColorPicker_isTransparent__TPLhY"};i('.ColorPicker_root__cuK3O{pointer-events:none}.ColorPicker_root__cuK3O .ColorPicker_inputContainer__m2fxo{flex:0 0 auto;pointer-events:auto;width:var(--corvaui-colorpicker-fieldwidth)}.ColorPicker_root__cuK3O .ColorPicker_label__c3tdQ{display:table;pointer-events:auto}.ColorPicker_indicator__8cXCM{background:#fff repeating-conic-gradient(#ccc 0 25%,transparent 0 50%) 50%;background-size:4px 4px;border-radius:6px;cursor:pointer;height:var(--corvaui-colorpicker-indicatorsize);margin:-1px;overflow:hidden;position:relative;width:var(--corvaui-colorpicker-indicatorsize)}.ColorPicker_indicator__8cXCM:before{border:1px solid red;border-radius:2px;content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) rotate(-45deg);width:90%}.ColorPicker_indicator__8cXCM:after{background:var(--corvaui-colorpicker-indicatorcolor);content:"";inset:0;position:absolute;transition:opacity .15s cubic-bezier(.4,0,.2,1)}.ColorPicker_transparent__qdIVz:after{opacity:0}.ColorPicker_popover__XC1n6{--corvaui-background:$palette_b8;background-color:var(--palette-background-b-8)!important;overflow:hidden;width:230px!important}.ColorPicker_marginVertical__NvPrm{margin:8px 0}.ColorPicker_marginHorizontal__OU5sQ{margin:0 8px}.ColorPicker_switchButtons__XSdR3{display:flex;flex-flow:row nowrap;gap:4px;justify-content:center;padding:8px}.ColorPicker_numberStepButtons__8ed-p{display:none}.ColorPicker_prefixContainer__XyJxU,.ColorPicker_suffixContainer__KzygM{position:relative}.ColorPicker_fakeValue__L1ty9{color:transparent;left:calc(100% + 8px);pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);user-select:none}.ColorPicker_fakeValuePercent__fBPcp{color:var(--palette-primary-text-1)}.ColorPicker_small__aZqd8{--corvaui-colorpicker-indicatorsize:20px;--corvaui-colorpicker-fieldwidth:78px}.ColorPicker_medium__dMpzx{--corvaui-colorpicker-indicatorsize:24px;--corvaui-colorpicker-fieldwidth:82px}.ColorPicker_large__lyQRv{--corvaui-colorpicker-indicatorsize:28px;--corvaui-colorpicker-fieldwidth:91px}.ColorPicker_noAlpha__o9BSY .ColorPicker_inputContainer__m2fxo{display:inline-block;vertical-align:top;width:auto}.ColorPicker_noAlpha__o9BSY .ColorPicker_fakeValue__L1ty9,.ColorPicker_noAlpha__o9BSY .ColorPicker_input__59TsK{display:none}.ColorPicker_picker__GHZdT{background:transparent!important;border-radius:0!important;box-shadow:none!important;width:100%!important}.ColorPicker_picker__GHZdT .hue-horizontal{border-radius:5px}.ColorPicker_picker__GHZdT>div:first-child{height:135px;padding:0!important}.ColorPicker_picker__GHZdT>div:last-child{padding:0!important}.ColorPicker_picker__GHZdT>div:last-child>div:first-child{align-items:center!important;display:flex!important;flex-flow:row nowrap!important;gap:16px!important;overflow:hidden!important;padding:16px!important}.ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:first-child{flex:0 0 auto!important;width:auto!important}.ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:first-child>div{background-color:#fff!important;border-radius:4px!important;box-shadow:none!important;height:32px!important;margin:0!important;overflow:hidden!important;width:32px!important}.ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:first-child>div>div:first-child{animation-name:ColorPicker_active__DFLPz;border-radius:0!important;box-shadow:none!important}.ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:last-child{padding-left:6px!important}.ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:last-child>div:first-child{margin:0!important}.ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:last-child>div:last-child{margin-top:12px!important}.ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:last-child>div:last-child>div>div:first-child{display:none}.ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:last-child>div:last-child>div>div:nth-child(2){border-radius:5px!important}.ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:last-child>div:last-child>div>div:last-child{margin:0!important}.ColorPicker_picker__GHZdT>div:last-child>div:last-child{display:none!important}.ColorPicker_isTransparent__TPLhY .ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:first-child>div>div:last-child{position:relative}.ColorPicker_isTransparent__TPLhY .ColorPicker_picker__GHZdT>div:last-child>div:first-child>div:first-child>div>div:last-child:before{border:2px solid red;border-radius:2px;content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) rotate(-45deg);width:90%}');export{r as default};
|
|
2
|
+
//# sourceMappingURL=ColorPicker.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,aAAa,sDAAyD;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { ColorPicker } from './ColorPicker';
|
|
4
|
+
type Props = ComponentProps<typeof ColorPicker>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const Sizes: () => JSX.Element;
|
|
9
|
+
export declare const LabelPlacement: () => JSX.Element;
|
|
10
|
+
export declare const TransparencyControl: () => JSX.Element;
|
|
11
|
+
export declare const ColourFormat: () => JSX.Element;
|
|
12
|
+
export declare const AlphaMismatch: () => JSX.Element;
|
|
13
|
+
//# sourceMappingURL=ColorPicker.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ColorPicker/ColorPicker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AAeF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAYnC,CAAC;AAEF,eAAO,MAAM,KAAK,mBAqBjB,CAAC;AASF,eAAO,MAAM,cAAc,mBAM1B,CAAC;AAKF,eAAO,MAAM,mBAAmB,mBAU/B,CAAC;AAMF,eAAO,MAAM,YAAY,mBAyCxB,CAAC;AAOF,eAAO,MAAM,aAAa,mBAiBzB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from'./../../../ext-esm/style-inject/dist/style-inject.es.js';var a={spacing:"8",root:"OpacityDragTracker_root__ZlsW4",dragging:"OpacityDragTracker_dragging__1wmzb"};r(".OpacityDragTracker_root__ZlsW4{cursor:ew-resize;height:30px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);user-select:none;width:15px}.OpacityDragTracker_dragging__1wmzb{width:70px;z-index:calc(var(--z-index-modal)*10)}");export{a as default};
|
|
2
|
+
//# sourceMappingURL=OpacityDragTracker.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,aAAa,yDAA4D;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpacityDragtracker.d.ts","sourceRoot":"","sources":["../../../../src/componentsV2/ColorPicker/OpacityDragtracker/OpacityDragtracker.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,uBAAuB,gBAAgB,gBAwDzE,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"@babel/runtime/helpers/slicedToArray";import{jsx as r}from"react/jsx-runtime";import{useRef as n,useState as t,useCallback as o,useEffect as u}from"react";import i from"classnames";import a from"./OpacityDragTracker.scss.js";var m=function(m){var c=m.onDrag,s=m.onDragEnd,f=n(null),l=t(!1),v=e(l,2),d=v[0],p=v[1],g=o((function(e){e.preventDefault(),p(!1),null==s||s()}),[s]),D=o((function(e){e.preventDefault(),p(!0)}),[]),E=o((function(e){var r=e.currentTarget.getBoundingClientRect(),n=100*(e.clientX-r.left-5)/(r.width-10),t=Math.min(100,Math.max(0,n));null==c||c(t)}),[c]);return u((function(){if(d&&f.current){var e=f.current;return document.addEventListener("mouseup",g),e.addEventListener("mousemove",E),function(){document.removeEventListener("mouseup",g),e.removeEventListener("mousemove",E)}}}),[d,g,E]),r("div",{onMouseDown:D,ref:f,className:i(a.root,d&&a.dragging)})};export{m as OpacityDragTracker};
|
|
2
|
+
//# sourceMappingURL=OpacityDragtracker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpacityDragtracker.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/componentsV2/ColorPicker/OpacityDragtracker/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ColorChannels } from '../utils';
|
|
2
|
+
export type SwatchesProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Hex or rgba, with or without alpha
|
|
5
|
+
*/
|
|
6
|
+
value: ColorChannels;
|
|
7
|
+
onChange: (color: ColorChannels) => void;
|
|
8
|
+
addTransparent?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const Swatches: ({ value, onChange, addTransparent }: SwatchesProps) => JSX.Element;
|
|
11
|
+
//# sourceMappingURL=Swatches.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Swatches.d.ts","sourceRoot":"","sources":["../../../../src/componentsV2/ColorPicker/Swatches/Swatches.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAA4B,MAAM,UAAU,CAAC;AAQnE,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,qCAAqC,aAAa,gBAyC1E,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"@babel/runtime/helpers/objectWithoutProperties";import s from"@babel/runtime/helpers/defineProperty";import{jsx as c}from"react/jsx-runtime";import n from"classnames";import{isEqual as i}from"lodash";import{parseColor as t,getLuminance as r}from"../utils.js";import{paletteColors as e}from"./constants.js";import m from"./Swatches.scss.js";import{CheckSmallIcon as p}from"../../../icons/iconParkIcons.js";import"../../../icons/customIcons/icons/AddMessage.js";import"../../../icons/customIcons/icons/Attention.js";import"../../../icons/customIcons/icons/Collapse.js";import"../../../icons/customIcons/icons/Dashboard.js";import"../../../icons/customIcons/icons/Expand.js";import"../../../icons/customIcons/icons/FolderClosed.js";import"../../../icons/customIcons/icons/FolderClosedFilled.js";import"../../../icons/customIcons/icons/FolderOpened.js";import"../../../icons/customIcons/icons/GreaterOrEqual.js";import"../../../icons/customIcons/icons/LessOrEqual.js";import"../../../icons/customIcons/icons/Search.js";import"../../../icons/customIcons/icons/SearchOne.js";import"../../../icons/customIcons/icons/Wellhub.js";import"../../../icons/customIcons/icons/MultiRuler.js";import"../../../icons/customIcons/icons/Checkbox.js";import"../../../icons/customIcons/icons/CheckboxChecked.js";import"../../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../../icons/customIcons/icons/Radio.js";import"../../../icons/customIcons/icons/RadioChecked.js";import"../../../icons/customIcons/icons/SimulFrac.js";import"../../../icons/customIcons/icons/ZipperFrac.js";import"../../../icons/customIcons/icons/CautionFilled.js";import"../../../icons/customIcons/icons/MoreApp.js";import"../../../icons/customIcons/icons/Pad.js";import"../../../icons/customIcons/icons/DrilloutUnit.js";import"../../../icons/customIcons/icons/FracFleet.js";import"../../../icons/customIcons/icons/Global.js";import"../../../icons/customIcons/icons/Program.js";import"../../../icons/customIcons/icons/Rig.js";import"../../../icons/customIcons/icons/Well.js";import"../../../icons/customIcons/icons/Gap.js";import"../../../icons/customIcons/icons/Pin.js";import"../../../icons/customIcons/icons/CloseOneFilled.js";import"../../../icons/customIcons/icons/AttentionFilled.js";import"../../../icons/customIcons/icons/CheckOneFilled.js";import"../../../icons/customIcons/icons/Archive.js";import"../../../icons/customIcons/icons/ArchiveCancel.js";import"../../../icons/customIcons/icons/Unarchive.js";import"../../../icons/customIcons/icons/Archived.js";import"../../../icons/customIcons/icons/InterventionUnit.js";import"../../../icons/customIcons/icons/CloudDelete.js";import"../../../icons/customIcons/icons/Lasso.js";import"../../../icons/customIcons/icons/Radius.js";var u=["a"];function a(o,s){var c=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);s&&(n=n.filter((function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),c.push.apply(c,n)}return c}function l(o){for(var c=1;c<arguments.length;c++){var n=null!=arguments[c]?arguments[c]:{};c%2?a(Object(n),!0).forEach((function(c){s(o,c,n[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(s){Object.defineProperty(o,s,Object.getOwnPropertyDescriptor(n,s))}))}return o}var j=function(s){var a=s.value,j=s.onChange,I=s.addTransparent,d=l(l({},a),{},{a:1}),h=0===a.a,b=I?e.toSpliced(e.length-1,1,"#FFFFFF00"):e;return c("div",{className:m.root,children:b.map((function(s){var e=t(s),a=e.a,I=l(l({},o(e,u)),{},{a:1}),b=r(s)>.97,f=0===a,O=i(d,I)&&!f&&!h||h&&f;return c("div",{className:n(m.swatch,O&&m.selected,f&&m.transparent,(b||f)&&m.darkAccent),onClick:function(){return j(e)},style:f?void 0:{background:s},children:c(p,{size:14,className:m.icon})},"color")}))})};export{j as Swatches};
|
|
2
|
+
//# sourceMappingURL=Swatches.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Swatches.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from'./../../../ext-esm/style-inject/dist/style-inject.es.js';var t={spacing:"8",root:"Swatches_root__y8Whk",swatch:"Swatches_swatch__XqSvY",selected:"Swatches_selected__QjCnc",darkAccent:"Swatches_darkAccent__1AE5s",transparent:"Swatches_transparent__x91vF",icon:"Swatches_icon__BYDT5"};e('.Swatches_root__y8Whk{display:flex;flex-flow:row wrap;gap:2px;padding:8px}.Swatches_swatch__XqSvY{--corvaui-swatches-accentColor:#fff;border:1px solid transparent;border-radius:2px;color:transparent;cursor:pointer;height:16px;overflow:hidden;position:relative;transition:border-color .15s cubic-bezier(.4,0,.2,1);width:16px}.Swatches_swatch__XqSvY.Swatches_selected__QjCnc,.Swatches_swatch__XqSvY:hover{border-color:#fff}.Swatches_swatch__XqSvY.Swatches_selected__QjCnc{color:var(--corvaui-swatches-accentColor)}.Swatches_darkAccent__1AE5s{--corvaui-swatches-accentColor:#000}.Swatches_transparent__x91vF{background:#fff repeating-conic-gradient(#ccc 0 25%,transparent 0 50%) 50%;background-size:4px 4px;position:relative}.Swatches_transparent__x91vF:before{border:1px solid red;border-radius:2px;content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) rotate(-45deg);width:90%}.Swatches_transparent__x91vF.Swatches_selected__QjCnc:before{display:none}.Swatches_icon__BYDT5{display:block;margin-top:-1px}');export{t as default};
|
|
2
|
+
//# sourceMappingURL=Swatches.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,aAAa,yDAA4D;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/componentsV2/ColorPicker/Swatches/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,UA0CzB,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var F=["#EB492F","#FF9B33","#FFE933","#9ECC18","#7DE02D","#11B39B","#13ABC0","#3276FC","#5935E3","#A237C1","#D52F6B","#6C7F8A","#EB6955","#FFAF5C","#FFED5C","#C6ED55","#99ED55","#4FDCC8","#5CEBFF","#5B90FC","#7D5CFF","#D75AFB","#F65891","#97A4AB","#FEA698","#FBCA96","#FFF499","#E5FF99","#C6FF99","#98FEEF","#99F3FF","#99BBFF","#AB96FB","#E899FF","#FF99BE","#FFFFFF"];export{F as paletteColors};
|
|
2
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/componentsV2/ColorPicker/Swatches/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ColorPicker/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type ColorChannels = {
|
|
2
|
+
r: number;
|
|
3
|
+
g: number;
|
|
4
|
+
b: number;
|
|
5
|
+
a: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const defaultColor = "#03BCD4";
|
|
8
|
+
/**
|
|
9
|
+
* Returns a value between 0 (black) and 1 (white) using the WCAG relative luminance formula
|
|
10
|
+
*/
|
|
11
|
+
export declare const getLuminance: (hex: string) => number;
|
|
12
|
+
export declare const parseColor: (color: string) => {
|
|
13
|
+
r: number;
|
|
14
|
+
g: number;
|
|
15
|
+
b: number;
|
|
16
|
+
a: number;
|
|
17
|
+
};
|
|
18
|
+
export declare const channelsToHex: ({ r, g, b, a }: ColorChannels, useAlpha: boolean) => string;
|
|
19
|
+
export declare const channelsToRgba: ({ r, g, b, a }: ColorChannels, useAlpha: boolean) => string;
|
|
20
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/ColorPicker/utils.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,YAAY,YAAY,CAAC;AAKtC;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,WAYvC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM;;;;;CAwCvC,CAAC;AAIF,eAAO,MAAM,aAAa,GAAI,gBAAgB,aAAa,EAAE,UAAU,OAAO,WAGlB,CAAC;AAE7D,eAAO,MAAM,cAAc,GAAI,gBAAgB,aAAa,EAAE,UAAU,OAAO,WACc,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var r="#03BCD4",t=function(r){return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)},a=function(r){var a=r.replace("#",""),n=parseInt(a.slice(0,2),16)/255,c=parseInt(a.slice(2,4),16)/255,e=parseInt(a.slice(4,6),16)/255;return.2126*t(n)+.7152*t(c)+.0722*t(e)},n=function(r){var t,a=r.replace(/\s+/gi,""),n=null===(t=a.match(/^#([0-9a-f]{3,8})$/i))||void 0===t?void 0:t[1];if(n){var c=n.length;if(3===c||4===c)return{r:parseInt(n[0].repeat(2),16),g:parseInt(n[1].repeat(2),16),b:parseInt(n[2].repeat(2),16),a:4===c?parseInt(n[3].repeat(2),16)/255:1};if(6===c||8===c)return{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16),a:8===c?parseInt(n.slice(6,8),16)/255:1}}var e=a.match(/^rgba?\((\d+),(\d+),(\d+)(?:,([\d.]+))?\)$/i);if(e)return{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10),a:void 0!==e[4]?parseFloat(e[4]):1};throw new Error("Unsupported color format: ".concat(a))},c=function(r){return r.toString(16).padStart(2,"0")},e=function(r,t){var a=r.r,n=r.g,e=r.b,o=r.a;return t?"#".concat(c(a)).concat(c(n)).concat(c(e)).concat(c(Math.round(255*o))):"#".concat(c(a)).concat(c(n)).concat(c(e))},o=function(r,t){var a=r.r,n=r.g,c=r.b,e=r.a;return t?"rgba(".concat(a,", ").concat(n,", ").concat(c,", ").concat(Math.round(100*e)/100,")"):"rgb(".concat(a,", ").concat(n,", ").concat(c,")")};export{e as channelsToHex,o as channelsToRgba,r as defaultColor,a as getLuminance,n as parseColor};
|
|
2
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
import { CompletionsOffsetWellPicker } from './CompletionsOffsetWellPicker';
|
|
4
|
+
type Props = ComponentProps<typeof CompletionsOffsetWellPicker>;
|
|
5
|
+
declare const meta: Meta<Props>;
|
|
6
|
+
export default meta;
|
|
7
|
+
export declare const Default: (props: Props) => JSX.Element;
|
|
8
|
+
export declare const WithSelectedWells: (props: Props) => JSX.Element;
|
|
9
|
+
export declare const GlobalSelector: (props: Props) => JSX.Element;
|
|
10
|
+
//# sourceMappingURL=CompletionsOffsetWellPicker.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompletionsOffsetWellPicker.stories.d.ts","sourceRoot":"","sources":["../../../src/componentsV2/CompletionsOffsetWellPicker/CompletionsOffsetWellPicker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAY,MAAM,OAAO,CAAC;AAKjD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAI5E,KAAK,KAAK,GAAG,cAAc,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,KAAK,CAGrB,CAAC;AA4BF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,gBAYnC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK,gBAY7C,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,KAAK,gBAa1C,CAAC"}
|