@chayns-components/gallery 5.0.0-beta.98

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
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Tobit Laboratories AG
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,45 @@
1
+ <div align="center">
2
+ <h1>
3
+ <img src="https://raw.githubusercontent.com/TobitSoftware/chayns-components/master/assets/logo.png" width="600px" alt="chayns-components" />
4
+ </h1>
5
+ <p>A set of beautiful React components for developing your own applications with chayns.</p>
6
+ <div>
7
+ <img src="https://img.shields.io/npm/dm/@chayns-components/typewriter.svg?style=for-the-badge" alt="" />
8
+ <img src="https://img.shields.io/npm/v/@chayns-components/typewriter?style=for-the-badge" alt="" />
9
+ <img src="https://img.shields.io/github/license/TobitSoftware/chayns-components?style=for-the-badge" alt="" />
10
+ <img src="https://img.shields.io/github/contributors/TobitSoftware/chayns-components?style=for-the-badge" alt="" />
11
+ </div>
12
+ </div>
13
+
14
+ ---
15
+
16
+ ## Installation
17
+
18
+ First you need to install the typewriter part of the chayns-components.
19
+
20
+ ```bash
21
+ # NPM
22
+ npm install @chayns-components/typewriter
23
+
24
+ # Yarn
25
+ yarn add @chayns-components/typewriter
26
+ ```
27
+
28
+ > **Information:** Since the components have now been implemented with the styled-components
29
+ > library, the styles are delivered directly with the components. There is no need to load an extra
30
+ > stylesheet anymore.
31
+
32
+ ## Usage
33
+
34
+ You can use the components in your project as in the following example.
35
+
36
+ ```typescript jsx
37
+ import { Typewriter } from '@chayns-components/typewriter';
38
+
39
+ <Typewriter>
40
+ Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
41
+ ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo
42
+ dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est. Lorem ipsum dolor
43
+ sit amet.
44
+ </Typewriter>;
45
+ ```
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ export type GalleryProps = unknown;
3
+ declare const Gallery: FC<GalleryProps>;
4
+ export default Gallery;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _Gallery = require("./Gallery.styles");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const Gallery = () => /*#__PURE__*/_react.default.createElement(_Gallery.StyledGallery, null, "Gallery");
11
+ Gallery.displayName = 'Gallery';
12
+ var _default = Gallery;
13
+ exports.default = _default;
14
+ //# sourceMappingURL=Gallery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gallery.js","names":["_react","_interopRequireDefault","require","_Gallery","obj","__esModule","default","Gallery","createElement","StyledGallery","displayName","_default","exports"],"sources":["../../../src/components/gallery/Gallery.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { StyledGallery } from './Gallery.styles';\n\nexport type GalleryProps = unknown;\n\nconst Gallery: FC<GalleryProps> = () => <StyledGallery>Gallery</StyledGallery>;\n\nGallery.displayName = 'Gallery';\n\nexport default Gallery;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAAiD,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAIjD,MAAMG,OAAyB,GAAGA,CAAA,kBAAMP,MAAA,CAAAM,OAAA,CAAAE,aAAA,CAACL,QAAA,CAAAM,aAAa,QAAC,SAAO,CAAgB;AAE9EF,OAAO,CAACG,WAAW,GAAG,SAAS;AAAC,IAAAC,QAAA,GAEjBJ,OAAO;AAAAK,OAAA,CAAAN,OAAA,GAAAK,QAAA"}
@@ -0,0 +1 @@
1
+ export declare const StyledGallery: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyledGallery = void 0;
7
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ const StyledGallery = _styledComponents.default.div``;
10
+ exports.StyledGallery = StyledGallery;
11
+ //# sourceMappingURL=Gallery.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gallery.styles.js","names":["_styledComponents","_interopRequireDefault","require","obj","__esModule","default","StyledGallery","styled","div","exports"],"sources":["../../../src/components/gallery/Gallery.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nexport const StyledGallery = styled.div``;\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAuC,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAEhC,MAAMG,aAAa,GAAGC,yBAAM,CAACC,GAAI,EAAC;AAACC,OAAA,CAAAH,aAAA,GAAAA,aAAA"}
package/lib/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export { default as Gallery } from './components/gallery/Gallery';
package/lib/index.js ADDED
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Gallery", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Gallery.default;
10
+ }
11
+ });
12
+ var _Gallery = _interopRequireDefault(require("./components/gallery/Gallery"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["_Gallery","_interopRequireDefault","require","obj","__esModule","default"],"sources":["../src/index.ts"],"sourcesContent":["export { default as Gallery } from './components/gallery/Gallery';\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,QAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAkE,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA"}
package/package.json ADDED
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "@chayns-components/gallery",
3
+ "version": "5.0.0-beta.98",
4
+ "description": "A set of beautiful React components for developing your own applications with chayns.",
5
+ "keywords": [
6
+ "chayns",
7
+ "react",
8
+ "components"
9
+ ],
10
+ "author": "Tobit.Software",
11
+ "homepage": "https://github.com/TobitSoftware/chayns-components/tree/main/packages/gallery#readme",
12
+ "license": "MIT",
13
+ "main": "lib/index.js",
14
+ "types": "lib/index.d.ts",
15
+ "directories": {
16
+ "lib": "lib",
17
+ "test": "__tests__"
18
+ },
19
+ "files": [
20
+ "lib"
21
+ ],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/TobitSoftware/chayns-components.git"
25
+ },
26
+ "scripts": {
27
+ "build": "npm run build:js && npm run build:types",
28
+ "build:js": "babel src --out-dir lib --extensions=.ts,.tsx --source-maps --ignore=src/stories",
29
+ "build:types": "tsc",
30
+ "prepublishOnly": "npm run build"
31
+ },
32
+ "bugs": {
33
+ "url": "https://github.com/TobitSoftware/chayns-components/issues"
34
+ },
35
+ "devDependencies": {
36
+ "@babel/cli": "^7.21.0",
37
+ "@babel/core": "^7.21.3",
38
+ "@babel/preset-env": "^7.20.2",
39
+ "@babel/preset-react": "^7.18.6",
40
+ "@babel/preset-typescript": "^7.21.0",
41
+ "@types/react": "^17.0.53",
42
+ "@types/react-dom": "^17.0.19",
43
+ "@types/styled-components": "^5.1.26",
44
+ "@types/uuid": "^9.0.1",
45
+ "babel-loader": "^8.3.0",
46
+ "lerna": "^6.5.1",
47
+ "react": "^17.0.2",
48
+ "react-dom": "^17.0.2",
49
+ "typescript": "^4.9.5"
50
+ },
51
+ "dependencies": {
52
+ "@chayns-components/core": "^5.0.0-beta.98",
53
+ "@chayns/colors": "^2.0.0",
54
+ "clsx": "^1.2.1",
55
+ "framer-motion": "^6.5.1",
56
+ "styled-components": "^5.3.9",
57
+ "uuid": "^9.0.0"
58
+ },
59
+ "peerDependencies": {
60
+ "react": ">=16.14.0",
61
+ "react-dom": ">=16.14.0"
62
+ },
63
+ "publishConfig": {
64
+ "access": "public"
65
+ },
66
+ "gitHead": "ee7237bbc5e9a51e98268f74989f98da251255c1"
67
+ }