scorer-ui-kit 2.8.2 → 2.9.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.
package/README.md CHANGED
@@ -16,6 +16,9 @@
16
16
 
17
17
  ## Development
18
18
 
19
+ The version 2 is preferred to be run node version 18 and above due [Storybook 8 support requirement](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#dropping-support-for-nodejs-16).
20
+
21
+
19
22
  If you want to run the project follow the next steps
20
23
 
21
24
  - Clone repository
@@ -23,7 +26,7 @@ If you want to run the project follow the next steps
23
26
  git clone git@github.com:future-standard/scorer-ui-kit.git
24
27
  ```
25
28
 
26
- - Install with npm version 8 node 16 or above from the root folder
29
+ - Install with npm version 10 node 18 or above from the root folder
27
30
  ```
28
31
  npm install
29
32
  ```
@@ -93,12 +96,12 @@ Please note however that the icon set included in this software is included unde
93
96
  3. Push the tag to Github (this should cause the release)
94
97
 
95
98
  ```
96
- // Updating to v1.5.2
99
+ // Updating to v2.5.2
97
100
 
98
- git commit -m "Bump 1.5.2"
101
+ git commit -m "Bump 2.5.2"
99
102
  grep version package.json
100
- ~ "version": "1.5.2",
101
- git tag v1.5.2
102
- git push origin v1.5.2
103
+ ~ "version": "2.5.2",
104
+ git tag v2.5.2
105
+ git push origin v2.5.2
103
106
  ```
104
107
 
package/dist/index.js CHANGED
@@ -6087,7 +6087,7 @@ var FilterButton = function FilterButton(_ref8) {
6087
6087
 
6088
6088
  var _excluded$p = ["title", "value", "optionType", "selected", "disabled", "onClick"];
6089
6089
  var _templateObject$J, _templateObject2$C, _templateObject3$y, _templateObject4$u, _templateObject5$r, _templateObject6$m, _templateObject7$l, _templateObject8$i, _templateObject9$e, _templateObject10$9;
6090
- var Title$1 = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n font-family: var(--font-ui);\n display: block;\n color: var(--grey-12);\n font-size: 14px;\n font-weight: 500;\n user-select: none;\n pointer-events: none;\n"])));
6090
+ var Title$1 = styled__default.div(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n font-family: var(--font-ui);\n display: block;\n color: var(--grey-12);\n font-size: 14px;\n font-weight: 500;\n user-select: none;\n pointer-events: none;\n white-space: nowrap;\n"])));
6091
6091
  var FakeCheckbox = styled__default.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n position: relative;\n width: 18px;\n height: 18px;\n border-radius: 5px;\n border-width: 2px;\n border-style: solid;\n"])));
6092
6092
  var FakeCheckboxInner = styled__default.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n box-sizing: border-box;\n"])));
6093
6093
  var CheckMarkWrapper = styled__default.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n svg {\n display: block;\n [stroke]{\n stroke: transparent;\n }\n [fill] {\n fill: var(--inverse);\n }\n }\n"])));
@@ -12322,13 +12322,14 @@ var UtilityHeader = function UtilityHeader(_ref) {
12322
12322
  showHomeIcon = _ref$showHomeIcon === void 0 ? true : _ref$showHomeIcon,
12323
12323
  back = _ref.back,
12324
12324
  share = _ref.share,
12325
- _ref$$iconInGutter = _ref.$iconInGutter,
12326
- $iconInGutter = _ref$$iconInGutter === void 0 ? true : _ref$$iconInGutter;
12325
+ $iconInGutter = _ref.$iconInGutter;
12326
+ var _useBreakpoints = useBreakpoints(),
12327
+ isLarge = _useBreakpoints.isLarge;
12328
+ var iconInGutter = $iconInGutter !== undefined ? $iconInGutter : isLarge;
12327
12329
  var hasBreadcrumbs = showBreadcrumbs && breadcrumbs.length > 0;
12328
12330
  return React__default.createElement(Container$Y, null, React__default.createElement(LeftArea, null, back && React__default.createElement(UtilityHeaderBack, Object.assign({
12329
- "$showDivider": hasBreadcrumbs
12330
- }, {
12331
- $iconInGutter: $iconInGutter
12331
+ "$showDivider": hasBreadcrumbs,
12332
+ "$iconInGutter": iconInGutter
12332
12333
  }, back)), hasBreadcrumbs ? React__default.createElement(Breadcrumbs, null, breadcrumbs.map(function (breadcrumb, index) {
12333
12334
  var text = breadcrumb.text,
12334
12335
  href = breadcrumb.href;