@reapit/elements 3.8.3 → 3.8.4
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/assets/system-icons/bulletListSystem.svg +3 -0
- package/assets/system-icons/dollarSystem.svg +3 -0
- package/assets/system-icons/euroSystem.svg +3 -0
- package/assets/system-icons/poundSystem.svg +3 -0
- package/dist/cjs/components/icon/icons/index.d.ts +4 -0
- package/dist/cjs/components/icon/icons/system-icons/bulletListSystem.d.ts +3 -0
- package/dist/cjs/components/icon/icons/system-icons/dollarSystem.d.ts +3 -0
- package/dist/cjs/components/icon/icons/system-icons/euroSystem.d.ts +3 -0
- package/dist/cjs/components/icon/icons/system-icons/poundSystem.d.ts +3 -0
- package/dist/cjs/components/persistent-notification/__styles__/index.d.ts +9 -0
- package/dist/cjs/components/persistent-notification/__tests__/persistent-notification.test.d.ts +1 -0
- package/dist/cjs/components/persistent-notification/index.d.ts +2 -0
- package/dist/cjs/components/persistent-notification/persistent-notification.d.ts +14 -0
- package/dist/cjs/hooks/use-theme/index.d.ts +1 -1
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +1 -16
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/icon/icons/index.d.ts +4 -0
- package/dist/esm/components/icon/icons/system-icons/bulletListSystem.d.ts +3 -0
- package/dist/esm/components/icon/icons/system-icons/dollarSystem.d.ts +3 -0
- package/dist/esm/components/icon/icons/system-icons/euroSystem.d.ts +3 -0
- package/dist/esm/components/icon/icons/system-icons/poundSystem.d.ts +3 -0
- package/dist/esm/components/persistent-notification/__styles__/index.d.ts +9 -0
- package/dist/esm/components/persistent-notification/__tests__/persistent-notification.test.d.ts +1 -0
- package/dist/esm/components/persistent-notification/index.d.ts +2 -0
- package/dist/esm/components/persistent-notification/persistent-notification.d.ts +14 -0
- package/dist/esm/hooks/use-theme/index.d.ts +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/index.css +78 -72
- package/package.json +33 -36
|
@@ -139,4 +139,8 @@ export declare const iconSet: {
|
|
|
139
139
|
appMarketInfographic: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
140
140
|
editAppInfographic: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
141
141
|
lockedInfographic: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
142
|
+
poundSystem: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
143
|
+
bulletListSystem: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
144
|
+
dollarSystem: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
145
|
+
euroSystem: import("react").MemoExoticComponent<() => JSX.Element>;
|
|
142
146
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const elPersistentNotificationIsFullWidth: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const elPersistentNotificationIsFixed: import("@linaria/core").LinariaClassName;
|
|
4
|
+
export declare const elPersistentNotificationIsInline: import("@linaria/core").LinariaClassName;
|
|
5
|
+
export declare const elPersistentNotificationIcon: import("@linaria/core").LinariaClassName;
|
|
6
|
+
export declare const elPersistentNotificationContent: import("@linaria/core").LinariaClassName;
|
|
7
|
+
export declare const ElPersistentNotification: import("@linaria/core").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}>;
|
package/dist/esm/components/persistent-notification/__tests__/persistent-notification.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC, HTMLAttributes } from 'react';
|
|
2
|
+
import { IconNames } from '../icon';
|
|
3
|
+
import { Intent } from '../../helpers/intent';
|
|
4
|
+
export interface PersistentNotificationProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
icon?: IconNames;
|
|
6
|
+
intent?: Intent;
|
|
7
|
+
className?: string;
|
|
8
|
+
isExpanded?: boolean;
|
|
9
|
+
isFullWidth?: boolean;
|
|
10
|
+
isFixed?: boolean;
|
|
11
|
+
isInline?: boolean;
|
|
12
|
+
onExpansionToggle?: (newState: boolean) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const PersistentNotification: FC<PersistentNotificationProps>;
|
|
@@ -4,6 +4,6 @@ export interface UseThemeInterface {
|
|
|
4
4
|
}
|
|
5
5
|
export declare const THEME_BODY_CLASS = "reapit-theme";
|
|
6
6
|
export declare const THEME_LOCAL_STOREAGE_KEY: string;
|
|
7
|
-
export declare const useTheme: ({ initialSelection
|
|
7
|
+
export declare const useTheme: ({ initialSelection }: {
|
|
8
8
|
initialSelection?: string | undefined;
|
|
9
9
|
}) => UseThemeInterface;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './components/multi-select';
|
|
|
22
22
|
export * from './components/nav';
|
|
23
23
|
export * from './components/pagination';
|
|
24
24
|
export * from './components/persistant-notification';
|
|
25
|
+
export * from './components/persistent-notification';
|
|
25
26
|
export * from './components/progress-bar';
|
|
26
27
|
export * from './components/secondary-nav';
|
|
27
28
|
export * from './components/select';
|