@finsemble/finsemble-ui 6.3.2 → 6.5.0-beta.2
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/package.json +31 -42
- package/react/actions/smartDesktopDesignerActions.d.ts +6 -4
- package/react/actions/smartDesktopDesignerActions.js +2 -1
- package/react/actions/smartDesktopDesignerActions.js.map +1 -1
- package/react/assets/css/userPreferences.css +0 -30
- package/react/assets/css/windowTitleBar.css +6 -5
- package/react/assets/icons/always-on-top.svg +20 -0
- package/react/assets/icons/caret.svg +7 -0
- package/react/assets/icons/close.svg +11 -0
- package/react/assets/icons/code-block.svg +15 -0
- package/react/assets/icons/documentation.svg +20 -0
- package/react/assets/icons/linker.svg +18 -0
- package/react/assets/icons/maximize.svg +16 -0
- package/react/assets/icons/minimize.svg +15 -0
- package/react/assets/icons/toolbar.svg +12 -0
- package/react/assets/img/finsemble-display.png +0 -0
- package/react/componentTemplateGenerator.js +1 -1
- package/react/componentTemplateGenerator.js.map +1 -1
- package/react/components/FinsembleProvider.js.map +1 -1
- package/react/components/appCatalog/modules/FDC3.d.ts +1 -1
- package/react/components/appCatalog/modules/FDC3.js.map +1 -1
- package/react/components/appCatalog/stores/appStore.d.ts +2 -2
- package/react/components/appCatalog/stores/appStore.js.map +1 -1
- package/react/components/common/Accordion.d.ts +11 -0
- package/react/components/common/Accordion.js +20 -0
- package/react/components/common/Accordion.js.map +1 -0
- package/react/components/common/Checkbox.d.ts +1 -0
- package/react/components/common/Checkbox.js +4 -2
- package/react/components/common/Checkbox.js.map +1 -1
- package/react/components/common/DropZone.js +3 -1
- package/react/components/common/DropZone.js.map +1 -1
- package/react/components/common/FileInput.d.ts +2 -1
- package/react/components/common/FileInput.js +9 -4
- package/react/components/common/FileInput.js.map +1 -1
- package/react/components/common/FinsembleIcon.d.ts +1 -1
- package/react/components/common/FinsembleIcon.js +18 -0
- package/react/components/common/FinsembleIcon.js.map +1 -1
- package/react/components/common/FinsembleSelect.js +1 -1
- package/react/components/common/FinsembleSelect.js.map +1 -1
- package/react/components/common/Header.js +1 -1
- package/react/components/common/Header.js.map +1 -1
- package/react/components/common/InputTable.d.ts +11 -0
- package/react/components/common/InputTable.js +50 -0
- package/react/components/common/InputTable.js.map +1 -0
- package/react/components/common/Tooltip.js +3 -1
- package/react/components/common/Tooltip.js.map +1 -1
- package/react/components/common/css/accordion.css +99 -0
- package/react/components/common/css/application-edit-page.css +209 -2
- package/react/components/common/css/application-list.css +6 -0
- package/react/components/common/css/button.css +9 -7
- package/react/components/common/css/checkbox.css +30 -0
- package/react/components/common/css/file-input.css +16 -0
- package/react/components/common/css/header.css +1 -14
- package/react/components/common/css/preload-edit-page.css +37 -0
- package/react/components/common/css/styles.css +0 -1
- package/react/components/common/css/tab.css +1 -1
- package/react/components/common/stories/Accordion.stories.d.ts +14 -0
- package/react/components/common/stories/Accordion.stories.js +42 -0
- package/react/components/common/stories/Accordion.stories.js.map +1 -0
- package/react/components/common/stories/DropdownButton.stories.d.ts +11 -0
- package/react/components/common/stories/DropdownButton.stories.js +12 -0
- package/react/components/common/stories/DropdownButton.stories.js.map +1 -1
- package/react/components/common/stories/FileInput.stories.d.ts +2 -1
- package/react/components/common/stories/FileInput.stories.js +6 -0
- package/react/components/common/stories/FileInput.stories.js.map +1 -1
- package/react/components/common/stories/FinsembleIcon.stories.js +1 -0
- package/react/components/common/stories/FinsembleIcon.stories.js.map +1 -1
- package/react/components/common/stories/InputTable.stories.d.ts +12 -0
- package/react/components/common/stories/InputTable.stories.js +35 -0
- package/react/components/common/stories/InputTable.stories.js.map +1 -0
- package/react/components/{smartDesktopDesigner/tests/ApplicationEdit.spec.d.ts → common/tests/Accordion.spec.d.ts} +0 -0
- package/react/components/common/tests/Accordion.spec.js +53 -0
- package/react/components/common/tests/Accordion.spec.js.map +1 -0
- package/react/components/common/tests/Checkbox.spec.js +5 -3
- package/react/components/common/tests/Checkbox.spec.js.map +1 -1
- package/react/components/common/tests/FileInput.spec.js +20 -5
- package/react/components/common/tests/FileInput.spec.js.map +1 -1
- package/react/components/common/tests/Header.spec.js +6 -2
- package/react/components/common/tests/Header.spec.js.map +1 -1
- package/react/components/{smartDesktopDesigner/tests/ApplicationList.spec.d.ts → common/tests/InputTable.spec.d.ts} +0 -0
- package/react/components/common/tests/InputTable.spec.js +166 -0
- package/react/components/common/tests/InputTable.spec.js.map +1 -0
- package/react/components/favorites/FavoritesShell.stories.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverContainer.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.js +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.spec.js.map +1 -1
- package/react/components/fdc3Resolver/ResolverDialog.stories.js +13 -0
- package/react/components/fdc3Resolver/ResolverDialog.stories.js.map +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.js +1 -1
- package/react/components/legacyControls/FinsembleDialogButton.js.map +1 -1
- package/react/components/legacyControls/FinsembleDnDContext.d.ts +2 -1
- package/react/components/legacyControls/FinsembleDnDContext.js +8 -6
- package/react/components/legacyControls/FinsembleDnDContext.js.map +1 -1
- package/react/components/linker/remoteRedux.d.ts +1 -1
- package/react/components/linker/remoteRedux.js.map +1 -1
- package/react/components/menu/Menu.d.ts +1 -0
- package/react/components/menu/Menu.js.map +1 -1
- package/react/components/menu/MenuAutoResizer.d.ts +2 -1
- package/react/components/menu/MenuAutoResizer.js +4 -3
- package/react/components/menu/MenuAutoResizer.js.map +1 -1
- package/react/components/menu/MenuPortal.js +118 -92
- package/react/components/menu/MenuPortal.js.map +1 -1
- package/react/components/menu/MenuShell.d.ts +1 -0
- package/react/components/menu/MenuShell.js +3 -2
- package/react/components/menu/MenuShell.js.map +1 -1
- package/react/components/menu/menuContext.d.ts +1 -0
- package/react/components/menu/menuContext.js.map +1 -1
- package/react/components/menu/menuHelpers.d.ts +1 -1
- package/react/components/menu/menuHelpers.js +2 -2
- package/react/components/menu/menuHelpers.js.map +1 -1
- package/react/components/notifications/components/drawer/DrawerControls.js +30 -6
- package/react/components/notifications/components/drawer/DrawerControls.js.map +1 -1
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js +2 -0
- package/react/components/notifications/components/notificationsCenter/NotificationsCenter.js.map +1 -1
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js +20 -27
- package/react/components/notifications/components/notificationsToasts/NotificationsToasts.js.map +1 -1
- package/react/components/notifications/components/shared/CheckButton.d.ts +1 -1
- package/react/components/notifications/components/shared/CheckButton.js.map +1 -1
- package/react/components/notifications/components/shared/IconButton.js +5 -1
- package/react/components/notifications/components/shared/IconButton.js.map +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.d.ts +1 -1
- package/react/components/notifications/components/shared/NotificationCardShell.js.map +1 -1
- package/react/components/notifications/components/shared/OverflowMenu.d.ts +1 -1
- package/react/components/notifications/components/shared/OverflowMenu.js +5 -1
- package/react/components/notifications/components/shared/OverflowMenu.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyActions.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardBodyShell.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderControls.js.map +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.d.ts +1 -1
- package/react/components/notifications/components/shared/notificationCard/NotificationCardHeaderShell.js.map +1 -1
- package/react/components/notifications/components/views/CardView.js.map +1 -1
- package/react/components/notifications/components/views/ListView.d.ts +1 -1
- package/react/components/notifications/components/views/ListView.js.map +1 -1
- package/react/components/notifications/components/views/NotificationDetailsView.d.ts +1 -1
- package/react/components/notifications/components/views/NotificationDetailsView.js.map +1 -1
- package/react/components/notifications/types.d.ts +1 -1
- package/react/components/notifications/types.js.map +1 -1
- package/react/components/notifications/utils.d.ts +1 -1
- package/react/components/notifications/utils.js.map +1 -1
- package/react/components/processMonitor/ProcessMonitor.js.map +1 -1
- package/react/components/processMonitor/components/ChildWindow.js.map +1 -1
- package/react/components/processMonitor/components/ListHeader.d.ts +1 -1
- package/react/components/processMonitor/components/ListHeader.js.map +1 -1
- package/react/components/processMonitor/stores/ProcessMonitorStore.d.ts +3 -3
- package/react/components/processMonitor/stores/ProcessMonitorStore.js +49 -49
- package/react/components/processMonitor/stores/ProcessMonitorStore.js.map +1 -1
- package/react/components/search/SearchResult.js +4 -3
- package/react/components/search/SearchResult.js.map +1 -1
- package/react/components/shared/DefaultDropdownButton.js +1 -1
- package/react/components/shared/DefaultDropdownButton.js.map +1 -1
- package/react/components/smartDesktopDesigner/AddApp.d.ts +14 -0
- package/react/components/smartDesktopDesigner/AddApp.js +60 -0
- package/react/components/smartDesktopDesigner/AddApp.js.map +1 -0
- package/react/components/smartDesktopDesigner/AppEditAccess.js +16 -32
- package/react/components/smartDesktopDesigner/AppEditAccess.js.map +1 -1
- package/react/components/smartDesktopDesigner/AppEditPage.d.ts +6 -19
- package/react/components/smartDesktopDesigner/AppEditPage.js +552 -59
- package/react/components/smartDesktopDesigner/AppEditPage.js.map +1 -1
- package/react/components/smartDesktopDesigner/Appearance.css +8 -67
- package/react/components/smartDesktopDesigner/Appearance.js +1 -1
- package/react/components/smartDesktopDesigner/Appearance.js.map +1 -1
- package/react/components/smartDesktopDesigner/Application.d.ts +11 -3
- package/react/components/smartDesktopDesigner/Application.js +155 -104
- package/react/components/smartDesktopDesigner/Application.js.map +1 -1
- package/react/components/smartDesktopDesigner/Applications.d.ts +2 -3
- package/react/components/smartDesktopDesigner/Applications.js +67 -107
- package/react/components/smartDesktopDesigner/Applications.js.map +1 -1
- package/react/components/smartDesktopDesigner/Authentication.js +2 -9
- package/react/components/smartDesktopDesigner/Authentication.js.map +1 -1
- package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js +8 -1
- package/react/components/smartDesktopDesigner/AuthenticationProviderConfig.js.map +1 -1
- package/react/components/smartDesktopDesigner/ContentHeader.d.ts +5 -0
- package/react/components/smartDesktopDesigner/ContentHeader.js +10 -0
- package/react/components/smartDesktopDesigner/ContentHeader.js.map +1 -0
- package/react/components/smartDesktopDesigner/CurrentView.js +2 -1
- package/react/components/smartDesktopDesigner/CurrentView.js.map +1 -1
- package/react/components/smartDesktopDesigner/EditPreload.d.ts +14 -0
- package/react/components/smartDesktopDesigner/EditPreload.js +169 -0
- package/react/components/smartDesktopDesigner/EditPreload.js.map +1 -0
- package/react/components/smartDesktopDesigner/Export.d.ts +1 -0
- package/react/components/smartDesktopDesigner/Export.js +40 -9
- package/react/components/smartDesktopDesigner/Export.js.map +1 -1
- package/react/components/smartDesktopDesigner/ExportCloud.d.ts +3 -1
- package/react/components/smartDesktopDesigner/ExportCloud.js +4 -6
- package/react/components/smartDesktopDesigner/ExportCloud.js.map +1 -1
- package/react/components/smartDesktopDesigner/ExportZip.d.ts +3 -1
- package/react/components/smartDesktopDesigner/ExportZip.js +8 -3
- package/react/components/smartDesktopDesigner/ExportZip.js.map +1 -1
- package/react/components/smartDesktopDesigner/GettingStarted.d.ts +1 -0
- package/react/components/smartDesktopDesigner/GettingStarted.js +11 -25
- package/react/components/smartDesktopDesigner/GettingStarted.js.map +1 -1
- package/react/components/smartDesktopDesigner/ItemList.d.ts +17 -0
- package/react/components/smartDesktopDesigner/ItemList.js +58 -0
- package/react/components/smartDesktopDesigner/ItemList.js.map +1 -0
- package/react/components/smartDesktopDesigner/Navigation.d.ts +2 -2
- package/react/components/smartDesktopDesigner/Navigation.js +17 -15
- package/react/components/smartDesktopDesigner/Navigation.js.map +1 -1
- package/react/components/smartDesktopDesigner/OptionalSettingsView.d.ts +11 -0
- package/react/components/smartDesktopDesigner/OptionalSettingsView.js +71 -0
- package/react/components/smartDesktopDesigner/OptionalSettingsView.js.map +1 -0
- package/react/components/smartDesktopDesigner/Preloads.d.ts +8 -0
- package/react/components/smartDesktopDesigner/Preloads.js +26 -0
- package/react/components/smartDesktopDesigner/Preloads.js.map +1 -0
- package/react/components/smartDesktopDesigner/Publish.js.map +1 -1
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.d.ts +3 -3
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js +11 -17
- package/react/components/smartDesktopDesigner/SmartDesktopDesigner.js.map +1 -1
- package/react/components/smartDesktopDesigner/ThemePage.css +0 -1
- package/react/components/smartDesktopDesigner/ThemePage.js +0 -7
- package/react/components/smartDesktopDesigner/ThemePage.js.map +1 -1
- package/react/components/smartDesktopDesigner/Themes.js +0 -2
- package/react/components/smartDesktopDesigner/Themes.js.map +1 -1
- package/react/components/smartDesktopDesigner/Toolbar.d.ts +15 -0
- package/react/components/smartDesktopDesigner/Toolbar.js +123 -0
- package/react/components/smartDesktopDesigner/Toolbar.js.map +1 -0
- package/react/components/smartDesktopDesigner/View.js +1 -1
- package/react/components/smartDesktopDesigner/View.js.map +1 -1
- package/react/components/smartDesktopDesigner/common/fsbl_functions.d.ts +1 -1
- package/react/components/smartDesktopDesigner/common/fsbl_functions.js +2 -2
- package/react/components/smartDesktopDesigner/common/fsbl_functions.js.map +1 -1
- package/react/components/smartDesktopDesigner/common/views.d.ts +2 -36
- package/react/components/smartDesktopDesigner/common/views.js +168 -111
- package/react/components/smartDesktopDesigner/common/views.js.map +1 -1
- package/react/components/smartDesktopDesigner/css/appearance.css +20 -9
- package/react/components/smartDesktopDesigner/css/applications.css +40 -0
- package/react/components/smartDesktopDesigner/css/authentication.css +5 -11
- package/react/components/smartDesktopDesigner/css/export.css +32 -19
- package/react/components/smartDesktopDesigner/css/getting-started.css +22 -0
- package/react/components/smartDesktopDesigner/css/nav.css +38 -11
- package/react/components/smartDesktopDesigner/css/project-header.css +19 -16
- package/react/components/smartDesktopDesigner/css/styles.css +2 -3
- package/react/components/smartDesktopDesigner/css/views.css +11 -4
- package/react/components/smartDesktopDesigner/fixtures/apps.d.ts +3 -1
- package/react/components/smartDesktopDesigner/fixtures/apps.js +63 -6
- package/react/components/smartDesktopDesigner/fixtures/apps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/exportProps.js +3 -0
- package/react/components/smartDesktopDesigner/fixtures/exportProps.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/preloads.d.ts +22 -0
- package/react/components/smartDesktopDesigner/fixtures/preloads.js +40 -0
- package/react/components/smartDesktopDesigner/fixtures/preloads.js.map +1 -0
- package/react/components/smartDesktopDesigner/fixtures/publishProgress.d.ts +1 -1
- package/react/components/smartDesktopDesigner/fixtures/publishProgress.js.map +1 -1
- package/react/components/smartDesktopDesigner/fixtures/views.d.ts +2 -2
- package/react/components/smartDesktopDesigner/fixtures/views.js +67 -26
- package/react/components/smartDesktopDesigner/fixtures/views.js.map +1 -1
- package/react/components/smartDesktopDesigner/sdd_helpers.d.ts +1 -1
- package/react/components/smartDesktopDesigner/sdd_helpers.js +4 -3
- package/react/components/smartDesktopDesigner/sdd_helpers.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.d.ts +3 -1
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js +13 -33
- package/react/components/smartDesktopDesigner/stories/AppEditPage.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.d.ts +10 -0
- package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.js +13 -0
- package/react/components/smartDesktopDesigner/stories/ContentHeader.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/stories/EditPreload.stories.d.ts +11 -0
- package/react/components/smartDesktopDesigner/stories/EditPreload.stories.js +35 -0
- package/react/components/smartDesktopDesigner/stories/EditPreload.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.d.ts +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportCloud.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportZip.stories.d.ts +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js +1 -1
- package/react/components/smartDesktopDesigner/stories/ExportZip.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/ItemList.stories.d.ts +16 -0
- package/react/components/smartDesktopDesigner/stories/{ApplicationList.stories.js → ItemList.stories.js} +30 -23
- package/react/components/smartDesktopDesigner/stories/ItemList.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/stories/OptionalSettingsView.stories.d.ts +11 -0
- package/react/components/smartDesktopDesigner/stories/OptionalSettingsView.stories.js +28 -0
- package/react/components/smartDesktopDesigner/stories/OptionalSettingsView.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/stories/Preloads.stories.d.ts +11 -0
- package/react/components/smartDesktopDesigner/stories/Preloads.stories.js +31 -0
- package/react/components/smartDesktopDesigner/stories/Preloads.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js +7 -1
- package/react/components/smartDesktopDesigner/stories/SmartDesktopDesigner.stories.js.map +1 -1
- package/react/components/smartDesktopDesigner/stories/Toolbar.stories.d.ts +14 -0
- package/react/components/smartDesktopDesigner/stories/Toolbar.stories.js +38 -0
- package/react/components/smartDesktopDesigner/stories/Toolbar.stories.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js +1100 -308
- package/react/components/smartDesktopDesigner/tests/AppEditPage.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/{ApplicationSetup.spec.d.ts → Application.spec.d.ts} +0 -0
- package/react/components/smartDesktopDesigner/tests/Application.spec.js +1496 -0
- package/react/components/smartDesktopDesigner/tests/Application.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/Applications.spec.d.ts +1 -1
- package/react/components/smartDesktopDesigner/tests/Applications.spec.js +62 -561
- package/react/components/smartDesktopDesigner/tests/Applications.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/{ProjectHeader.spec.d.ts → ContentHeader.spec.d.ts} +0 -0
- package/react/components/smartDesktopDesigner/tests/ContentHeader.spec.js +31 -0
- package/react/components/smartDesktopDesigner/tests/ContentHeader.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/EditPreload.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/EditPreload.spec.js +61 -0
- package/react/components/smartDesktopDesigner/tests/EditPreload.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/Export.spec.js +129 -0
- package/react/components/smartDesktopDesigner/tests/Export.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js +7 -0
- package/react/components/smartDesktopDesigner/tests/ExportZip.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/ItemList.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/{ApplicationList.spec.js → ItemList.spec.js} +8 -8
- package/react/components/smartDesktopDesigner/tests/ItemList.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/Preloads.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/Preloads.spec.js +47 -0
- package/react/components/smartDesktopDesigner/tests/Preloads.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js +3 -14
- package/react/components/smartDesktopDesigner/tests/ProjectErrors.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js +7 -30
- package/react/components/smartDesktopDesigner/tests/SmartDesktopDesigner.spec.js.map +1 -1
- package/react/components/smartDesktopDesigner/tests/Toolbar.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js +203 -0
- package/react/components/smartDesktopDesigner/tests/Toolbar.spec.js.map +1 -0
- package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.d.ts +1 -0
- package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js +18 -0
- package/react/components/smartDesktopDesigner/tests/sdd_helpers.spec.js.map +1 -0
- package/react/components/toolbar/DragHandle.spec.d.ts +1 -0
- package/react/components/toolbar/DragHandle.spec.js +31 -0
- package/react/components/toolbar/DragHandle.spec.js.map +1 -0
- package/react/components/toolbar/DragHandle.stories.d.ts +13 -0
- package/react/components/toolbar/DragHandle.stories.js +39 -0
- package/react/components/toolbar/DragHandle.stories.js.map +1 -0
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.d.ts +1 -1
- package/react/components/toolbar/advancedAppLauncher/AdvancedAppLauncher.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/Content.d.ts +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/Content.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FilterSort.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.d.ts +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js +47 -45
- package/react/components/toolbar/advancedAppLauncher/components/FoldersList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.d.ts +1 -1
- package/react/components/toolbar/advancedAppLauncher/components/TagsList.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.d.ts +2 -2
- package/react/components/toolbar/advancedAppLauncher/stores/LauncherStore.js.map +1 -1
- package/react/components/toolbar/advancedAppLauncher/stores/StoreActions.js.map +1 -1
- package/react/components/toolbar/appLauncher/AppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.d.ts +1 -0
- package/react/components/toolbar/appLauncher/StaticAppLauncherMenu.js.map +1 -1
- package/react/components/toolbar/appLauncher/components/componentList.d.ts +2 -2
- package/react/components/toolbar/appLauncher/components/componentList.js.map +1 -1
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.d.ts +3 -2
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js +17 -34
- package/react/components/toolbar/appLauncher/stores/appLauncherStore.js.map +1 -1
- package/react/components/toolbar/dashbar/Dashbar.js +12 -13
- package/react/components/toolbar/dashbar/Dashbar.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.d.ts +2 -2
- package/react/components/toolbar/workspaceManagementMenu/WorkspaceManagementMenu.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.d.ts +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/Workspace.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.d.ts +1 -1
- package/react/components/toolbar/workspaceManagementMenu/components/WorkspaceList.js.map +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.d.ts +4 -4
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js +1 -1
- package/react/components/toolbar/workspaceManagementMenu/stores/workspaceManagementMenuStore.js.map +1 -1
- package/react/components/userPreferences/components/content/Workspaces.d.ts +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js +1 -1
- package/react/components/userPreferences/components/content/Workspaces.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/NotificationsSourceTypes.js.map +1 -1
- package/react/components/userPreferences/components/content/notificationViews/notificationViewsUtils.js.map +1 -1
- package/react/components/userPreferences/stores/UserPreferencesStore.d.ts +1 -1
- package/react/components/userPreferences/stores/UserPreferencesStore.js.map +1 -1
- package/react/components/userPreferences/tests/ScheduledRestart.spec.js +1 -1
- package/react/components/userPreferences/tests/ScheduledRestart.spec.js.map +1 -1
- package/react/components/windowTitleBar/WindowTitleBarShell.d.ts +4 -2
- package/react/components/windowTitleBar/WindowTitleBarShell.js +60 -52
- package/react/components/windowTitleBar/WindowTitleBarShell.js.map +1 -1
- package/react/components/windowTitleBar/components/center/Tab.d.ts +0 -1
- package/react/components/windowTitleBar/components/center/Tab.js +2 -2
- package/react/components/windowTitleBar/components/center/Tab.js.map +1 -1
- package/react/components/windowTitleBar/components/center/TabList.d.ts +2 -3
- package/react/components/windowTitleBar/components/center/TabList.js +19 -79
- package/react/components/windowTitleBar/components/center/TabList.js.map +1 -1
- package/react/components/windowTitleBar/components/left/LinkerButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/GroupingButton.js.map +1 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.d.ts +7 -0
- package/react/components/windowTitleBar/components/right/MaximizeButton.js +11 -1
- package/react/components/windowTitleBar/components/right/MaximizeButton.js.map +1 -1
- package/react/components/windowTitleBar/components/windowTitle.d.ts +9 -5
- package/react/components/windowTitleBar/components/windowTitle.js +154 -42
- package/react/components/windowTitleBar/components/windowTitle.js.map +1 -1
- package/react/components/windowTitleBar/stores/windowTitleBarStore.d.ts +3 -3
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js +214 -214
- package/react/components/windowTitleBar/stores/windowTitleBarStore.js.map +1 -1
- package/react/enzymeSetup.js +1 -1
- package/react/enzymeSetup.js.map +1 -1
- package/react/hooks/useDashbar.d.ts +8 -0
- package/react/hooks/useDashbar.js +104 -0
- package/react/hooks/useDashbar.js.map +1 -0
- package/react/hooks/useFavoritesShell.js.map +1 -1
- package/react/hooks/useNotifications.d.ts +1 -1
- package/react/hooks/useNotifications.js.map +1 -1
- package/react/hooks/useToolbar.d.ts +0 -6
- package/react/hooks/useToolbar.js +0 -101
- package/react/hooks/useToolbar.js.map +1 -1
- package/react/reducers/rootReducer.d.ts +11 -7
- package/react/reducers/smartDesktopDesignerReducer.js +8 -3
- package/react/reducers/smartDesktopDesignerReducer.js.map +1 -1
- package/react/store.d.ts +22 -14
- package/react/types/fdc3.d.ts +7 -35
- package/react/types/fdc3.js.map +1 -1
- package/react/types/searchTypes.d.ts +1 -8
- package/react/types/searchTypes.js.map +1 -1
- package/react/types/smartDesktopDesignerTypes.d.ts +52 -6
- package/react/types/smartDesktopDesignerTypes.js.map +1 -1
- package/react/types/windowTitleBar.d.ts +4 -2
- package/react/types/windowTitleBar.js.map +1 -1
- package/react/components/common/FontSizeSelector.d.ts +0 -7
- package/react/components/common/FontSizeSelector.js +0 -42
- package/react/components/common/FontSizeSelector.js.map +0 -1
- package/react/components/common/stories/FontSizeSelector.stories.d.ts +0 -12
- package/react/components/common/stories/FontSizeSelector.stories.js +0 -24
- package/react/components/common/stories/FontSizeSelector.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/ApplicationEdit.d.ts +0 -25
- package/react/components/smartDesktopDesigner/ApplicationEdit.js +0 -103
- package/react/components/smartDesktopDesigner/ApplicationEdit.js.map +0 -1
- package/react/components/smartDesktopDesigner/ApplicationList.d.ts +0 -15
- package/react/components/smartDesktopDesigner/ApplicationList.js +0 -56
- package/react/components/smartDesktopDesigner/ApplicationList.js.map +0 -1
- package/react/components/smartDesktopDesigner/ApplicationSetup.d.ts +0 -23
- package/react/components/smartDesktopDesigner/ApplicationSetup.js +0 -73
- package/react/components/smartDesktopDesigner/ApplicationSetup.js.map +0 -1
- package/react/components/smartDesktopDesigner/ProjectHeader.d.ts +0 -14
- package/react/components/smartDesktopDesigner/ProjectHeader.js +0 -70
- package/react/components/smartDesktopDesigner/ProjectHeader.js.map +0 -1
- package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.d.ts +0 -4
- package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js +0 -45
- package/react/components/smartDesktopDesigner/fixtures/applicationEditProps.js.map +0 -1
- package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.d.ts +0 -3
- package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js +0 -29
- package/react/components/smartDesktopDesigner/fixtures/applicationSetupProps.js.map +0 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.d.ts +0 -12
- package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js +0 -21
- package/react/components/smartDesktopDesigner/stories/ApplicationEdit.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.d.ts +0 -15
- package/react/components/smartDesktopDesigner/stories/ApplicationList.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.d.ts +0 -12
- package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js +0 -28
- package/react/components/smartDesktopDesigner/stories/ApplicationSetup.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.d.ts +0 -10
- package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js +0 -19
- package/react/components/smartDesktopDesigner/stories/ProjectHeader.stories.js.map +0 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js +0 -66
- package/react/components/smartDesktopDesigner/tests/ApplicationEdit.spec.js.map +0 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationList.spec.js.map +0 -1
- package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js +0 -41
- package/react/components/smartDesktopDesigner/tests/ApplicationSetup.spec.js.map +0 -1
- package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js +0 -27
- package/react/components/smartDesktopDesigner/tests/ProjectHeader.spec.js.map +0 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
.accordion {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.accordion-cb {
|
|
6
|
+
display: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.accordion.medium > button {
|
|
10
|
+
font-size: 1.2em;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.accordion.small .finsemble-icon-caret {
|
|
14
|
+
font-size: 0.8em;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.accordion button {
|
|
18
|
+
width: 100%;
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: left;
|
|
21
|
+
padding: 0.5em 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.accordion button:hover {
|
|
25
|
+
background: #373b43;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.accordion > .accordion-summary {
|
|
29
|
+
margin: 0.5em 24px;
|
|
30
|
+
margin-top: 0px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.accordion > .accordion-content {
|
|
34
|
+
margin: 0.5em 22px;
|
|
35
|
+
padding-bottom: 0px;
|
|
36
|
+
margin-bottom: 0px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.accordion > button .accordion-caret {
|
|
40
|
+
transform: rotate(-90deg) translate(0.1em);
|
|
41
|
+
flex-basis: 1.5em;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.accordion input:checked + button .accordion-caret {
|
|
45
|
+
transform: rotate(0) translate(0, 0.2em);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.accordion input:not(:checked) ~ .accordion-content {
|
|
49
|
+
display: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
input:checked ~ .accordion-content {
|
|
53
|
+
display: block;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/** Animations */
|
|
57
|
+
.accordion.enter-active > button .accordion-caret {
|
|
58
|
+
animation-duration: 200ms;
|
|
59
|
+
animation-name: rotateIcon;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.accordion.exit-active > button .accordion-caret {
|
|
63
|
+
animation-duration: 200ms;
|
|
64
|
+
animation-name: rotateIcon;
|
|
65
|
+
animation-direction: reverse;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.accordion.enter-active > .accordion-content {
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
animation-duration: 500ms;
|
|
71
|
+
animation-name: openContent;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.accordion.exit-active > .accordion-content {
|
|
75
|
+
display: block !important;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
animation-duration: 500ms;
|
|
78
|
+
animation-name: openContent;
|
|
79
|
+
animation-direction: reverse;
|
|
80
|
+
max-height: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@keyframes rotateIcon {
|
|
84
|
+
from {
|
|
85
|
+
transform: rotate(-90deg) translate(0.1em);
|
|
86
|
+
}
|
|
87
|
+
to {
|
|
88
|
+
transform: rotate(0) translate(0, 0.2em);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@keyframes openContent {
|
|
93
|
+
from {
|
|
94
|
+
max-height: 1px;
|
|
95
|
+
}
|
|
96
|
+
to {
|
|
97
|
+
max-height: 2000px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
right: 0px;
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 100%;
|
|
9
|
-
background-color: #171a20;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
.app-edit-actions {
|
|
@@ -21,6 +20,11 @@
|
|
|
21
20
|
justify-content: space-between;
|
|
22
21
|
}
|
|
23
22
|
|
|
23
|
+
.app-edit-app-name {
|
|
24
|
+
margin: 0.9em 2em;
|
|
25
|
+
margin-left: 20px;
|
|
26
|
+
}
|
|
27
|
+
|
|
24
28
|
.app-edit-fieldset {
|
|
25
29
|
border: 0px;
|
|
26
30
|
padding: 0px;
|
|
@@ -42,16 +46,26 @@
|
|
|
42
46
|
opacity: 75%;
|
|
43
47
|
}
|
|
44
48
|
|
|
49
|
+
.app-edit-type-field {
|
|
50
|
+
padding-right: 1.5em;
|
|
51
|
+
flex-grow: 1;
|
|
52
|
+
max-width: 25rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
45
55
|
.app-edit-field {
|
|
46
56
|
display: flex;
|
|
47
57
|
align-items: center;
|
|
48
|
-
margin: 0.9em
|
|
58
|
+
margin-top: 0.9em;
|
|
59
|
+
margin-bottom: 0.9em;
|
|
60
|
+
margin-left: 0px;
|
|
61
|
+
margin-right: 3em;
|
|
49
62
|
}
|
|
50
63
|
|
|
51
64
|
.app-edit-field > label {
|
|
52
65
|
width: 10em;
|
|
53
66
|
flex-grow: 0;
|
|
54
67
|
opacity: 75%;
|
|
68
|
+
margin-right: 1em;
|
|
55
69
|
}
|
|
56
70
|
|
|
57
71
|
.app-edit-field .emperorSelectContainer,
|
|
@@ -115,3 +129,196 @@ span.unit {
|
|
|
115
129
|
justify-content: center;
|
|
116
130
|
align-items: center;
|
|
117
131
|
}
|
|
132
|
+
|
|
133
|
+
.quick-add-app {
|
|
134
|
+
width: 500px;
|
|
135
|
+
margin-top: 12px;
|
|
136
|
+
padding-top: 3px;
|
|
137
|
+
padding-bottom: 3px;
|
|
138
|
+
border-width: 1px;
|
|
139
|
+
border-style: dashed;
|
|
140
|
+
border-color: #42a5ba;
|
|
141
|
+
border-radius: 2px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.app-icon {
|
|
145
|
+
max-width: 16px;
|
|
146
|
+
max-height: 16px;
|
|
147
|
+
margin-right: 8px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.accordion-edit-block td {
|
|
151
|
+
padding-bottom: 12px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.accordion-edit-block .complex-menu-checkbox-wrapper {
|
|
155
|
+
margin-top: 0px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.app-edit-range {
|
|
159
|
+
-webkit-appearance: none;
|
|
160
|
+
margin: 10px 10px 10px 0px;
|
|
161
|
+
width: 140px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.app-edit-range::-webkit-slider-runnable-track {
|
|
165
|
+
width: 100%;
|
|
166
|
+
height: 1px;
|
|
167
|
+
cursor: pointer;
|
|
168
|
+
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
|
|
169
|
+
background: #979797;
|
|
170
|
+
border-radius: 25px;
|
|
171
|
+
border: 0px solid #000101;
|
|
172
|
+
}
|
|
173
|
+
.app-edit-range::-webkit-slider-thumb {
|
|
174
|
+
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
|
|
175
|
+
border: 0px solid #000000;
|
|
176
|
+
height: 10px;
|
|
177
|
+
width: 10px;
|
|
178
|
+
border-radius: 10px;
|
|
179
|
+
background: #d8d8d8;
|
|
180
|
+
cursor: pointer;
|
|
181
|
+
-webkit-appearance: none;
|
|
182
|
+
margin-top: -5px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.position-entry .finsemble-dropdown__btn {
|
|
186
|
+
width: 80px;
|
|
187
|
+
}
|
|
188
|
+
.position-entry .finsemble-dropdown__btn i {
|
|
189
|
+
position: absolute;
|
|
190
|
+
right: 0px;
|
|
191
|
+
margin-right: 2px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.accordion.medium > .accordion-content {
|
|
195
|
+
margin-left: 0px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.accordion-summary {
|
|
199
|
+
color: #aaaaaa;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.accordion-content > .app-edit-field {
|
|
203
|
+
margin-left: 0px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.accordion-edit-block .label-col {
|
|
207
|
+
width: 135px;
|
|
208
|
+
}
|
|
209
|
+
.accordion-edit-block .content-col {
|
|
210
|
+
width: 350px;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.accordion-edit-block td {
|
|
214
|
+
text-align: left;
|
|
215
|
+
color: #aaaaaa;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.app-edit-field,
|
|
219
|
+
.app-size-field label {
|
|
220
|
+
color: #aaaaaa;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.accordion-edit-block input[type="range"] {
|
|
224
|
+
width: 241px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.accordion-edit-block input[type="text"],
|
|
228
|
+
.inputTable input[type="text"] {
|
|
229
|
+
color: #f5f6f7;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.accordion-edit-block .complex-menu-checkbox-wrapper,
|
|
233
|
+
.pull-left .complex-menu-checkbox-wrapper {
|
|
234
|
+
margin-left: 0px;
|
|
235
|
+
}
|
|
236
|
+
.inputTable th {
|
|
237
|
+
text-align: left;
|
|
238
|
+
}
|
|
239
|
+
.inputTable th .tooltip {
|
|
240
|
+
margin-left: 15px;
|
|
241
|
+
height: 15px;
|
|
242
|
+
width: 15px;
|
|
243
|
+
}
|
|
244
|
+
.inputTable .finsemble-icon-times {
|
|
245
|
+
color: #999999;
|
|
246
|
+
}
|
|
247
|
+
.inputTable [type="text"] {
|
|
248
|
+
width: 135px;
|
|
249
|
+
margin-right: 13px;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.accordion-edit-block td[rowspan] {
|
|
253
|
+
vertical-align: top;
|
|
254
|
+
padding-top: 1px;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.accordion.small .label {
|
|
258
|
+
margin-left: 10px;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.always-present.accordion-edit-block textarea,
|
|
262
|
+
.always-present.accordion-edit-block input[type="text"] {
|
|
263
|
+
width: 100%;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.always-present {
|
|
267
|
+
margin-left: 20px;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.app-edit legend {
|
|
271
|
+
margin-left: 20px;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.app-edit-app-name {
|
|
275
|
+
color: #ffffff;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
table.accordion-edit-block {
|
|
279
|
+
width: 515px;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.inputTable th,
|
|
283
|
+
.inputTable td {
|
|
284
|
+
padding-left: 0px;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.accordion-edit-block .finsemble-dropdown__btn-options {
|
|
288
|
+
text-align: left;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.accordion-edit-block label:first-of-type input[type="radio"] {
|
|
292
|
+
margin-left: 0px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
a,
|
|
296
|
+
a:visited {
|
|
297
|
+
color: white;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.accordion-edit-block td .finsemble-icon {
|
|
301
|
+
margin-right: 3px;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.quick-add-path .file-input-value {
|
|
305
|
+
white-space: nowrap;
|
|
306
|
+
width: 150px;
|
|
307
|
+
margin-left: 9px;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.quick-add-path #app-path {
|
|
311
|
+
width: 350px;
|
|
312
|
+
overflow: hidden;
|
|
313
|
+
display: inline-block;
|
|
314
|
+
|
|
315
|
+
/* Weird hack to get the ellipsis to show up at the front of the text (https://davidwalsh.name/css-ellipsis-left) */
|
|
316
|
+
text-overflow: ellipsis;
|
|
317
|
+
direction: rtl;
|
|
318
|
+
text-align: left;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.quick-add-path .file-input-container {
|
|
322
|
+
padding-bottom: 10px;
|
|
323
|
+
padding-top: 5px;
|
|
324
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
padding: 0.7em;
|
|
10
10
|
font-weight: bold;
|
|
11
11
|
border-radius: 1.45em;
|
|
12
|
+
cursor: pointer;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
.app-list-row {
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
display: flex;
|
|
21
22
|
justify-content: space-between;
|
|
22
23
|
align-items: center;
|
|
24
|
+
cursor: pointer;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
.app-list-row div {
|
|
@@ -45,3 +47,7 @@
|
|
|
45
47
|
margin-top: 1.2em;
|
|
46
48
|
text-align: center;
|
|
47
49
|
}
|
|
50
|
+
|
|
51
|
+
.app-list-empty.no-dropzone {
|
|
52
|
+
border-style: solid;
|
|
53
|
+
}
|
|
@@ -68,7 +68,7 @@ button {
|
|
|
68
68
|
|
|
69
69
|
.button-container-primary button {
|
|
70
70
|
border-radius: 2em;
|
|
71
|
-
background-color: #
|
|
71
|
+
background-color: #171a20;
|
|
72
72
|
padding: 1.2em 1.1em 1.2em 1em;
|
|
73
73
|
display: flex;
|
|
74
74
|
height: 1em;
|
|
@@ -80,12 +80,12 @@ button {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.button-container-primary button:hover {
|
|
83
|
-
background-color: #
|
|
83
|
+
background-color: #acb2c0;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.button-container-primary button[disabled] {
|
|
87
87
|
color: #acb2c0;
|
|
88
|
-
background-color: #
|
|
88
|
+
background-color: #acb2c0;
|
|
89
89
|
cursor: default;
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -102,7 +102,7 @@ button {
|
|
|
102
102
|
|
|
103
103
|
.button-container-secondary button[disabled] {
|
|
104
104
|
color: #000000b3;
|
|
105
|
-
background-color: #
|
|
105
|
+
background-color: #acb2c0;
|
|
106
106
|
cursor: default;
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -118,7 +118,7 @@ button {
|
|
|
118
118
|
align-items: center;
|
|
119
119
|
padding-top: 0.5em;
|
|
120
120
|
margin: 0.5em 0.5em;
|
|
121
|
-
background-color: #
|
|
121
|
+
background-color: #171a20;
|
|
122
122
|
border-radius: 0.5em;
|
|
123
123
|
font-size: 1.1em;
|
|
124
124
|
transition: all 0.25s;
|
|
@@ -142,8 +142,10 @@ button {
|
|
|
142
142
|
/* Danger */
|
|
143
143
|
|
|
144
144
|
.button-container-danger button {
|
|
145
|
-
background-color:
|
|
146
|
-
color: #
|
|
145
|
+
background-color: transparent;
|
|
146
|
+
color: #f26666;
|
|
147
|
+
border-radius: 5px;
|
|
148
|
+
border: solid 1px #f26666;
|
|
147
149
|
}
|
|
148
150
|
|
|
149
151
|
.button-container-danger button:hover {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.complex-menu-checkbox-wrapper {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
margin-top: 8px;
|
|
5
|
+
margin-left: 12px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.complex-menu-checkbox {
|
|
9
|
+
border-radius: 2px;
|
|
10
|
+
width: 14px;
|
|
11
|
+
height: 14px;
|
|
12
|
+
margin-right: 8px;
|
|
13
|
+
border: 1px solid var(--core-primary-4);
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
align-items: center;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.complex-menu-checkbox-label {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.complex-menu-checkbox.checked {
|
|
24
|
+
border: 1px solid var(--accent-primary);
|
|
25
|
+
font-size: 12px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.complex-menu-checkbox.checked .finsemble-icon {
|
|
29
|
+
color: var(--accent-primary);
|
|
30
|
+
}
|
|
@@ -47,3 +47,19 @@ input[type="file"] {
|
|
|
47
47
|
.file-input-error {
|
|
48
48
|
color: #f26666;
|
|
49
49
|
}
|
|
50
|
+
|
|
51
|
+
.file-input-container .button-container-primary button {
|
|
52
|
+
background-color: var(--core-primary-4);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.file-input-container .button-container-primary button:disabled {
|
|
56
|
+
color: #aaaaaa;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.file-input-value-input {
|
|
60
|
+
color: #f5f6f7;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.file-input-value-input.invalid {
|
|
64
|
+
border-bottom: 2px solid #f26666;
|
|
65
|
+
}
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.view-header .button-container-icon button {
|
|
7
|
-
font-size:
|
|
8
|
-
position: relative;
|
|
9
|
-
top: 5px;
|
|
7
|
+
font-size: 2.15rem;
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
.view-title {
|
|
@@ -30,14 +28,3 @@
|
|
|
30
28
|
.view-title button {
|
|
31
29
|
margin-right: 0.9rem;
|
|
32
30
|
}
|
|
33
|
-
|
|
34
|
-
.view-title::after {
|
|
35
|
-
content: " ";
|
|
36
|
-
display: block;
|
|
37
|
-
position: absolute;
|
|
38
|
-
top: 100%;
|
|
39
|
-
width: 100%;
|
|
40
|
-
height: 0.15rem;
|
|
41
|
-
margin-top: 0.5rem;
|
|
42
|
-
background-color: #42a5ba;
|
|
43
|
-
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.preload-edit-table {
|
|
2
|
+
width: 515px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.preload-edit-table td,
|
|
6
|
+
.preload-edit-table th {
|
|
7
|
+
padding-bottom: 17px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.preload-edit-table th {
|
|
11
|
+
width: 130px;
|
|
12
|
+
text-align: left;
|
|
13
|
+
font-weight: normal;
|
|
14
|
+
vertical-align: bottom;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
th.table-header__top-label {
|
|
18
|
+
vertical-align: top;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.preload-edit-table .edit-field > input[type="text"] {
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.preload-edit-table .emperorSelectContainer {
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.preload-edit-table .load-option {
|
|
30
|
+
margin-bottom: 10px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.preload-edit-actions {
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: space-between;
|
|
36
|
+
margin: 0.65em 3em 0.65em 0;
|
|
37
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AccordionProps } from "../Accordion";
|
|
3
|
+
import { Story } from "@storybook/react/types-6-0";
|
|
4
|
+
import "../../../assets/css/finsemble.css";
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: React.FunctionComponent<AccordionProps>;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
10
|
+
export declare const BasicAccordion: Story<AccordionProps>;
|
|
11
|
+
export declare const BasicAccordionWithSummary: Story<AccordionProps>;
|
|
12
|
+
export declare const BasicAccordionMedium: Story<AccordionProps>;
|
|
13
|
+
export declare const BasicAccordionOpen: Story<AccordionProps>;
|
|
14
|
+
export declare const NestedAccordion: Story<AccordionProps>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Accordion } from "../Accordion";
|
|
3
|
+
import "../../../assets/css/finsemble.css";
|
|
4
|
+
export default {
|
|
5
|
+
title: "common/Accordion",
|
|
6
|
+
component: Accordion,
|
|
7
|
+
};
|
|
8
|
+
const BasicTemplate = (args) => (React.createElement(Accordion, Object.assign({}, args), "Accordion Content"));
|
|
9
|
+
const NestedTemplate = (args) => (React.createElement(Accordion, Object.assign({}, args),
|
|
10
|
+
React.createElement(Accordion, { id: "accordion-2", label: "Nested Accordion", summary: "Summary 1" }, "Nested Accordion Content"),
|
|
11
|
+
React.createElement(Accordion, { id: "accordion-3", label: "Nested Accordion 2" }, "Nested Accordion 2 Content")));
|
|
12
|
+
export const BasicAccordion = BasicTemplate.bind({});
|
|
13
|
+
BasicAccordion.args = {
|
|
14
|
+
id: "accordion-1",
|
|
15
|
+
label: "Accordion Label",
|
|
16
|
+
};
|
|
17
|
+
export const BasicAccordionWithSummary = BasicTemplate.bind({});
|
|
18
|
+
BasicAccordionWithSummary.args = {
|
|
19
|
+
id: "accordion-1",
|
|
20
|
+
label: "Accordion Label",
|
|
21
|
+
summary: "A summary of what the accordion contains",
|
|
22
|
+
};
|
|
23
|
+
export const BasicAccordionMedium = BasicTemplate.bind({});
|
|
24
|
+
BasicAccordionMedium.args = {
|
|
25
|
+
id: "accordion-1",
|
|
26
|
+
label: "Accordion Label",
|
|
27
|
+
size: "medium",
|
|
28
|
+
};
|
|
29
|
+
export const BasicAccordionOpen = BasicTemplate.bind({});
|
|
30
|
+
BasicAccordionOpen.args = {
|
|
31
|
+
id: "accordion-1",
|
|
32
|
+
label: "Accordion Label",
|
|
33
|
+
startOpen: true,
|
|
34
|
+
};
|
|
35
|
+
export const NestedAccordion = NestedTemplate.bind({});
|
|
36
|
+
NestedAccordion.args = {
|
|
37
|
+
id: "accordion-1",
|
|
38
|
+
label: "Accordion Label",
|
|
39
|
+
summary: "Accordion Summary",
|
|
40
|
+
size: "medium",
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=Accordion.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Accordion.stories.js","sourceRoot":"","sources":["../../../../src/components/common/stories/Accordion.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAkB,MAAM,cAAc,CAAC;AAGzD,OAAO,mCAAmC,CAAC;AAE3C,eAAe;IACd,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,SAAS;CACpB,CAAC;AAEF,MAAM,aAAa,GAA0B,CAAC,IAAoB,EAAE,EAAE,CAAC,CACtE,oBAAC,SAAS,oBAAK,IAAI,uBAA+B,CAClD,CAAC;AAEF,MAAM,cAAc,GAA0B,CAAC,IAAoB,EAAE,EAAE,CAAC,CACvE,oBAAC,SAAS,oBAAK,IAAI;IAClB,oBAAC,SAAS,IAAC,EAAE,EAAC,aAAa,EAAC,KAAK,EAAC,kBAAkB,EAAC,OAAO,EAAC,WAAW,+BAE5D;IACZ,oBAAC,SAAS,IAAC,EAAE,EAAC,aAAa,EAAC,KAAK,EAAC,oBAAoB,iCAE1C,CACD,CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACrD,cAAc,CAAC,IAAI,GAAG;IACrB,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,iBAAiB;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAChE,yBAAyB,CAAC,IAAI,GAAG;IAChC,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,iBAAiB;IACxB,OAAO,EAAE,0CAA0C;CACnD,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAC3D,oBAAoB,CAAC,IAAI,GAAG;IAC3B,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,iBAAiB;IACxB,IAAI,EAAE,QAAQ;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACzD,kBAAkB,CAAC,IAAI,GAAG;IACzB,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,IAAI;CACf,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACvD,eAAe,CAAC,IAAI,GAAG;IACtB,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,iBAAiB;IACxB,OAAO,EAAE,mBAAmB;IAC5B,IAAI,EAAE,QAAQ;CACd,CAAC","sourcesContent":["import React from \"react\";\nimport { Accordion, AccordionProps } from \"../Accordion\";\nimport { Story } from \"@storybook/react/types-6-0\";\nimport { action } from \"@storybook/addon-actions\";\nimport \"../../../assets/css/finsemble.css\";\n\nexport default {\n\ttitle: \"common/Accordion\",\n\tcomponent: Accordion,\n};\n\nconst BasicTemplate: Story<AccordionProps> = (args: AccordionProps) => (\n\t<Accordion {...args}>Accordion Content</Accordion>\n);\n\nconst NestedTemplate: Story<AccordionProps> = (args: AccordionProps) => (\n\t<Accordion {...args}>\n\t\t<Accordion id=\"accordion-2\" label=\"Nested Accordion\" summary=\"Summary 1\">\n\t\t\tNested Accordion Content\n\t\t</Accordion>\n\t\t<Accordion id=\"accordion-3\" label=\"Nested Accordion 2\">\n\t\t\tNested Accordion 2 Content\n\t\t</Accordion>\n\t</Accordion>\n);\n\nexport const BasicAccordion = BasicTemplate.bind({});\nBasicAccordion.args = {\n\tid: \"accordion-1\",\n\tlabel: \"Accordion Label\",\n};\n\nexport const BasicAccordionWithSummary = BasicTemplate.bind({});\nBasicAccordionWithSummary.args = {\n\tid: \"accordion-1\",\n\tlabel: \"Accordion Label\",\n\tsummary: \"A summary of what the accordion contains\",\n};\n\nexport const BasicAccordionMedium = BasicTemplate.bind({});\nBasicAccordionMedium.args = {\n\tid: \"accordion-1\",\n\tlabel: \"Accordion Label\",\n\tsize: \"medium\",\n};\n\nexport const BasicAccordionOpen = BasicTemplate.bind({});\nBasicAccordionOpen.args = {\n\tid: \"accordion-1\",\n\tlabel: \"Accordion Label\",\n\tstartOpen: true,\n};\n\nexport const NestedAccordion = NestedTemplate.bind({});\nNestedAccordion.args = {\n\tid: \"accordion-1\",\n\tlabel: \"Accordion Label\",\n\tsummary: \"Accordion Summary\",\n\tsize: \"medium\",\n};\n"]}
|
|
@@ -20,3 +20,14 @@ export declare const defaultDropdownButton: import("@storybook/react").Story<{
|
|
|
20
20
|
caretLocation: string;
|
|
21
21
|
classNames: string;
|
|
22
22
|
}>;
|
|
23
|
+
export declare const defaultDropdownButtonWithDefault: import("@storybook/react").Story<{
|
|
24
|
+
buttonLabel: string;
|
|
25
|
+
buttonOptions: {
|
|
26
|
+
optionLabel: string;
|
|
27
|
+
}[];
|
|
28
|
+
caretLocation: string;
|
|
29
|
+
classNames: string;
|
|
30
|
+
defaultSelection: {
|
|
31
|
+
optionLabel: string;
|
|
32
|
+
};
|
|
33
|
+
}>;
|
|
@@ -26,4 +26,16 @@ defaultDropdownButton.decorators = [
|
|
|
26
26
|
(Story) => (React.createElement("div", { style: { width: 150 } },
|
|
27
27
|
React.createElement(Story, null))),
|
|
28
28
|
];
|
|
29
|
+
const options = [{ optionLabel: "Alpha" }, { optionLabel: "Bravo" }, { optionLabel: "Charlie" }];
|
|
30
|
+
export const defaultDropdownButtonWithDefault = createStory(DefaultDropdownButton, {
|
|
31
|
+
buttonLabel: "Label",
|
|
32
|
+
buttonOptions: [{ optionLabel: "Alpha" }, { optionLabel: "Bravo" }, { optionLabel: "Charlie" }],
|
|
33
|
+
caretLocation: "right",
|
|
34
|
+
classNames: "push-right",
|
|
35
|
+
defaultSelection: options[1],
|
|
36
|
+
});
|
|
37
|
+
defaultDropdownButton.decorators = [
|
|
38
|
+
(Story) => (React.createElement("div", { style: { width: 150 } },
|
|
39
|
+
React.createElement(Story, null))),
|
|
40
|
+
];
|
|
29
41
|
//# sourceMappingURL=DropdownButton.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownButton.stories.js","sourceRoot":"","sources":["../../../../src/components/common/stories/DropdownButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,qBAAqB,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAe;IACd,KAAK,EAAE,uBAAuB;IAC9B,SAAS,EAAE,cAAc;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC,cAAc,EAAE;IACzD,WAAW,EAAE,OAAO;IACpB,aAAa,EAAE,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;CAC/F,CAAC,CAAC;AACH,cAAc,CAAC,UAAU,GAAG;IAC3B,CAAC,KAAK,EAAE,EAAE,CAAC,CACV,6BAAK,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;QACxB,oBAAC,KAAK,OAAG,CACJ,CACN;CACD,CAAC;AACF,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAAC,qBAAqB,EAAE;IACvE,WAAW,EAAE,OAAO;IACpB,aAAa,EAAE,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;IAC/F,aAAa,EAAE,OAAO;IACtB,UAAU,EAAE,YAAY;CACxB,CAAC,CAAC;AACH,qBAAqB,CAAC,UAAU,GAAG;IAClC,CAAC,KAAK,EAAE,EAAE,CAAC,CACV,6BAAK,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE;QACzB,oBAAC,KAAK,OAAG,CACJ,CACN;CACD,CAAC","sourcesContent":["import DropdownButton from \"../DropdownButton\";\nimport DefaultDropdownButton from \"../../shared/DefaultDropdownButton\";\nimport { createStory } from \"../helpers\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../css/styles.css\";\nimport React from \"react\";\n\nexport default {\n\ttitle: \"Common/DropdownButton\",\n\tcomponent: DropdownButton,\n};\n\nexport const dropdownButton = createStory(DropdownButton, {\n\tbuttonLabel: \"Label\",\n\tbuttonOptions: [{ buttonLabel: \"Alpha\" }, { buttonLabel: \"Bravo\" }, { buttonLabel: \"Charlie\" }],\n});\ndropdownButton.decorators = [\n\t(Story) => (\n\t\t<div style={{ width: 80 }}>\n\t\t\t<Story />\n\t\t</div>\n\t),\n];\nexport const defaultDropdownButton = createStory(DefaultDropdownButton, {\n\tbuttonLabel: \"Label\",\n\tbuttonOptions: [{ optionLabel: \"Alpha\" }, { optionLabel: \"Bravo\" }, { optionLabel: \"Charlie\" }],\n\tcaretLocation: \"right\",\n\tclassNames: \"push-right\",\n});\ndefaultDropdownButton.decorators = [\n\t(Story) => (\n\t\t<div style={{ width: 150 }}>\n\t\t\t<Story />\n\t\t</div>\n\t),\n];\n"]}
|
|
1
|
+
{"version":3,"file":"DropdownButton.stories.js","sourceRoot":"","sources":["../../../../src/components/common/stories/DropdownButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,qBAAqB,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAe;IACd,KAAK,EAAE,uBAAuB;IAC9B,SAAS,EAAE,cAAc;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC,cAAc,EAAE;IACzD,WAAW,EAAE,OAAO;IACpB,aAAa,EAAE,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;CAC/F,CAAC,CAAC;AACH,cAAc,CAAC,UAAU,GAAG;IAC3B,CAAC,KAAK,EAAE,EAAE,CAAC,CACV,6BAAK,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;QACxB,oBAAC,KAAK,OAAG,CACJ,CACN;CACD,CAAC;AACF,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAAC,qBAAqB,EAAE;IACvE,WAAW,EAAE,OAAO;IACpB,aAAa,EAAE,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;IAC/F,aAAa,EAAE,OAAO;IACtB,UAAU,EAAE,YAAY;CACxB,CAAC,CAAC;AACH,qBAAqB,CAAC,UAAU,GAAG;IAClC,CAAC,KAAK,EAAE,EAAE,CAAC,CACV,6BAAK,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE;QACzB,oBAAC,KAAK,OAAG,CACJ,CACN;CACD,CAAC;AAEF,MAAM,OAAO,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC;AAEjG,MAAM,CAAC,MAAM,gCAAgC,GAAG,WAAW,CAAC,qBAAqB,EAAE;IAClF,WAAW,EAAE,OAAO;IACpB,aAAa,EAAE,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC;IAC/F,aAAa,EAAE,OAAO;IACtB,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,OAAO,CAAC,CAAC,CAAC;CAC5B,CAAC,CAAC;AACH,qBAAqB,CAAC,UAAU,GAAG;IAClC,CAAC,KAAK,EAAE,EAAE,CAAC,CACV,6BAAK,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE;QACzB,oBAAC,KAAK,OAAG,CACJ,CACN;CACD,CAAC","sourcesContent":["import DropdownButton from \"../DropdownButton\";\nimport DefaultDropdownButton from \"../../shared/DefaultDropdownButton\";\nimport { createStory } from \"../helpers\";\nimport \"../../../assets/css/finsemble.css\";\nimport \"../css/styles.css\";\nimport React from \"react\";\n\nexport default {\n\ttitle: \"Common/DropdownButton\",\n\tcomponent: DropdownButton,\n};\n\nexport const dropdownButton = createStory(DropdownButton, {\n\tbuttonLabel: \"Label\",\n\tbuttonOptions: [{ buttonLabel: \"Alpha\" }, { buttonLabel: \"Bravo\" }, { buttonLabel: \"Charlie\" }],\n});\ndropdownButton.decorators = [\n\t(Story) => (\n\t\t<div style={{ width: 80 }}>\n\t\t\t<Story />\n\t\t</div>\n\t),\n];\nexport const defaultDropdownButton = createStory(DefaultDropdownButton, {\n\tbuttonLabel: \"Label\",\n\tbuttonOptions: [{ optionLabel: \"Alpha\" }, { optionLabel: \"Bravo\" }, { optionLabel: \"Charlie\" }],\n\tcaretLocation: \"right\",\n\tclassNames: \"push-right\",\n});\ndefaultDropdownButton.decorators = [\n\t(Story) => (\n\t\t<div style={{ width: 150 }}>\n\t\t\t<Story />\n\t\t</div>\n\t),\n];\n\nconst options = [{ optionLabel: \"Alpha\" }, { optionLabel: \"Bravo\" }, { optionLabel: \"Charlie\" }];\n\nexport const defaultDropdownButtonWithDefault = createStory(DefaultDropdownButton, {\n\tbuttonLabel: \"Label\",\n\tbuttonOptions: [{ optionLabel: \"Alpha\" }, { optionLabel: \"Bravo\" }, { optionLabel: \"Charlie\" }],\n\tcaretLocation: \"right\",\n\tclassNames: \"push-right\",\n\tdefaultSelection: options[1],\n});\ndefaultDropdownButton.decorators = [\n\t(Story) => (\n\t\t<div style={{ width: 150 }}>\n\t\t\t<Story />\n\t\t</div>\n\t),\n];\n"]}
|
|
@@ -4,10 +4,11 @@ import "../../../assets/css/finsemble.css";
|
|
|
4
4
|
import "../css/styles.css";
|
|
5
5
|
declare const _default: {
|
|
6
6
|
title: string;
|
|
7
|
-
component: ({ acceptTypes, value, onSetValue, id, shouldUpload, uploadFunction, presetFile, suppressDropzone, }: FileInputProps) => JSX.Element;
|
|
7
|
+
component: ({ acceptTypes, value, onSetValue, id, shouldUpload, uploadFunction, presetFile, suppressDropzone, disabled, }: FileInputProps) => JSX.Element;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
10
10
|
export declare const EmptyField: import("@storybook/react").Story<FileInputProps>;
|
|
11
|
+
export declare const Disabled: import("@storybook/react").Story<FileInputProps>;
|
|
11
12
|
export declare const PreFilledField: import("@storybook/react").Story<FileInputProps>;
|
|
12
13
|
export declare const PreFilledInvalidField: import("@storybook/react").Story<FileInputProps>;
|
|
13
14
|
export declare const anyField: import("@storybook/react").Story<FileInputProps>;
|
|
@@ -11,6 +11,12 @@ export const EmptyField = createStory(FileInput, {
|
|
|
11
11
|
acceptTypes: ["image/png"],
|
|
12
12
|
uploadFunction,
|
|
13
13
|
});
|
|
14
|
+
export const Disabled = createStory(FileInput, {
|
|
15
|
+
value: "",
|
|
16
|
+
acceptTypes: ["image/png"],
|
|
17
|
+
uploadFunction,
|
|
18
|
+
disabled: true,
|
|
19
|
+
});
|
|
14
20
|
export const PreFilledField = createStory(FileInput, {
|
|
15
21
|
acceptTypes: ["image/png"],
|
|
16
22
|
value: "ThisIsATest.png",
|