digital-rabbit-cl 1.3.5 → 1.3.7
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/dist/components/Hamburger/useHamburgerStyles.d.ts +0 -1
- package/dist/components/Hamburger/useHamburgerStyles.d.ts.map +1 -1
- package/dist/components/Header/Header.d.ts +4 -0
- package/dist/components/Header/Header.d.ts.map +1 -1
- package/dist/components/PageLayout/PageLayout.d.ts +4 -0
- package/dist/components/PageLayout/PageLayout.d.ts.map +1 -1
- package/dist/digital-rabbit-cl.es.js +224 -222
- package/dist/digital-rabbit-cl.umd.js +4 -4
- package/package.json +1 -1
|
@@ -9,7 +9,6 @@ export interface HamburgerStyles {
|
|
|
9
9
|
'--hamburger-border-radius': string;
|
|
10
10
|
color: string;
|
|
11
11
|
display: string;
|
|
12
|
-
right?: string;
|
|
13
12
|
}
|
|
14
13
|
export declare const useHamburgerStyles: ({ compact, color, visible, border, }: UseHamburgerStylesParams) => HamburgerStyles;
|
|
15
14
|
//# sourceMappingURL=useHamburgerStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHamburgerStyles.d.ts","sourceRoot":"","sources":["../../../src/components/Hamburger/useHamburgerStyles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE,MAAM,WAAW,wBAAwB;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,2BAA2B,EAAE,MAAM,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"useHamburgerStyles.d.ts","sourceRoot":"","sources":["../../../src/components/Hamburger/useHamburgerStyles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE,MAAM,WAAW,wBAAwB;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,2BAA2B,EAAE,MAAM,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB,GAAI,sCAKhC,wBAAwB,KAAG,eAQ7B,CAAC"}
|
|
@@ -5,6 +5,10 @@ export interface HeaderProps extends Pick<BaseComponentProps, 'className' | 'sty
|
|
|
5
5
|
* Breakpoint for small screens
|
|
6
6
|
*/
|
|
7
7
|
breakpoint?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Fix the header to the top of the viewport
|
|
10
|
+
*/
|
|
11
|
+
fixed?: boolean;
|
|
8
12
|
/**
|
|
9
13
|
* HTML header element attributes (omits all top-level props to prevent conflicts)
|
|
10
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC,EAClE,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,iBAAiB,CAAC,EAC7C,IAAI,CACF,WAAW,EACX,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAC1F;IACH;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAChB,oBAAoB,CAAC,WAAW,CAAC,EAC/B,WAAW,GACX,OAAO,GACP,UAAU,GACV,OAAO,GACP,iBAAiB,GACjB,QAAQ,GACR,KAAK,GACL,UAAU,GACV,UAAU,GACV,OAAO,GACP,QAAQ,GACR,SAAS,CACZ,CAAC;CACH;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EACV,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,OAAO,GAAG,UAAU,CAAC,EAClE,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,iBAAiB,CAAC,EAC7C,IAAI,CACF,WAAW,EACX,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAC1F;IACH;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAChB,oBAAoB,CAAC,WAAW,CAAC,EAC/B,WAAW,GACX,OAAO,GACP,UAAU,GACV,OAAO,GACP,iBAAiB,GACjB,QAAQ,GACR,KAAK,GACL,UAAU,GACV,UAAU,GACV,OAAO,GACP,QAAQ,GACR,SAAS,CACZ,CAAC;CACH;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoEjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { HeaderProps } from '../Header';
|
|
3
|
+
import { FooterProps } from '../Footer';
|
|
2
4
|
import { BaseComponentProps, ElementSpecificProps } from '../../types/component-props.d.ts';
|
|
3
5
|
export interface PageLayoutProps extends BaseComponentProps {
|
|
4
6
|
header?: React.ReactNode;
|
|
5
7
|
footer?: React.ReactNode;
|
|
8
|
+
headerProps?: Omit<HeaderProps, 'children'>;
|
|
9
|
+
footerProps?: Omit<FooterProps, 'children'>;
|
|
6
10
|
divProps?: Omit<ElementSpecificProps<HTMLDivElement>, 'className' | 'style'>;
|
|
7
11
|
mainProps?: Omit<React.HTMLAttributes<HTMLElement>, 'className'>;
|
|
8
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../../src/components/PageLayout/PageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../../src/components/PageLayout/PageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAe,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAe,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAEjG,MAAM,WAAW,eAAgB,SAAQ,kBAAkB;IACzD,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC;IAC7E,SAAS,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,CAAC,CAAC;CAClE;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6BzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|