@bluealba/pae-ui-react-core 3.0.2-develop-1171
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/LICENSE +134 -0
- package/README.md +368 -0
- package/dist/index.cjs.js +252 -0
- package/dist/index.css +1 -0
- package/dist/index.esm.js +9741 -0
- package/dist/index.systemjs.js +253 -0
- package/dist/index.umd.js +253 -0
- package/dist/src/MicrofrontendProps.d.ts +9 -0
- package/dist/src/components/ApplicationIcon.d.ts +7 -0
- package/dist/src/components/Authorized.d.ts +12 -0
- package/dist/src/components/ExtendExtensionPoint.d.ts +20 -0
- package/dist/src/components/ExtensionPoint.d.ts +39 -0
- package/dist/src/components/ModulePlaceHolder/BaseContainer.d.ts +4 -0
- package/dist/src/components/ModulePlaceHolder/BaseError.d.ts +7 -0
- package/dist/src/components/ModulePlaceHolder/BaseLoading.d.ts +7 -0
- package/dist/src/components/ModulePlaceHolder/ModulePlaceHolder.d.ts +22 -0
- package/dist/src/components/ModulePlaceHolder/index.d.ts +2 -0
- package/dist/src/components/PAEModule.d.ts +18 -0
- package/dist/src/components/PlatformEventListener.d.ts +12 -0
- package/dist/src/components/common/Alert/Alert.d.ts +16 -0
- package/dist/src/components/common/Alert/index.d.ts +2 -0
- package/dist/src/components/common/Badge/Badge.d.ts +9 -0
- package/dist/src/components/common/Badge/Badge.stories.d.ts +20 -0
- package/dist/src/components/common/Badge/Badges.d.ts +6 -0
- package/dist/src/components/common/Button/Button.d.ts +10 -0
- package/dist/src/components/common/Button/Button.stories.d.ts +45 -0
- package/dist/src/components/common/ConfirmDialog/ConfirmDialog.d.ts +11 -0
- package/dist/src/components/common/ConfirmDialog/ConfirmDialog.stories.d.ts +14 -0
- package/dist/src/components/common/CopyToClipboardButton/CopyToClipboardButton.d.ts +7 -0
- package/dist/src/components/common/CopyToClipboardButton/CopyToClipboardButton.stories.d.ts +15 -0
- package/dist/src/components/common/Dialog/Dialog.d.ts +26 -0
- package/dist/src/components/common/Dialog/Dialog.stories.d.ts +14 -0
- package/dist/src/components/common/Dialog/index.d.ts +2 -0
- package/dist/src/components/common/Dialog/subComponents/Actions.d.ts +6 -0
- package/dist/src/components/common/Dialog/subComponents/Close.d.ts +6 -0
- package/dist/src/components/common/Dialog/subComponents/Content.d.ts +6 -0
- package/dist/src/components/common/Dialog/subComponents/Description.d.ts +6 -0
- package/dist/src/components/common/Dialog/subComponents/Footer.d.ts +6 -0
- package/dist/src/components/common/Dialog/subComponents/Header.d.ts +6 -0
- package/dist/src/components/common/Dialog/subComponents/Title.d.ts +6 -0
- package/dist/src/components/common/DropdownList/DropdownList.d.ts +8 -0
- package/dist/src/components/common/DropdownList/index.d.ts +3 -0
- package/dist/src/components/common/EmptyState/EmptyState.d.ts +7 -0
- package/dist/src/components/common/EmptyState/EmptyState.stories.d.ts +16 -0
- package/dist/src/components/common/EmptyState/EmptyStateIcon.d.ts +7 -0
- package/dist/src/components/common/ErrorState/ErrorState.d.ts +9 -0
- package/dist/src/components/common/ErrorState/ErrorState.stories.d.ts +11 -0
- package/dist/src/components/common/ErrorState/WarningIcon.d.ts +6 -0
- package/dist/src/components/common/ErrorState/index.d.ts +2 -0
- package/dist/src/components/common/FieldGroup/FieldGroup.d.ts +7 -0
- package/dist/src/components/common/Icon/ArrowDown.d.ts +7 -0
- package/dist/src/components/common/Icon/ChevronLeft.d.ts +7 -0
- package/dist/src/components/common/Icon/ChevronRight.d.ts +7 -0
- package/dist/src/components/common/Icon/ClipboardCheckIcon.d.ts +13 -0
- package/dist/src/components/common/Icon/ClipboardIcon.d.ts +14 -0
- package/dist/src/components/common/Icon/EyeIcon.d.ts +13 -0
- package/dist/src/components/common/Icon/HorizontalDots.d.ts +7 -0
- package/dist/src/components/common/Input/Input.d.ts +7 -0
- package/dist/src/components/common/Input/Input.stories.d.ts +23 -0
- package/dist/src/components/common/InputError/InputError.d.ts +6 -0
- package/dist/src/components/common/Label/Label.d.ts +7 -0
- package/dist/src/components/common/List/List.d.ts +26 -0
- package/dist/src/components/common/List/List.stories.d.ts +27 -0
- package/dist/src/components/common/List/index.d.ts +2 -0
- package/dist/src/components/common/List/subComponents/Action.d.ts +6 -0
- package/dist/src/components/common/List/subComponents/Actions.d.ts +6 -0
- package/dist/src/components/common/List/subComponents/Description.d.ts +6 -0
- package/dist/src/components/common/List/subComponents/Icon.d.ts +6 -0
- package/dist/src/components/common/List/subComponents/Item.d.ts +8 -0
- package/dist/src/components/common/List/subComponents/Title.d.ts +6 -0
- package/dist/src/components/common/Pagination/Pagination.d.ts +31 -0
- package/dist/src/components/common/PasswordInput/PasswordInput.d.ts +8 -0
- package/dist/src/components/common/PasswordInput/PasswordInput.stories.d.ts +20 -0
- package/dist/src/components/common/Pill/Pill.d.ts +8 -0
- package/dist/src/components/common/Pill/Pill.stories.d.ts +26 -0
- package/dist/src/components/common/PluralizeCounter/PluralizeCounter.d.ts +9 -0
- package/dist/src/components/common/PluralizeCounter/PluralizeCounter.stories.d.ts +14 -0
- package/dist/src/components/common/SearchAutocomplete/AutocompleteHighlighter.d.ts +8 -0
- package/dist/src/components/common/SearchAutocomplete/AutocompleteItem.d.ts +7 -0
- package/dist/src/components/common/SearchAutocomplete/SearchAutocomplete.d.ts +27 -0
- package/dist/src/components/common/SearchAutocomplete/SearchAutocomplete.stories.d.ts +51 -0
- package/dist/src/components/common/SearchAutocomplete/hooks/useAutocomplete.d.ts +13 -0
- package/dist/src/components/common/SearchAutocomplete/types.d.ts +12 -0
- package/dist/src/components/common/SearchInput/SearchInput.d.ts +9 -0
- package/dist/src/components/common/SearchInput/SearchInput.stories.d.ts +30 -0
- package/dist/src/components/common/Select/Option.d.ts +6 -0
- package/dist/src/components/common/Select/Select.d.ts +13 -0
- package/dist/src/components/common/Select/Select.stories.d.ts +20 -0
- package/dist/src/components/common/Show/Show.d.ts +32 -0
- package/dist/src/components/common/Skeleton/Skeleton.d.ts +11 -0
- package/dist/src/components/common/Skeleton/Skeleton.stories.d.ts +11 -0
- package/dist/src/components/common/Skeleton/SkeletonList.d.ts +10 -0
- package/dist/src/components/common/Skeleton/SkeletonList.stories.d.ts +11 -0
- package/dist/src/components/common/Spinner/Spinner.d.ts +10 -0
- package/dist/src/components/common/Spinner/Spinner.stories.d.ts +11 -0
- package/dist/src/components/common/Switch/Switch.d.ts +15 -0
- package/dist/src/components/common/Switch/Switch.stories.d.ts +8 -0
- package/dist/src/components/common/Table/Table.d.ts +43 -0
- package/dist/src/components/common/Table/Table.stories.d.ts +65 -0
- package/dist/src/components/common/Table/TablePagination.d.ts +9 -0
- package/dist/src/components/common/Table/generatePagination.d.ts +1 -0
- package/dist/src/components/common/Table/table.test.d.ts +1 -0
- package/dist/src/components/common/Tabs/Tabs.d.ts +30 -0
- package/dist/src/components/common/TextArea/TextArea.d.ts +6 -0
- package/dist/src/components/common/TextArea/TextArea.stories.d.ts +17 -0
- package/dist/src/components/common/Tooltip/Tooltip.d.ts +15 -0
- package/dist/src/components/common/Tooltip/Tooltip.stories.d.ts +35 -0
- package/dist/src/components/common/index.d.ts +58 -0
- package/dist/src/components/index.d.ts +6 -0
- package/dist/src/constants/index.d.ts +5 -0
- package/dist/src/core/PlatformEvents.d.ts +13 -0
- package/dist/src/core/gateway/GatewayHttpHeaders.d.ts +10 -0
- package/dist/src/core/index.d.ts +1 -0
- package/dist/src/getGlobalState.d.ts +1 -0
- package/dist/src/hocs/authorized.d.ts +4 -0
- package/dist/src/hocs/extensionPoint.d.ts +17 -0
- package/dist/src/hocs/index.d.ts +2 -0
- package/dist/src/hooks/applications/ApplicationMenu.d.ts +18 -0
- package/dist/src/hooks/applications/PlatformApplication.d.ts +10 -0
- package/dist/src/hooks/applications/useApplicationIcon.d.ts +4 -0
- package/dist/src/hooks/applications/useApplicationJSModule.d.ts +18 -0
- package/dist/src/hooks/applications/useApplicationMenu.d.ts +11 -0
- package/dist/src/hooks/applications/useApplicationUIModule.d.ts +4 -0
- package/dist/src/hooks/applications/useApplications.d.ts +4 -0
- package/dist/src/hooks/applications/useCurrentApplication.d.ts +8 -0
- package/dist/src/hooks/applications/useCurrentApplication.test.d.ts +1 -0
- package/dist/src/hooks/applications/useCurrentApplicationName.d.ts +6 -0
- package/dist/src/hooks/applications/useCurrentJSModule.d.ts +9 -0
- package/dist/src/hooks/catalog/useCatalog.d.ts +14 -0
- package/dist/src/hooks/catalog/useMutableCatalog.d.ts +28 -0
- package/dist/src/hooks/catalog/userCatalog.test.d.ts +1 -0
- package/dist/src/hooks/commons/useObservable.d.ts +8 -0
- package/dist/src/hooks/commons/useResource.d.ts +21 -0
- package/dist/src/hooks/commons/useResourceActions.d.ts +56 -0
- package/dist/src/hooks/commons/useSubjectObservable.d.ts +11 -0
- package/dist/src/hooks/customizations/useDynamicFonts.d.ts +13 -0
- package/dist/src/hooks/customizations/useDynamicStyleSheet.d.ts +1 -0
- package/dist/src/hooks/customizations/useGetPlatformTheme.d.ts +3 -0
- package/dist/src/hooks/customizations/usePAECustomizationsLoadingState.d.ts +2 -0
- package/dist/src/hooks/customizations/usePlatformCustomization.d.ts +8 -0
- package/dist/src/hooks/customizations/utils.d.ts +2 -0
- package/dist/src/hooks/events/usePlatformEventListener.d.ts +2 -0
- package/dist/src/hooks/extensions/useExtendExtensionPoint.d.ts +11 -0
- package/dist/src/hooks/extensions/useExtensionPoint.d.ts +16 -0
- package/dist/src/hooks/habits/ApplicationEvent.d.ts +4 -0
- package/dist/src/hooks/habits/mapEvent.d.ts +17 -0
- package/dist/src/hooks/habits/trackEvents.d.ts +9 -0
- package/dist/src/hooks/habits/useTrackEvent.d.ts +5 -0
- package/dist/src/hooks/habits/useTrackEvents.d.ts +9 -0
- package/dist/src/hooks/habits/useTrackEvents.test.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +42 -0
- package/dist/src/hooks/module/useModule.d.ts +6 -0
- package/dist/src/hooks/module/useModuleCommonPaths.d.ts +9 -0
- package/dist/src/hooks/module/useModuleConfig.d.ts +5 -0
- package/dist/src/hooks/module/useModuleConfigByName.d.ts +5 -0
- package/dist/src/hooks/module/useModuleMetadata.d.ts +8 -0
- package/dist/src/hooks/routing/useLocation.d.ts +7 -0
- package/dist/src/hooks/tenants/constants.d.ts +21 -0
- package/dist/src/hooks/tenants/getClientTenantStrategy.d.ts +4 -0
- package/dist/src/hooks/tenants/strategies/cookie.d.ts +7 -0
- package/dist/src/hooks/tenants/strategies/queryParams.d.ts +7 -0
- package/dist/src/hooks/tenants/strategies/sessionStorage.d.ts +7 -0
- package/dist/src/hooks/tenants/strategies/subdomain.d.ts +9 -0
- package/dist/src/hooks/tenants/strategies/tenantStrategy.interface.d.ts +6 -0
- package/dist/src/hooks/tenants/useTenants.d.ts +8 -0
- package/dist/src/hooks/useAppStatus.d.ts +6 -0
- package/dist/src/hooks/useAppsState.d.ts +18 -0
- package/dist/src/hooks/useAuth.d.ts +14 -0
- package/dist/src/hooks/useAuth.test.d.ts +1 -0
- package/dist/src/hooks/useHasNoSession.d.ts +2 -0
- package/dist/src/hooks/useNotifications.d.ts +4 -0
- package/dist/src/hooks/useOperations.d.ts +1 -0
- package/dist/src/hooks/usePAEState.d.ts +7 -0
- package/dist/src/hooks/useServiceBaseURL.d.ts +6 -0
- package/dist/src/hooks/useServiceInvoker.d.ts +20 -0
- package/dist/src/hooks/useServiceInvoker.test.d.ts +1 -0
- package/dist/src/hooks/useUIApplications.d.ts +5 -0
- package/dist/src/hooks/userState/UserState.d.ts +7 -0
- package/dist/src/hooks/userState/UserStateApiClient.d.ts +9 -0
- package/dist/src/hooks/userState/useUserState.d.ts +24 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/model/ModuleMetadata.d.ts +6 -0
- package/dist/src/test-utils/setupTestEnvironment.d.ts +15 -0
- package/dist/src/types.d.ts +37 -0
- package/dist/src/utils/Request.d.ts +7 -0
- package/dist/src/utils/URL.d.ts +6 -0
- package/dist/src/utils/alphaColor.d.ts +1 -0
- package/dist/src/utils/createRootComponent.d.ts +9 -0
- package/dist/src/utils/fonts.d.ts +5 -0
- package/dist/src/utils/getApplicationUIModule.d.ts +10 -0
- package/dist/src/utils/getApplications.d.ts +4 -0
- package/dist/src/utils/getOperations.d.ts +5 -0
- package/dist/src/utils/hasAccess.d.ts +8 -0
- package/dist/src/utils/immutable.d.ts +18 -0
- package/dist/src/utils/index.d.ts +18 -0
- package/dist/src/utils/initializeMicroFrontend.d.ts +17 -0
- package/dist/src/utils/isValidEmail.d.ts +1 -0
- package/dist/src/utils/isValidEmail.test.d.ts +1 -0
- package/dist/src/utils/logout.d.ts +1 -0
- package/dist/src/utils/logout.test.d.ts +1 -0
- package/dist/src/utils/navigateTo.d.ts +1 -0
- package/dist/src/utils/promises.d.ts +4 -0
- package/dist/tests/renderHookWithProviders.d.ts +3 -0
- package/dist/tests/testUtils.d.ts +7 -0
- package/package.json +61 -0
- package/src/global.css +32 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { logout } from './logout';
|
|
2
|
+
export { hasAccess } from './hasAccess';
|
|
3
|
+
export { getApplications } from './getApplications';
|
|
4
|
+
export { getOperations } from './getOperations';
|
|
5
|
+
export { navigateTo } from './navigateTo';
|
|
6
|
+
export { isValidEmail } from './isValidEmail';
|
|
7
|
+
/**
|
|
8
|
+
* Returns the initials from a given display name.
|
|
9
|
+
*
|
|
10
|
+
* Splits the display name by spaces and extracts the first character of each word,
|
|
11
|
+
* then joins them and slices the result to the specified maximum length.
|
|
12
|
+
* If the display name consists of a single word, it slices the word to the maximum length.
|
|
13
|
+
*
|
|
14
|
+
* @param displayName - The display name to extract initials from.
|
|
15
|
+
* @param maxLength - The maximum number of initials to return. Defaults to 2.
|
|
16
|
+
* @returns The initials as a string, or an empty string if no display name is provided.
|
|
17
|
+
*/
|
|
18
|
+
export declare const getInitials: (displayName?: string, maxLength?: number) => string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactAppOrParcel, SingleSpaReactOpts } from 'single-spa-react';
|
|
3
|
+
import { RootComponentProps } from '../MicrofrontendProps';
|
|
4
|
+
|
|
5
|
+
export interface MicroFrontendOptions<T extends RootComponentProps> extends SingleSpaReactOpts<T> {
|
|
6
|
+
rootComponent: FC<T>;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Main function to create a PAE micro-frontend module.
|
|
10
|
+
* Internally we use single-spa so currently our API is pretty similar.
|
|
11
|
+
* But it is enriched with PAE concepts such as ModuleMetadata, the catalog, etc.
|
|
12
|
+
*
|
|
13
|
+
* All PAE micro-frontends are wrapped in PAE components that provides react context later used
|
|
14
|
+
* by the provided hooks.
|
|
15
|
+
*/
|
|
16
|
+
declare const initializeMicroFrontend: <T extends RootComponentProps>({ rootComponent, ...opts }: MicroFrontendOptions<T>) => ReactAppOrParcel<T>;
|
|
17
|
+
export default initializeMicroFrontend;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isValidEmail: (email: string) => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function logout(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const navigateTo: (path: string) => void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type AuthUser = Window['__PAE_GLOBAL_STATE__']['authUser'];
|
|
2
|
+
type Catalog = Window['__PAE_GLOBAL_STATE__']['catalog'];
|
|
3
|
+
export declare function initGlobalState(): void;
|
|
4
|
+
export declare function mockAuthUser(authUser: Partial<AuthUser>): () => void;
|
|
5
|
+
export declare function mockAuthOperations(operations: string[]): () => void;
|
|
6
|
+
export declare function mockCatalog(catalog: Catalog): () => void;
|
|
7
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bluealba/pae-ui-react-core",
|
|
3
|
+
"version": "3.0.2-develop-1171",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.cjs.js",
|
|
6
|
+
"module": "./dist/index.esm.js",
|
|
7
|
+
"types": "./dist/src/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"src/global.css"
|
|
11
|
+
],
|
|
12
|
+
"description": "React utilities for PAE",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "node build/build.mjs",
|
|
15
|
+
"build:watch": "node build/watch.mjs",
|
|
16
|
+
"publish-local": "node build/publish.mjs",
|
|
17
|
+
"publish-local:watch": "node build/publish-watch.mjs",
|
|
18
|
+
"publish-local:patch": "npm version patch && npm run publish",
|
|
19
|
+
"publish-local:minor": "npm version minor && npm run publish",
|
|
20
|
+
"publish-local:major": "npm version major && npm run publish",
|
|
21
|
+
"test": "jest",
|
|
22
|
+
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [],
|
|
25
|
+
"author": "Blue Alba",
|
|
26
|
+
"license": "PolyForm-Noncommercial-1.0.0",
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"@tanstack/react-query": "5.79.2",
|
|
29
|
+
"react": "^18.3.1",
|
|
30
|
+
"react-dom": "18.3.1"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@bluealba/pae-core": "*",
|
|
34
|
+
"@testing-library/react": "^16.0.1",
|
|
35
|
+
"@types/js-cookie": "^3.0.6",
|
|
36
|
+
"@vitejs/plugin-react": "4.3.1",
|
|
37
|
+
"chalk": "5.3.0",
|
|
38
|
+
"jest-fetch-mock": "^3.0.3",
|
|
39
|
+
"resolvable-promise": "^3.0.0",
|
|
40
|
+
"vite": "5.3.6",
|
|
41
|
+
"vite-plugin-dts": "4.0.0-beta.2",
|
|
42
|
+
"vite-plugin-lib-inject-css": "^2.1.1"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@radix-ui/react-slot": "^1.1.0",
|
|
46
|
+
"clsx": "^2.1.1",
|
|
47
|
+
"color-parse": "^2.0.2",
|
|
48
|
+
"js-cookie": "^3.0.5",
|
|
49
|
+
"jsonwebtoken": "^9.0.2",
|
|
50
|
+
"pluralize": "^8.0.0",
|
|
51
|
+
"ramda": "^0.30.1",
|
|
52
|
+
"react-hot-toast": "2.4.1",
|
|
53
|
+
"rxjs": "^7.8.1",
|
|
54
|
+
"single-spa": "^6.0.1",
|
|
55
|
+
"single-spa-react": "6.0.1"
|
|
56
|
+
},
|
|
57
|
+
"publishConfig": {
|
|
58
|
+
"@bluealba:registry": "https://registry.npmjs.org/",
|
|
59
|
+
"access": "public"
|
|
60
|
+
}
|
|
61
|
+
}
|
package/src/global.css
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* Input */
|
|
3
|
+
--platform-label-color: var(--platform-text-secondary-color);
|
|
4
|
+
--platform-input-border-color: var(--platform-lines);
|
|
5
|
+
--platform-input-background-color: var(--platform-background-secondary-color);
|
|
6
|
+
--platform-input-color: var(--platform-text-primary-color);
|
|
7
|
+
--platform-input-focus-border-color: var(--platform-color-primary);
|
|
8
|
+
|
|
9
|
+
/* Button */
|
|
10
|
+
--platform-button-base-padding: 4px 16px;
|
|
11
|
+
--platform-button-base-border-radius: 6px;
|
|
12
|
+
--platform-button-base-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
13
|
+
--platform-button-base-font-size: 1em;
|
|
14
|
+
--platform-button-base-line-height: 16px;
|
|
15
|
+
--platform-button-base-height: calc(2 * var(--platform-button-base-font-size));
|
|
16
|
+
/* Contained Primary variant */
|
|
17
|
+
--platform-button-contained-primary-background-color: var(--platform-color-primary);
|
|
18
|
+
--platform-button-contained-primary-color: #ffffff;
|
|
19
|
+
/* Outlined Primary variant */
|
|
20
|
+
--platform-button-outlined-primary-color: var(--platform-color-primary);
|
|
21
|
+
/* Text Primary variant */
|
|
22
|
+
--platform-button-text-primary-color: var(--platform-text-primary-color);
|
|
23
|
+
|
|
24
|
+
/* Contained danger variant */
|
|
25
|
+
--platform-button-contained-danger-background-color: var(--platform-color-danger);
|
|
26
|
+
--platform-button-contained-danger-color: #ffffff;
|
|
27
|
+
/* Outlined danger variant */
|
|
28
|
+
--platform-button-outlined-danger-color: var(--platform-color-danger);
|
|
29
|
+
/* Text danger variant */
|
|
30
|
+
--platform-button-text-danger-color: var(--platform-color-danger);
|
|
31
|
+
|
|
32
|
+
}
|