@reapit/elements 3.8.2 → 3.8.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/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/persistant-notification/__styles__/index.d.ts +0 -5
- 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/__tests__/use-theme.test.d.ts +1 -0
- package/dist/cjs/hooks/use-theme/index.d.ts +9 -0
- package/dist/cjs/index.d.ts +2 -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/persistant-notification/__styles__/index.d.ts +0 -5
- 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/__tests__/use-theme.test.d.ts +1 -0
- package/dist/esm/hooks/use-theme/index.d.ts +9 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +1 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/index.css +97 -96
- 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
|
};
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const elPnIsFullWidth: import("@linaria/core").LinariaClassName;
|
|
3
|
-
export declare const elPnIsFixed: import("@linaria/core").LinariaClassName;
|
|
4
|
-
export declare const elPnIsInline: import("@linaria/core").LinariaClassName;
|
|
5
|
-
export declare const elPnIcon: import("@linaria/core").LinariaClassName;
|
|
6
|
-
export declare const elPnContent: import("@linaria/core").LinariaClassName;
|
|
7
2
|
export declare const ElPersistantNotification: import("@linaria/core").StyledMeta & import("react").FunctionComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
8
3
|
as?: import("react").ElementType<any> | undefined;
|
|
9
4
|
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const elPnIsFullWidth: import("@linaria/core").LinariaClassName;
|
|
3
|
+
export declare const elPnIsFixed: import("@linaria/core").LinariaClassName;
|
|
4
|
+
export declare const elPnIsInline: import("@linaria/core").LinariaClassName;
|
|
5
|
+
export declare const elPnIcon: import("@linaria/core").LinariaClassName;
|
|
6
|
+
export declare const elPnContent: 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>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface UseThemeInterface {
|
|
2
|
+
toggleTheme: (theme: string) => void;
|
|
3
|
+
currentTheme: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const THEME_BODY_CLASS = "reapit-theme";
|
|
6
|
+
export declare const THEME_LOCAL_STOREAGE_KEY: string;
|
|
7
|
+
export declare const useTheme: ({ initialSelection }: {
|
|
8
|
+
initialSelection?: string | undefined;
|
|
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';
|
|
@@ -44,4 +45,5 @@ export * from './hooks/use-modal';
|
|
|
44
45
|
export * from './hooks/use-media-query';
|
|
45
46
|
export * from './hooks/use-nav-state';
|
|
46
47
|
export * from './hooks/use-snack';
|
|
48
|
+
export * from './hooks/use-theme';
|
|
47
49
|
export * from './helpers/intent';
|