@commercetools-uikit/quick-filters 0.0.0-canary-20241001174409

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 commercetools GmbH
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,47 @@
1
+ <!-- THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -->
2
+ <!-- This file is created by the `yarn generate-readme` script. -->
3
+
4
+ # QuickFilters
5
+
6
+ ## Description
7
+
8
+ The `QuickFilters` component displays a selection of `Tag` components that represent the available filter actions.
9
+
10
+ This description is a stub and shold be expanded as development continues.
11
+
12
+ ## Installation
13
+
14
+ ```
15
+ yarn add @commercetools-uikit/quick-filters
16
+ ```
17
+
18
+ ```
19
+ npm --save install @commercetools-uikit/quick-filters
20
+ ```
21
+
22
+ Additionally install the peer dependencies (if not present)
23
+
24
+ ```
25
+ yarn add react
26
+ ```
27
+
28
+ ```
29
+ npm --save install react
30
+ ```
31
+
32
+ ## Usage
33
+
34
+ ```jsx
35
+ import QuickFilters from '@commercetools-uikit/quick-filters';
36
+
37
+ /**TODO: EXPAND THIS */
38
+ const Example = () => <QuickFilters />;
39
+
40
+ export default Example;
41
+ ```
42
+
43
+ ## Properties
44
+
45
+ | Props | Type | Required | Default | Description |
46
+ | ------- | -------- | :------: | ------- | -------------------- |
47
+ | `label` | `string` | ✅ | | This is a stub prop! |
@@ -0,0 +1,3 @@
1
+ export * from "./declarations/src/index";
2
+ export { default } from "./declarations/src/index";
3
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy11aWtpdC1xdWljay1maWx0ZXJzLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi9kZWNsYXJhdGlvbnMvc3JjL2luZGV4LmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEifQ==
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var jsxRuntime = require('@emotion/react/jsx-runtime');
6
+
7
+ function QuickFilters(props) {
8
+ return jsxRuntime.jsx("div", {
9
+ children: props.label
10
+ });
11
+ }
12
+
13
+ // NOTE: This string will be replaced on build time with the package version.
14
+ var version = "19.11.0";
15
+
16
+ exports["default"] = QuickFilters;
17
+ exports.version = version;
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === "production") {
4
+ module.exports = require("./commercetools-uikit-quick-filters.cjs.prod.js");
5
+ } else {
6
+ module.exports = require("./commercetools-uikit-quick-filters.cjs.dev.js");
7
+ }
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var jsxRuntime = require('@emotion/react/jsx-runtime');
6
+
7
+ function QuickFilters(props) {
8
+ return jsxRuntime.jsx("div", {
9
+ children: props.label
10
+ });
11
+ }
12
+
13
+ // NOTE: This string will be replaced on build time with the package version.
14
+ var version = "19.11.0";
15
+
16
+ exports["default"] = QuickFilters;
17
+ exports.version = version;
@@ -0,0 +1,12 @@
1
+ import { jsx } from '@emotion/react/jsx-runtime';
2
+
3
+ function QuickFilters(props) {
4
+ return jsx("div", {
5
+ children: props.label
6
+ });
7
+ }
8
+
9
+ // NOTE: This string will be replaced on build time with the package version.
10
+ var version = "19.11.0";
11
+
12
+ export { QuickFilters as default, version };
@@ -0,0 +1,2 @@
1
+ export { default } from "./quick-filters.js";
2
+ export { default as version } from "./version.js";
@@ -0,0 +1,8 @@
1
+ export type TQuickFiltersProps = {
2
+ /**
3
+ * This is a stub prop!
4
+ */
5
+ label: string;
6
+ };
7
+ declare function QuickFilters(props: TQuickFiltersProps): import("@emotion/react/jsx-runtime").JSX.Element;
8
+ export default QuickFilters;
@@ -0,0 +1,2 @@
1
+ declare const _default: "__@UI_KIT_PACKAGE/VERSION_OF_RELEASE__";
2
+ export default _default;
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@commercetools-uikit/quick-filters",
3
+ "description": "The `QuickFilters` component displays filter controls.",
4
+ "version": "0.0.0-canary-20241001174409",
5
+ "bugs": "https://github.com/commercetools/ui-kit/issues",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/commercetools/ui-kit.git",
9
+ "directory": "packages/components/quick-filters"
10
+ },
11
+ "homepage": "https://uikit.commercetools.com",
12
+ "keywords": [
13
+ "javascript",
14
+ "typescript",
15
+ "design-system",
16
+ "react",
17
+ "uikit"
18
+ ],
19
+ "license": "MIT",
20
+ "publishConfig": {
21
+ "access": "public"
22
+ },
23
+ "sideEffects": false,
24
+ "main": "dist/commercetools-uikit-quick-filters.cjs.js",
25
+ "module": "dist/commercetools-uikit-quick-filters.esm.js",
26
+ "files": [
27
+ "dist"
28
+ ],
29
+ "dependencies": {
30
+ "@babel/runtime": "^7.20.13",
31
+ "@babel/runtime-corejs3": "^7.20.13",
32
+ "@emotion/react": "^11.10.5",
33
+ "@emotion/styled": "^11.10.5",
34
+ "prop-types": "15.8.1",
35
+ "react-intl": "^6.3.2"
36
+ },
37
+ "devDependencies": {
38
+ "react": "17.0.2"
39
+ },
40
+ "peerDependencies": {
41
+ "react": "17.x"
42
+ }
43
+ }