digital-rabbit-cl 2.3.0 → 2.3.1
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.
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BorderProps, BaseComponentProps } from '../../types/component-props';
|
|
3
|
-
export interface HamburgerProps extends Pick<BaseComponentProps, 'className' | 'style'> {
|
|
4
|
-
color?: string;
|
|
2
|
+
import { BorderProps, ColorProps, BaseComponentProps } from '../../types/component-props';
|
|
3
|
+
export interface HamburgerProps extends Pick<BaseComponentProps, 'className' | 'style'>, Pick<ColorProps, 'color'> {
|
|
5
4
|
visible: boolean;
|
|
6
5
|
compact?: boolean;
|
|
7
6
|
hamburgerRef?: React.RefObject<HTMLButtonElement | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hamburger.d.ts","sourceRoot":"","sources":["../../../src/components/Hamburger/Hamburger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EACV,WAAW,
|
|
1
|
+
{"version":3,"file":"Hamburger.d.ts","sourceRoot":"","sources":["../../../src/components/Hamburger/Hamburger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EAEV,kBAAkB,EACnB,MAAM,6BAA6B,CAAC;AAErC,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,WAAW,GAAG,OAAO,CAAC,EACrD,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;IAE3B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,OAAO,CAAC;IAGf,MAAM,CAAC,EAAE,WAAW,CAAC;IAGrB,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CAClC;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA6CvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { PopoverVariant, PopoverSide } from '../Popover/Popover';
|
|
3
|
-
|
|
3
|
+
import { ColorProps, HoverProps } from '../../types/component-props';
|
|
4
|
+
export interface NavDropdownProps extends Pick<ColorProps, 'color'>, Pick<HoverProps, 'hoverOpacity'> {
|
|
4
5
|
/** Trigger label content */
|
|
5
6
|
label: React.ReactNode;
|
|
6
7
|
/** Dropdown/panel content */
|
|
@@ -11,10 +12,6 @@ export interface NavDropdownProps {
|
|
|
11
12
|
side?: PopoverSide;
|
|
12
13
|
/** Panel width (panel variant only). Default: '75%' */
|
|
13
14
|
panelWidth?: string;
|
|
14
|
-
/** Text color for the trigger button. Defaults to theme font color. */
|
|
15
|
-
color?: string;
|
|
16
|
-
/** Opacity applied on hover and when the dropdown is open. Defaults to 0.5. */
|
|
17
|
-
hoverOpacity?: number;
|
|
18
15
|
/** Additional className for the trigger button */
|
|
19
16
|
className?: string;
|
|
20
17
|
/** Additional styles for the trigger button */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/NavDropdown/NavDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"NavDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/NavDropdown/NavDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGtE,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,EAC/B,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC;IAClC,4BAA4B;IAC5B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,6BAA6B;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,yCAAyC;IACzC,eAAe,CAAC,EAAE,cAAc,CAAC;IACjC,0EAA0E;IAC1E,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kDAAkD;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B;;;OAGG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC,GACpF,MAAM,CAAC,QAAQ,MAAM,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAgE3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|