@commercetools-uikit/filters 19.12.0 → 19.13.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
@@ -42,6 +42,6 @@ export default Example;
42
42
 
43
43
  ## Properties
44
44
 
45
- | Props | Type | Required | Default | Description |
46
- | ------- | -------- | :------: | ------- | -------------------- |
47
- | `label` | `string` || | This is a stub prop! |
45
+ | Props | Type | Required | Default | Description |
46
+ | ------- | -------- | :------: | ------- | ------------------- |
47
+ | `label` | `string` | | | This is a stub prop |
@@ -2,16 +2,23 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var designSystem = require('@commercetools-uikit/design-system');
5
6
  var jsxRuntime = require('@emotion/react/jsx-runtime');
6
7
 
7
8
  function Filters(props) {
8
9
  return jsxRuntime.jsx("div", {
9
- children: props.label
10
+ style: {
11
+ display: 'flex',
12
+ gap: designSystem.designTokens.spacing40
13
+ },
14
+ children: props.label && jsxRuntime.jsx("span", {
15
+ children: props.label
16
+ })
10
17
  });
11
18
  }
12
19
 
13
20
  // NOTE: This string will be replaced on build time with the package version.
14
- var version = "19.12.0";
21
+ var version = "19.13.0";
15
22
 
16
23
  exports["default"] = Filters;
17
24
  exports.version = version;
@@ -2,16 +2,23 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var designSystem = require('@commercetools-uikit/design-system');
5
6
  var jsxRuntime = require('@emotion/react/jsx-runtime');
6
7
 
7
8
  function Filters(props) {
8
9
  return jsxRuntime.jsx("div", {
9
- children: props.label
10
+ style: {
11
+ display: 'flex',
12
+ gap: designSystem.designTokens.spacing40
13
+ },
14
+ children: props.label && jsxRuntime.jsx("span", {
15
+ children: props.label
16
+ })
10
17
  });
11
18
  }
12
19
 
13
20
  // NOTE: This string will be replaced on build time with the package version.
14
- var version = "19.12.0";
21
+ var version = "19.13.0";
15
22
 
16
23
  exports["default"] = Filters;
17
24
  exports.version = version;
@@ -1,12 +1,19 @@
1
+ import { designTokens } from '@commercetools-uikit/design-system';
1
2
  import { jsx } from '@emotion/react/jsx-runtime';
2
3
 
3
4
  function Filters(props) {
4
5
  return jsx("div", {
5
- children: props.label
6
+ style: {
7
+ display: 'flex',
8
+ gap: designTokens.spacing40
9
+ },
10
+ children: props.label && jsx("span", {
11
+ children: props.label
12
+ })
6
13
  });
7
14
  }
8
15
 
9
16
  // NOTE: This string will be replaced on build time with the package version.
10
- var version = "19.12.0";
17
+ var version = "19.13.0";
11
18
 
12
19
  export { Filters as default, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/filters",
3
3
  "description": "The `Filters` component displays filter controls.",
4
- "version": "19.12.0",
4
+ "version": "19.13.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,9 +21,15 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
+ "@commercetools-uikit/constraints": "workspace:^",
25
+ "@commercetools-uikit/design-system": "workspace:^",
24
26
  "@commercetools-uikit/dropdown-menu": "workspace:^",
27
+ "@commercetools-uikit/icons": "workspace:^",
28
+ "@commercetools-uikit/secondary-icon-button": "workspace:^",
29
+ "@commercetools-uikit/utils": "workspace:^",
25
30
  "@emotion/react": "^11.10.5",
26
31
  "@emotion/styled": "^11.10.5",
32
+ "@radix-ui/react-popover": "^1.1.2",
27
33
  "prop-types": "15.8.1",
28
34
  "react-intl": "^6.3.2"
29
35
  },