@useblu/ocean-react 1.47.0 → 1.48.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.48.1](https://github.com/ocean-ds/ocean-web/compare/v1.48.0...v1.48.1) (2023-08-30)
7
+
8
+ ### Bug Fixes
9
+
10
+ - breadcrumb map key prop ([#1080](https://github.com/ocean-ds/ocean-web/issues/1080)) ([156870d](https://github.com/ocean-ds/ocean-web/commit/156870dff234faa04263580c68631045274f904c))
11
+
12
+ # [1.48.0](https://github.com/ocean-ds/ocean-web/compare/v1.47.1...v1.48.0) (2023-07-31)
13
+
14
+ ### Features
15
+
16
+ - remove unused margin an add condicional render in input label ([#1079](https://github.com/ocean-ds/ocean-web/issues/1079)) ([561d8a7](https://github.com/ocean-ds/ocean-web/commit/561d8a73f8699848d0e2f0679a618471bcb088f7))
17
+
6
18
  # [1.47.0](https://github.com/ocean-ds/ocean-web/compare/v1.46.3...v1.47.0) (2023-06-27)
7
19
 
8
20
  ### Features
@@ -1 +1 @@
1
- {"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../src/FormControl/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,oBAAY,gBAAgB,GAAG;IAI7B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAI7B,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAOjC,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoD3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../src/FormControl/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,oBAAY,gBAAgB,GAAG;IAI7B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAI7B,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAOjC,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAIhB,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmD3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
package/index.es.js CHANGED
@@ -5003,11 +5003,11 @@ var FormControl = function (_a) {
5003
5003
  typeof labelProp === 'string' ? (e.createElement(FormLabel, { htmlFor: htmlFor, disabled: disabled }, labelProp)) : (labelProp);
5004
5004
  }
5005
5005
  return (e.createElement("div", { className: "ods-form-control__root" },
5006
- e.createElement("div", { className: "ods-form-control__header" },
5007
- e.createElement("div", { className: "ods-form-control__label" }, label),
5008
- tooltipMessage ? (e.createElement("div", { "aria-label": tooltipMessage, className: "ods-form-control__icon ods-tooltip", "data-tooltip-pos": "up-left" },
5006
+ (labelProp || tooltipMessage) && (e.createElement("div", { className: "ods-form-control__header" },
5007
+ labelProp && e.createElement("div", { className: "ods-form-control__label" }, label),
5008
+ tooltipMessage && (e.createElement("div", { "aria-label": tooltipMessage, className: "ods-form-control__icon ods-tooltip", "data-tooltip-pos": "up-left" },
5009
5009
  e.createElement(Er, { size: 16, color: "#B6B9CC" }),
5010
- ' ')) : (e.createElement(e.Fragment, null))),
5010
+ ' ')))),
5011
5011
  e.createElement("div", { className: classNames('ods-form-control__element') }, children),
5012
5012
  helperText && (e.createElement("p", { className: classNames('ods-form-control__helper-text', error && 'ods-form-control__helper-text--error', disabled && 'ods-form-control__helper-text--disabled') }, helperText))));
5013
5013
  };
@@ -46227,10 +46227,10 @@ var Breadcrumb = forwardRef(function (_a, ref) {
46227
46227
  var items = _a.items, className = _a.className, rest = __rest$1(_a, ["items", "className"]);
46228
46228
  return (e.createElement("div", __assign$1({ className: classNames('ods-breadcrumb', className), ref: ref }, rest), items === null || items === void 0 ? void 0 : items.map(function (item, index) {
46229
46229
  var showIcon = index !== items.length - 1 && (e.createElement(ee, { size: 12 }));
46230
- return typeof item === 'string' ? (e.createElement(e.Fragment, null,
46230
+ return typeof item === 'string' ? (e.createElement("div", { key: "string-item-".concat(item) },
46231
46231
  e.createElement("span", null, item),
46232
46232
  " ",
46233
- showIcon)) : (e.createElement(e.Fragment, null,
46233
+ showIcon)) : (e.createElement("div", { key: "tag-item-".concat(index + 1) },
46234
46234
  item,
46235
46235
  " ",
46236
46236
  showIcon));