@useblu/ocean-react 1.27.3 → 1.28.0

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.
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export declare type BadgeProps = {
3
+ variation?: 'tiny' | 'small' | 'medium';
4
+ color?: 'brand' | 'complementary' | 'alert' | 'neutral';
5
+ count?: number;
6
+ } & React.ComponentPropsWithoutRef<'div'>;
7
+ declare const Badge: React.ForwardRefExoticComponent<{
8
+ variation?: "tiny" | "small" | "medium" | undefined;
9
+ color?: "brand" | "complementary" | "alert" | "neutral" | undefined;
10
+ count?: number | undefined;
11
+ } & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>>;
12
+ export default Badge;
13
+ //# sourceMappingURL=Badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../src/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,oBAAY,UAAU,GAAG;IAKvB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAIxC,KAAK,CAAC,EAAE,OAAO,GAAG,eAAe,GAAG,OAAO,GAAG,SAAS,CAAC;IAIxD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,QAAA,MAAM,KAAK;;;;kLAgCT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Badge';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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
+ # [1.28.0](https://github.com/ocean-ds/ocean-web/compare/v1.27.3...v1.28.0) (2022-02-23)
7
+
8
+ ### Features
9
+
10
+ - **badge:** add new badge component. ([#918](https://github.com/ocean-ds/ocean-web/issues/918)) ([b183b16](https://github.com/ocean-ds/ocean-web/commit/b183b16837580f59319d4957d7235b44431660cb))
11
+
6
12
  ## [1.27.3](https://github.com/ocean-ds/ocean-web/compare/v1.27.2...v1.27.3) (2022-02-15)
7
13
 
8
14
  **Note:** Version bump only for package @useblu/ocean-react
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../src/Carousel/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,oBAAY,aAAa,GAAG;IAK1B,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAKnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA6CrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../src/Carousel/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,oBAAY,aAAa,GAAG;IAK1B,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;IAKnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAkCrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
- declare const BannerExample: React.FC;
2
+ declare const BannerExample: React.FC<{
3
+ color?: number;
4
+ }>;
3
5
  export default BannerExample;
4
6
  //# sourceMappingURL=BannerExample.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BannerExample.d.ts","sourceRoot":"","sources":["../../../src/Carousel/examples/BannerExample.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAqB1B,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"BannerExample.d.ts","sourceRoot":"","sources":["../../../src/Carousel/examples/BannerExample.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAqB/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
package/index.es.js CHANGED
@@ -4879,18 +4879,7 @@ var Carousel = function (_a) {
4879
4879
  nextArrow: e$1.createElement(q$1, null),
4880
4880
  appendDots: appendDots,
4881
4881
  autoplay: autoplay,
4882
- autoplaySpeed: 7000,
4883
- responsive: [
4884
- {
4885
- breakpoint: 768,
4886
- settings: {
4887
- autoplay: false,
4888
- slidesToShow: 1,
4889
- slidesToScroll: 1,
4890
- speed: 1500,
4891
- },
4892
- },
4893
- ],
4882
+ autoplaySpeed: 8000,
4894
4883
  };
4895
4884
  return (e$1.createElement("div", { className: classNames('ods-carousel', "columns-" + columnsAsNumber) },
4896
4885
  e$1.createElement(Slider, __assign({}, settings), Children.toArray(children).map(function (child, index) { return (e$1.createElement("div", { key: index }, child)); }))));