@patternfly/react-core 4.168.6 → 4.168.10

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/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 4.168.10 (2021-10-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **Banner:** forward props ([#6511](https://github.com/patternfly/patternfly-react/issues/6511)) ([e36c890](https://github.com/patternfly/patternfly-react/commit/e36c89077afa82340994c0e3c0fc929e601e01bc))
12
+
13
+
14
+
15
+
16
+
17
+ ## 4.168.9 (2021-10-28)
18
+
19
+ **Note:** Version bump only for package @patternfly/react-core
20
+
21
+
22
+
23
+
24
+
25
+ ## 4.168.8 (2021-10-27)
26
+
27
+ **Note:** Version bump only for package @patternfly/react-core
28
+
29
+
30
+
31
+
32
+
33
+ ## 4.168.7 (2021-10-27)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * change transformer cjs package to private ([#6515](https://github.com/patternfly/patternfly-react/issues/6515)) ([efcb357](https://github.com/patternfly/patternfly-react/commit/efcb3573b71541328ce2b16caa80ce33b2a62131))
39
+
40
+
41
+
42
+
43
+
6
44
  ## 4.168.6 (2021-10-26)
7
45
 
8
46
  **Note:** Version bump only for package @patternfly/react-core
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export interface BannerProps extends React.HTMLProps<HTMLButtonElement> {
2
+ export interface BannerProps extends React.HTMLProps<HTMLDivElement> {
3
3
  /** Content rendered inside the banner */
4
4
  children?: React.ReactNode;
5
5
  /** Additional classes added to the banner */
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC;IACrE,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAChE,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAgBvD,CAAC"}
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAClE,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAChE,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAkBvD,CAAC"}
@@ -1,6 +1,10 @@
1
+ import { __rest } from "tslib";
1
2
  import * as React from 'react';
2
3
  import styles from '@patternfly/react-styles/css/components/Banner/banner';
3
4
  import { css } from '@patternfly/react-styles';
4
- export const Banner = ({ children, className, variant = 'default', isSticky = false }) => (React.createElement("div", { className: css(styles.banner, styles.modifiers[variant], isSticky && styles.modifiers.sticky, className) }, children));
5
+ export const Banner = (_a) => {
6
+ var { children, className, variant = 'default', isSticky = false } = _a, props = __rest(_a, ["children", "className", "variant", "isSticky"]);
7
+ return (React.createElement("div", Object.assign({ className: css(styles.banner, styles.modifiers[variant], isSticky && styles.modifiers.sticky, className) }, props), children));
8
+ };
5
9
  Banner.displayName = 'Banner';
6
10
  //# sourceMappingURL=Banner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.js","sourceRoot":"","sources":["../../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,uDAAuD,CAAC;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAa/C,MAAM,CAAC,MAAM,MAAM,GAAyC,CAAC,EAC3D,QAAQ,EACR,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,KAAK,EACJ,EAAE,EAAE,CAAC,CACjB,6BACE,SAAS,EAAE,GAAG,CACZ,MAAM,CAAC,MAAM,EACb,MAAM,CAAC,SAAS,CAAC,OAAoD,CAAC,EACtE,QAAQ,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,EACnC,SAAS,CACV,IAEA,QAAQ,CACL,CACP,CAAC;AACF,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"Banner.js","sourceRoot":"","sources":["../../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,uDAAuD,CAAC;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAa/C,MAAM,CAAC,MAAM,MAAM,GAAyC,CAAC,EAM/C,EAAE,EAAE;QAN2C,EAC3D,QAAQ,EACR,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,KAAK,OAEJ,EADT,KAAK,cALmD,gDAM5D,CADS;IACS,OAAA,CACjB,2CACE,SAAS,EAAE,GAAG,CACZ,MAAM,CAAC,MAAM,EACb,MAAM,CAAC,SAAS,CAAC,OAAoD,CAAC,EACtE,QAAQ,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,EACnC,SAAS,CACV,IACG,KAAK,GAER,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AACF,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/DropdownGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAoBrE,CAAC"}
1
+ {"version":3,"file":"DropdownGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/DropdownGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAqBrE,CAAC"}
@@ -1,11 +1,15 @@
1
+ import { __rest } from "tslib";
1
2
  import * as React from 'react';
2
3
  import { css } from '@patternfly/react-styles';
3
4
  import { DropdownContext } from './dropdownConstants';
4
- export const DropdownGroup = ({ children = null, className = '', label = '' }) => (React.createElement(DropdownContext.Consumer, null, ({ sectionClass, sectionTitleClass, sectionComponent }) => {
5
- const SectionComponent = sectionComponent;
6
- return (React.createElement(SectionComponent, { className: css(sectionClass, className) },
7
- label && (React.createElement("h1", { className: css(sectionTitleClass), "aria-hidden": true }, label)),
8
- React.createElement("ul", { role: "none" }, children)));
9
- }));
5
+ export const DropdownGroup = (_a) => {
6
+ var { children = null, className = '', label = '' } = _a, props = __rest(_a, ["children", "className", "label"]);
7
+ return (React.createElement(DropdownContext.Consumer, null, ({ sectionClass, sectionTitleClass, sectionComponent }) => {
8
+ const SectionComponent = sectionComponent;
9
+ return (React.createElement(SectionComponent, Object.assign({ className: css(sectionClass, className) }, props),
10
+ label && (React.createElement("h1", { className: css(sectionTitleClass), "aria-hidden": true }, label)),
11
+ React.createElement("ul", { role: "none" }, children)));
12
+ }));
13
+ };
10
14
  DropdownGroup.displayName = 'DropdownGroup';
11
15
  //# sourceMappingURL=DropdownGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownGroup.js","sourceRoot":"","sources":["../../../../src/components/Dropdown/DropdownGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAWtD,MAAM,CAAC,MAAM,aAAa,GAAgD,CAAC,EACzE,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,EAAE,EACS,EAAE,EAAE,CAAC,CACxB,oBAAC,eAAe,CAAC,QAAQ,QACtB,CAAC,EAAE,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,EAAE;IACzD,MAAM,gBAAgB,GAAG,gBAAuB,CAAC;IACjD,OAAO,CACL,oBAAC,gBAAgB,IAAC,SAAS,EAAE,GAAG,CAAC,YAAY,EAAE,SAAS,CAAC;QACtD,KAAK,IAAI,CACR,4BAAI,SAAS,EAAE,GAAG,CAAC,iBAAiB,CAAC,yBAClC,KAAK,CACH,CACN;QACD,4BAAI,IAAI,EAAC,MAAM,IAAE,QAAQ,CAAM,CACd,CACpB,CAAC;AACJ,CAAC,CACwB,CAC5B,CAAC;AACF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"DropdownGroup.js","sourceRoot":"","sources":["../../../../src/components/Dropdown/DropdownGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAWtD,MAAM,CAAC,MAAM,aAAa,GAAgD,CAAC,EAKtD,EAAE,EAAE;QALkD,EACzE,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,EAAE,OAES,EADhB,KAAK,cAJiE,kCAK1E,CADS;IACgB,OAAA,CACxB,oBAAC,eAAe,CAAC,QAAQ,QACtB,CAAC,EAAE,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,EAAE;QACzD,MAAM,gBAAgB,GAAG,gBAAuB,CAAC;QACjD,OAAO,CACL,oBAAC,gBAAgB,kBAAC,SAAS,EAAE,GAAG,CAAC,YAAY,EAAE,SAAS,CAAC,IAAM,KAAK;YACjE,KAAK,IAAI,CACR,4BAAI,SAAS,EAAE,GAAG,CAAC,iBAAiB,CAAC,yBAClC,KAAK,CACH,CACN;YACD,4BAAI,IAAI,EAAC,MAAM,IAAE,QAAQ,CAAM,CACd,CACpB,CAAC;IACJ,CAAC,CACwB,CAC5B,CAAA;CAAA,CAAC;AACF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export interface BannerProps extends React.HTMLProps<HTMLButtonElement> {
2
+ export interface BannerProps extends React.HTMLProps<HTMLDivElement> {
3
3
  /** Content rendered inside the banner */
4
4
  children?: React.ReactNode;
5
5
  /** Additional classes added to the banner */
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC;IACrE,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAChE,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAgBvD,CAAC"}
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IAClE,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAChE,oEAAoE;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAkBvD,CAAC"}
@@ -5,7 +5,10 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const banner_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Banner/banner"));
7
7
  const react_styles_1 = require("@patternfly/react-styles");
8
- const Banner = ({ children, className, variant = 'default', isSticky = false }) => (React.createElement("div", { className: react_styles_1.css(banner_1.default.banner, banner_1.default.modifiers[variant], isSticky && banner_1.default.modifiers.sticky, className) }, children));
8
+ const Banner = (_a) => {
9
+ var { children, className, variant = 'default', isSticky = false } = _a, props = tslib_1.__rest(_a, ["children", "className", "variant", "isSticky"]);
10
+ return (React.createElement("div", Object.assign({ className: react_styles_1.css(banner_1.default.banner, banner_1.default.modifiers[variant], isSticky && banner_1.default.modifiers.sticky, className) }, props), children));
11
+ };
9
12
  exports.Banner = Banner;
10
13
  exports.Banner.displayName = 'Banner';
11
14
  //# sourceMappingURL=Banner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.js","sourceRoot":"","sources":["../../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2GAA2E;AAC3E,2DAA+C;AAaxC,MAAM,MAAM,GAAyC,CAAC,EAC3D,QAAQ,EACR,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,KAAK,EACJ,EAAE,EAAE,CAAC,CACjB,6BACE,SAAS,EAAE,kBAAG,CACZ,gBAAM,CAAC,MAAM,EACb,gBAAM,CAAC,SAAS,CAAC,OAAoD,CAAC,EACtE,QAAQ,IAAI,gBAAM,CAAC,SAAS,CAAC,MAAM,EACnC,SAAS,CACV,IAEA,QAAQ,CACL,CACP,CAAC;AAhBW,QAAA,MAAM,UAgBjB;AACF,cAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
1
+ {"version":3,"file":"Banner.js","sourceRoot":"","sources":["../../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2GAA2E;AAC3E,2DAA+C;AAaxC,MAAM,MAAM,GAAyC,CAAC,EAM/C,EAAE,EAAE;QAN2C,EAC3D,QAAQ,EACR,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,KAAK,OAEJ,EADT,KAAK,sBALmD,gDAM5D,CADS;IACS,OAAA,CACjB,2CACE,SAAS,EAAE,kBAAG,CACZ,gBAAM,CAAC,MAAM,EACb,gBAAM,CAAC,SAAS,CAAC,OAAoD,CAAC,EACtE,QAAQ,IAAI,gBAAM,CAAC,SAAS,CAAC,MAAM,EACnC,SAAS,CACV,IACG,KAAK,GAER,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AAlBW,QAAA,MAAM,UAkBjB;AACF,cAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/DropdownGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAoBrE,CAAC"}
1
+ {"version":3,"file":"DropdownGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/DropdownGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAqBrE,CAAC"}
@@ -5,12 +5,15 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const react_styles_1 = require("@patternfly/react-styles");
7
7
  const dropdownConstants_1 = require("./dropdownConstants");
8
- const DropdownGroup = ({ children = null, className = '', label = '' }) => (React.createElement(dropdownConstants_1.DropdownContext.Consumer, null, ({ sectionClass, sectionTitleClass, sectionComponent }) => {
9
- const SectionComponent = sectionComponent;
10
- return (React.createElement(SectionComponent, { className: react_styles_1.css(sectionClass, className) },
11
- label && (React.createElement("h1", { className: react_styles_1.css(sectionTitleClass), "aria-hidden": true }, label)),
12
- React.createElement("ul", { role: "none" }, children)));
13
- }));
8
+ const DropdownGroup = (_a) => {
9
+ var { children = null, className = '', label = '' } = _a, props = tslib_1.__rest(_a, ["children", "className", "label"]);
10
+ return (React.createElement(dropdownConstants_1.DropdownContext.Consumer, null, ({ sectionClass, sectionTitleClass, sectionComponent }) => {
11
+ const SectionComponent = sectionComponent;
12
+ return (React.createElement(SectionComponent, Object.assign({ className: react_styles_1.css(sectionClass, className) }, props),
13
+ label && (React.createElement("h1", { className: react_styles_1.css(sectionTitleClass), "aria-hidden": true }, label)),
14
+ React.createElement("ul", { role: "none" }, children)));
15
+ }));
16
+ };
14
17
  exports.DropdownGroup = DropdownGroup;
15
18
  exports.DropdownGroup.displayName = 'DropdownGroup';
16
19
  //# sourceMappingURL=DropdownGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownGroup.js","sourceRoot":"","sources":["../../../../src/components/Dropdown/DropdownGroup.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,2DAAsD;AAW/C,MAAM,aAAa,GAAgD,CAAC,EACzE,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,EAAE,EACS,EAAE,EAAE,CAAC,CACxB,oBAAC,mCAAe,CAAC,QAAQ,QACtB,CAAC,EAAE,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,EAAE;IACzD,MAAM,gBAAgB,GAAG,gBAAuB,CAAC;IACjD,OAAO,CACL,oBAAC,gBAAgB,IAAC,SAAS,EAAE,kBAAG,CAAC,YAAY,EAAE,SAAS,CAAC;QACtD,KAAK,IAAI,CACR,4BAAI,SAAS,EAAE,kBAAG,CAAC,iBAAiB,CAAC,yBAClC,KAAK,CACH,CACN;QACD,4BAAI,IAAI,EAAC,MAAM,IAAE,QAAQ,CAAM,CACd,CACpB,CAAC;AACJ,CAAC,CACwB,CAC5B,CAAC;AApBW,QAAA,aAAa,iBAoBxB;AACF,qBAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"DropdownGroup.js","sourceRoot":"","sources":["../../../../src/components/Dropdown/DropdownGroup.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,2DAAsD;AAW/C,MAAM,aAAa,GAAgD,CAAC,EAKtD,EAAE,EAAE;QALkD,EACzE,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,EAAE,OAES,EADhB,KAAK,sBAJiE,kCAK1E,CADS;IACgB,OAAA,CACxB,oBAAC,mCAAe,CAAC,QAAQ,QACtB,CAAC,EAAE,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,EAAE,EAAE;QACzD,MAAM,gBAAgB,GAAG,gBAAuB,CAAC;QACjD,OAAO,CACL,oBAAC,gBAAgB,kBAAC,SAAS,EAAE,kBAAG,CAAC,YAAY,EAAE,SAAS,CAAC,IAAM,KAAK;YACjE,KAAK,IAAI,CACR,4BAAI,SAAS,EAAE,kBAAG,CAAC,iBAAiB,CAAC,yBAClC,KAAK,CACH,CACN;YACD,4BAAI,IAAI,EAAC,MAAM,IAAE,QAAQ,CAAM,CACd,CACpB,CAAC;IACJ,CAAC,CACwB,CAC5B,CAAA;CAAA,CAAC;AArBW,QAAA,aAAa,iBAqBxB;AACF,qBAAa,CAAC,WAAW,GAAG,eAAe,CAAC"}
@@ -4653,12 +4653,15 @@
4653
4653
  };
4654
4654
  Dropdown.displayName = 'Dropdown';
4655
4655
 
4656
- const DropdownGroup = ({ children = null, className = '', label = '' }) => (React__namespace.createElement(DropdownContext.Consumer, null, ({ sectionClass, sectionTitleClass, sectionComponent }) => {
4657
- const SectionComponent = sectionComponent;
4658
- return (React__namespace.createElement(SectionComponent, { className: css(sectionClass, className) },
4659
- label && (React__namespace.createElement("h1", { className: css(sectionTitleClass), "aria-hidden": true }, label)),
4660
- React__namespace.createElement("ul", { role: "none" }, children)));
4661
- }));
4656
+ const DropdownGroup = (_a) => {
4657
+ var { children = null, className = '', label = '' } = _a, props = __rest$1(_a, ["children", "className", "label"]);
4658
+ return (React__namespace.createElement(DropdownContext.Consumer, null, ({ sectionClass, sectionTitleClass, sectionComponent }) => {
4659
+ const SectionComponent = sectionComponent;
4660
+ return (React__namespace.createElement(SectionComponent, Object.assign({ className: css(sectionClass, className) }, props),
4661
+ label && (React__namespace.createElement("h1", { className: css(sectionTitleClass), "aria-hidden": true }, label)),
4662
+ React__namespace.createElement("ul", { role: "none" }, children)));
4663
+ }));
4664
+ };
4662
4665
  DropdownGroup.displayName = 'DropdownGroup';
4663
4666
 
4664
4667
  class InternalDropdownItem extends React__namespace.Component {
@@ -5529,7 +5532,10 @@
5529
5532
  }
5530
5533
  };
5531
5534
 
5532
- const Banner = ({ children, className, variant = 'default', isSticky = false }) => (React__namespace.createElement("div", { className: css(_default$13.banner, _default$13.modifiers[variant], isSticky && _default$13.modifiers.sticky, className) }, children));
5535
+ const Banner = (_a) => {
5536
+ var { children, className, variant = 'default', isSticky = false } = _a, props = __rest$1(_a, ["children", "className", "variant", "isSticky"]);
5537
+ return (React__namespace.createElement("div", Object.assign({ className: css(_default$13.banner, _default$13.modifiers[variant], isSticky && _default$13.modifiers.sticky, className) }, props), children));
5538
+ };
5533
5539
  Banner.displayName = 'Banner';
5534
5540
 
5535
5541
  const Brand = (_a) => {