sharedui2 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.json +50 -0
- package/README.md +70 -0
- package/craco.config.js +52 -0
- package/dist/65512c09253771cf0875.svg +6 -0
- package/dist/asset-manifest.json +12 -0
- package/dist/b0f8f368da08f13ab31d.svg +6 -0
- package/dist/index.html +1 -0
- package/dist/shared.js +3 -0
- package/dist/shared.js.LICENSE.txt +9 -0
- package/dist/shared.js.map +1 -0
- package/package.json +56 -0
- package/public/favicon.ico +0 -0
- package/public/index.html +43 -0
- package/public/logo192.png +0 -0
- package/public/logo512.png +0 -0
- package/public/manifest.json +25 -0
- package/public/robots.txt +3 -0
- package/src/App.js +20 -0
- package/src/App.less +38 -0
- package/src/App.test.js +23 -0
- package/src/assets/citrix-animation.gif +0 -0
- package/src/assets/citrix.svg +30 -0
- package/src/assets/close-btn.svg +9 -0
- package/src/assets/error.svg +10 -0
- package/src/assets/fonts/PublicSans-ExtraLight.woff +0 -0
- package/src/assets/fonts/PublicSans-ExtraLight.woff2 +0 -0
- package/src/assets/fonts/PublicSans-ExtraLightItalic.woff +0 -0
- package/src/assets/fonts/PublicSans-ExtraLightItalic.woff2 +0 -0
- package/src/assets/fonts/PublicSans-Italic.woff +0 -0
- package/src/assets/fonts/PublicSans-Italic.woff2 +0 -0
- package/src/assets/fonts/PublicSans-Light.woff +0 -0
- package/src/assets/fonts/PublicSans-Light.woff2 +0 -0
- package/src/assets/fonts/PublicSans-LightItalic.woff +0 -0
- package/src/assets/fonts/PublicSans-LightItalic.woff2 +0 -0
- package/src/assets/fonts/PublicSans-Medium.woff +0 -0
- package/src/assets/fonts/PublicSans-Medium.woff2 +0 -0
- package/src/assets/fonts/PublicSans-MediumItalic.woff +0 -0
- package/src/assets/fonts/PublicSans-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/PublicSans-Regular.woff +0 -0
- package/src/assets/fonts/PublicSans-Regular.woff2 +0 -0
- package/src/assets/fonts/PublicSans-SemiBold.woff +0 -0
- package/src/assets/fonts/PublicSans-SemiBold.woff2 +0 -0
- package/src/assets/fonts/PublicSans-SemiBoldItalic.woff +0 -0
- package/src/assets/fonts/PublicSans-SemiBoldItalic.woff2 +0 -0
- package/src/assets/globe.svg +44 -0
- package/src/assets/rebranded/close-btn.svg +11 -0
- package/src/assets/rebranded/error.svg +13 -0
- package/src/assets/rebranded/globe.svg +21 -0
- package/src/assets/rebranded/success.svg +12 -0
- package/src/assets/rebranded/workspaceVertical.svg +12 -0
- package/src/assets/spinner-dark.svg +6 -0
- package/src/assets/spinner-light.svg +6 -0
- package/src/assets/success.svg +10 -0
- package/src/assets/workspaceHorizontal.svg +44 -0
- package/src/assets/workspaceVertical.svg +42 -0
- package/src/components/ws-button/index.js +4 -0
- package/src/components/ws-button/ws-button.component.jsx +48 -0
- package/src/components/ws-button/ws-button.component.less +100 -0
- package/src/components/ws-button/ws-button.component.test.js +11 -0
- package/src/components/ws-button/ws-buttons.component.jsx +60 -0
- package/src/components/ws-button/ws-buttons.component.test.js +18 -0
- package/src/index.js +18 -0
- package/src/index.less +13 -0
- package/src/logo.svg +1 -0
- package/src/main.js +1 -0
- package/src/reportWebVitals.js +13 -0
- package/src/setupTests.js +5 -0
- package/theme.less +95 -0
- package/webpack.config.js +15 -0
package/.eslintrc.json
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
{
|
2
|
+
"parser": "@babel/eslint-parser",
|
3
|
+
"plugins": [
|
4
|
+
"react"
|
5
|
+
],
|
6
|
+
"parserOptions": {
|
7
|
+
"ecmaVersion": 6,
|
8
|
+
"sourceType": "module",
|
9
|
+
"ecmaFeatures": {
|
10
|
+
"jsx": true
|
11
|
+
}
|
12
|
+
},
|
13
|
+
"env": {
|
14
|
+
"browser": true,
|
15
|
+
"amd": true,
|
16
|
+
"es6": true,
|
17
|
+
"node": true
|
18
|
+
},
|
19
|
+
"rules": {
|
20
|
+
"comma-dangle": 1,
|
21
|
+
"quotes": [
|
22
|
+
1,
|
23
|
+
"single"
|
24
|
+
],
|
25
|
+
"no-undef": 1,
|
26
|
+
"global-strict": 0,
|
27
|
+
"semi": [
|
28
|
+
"error",
|
29
|
+
"always"
|
30
|
+
],
|
31
|
+
"no-extra-semi": 1,
|
32
|
+
"no-underscore-dangle": 0,
|
33
|
+
"no-console": "error",
|
34
|
+
"no-unused-vars": 1,
|
35
|
+
"no-trailing-spaces": [
|
36
|
+
1,
|
37
|
+
{
|
38
|
+
"skipBlankLines": true
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"no-unreachable": 1,
|
42
|
+
"no-alert": 0,
|
43
|
+
"prefer-const": "warn",
|
44
|
+
"no-whitespace-before-property": "warn",
|
45
|
+
"react/jsx-uses-react": 1,
|
46
|
+
"react/jsx-uses-vars": 1,
|
47
|
+
"react/no-danger": "error",
|
48
|
+
"react/jsx-pascal-case": "error"
|
49
|
+
}
|
50
|
+
}
|
package/README.md
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
# Getting Started with Create React App
|
2
|
+
|
3
|
+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
4
|
+
|
5
|
+
## Available Scripts
|
6
|
+
|
7
|
+
In the project directory, you can run:
|
8
|
+
|
9
|
+
### `npm start`
|
10
|
+
|
11
|
+
Runs the app in the development mode.\
|
12
|
+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
|
13
|
+
|
14
|
+
The page will reload when you make changes.\
|
15
|
+
You may also see any lint errors in the console.
|
16
|
+
|
17
|
+
### `npm test`
|
18
|
+
|
19
|
+
Launches the test runner in the interactive watch mode.\
|
20
|
+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
21
|
+
|
22
|
+
### `npm run build`
|
23
|
+
|
24
|
+
Builds the app for production to the `build` folder.\
|
25
|
+
It correctly bundles React in production mode and optimizes the build for the best performance.
|
26
|
+
|
27
|
+
The build is minified and the filenames include the hashes.\
|
28
|
+
Your app is ready to be deployed!
|
29
|
+
|
30
|
+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
31
|
+
|
32
|
+
### `npm run eject`
|
33
|
+
|
34
|
+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
|
35
|
+
|
36
|
+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
37
|
+
|
38
|
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
|
39
|
+
|
40
|
+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
|
41
|
+
|
42
|
+
## Learn More
|
43
|
+
|
44
|
+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
45
|
+
|
46
|
+
To learn React, check out the [React documentation](https://reactjs.org/).
|
47
|
+
|
48
|
+
### Code Splitting
|
49
|
+
|
50
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
|
51
|
+
|
52
|
+
### Analyzing the Bundle Size
|
53
|
+
|
54
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
|
55
|
+
|
56
|
+
### Making a Progressive Web App
|
57
|
+
|
58
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
|
59
|
+
|
60
|
+
### Advanced Configuration
|
61
|
+
|
62
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
|
63
|
+
|
64
|
+
### Deployment
|
65
|
+
|
66
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
|
67
|
+
|
68
|
+
### `npm run build` fails to minify
|
69
|
+
|
70
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
|
package/craco.config.js
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
const path = require("path");
|
2
|
+
|
3
|
+
module.exports = {
|
4
|
+
webpack: {
|
5
|
+
configure: (webpackConfig) => {
|
6
|
+
// Set the entry point to the specific component
|
7
|
+
webpackConfig.entry = path.resolve(__dirname, "src/components/ws-button/index.js");
|
8
|
+
|
9
|
+
|
10
|
+
// Set the output to a library format (e.g., UMD or ES Modules)
|
11
|
+
webpackConfig.output = {
|
12
|
+
path: path.resolve(__dirname, "dist"), // Output directory
|
13
|
+
filename: "shared.js", // Output file
|
14
|
+
library: "SharedLibrary", // Library name
|
15
|
+
libraryTarget: "umd", // Export as UMD module
|
16
|
+
globalObject: "this", // Ensure compatibility with Node.js
|
17
|
+
};
|
18
|
+
|
19
|
+
// Ensure React is treated as an external dependency (if required)
|
20
|
+
webpackConfig.externals = {
|
21
|
+
react: "React",
|
22
|
+
"react-dom": "ReactDOM",
|
23
|
+
};
|
24
|
+
|
25
|
+
// Add Less support
|
26
|
+
const rules = webpackConfig.module.rules.find(rule => Array.isArray(rule.oneOf)).oneOf;
|
27
|
+
|
28
|
+
rules.unshift({
|
29
|
+
test: /\.less$/,
|
30
|
+
use: [
|
31
|
+
{
|
32
|
+
loader: require.resolve('style-loader')
|
33
|
+
},
|
34
|
+
{
|
35
|
+
loader: require.resolve('css-loader')
|
36
|
+
},
|
37
|
+
{
|
38
|
+
loader: require.resolve('less-loader'),
|
39
|
+
options: {
|
40
|
+
lessOptions: {
|
41
|
+
javascriptEnabled: true, // Allows JS inside Less
|
42
|
+
},
|
43
|
+
},
|
44
|
+
},
|
45
|
+
],
|
46
|
+
});
|
47
|
+
|
48
|
+
return webpackConfig;
|
49
|
+
},
|
50
|
+
},
|
51
|
+
};
|
52
|
+
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: none; display: block; shape-rendering: auto;" width="20px" height="20px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
|
3
|
+
<circle cx="50" cy="50" fill="none" stroke="#05758a" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">
|
4
|
+
<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>
|
5
|
+
</circle>
|
6
|
+
<!-- [ldio] generated by https://loading.io/ --></svg>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"files": {
|
3
|
+
"main.js": "/shared.js",
|
4
|
+
"spinner-dark.svg": "/65512c09253771cf0875.svg",
|
5
|
+
"spinner-light.svg": "/b0f8f368da08f13ab31d.svg",
|
6
|
+
"index.html": "/index.html",
|
7
|
+
"shared.js.map": "/shared.js.map"
|
8
|
+
},
|
9
|
+
"entrypoints": [
|
10
|
+
"shared.js"
|
11
|
+
]
|
12
|
+
}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: none; display: block; shape-rendering: auto;" width="20px" height="20px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
|
3
|
+
<circle cx="50" cy="50" fill="none" stroke="#ffffff" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">
|
4
|
+
<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>
|
5
|
+
</circle>
|
6
|
+
<!-- [ldio] generated by https://loading.io/ --></svg>
|
package/dist/index.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="shared.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
package/dist/shared.js
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
/*! For license information please see shared.js.LICENSE.txt */
|
2
|
+
!function(n,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("React")):"function"===typeof define&&define.amd?define(["React"],e):"object"===typeof exports?exports.SharedLibrary=e(require("React")):n.SharedLibrary=e(n.React)}(this,(n=>(()=>{"use strict";var e={424:n=>{n.exports=function(n){var e=[];return e.toString=function(){return this.map((function(e){var o="",r="undefined"!==typeof e[5];return e[4]&&(o+="@supports (".concat(e[4],") {")),e[2]&&(o+="@media ".concat(e[2]," {")),r&&(o+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),o+=n(e),r&&(o+="}"),e[2]&&(o+="}"),e[4]&&(o+="}"),o})).join("")},e.i=function(n,o,r,t,a){"string"===typeof n&&(n=[[null,n,void 0]]);var s={};if(r)for(var c=0;c<this.length;c++){var i=this[c][0];null!=i&&(s[i]=!0)}for(var A=0;A<n.length;A++){var u=[].concat(n[A]);r&&s[u[0]]||("undefined"!==typeof a&&("undefined"===typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),o&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=o):u[2]=o),t&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=t):u[4]="".concat(t)),e.push(u))}},e}},963:n=>{n.exports=function(n,e){return e||(e={}),n?(n=String(n.__esModule?n.default:n),/^['"].*['"]$/.test(n)&&(n=n.slice(1,-1)),e.hash&&(n+=e.hash),/["'() \t\n]|(%20)/.test(n)||e.needQuotes?'"'.concat(n.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):n):n}},136:n=>{n.exports=function(n){var e=n[1],o=n[3];if(!o)return e;if("function"===typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),a="/*# ".concat(t," */");return[e].concat([a]).join("\n")}return[e].join("\n")}},998:(n,e,o)=>{var r=o(883),t=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function A(n,e,o){var r,a={},A=null,u=null;for(r in void 0!==o&&(A=""+o),void 0!==e.key&&(A=""+e.key),void 0!==e.ref&&(u=e.ref),e)s.call(e,r)&&!i.hasOwnProperty(r)&&(a[r]=e[r]);if(n&&n.defaultProps)for(r in e=n.defaultProps)void 0===a[r]&&(a[r]=e[r]);return{$$typeof:t,type:n,key:A,ref:u,props:a,_owner:c.current}}e.jsx=A},446:(n,e,o)=>{n.exports=o(998)},994:(n,e,o)=>{o.d(e,{A:()=>b});var r=o(136),t=o.n(r),a=o(424),s=o.n(a),c=o(963),i=o.n(c),A=new URL(o(226),o.b),u=new URL(o(714),o.b),d=s()(t()),l=i()(A),p=i()(u);d.push([n.id,`.ws-button {\n cursor: pointer;\n display: inline-block;\n font-size: 16px;\n font-weight: 600;\n text-align: center;\n transition: background-color 0.1s ease, border 0.1s ease, color 0.1s ease;\n user-select: none;\n width: 100%;\n}\n.ws-button-default {\n border-radius: 20px;\n height: 40px;\n}\n.ws-button-baby {\n border-radius: 12px;\n height: 24px;\n}\n.ws-button-loading {\n background-color: #05758a;\n border: none;\n}\n.ws-button-loading-content-light {\n background-image: url(${l});\n background-repeat: no-repeat;\n display: block;\n height: 20px;\n margin: 0 auto;\n width: 20px;\n}\n.ws-button-loading-content-dark {\n background-image: url(${p});\n background-repeat: no-repeat;\n display: block;\n height: 20px;\n margin: 0 auto;\n width: 20px;\n}\n.ws-button:focus {\n outline: none;\n}\n.ws-button-primary,\n.ws-button-primary-loading {\n background-color: #05758a;\n border: none;\n color: #ffffff;\n}\n.ws-button-primary-loading {\n cursor: none;\n}\n.ws-button-primary:hover {\n background-color: #005463;\n}\n.ws-button-primary.disabled,\n.ws-button-primary[disabled] {\n background-color: #82bac4;\n border: none;\n cursor: none;\n}\n.ws-button-secondary,\n.ws-button-secondary-loading {\n background-color: #ffffff;\n border: 2px solid #05758a;\n color: #05758a;\n}\n.ws-button-secondary-loading {\n cursor: none;\n}\n.ws-button-secondary:hover {\n border: 2px solid #005463;\n color: #005463;\n}\n.ws-button-secondary.disabled,\n.ws-button-secondary[disabled] {\n background-color: #ffffff;\n border: 2px solid #82bac4;\n color: #82bac4;\n cursor: none;\n}\n`,"",{version:3,sources:["webpack://./src/components/ws-button/ws-button.component.less"],names:[],mappings:"AAIA;EACI,eAAA;EACA,qBAAA;EACA,eAAA;EACA,gBAAA;EACA,kBAAA;EACA,yEAAA;EACA,iBAAA;EACA,WAAA;AAHJ;AAKI;EACI,mBAAA;EACA,YAAA;AAHR;AAMI;EACI,mBAAA;EACA,YAAA;AAJR;AAOI;EACI,yBAAA;EACA,YAAA;AALR;AAQI;EACI,yDAAA;EACA,4BAAA;EACA,cAAA;EACA,YAAA;EACA,cAAA;EACA,WAAA;AANR;AAUI;EACI,yDAAA;EACA,4BAAA;EACA,cAAA;EACA,YAAA;EACA,cAAA;EACA,WAAA;AARR;AAYA;EACI,aAAA;AAVJ;AAcA;;EAEI,yBAAA;EACA,YAAA;EACA,cAAA;AAZJ;AAeA;EACI,YAAA;AAbJ;AAgBA;EACI,yBAAA;AAdJ;AAiBA;;EAEI,yBAAA;EACA,YAAA;EACA,YAAA;AAfJ;AAmBA;;EAEI,yBAAA;EACA,yBAAA;EACA,cAAA;AAjBJ;AAoBA;EACI,YAAA;AAlBJ;AAqBA;EACI,yBAAA;EACA,cAAA;AAnBJ;AAsBA;;EAEI,yBAAA;EACA,yBAAA;EACA,cAAA;EACA,YAAA;AApBJ",sourcesContent:["// Copyright \xa9 2024. Cloud Software Group, Inc. All Rights Reserved. Confidential & Proprietary.\n\n@import (reference) '../../../theme.less';\n\n.ws-button {\n cursor: pointer;\n display: inline-block;\n font-size: 16px;\n font-weight: 600;\n text-align: center;\n transition: background-color 0.1s ease, border 0.1s ease, color 0.1s ease;\n user-select: none;\n width: 100%;\n\n &-default {\n border-radius: 20px;\n height: 40px;\n }\n\n &-baby {\n border-radius: 12px;\n height: 24px;\n }\n\n &-loading {\n background-color: @ws-button-primary-background-color;\n border: none;\n }\n\n &-loading-content-light {\n background-image: url('../../assets/spinner-light.svg');\n background-repeat: no-repeat;\n display: block;\n height: 20px;\n margin: 0 auto;\n width: 20px;\n \n }\n\n &-loading-content-dark {\n background-image: url('../../assets/spinner-dark.svg');\n background-repeat: no-repeat;\n display: block;\n height: 20px;\n margin: 0 auto;\n width: 20px;\n }\n}\n\n.ws-button:focus {\n outline: none;\n}\n\n// primary button\n.ws-button-primary, \n.ws-button-primary-loading {\n background-color: @ws-button-primary-background-color;\n border: none;\n color: @ws-button-primary-text-color;\n}\n\n.ws-button-primary-loading {\n cursor: none;\n}\n\n.ws-button-primary:hover {\n background-color: @ws-button-primary-background-color-hover;\n}\n\n.ws-button-primary.disabled, \n.ws-button-primary[disabled] {\n background-color: @ws-button-primary-background-color-disabled;\n border: none;\n cursor: none;\n}\n\n// secondary button\n.ws-button-secondary,\n.ws-button-secondary-loading {\n background-color: @ws-button-secondary-background-color;\n border: 2px solid @ws-button-secondary-border-color;\n color: @ws-button-secondary-text-color;\n}\n\n.ws-button-secondary-loading {\n cursor: none;\n}\n\n.ws-button-secondary:hover {\n border: 2px solid @ws-button-secondary-border-hover;\n color: @ws-button-secondary-text-color-hover;\n}\n\n.ws-button-secondary.disabled, \n.ws-button-secondary[disabled] {\n background-color: @ws-button-secondary-background-color-disabled;\n border: 2px solid @ws-button-secondary-border-hover-disabled;\n color: @ws-button-secondary-text-color-disabled;\n cursor: none;\n}\n"],sourceRoot:""}]);const b=d},186:n=>{var e=[];function o(n){for(var o=-1,r=0;r<e.length;r++)if(e[r].identifier===n){o=r;break}return o}function r(n,r){for(var a={},s=[],c=0;c<n.length;c++){var i=n[c],A=r.base?i[0]+r.base:i[0],u=a[A]||0,d="".concat(A," ").concat(u);a[A]=u+1;var l=o(d),p={css:i[1],media:i[2],sourceMap:i[3],supports:i[4],layer:i[5]};if(-1!==l)e[l].references++,e[l].updater(p);else{var b=t(p,r);r.byIndex=c,e.splice(c,0,{identifier:d,updater:b,references:1})}s.push(d)}return s}function t(n,e){var o=e.domAPI(e);o.update(n);return function(e){if(e){if(e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap&&e.supports===n.supports&&e.layer===n.layer)return;o.update(n=e)}else o.remove()}}n.exports=function(n,t){var a=r(n=n||[],t=t||{});return function(n){n=n||[];for(var s=0;s<a.length;s++){var c=o(a[s]);e[c].references--}for(var i=r(n,t),A=0;A<a.length;A++){var u=o(a[A]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}a=i}}},433:n=>{var e={};n.exports=function(n,o){var r=function(n){if("undefined"===typeof e[n]){var o=document.querySelector(n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(r){o=null}e[n]=o}return e[n]}(n);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(o)}},990:n=>{n.exports=function(n){var e=document.createElement("style");return n.setAttributes(e,n.attributes),n.insert(e,n.options),e}},626:(n,e,o)=>{n.exports=function(n){var e=o.nc;e&&n.setAttribute("nonce",e)}},155:n=>{n.exports=function(n){if("undefined"===typeof document)return{update:function(){},remove:function(){}};var e=n.insertStyleElement(n);return{update:function(o){!function(n,e,o){var r="";o.supports&&(r+="@supports (".concat(o.supports,") {")),o.media&&(r+="@media ".concat(o.media," {"));var t="undefined"!==typeof o.layer;t&&(r+="@layer".concat(o.layer.length>0?" ".concat(o.layer):""," {")),r+=o.css,t&&(r+="}"),o.media&&(r+="}"),o.supports&&(r+="}");var a=o.sourceMap;a&&"undefined"!==typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(r,n,e.options)}(e,n,o)},remove:function(){!function(n){if(null===n.parentNode)return!1;n.parentNode.removeChild(n)}(e)}}}},827:n=>{n.exports=function(n,e){if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},714:(n,e,o)=>{n.exports=o.p+"65512c09253771cf0875.svg"},226:(n,e,o)=>{n.exports=o.p+"b0f8f368da08f13ab31d.svg"},883:e=>{e.exports=n}},o={};function r(n){var t=o[n];if(void 0!==t)return t.exports;var a=o[n]={id:n,exports:{}};return e[n](a,a.exports,r),a.exports}r.m=e,r.n=n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return r.d(e,{a:e}),e},r.d=(n,e)=>{for(var o in e)r.o(e,o)&&!r.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"===typeof window)return window}}(),r.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),r.r=n=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},(()=>{var n;r.g.importScripts&&(n=r.g.location+"");var e=r.g.document;if(!n&&e&&(e.currentScript&&"SCRIPT"===e.currentScript.tagName.toUpperCase()&&(n=e.currentScript.src),!n)){var o=e.getElementsByTagName("script");if(o.length)for(var t=o.length-1;t>-1&&(!n||!/^http(s?):/.test(n));)n=o[t--].src}if(!n)throw new Error("Automatic publicPath is not supported in this browser");n=n.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=n})(),r.b=document.baseURI||self.location.href,r.nc=void 0;var t={};r.r(t),r.d(t,{WsButton:()=>w});r(883);var a=r(186),s=r.n(a),c=r(155),i=r.n(c),A=r(433),u=r.n(A),d=r(626),l=r.n(d),p=r(990),b=r.n(p),f=r(827),y=r.n(f),g=r(994),h={};h.styleTagTransform=y(),h.setAttributes=l(),h.insert=u().bind(null,"head"),h.domAPI=i(),h.insertStyleElement=b();s()(g.A,h);g.A&&g.A.locals&&g.A.locals;var m=r(446);const w=function(n){let{id:e,children:o,disabled:r,isLoading:t,name:a,onClick:s,size:c,tabIndex:i,type:A,value:u,variant:d}=n;const l=["ws-button"];c&&"default"!==c?"baby"===c&&l.push("ws-button-baby"):l.push("ws-button-default");let p=null;return t?(l.push("ws-button-loading"),"primary"===d?p=(0,m.jsx)("div",{className:"ws-button-loading-content-light"}):"secondary"===d&&(p=(0,m.jsx)("div",{className:"ws-button-loading-content-dark"})),"primary"===d?l.push("ws-button-primary-loading"):"secondary"===d&&l.push("ws-button-secondary-loading")):"primary"===d?l.push("ws-button-primary"):"secondary"===d&&l.push("ws-button-secondary"),(0,m.jsx)("button",{"data-testid":"ws-button.component",className:l.join(" "),disabled:r,id:e,name:a,onClick:s,tabIndex:i,type:A,value:u,children:p||o})};return t})()));
|
3
|
+
//# sourceMappingURL=shared.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"shared.js","mappings":";CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,UACR,oBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,CAAC,SAAUJ,GACQ,kBAAZC,QACdA,QAAuB,cAAID,EAAQG,QAAQ,UAE3CJ,EAAoB,cAAIC,EAAQD,EAAY,MAC7C,CATD,C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ary/webpack/universalModuleDefinition","webpack://SharedLibrary/./node_modules/css-loader/dist/runtime/api.js","webpack://SharedLibrary/./node_modules/css-loader/dist/runtime/getUrl.js","webpack://SharedLibrary/./node_modules/css-loader/dist/runtime/sourceMaps.js","webpack://SharedLibrary/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://SharedLibrary/./node_modules/react/jsx-runtime.js","webpack://SharedLibrary/./src/components/ws-button/ws-button.component.less","webpack://SharedLibrary/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://SharedLibrary/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://SharedLibrary/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://SharedLibrary/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://SharedLibrary/./node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://SharedLibrary/./node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://SharedLibrary/external umd \"React\"","webpack://SharedLibrary/webpack/bootstrap","webpack://SharedLibrary/webpack/runtime/compat get default export","webpack://SharedLibrary/webpack/runtime/define property getters","webpack://SharedLibrary/webpack/runtime/global","webpack://SharedLibrary/webpack/runtime/hasOwnProperty shorthand","webpack://SharedLibrary/webpack/runtime/make namespace object","webpack://SharedLibrary/webpack/runtime/publicPath","webpack://SharedLibrary/webpack/runtime/jsonp chunk loading","webpack://SharedLibrary/webpack/runtime/nonce","webpack://SharedLibrary/./src/components/ws-button/ws-button.component.less?e069","webpack://SharedLibrary/./src/components/ws-button/ws-button.component.jsx"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"React\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"SharedLibrary\"] = factory(require(\"React\"));\n\telse\n\t\troot[\"SharedLibrary\"] = factory(root[\"React\"]);\n})(this, (__WEBPACK_EXTERNAL_MODULE__883__) => {\nreturn ","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","\"use strict\";\n\nmodule.exports = function (url, options) {\n if (!options) {\n options = {};\n }\n if (!url) {\n return url;\n }\n url = String(url.__esModule ? url.default : url);\n\n // If url is already wrapped in quotes, remove them\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n if (options.hash) {\n url += options.hash;\n }\n\n // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n if (/[\"'() \\t\\n]|(%20)/.test(url) || options.needQuotes) {\n return \"\\\"\".concat(url.replace(/\"/g, '\\\\\"').replace(/\\n/g, \"\\\\n\"), \"\\\"\");\n }\n return url;\n};","\"use strict\";\n\nmodule.exports = function (item) {\n var content = item[1];\n var cssMapping = item[3];\n if (!cssMapping) {\n return content;\n }\n if (typeof btoa === \"function\") {\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n return [content].concat([sourceMapping]).join(\"\\n\");\n }\n return [content].join(\"\\n\");\n};","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"../../assets/spinner-light.svg\", import.meta.url);\nvar ___CSS_LOADER_URL_IMPORT_1___ = new URL(\"../../assets/spinner-dark.svg\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\nvar ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.ws-button {\n cursor: pointer;\n display: inline-block;\n font-size: 16px;\n font-weight: 600;\n text-align: center;\n transition: background-color 0.1s ease, border 0.1s ease, color 0.1s ease;\n user-select: none;\n width: 100%;\n}\n.ws-button-default {\n border-radius: 20px;\n height: 40px;\n}\n.ws-button-baby {\n border-radius: 12px;\n height: 24px;\n}\n.ws-button-loading {\n background-color: #05758a;\n border: none;\n}\n.ws-button-loading-content-light {\n background-image: url(${___CSS_LOADER_URL_REPLACEMENT_0___});\n background-repeat: no-repeat;\n display: block;\n height: 20px;\n margin: 0 auto;\n width: 20px;\n}\n.ws-button-loading-content-dark {\n background-image: url(${___CSS_LOADER_URL_REPLACEMENT_1___});\n background-repeat: no-repeat;\n display: block;\n height: 20px;\n margin: 0 auto;\n width: 20px;\n}\n.ws-button:focus {\n outline: none;\n}\n.ws-button-primary,\n.ws-button-primary-loading {\n background-color: #05758a;\n border: none;\n color: #ffffff;\n}\n.ws-button-primary-loading {\n cursor: none;\n}\n.ws-button-primary:hover {\n background-color: #005463;\n}\n.ws-button-primary.disabled,\n.ws-button-primary[disabled] {\n background-color: #82bac4;\n border: none;\n cursor: none;\n}\n.ws-button-secondary,\n.ws-button-secondary-loading {\n background-color: #ffffff;\n border: 2px solid #05758a;\n color: #05758a;\n}\n.ws-button-secondary-loading {\n cursor: none;\n}\n.ws-button-secondary:hover {\n border: 2px solid #005463;\n color: #005463;\n}\n.ws-button-secondary.disabled,\n.ws-button-secondary[disabled] {\n background-color: #ffffff;\n border: 2px solid #82bac4;\n color: #82bac4;\n cursor: none;\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/ws-button/ws-button.component.less\"],\"names\":[],\"mappings\":\"AAIA;EACI,eAAA;EACA,qBAAA;EACA,eAAA;EACA,gBAAA;EACA,kBAAA;EACA,yEAAA;EACA,iBAAA;EACA,WAAA;AAHJ;AAKI;EACI,mBAAA;EACA,YAAA;AAHR;AAMI;EACI,mBAAA;EACA,YAAA;AAJR;AAOI;EACI,yBAAA;EACA,YAAA;AALR;AAQI;EACI,yDAAA;EACA,4BAAA;EACA,cAAA;EACA,YAAA;EACA,cAAA;EACA,WAAA;AANR;AAUI;EACI,yDAAA;EACA,4BAAA;EACA,cAAA;EACA,YAAA;EACA,cAAA;EACA,WAAA;AARR;AAYA;EACI,aAAA;AAVJ;AAcA;;EAEI,yBAAA;EACA,YAAA;EACA,cAAA;AAZJ;AAeA;EACI,YAAA;AAbJ;AAgBA;EACI,yBAAA;AAdJ;AAiBA;;EAEI,yBAAA;EACA,YAAA;EACA,YAAA;AAfJ;AAmBA;;EAEI,yBAAA;EACA,yBAAA;EACA,cAAA;AAjBJ;AAoBA;EACI,YAAA;AAlBJ;AAqBA;EACI,yBAAA;EACA,cAAA;AAnBJ;AAsBA;;EAEI,yBAAA;EACA,yBAAA;EACA,cAAA;EACA,YAAA;AApBJ\",\"sourcesContent\":[\"// Copyright © 2024. Cloud Software Group, Inc. All Rights Reserved. Confidential & Proprietary.\\n\\n@import (reference) '../../../theme.less';\\n\\n.ws-button {\\n cursor: pointer;\\n display: inline-block;\\n font-size: 16px;\\n font-weight: 600;\\n text-align: center;\\n transition: background-color 0.1s ease, border 0.1s ease, color 0.1s ease;\\n user-select: none;\\n width: 100%;\\n\\n &-default {\\n border-radius: 20px;\\n height: 40px;\\n }\\n\\n &-baby {\\n border-radius: 12px;\\n height: 24px;\\n }\\n\\n &-loading {\\n background-color: @ws-button-primary-background-color;\\n border: none;\\n }\\n\\n &-loading-content-light {\\n background-image: url('../../assets/spinner-light.svg');\\n background-repeat: no-repeat;\\n display: block;\\n height: 20px;\\n margin: 0 auto;\\n width: 20px;\\n \\n }\\n\\n &-loading-content-dark {\\n background-image: url('../../assets/spinner-dark.svg');\\n background-repeat: no-repeat;\\n display: block;\\n height: 20px;\\n margin: 0 auto;\\n width: 20px;\\n }\\n}\\n\\n.ws-button:focus {\\n outline: none;\\n}\\n\\n// primary button\\n.ws-button-primary, \\n.ws-button-primary-loading {\\n background-color: @ws-button-primary-background-color;\\n border: none;\\n color: @ws-button-primary-text-color;\\n}\\n\\n.ws-button-primary-loading {\\n cursor: none;\\n}\\n\\n.ws-button-primary:hover {\\n background-color: @ws-button-primary-background-color-hover;\\n}\\n\\n.ws-button-primary.disabled, \\n.ws-button-primary[disabled] {\\n background-color: @ws-button-primary-background-color-disabled;\\n border: none;\\n cursor: none;\\n}\\n\\n// secondary button\\n.ws-button-secondary,\\n.ws-button-secondary-loading {\\n background-color: @ws-button-secondary-background-color;\\n border: 2px solid @ws-button-secondary-border-color;\\n color: @ws-button-secondary-text-color;\\n}\\n\\n.ws-button-secondary-loading {\\n cursor: none;\\n}\\n\\n.ws-button-secondary:hover {\\n border: 2px solid @ws-button-secondary-border-hover;\\n color: @ws-button-secondary-text-color-hover;\\n}\\n\\n.ws-button-secondary.disabled, \\n.ws-button-secondary[disabled] {\\n background-color: @ws-button-secondary-background-color-disabled;\\n border: 2px solid @ws-button-secondary-border-hover-disabled;\\n color: @ws-button-secondary-text-color-disabled;\\n cursor: none;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next */\nfunction apply(styleElement, options, obj) {\n var css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n var sourceMap = obj.sourceMap;\n if (sourceMap && typeof btoa !== \"undefined\") {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n }\n\n // For old IE\n /* istanbul ignore if */\n options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n // istanbul ignore if\n if (styleElement.parentNode === null) {\n return false;\n }\n styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") {\n return {\n update: function update() {},\n remove: function remove() {}\n };\n }\n var styleElement = options.insertStyleElement(options);\n return {\n update: function update(obj) {\n apply(styleElement, options, obj);\n },\n remove: function remove() {\n removeStyleElement(styleElement);\n }\n };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next */\nfunction styleTagTransform(css, styleElement) {\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css;\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild);\n }\n styleElement.appendChild(document.createTextNode(css));\n }\n}\nmodule.exports = styleTagTransform;","module.exports = __WEBPACK_EXTERNAL_MODULE__883__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT')\n\t\tscriptUrl = document.currentScript.src;\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) {\n\t\t\tvar i = scripts.length - 1;\n\t\t\twhile (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src;\n\t\t}\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t792: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// no jsonp function","__webpack_require__.nc = undefined;","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./ws-button.component.less\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./ws-button.component.less\";\n export default content && content.locals ? content.locals : undefined;\n","// Copyright © 2024. Cloud Software Group, Inc. All Rights Reserved. Confidential & Proprietary.\r\n\r\n// Dependencies\r\nimport React from 'react';\r\nimport './ws-button.component.less';\r\n\r\nfunction WsButton({id, children, disabled, isLoading, name, onClick, size, tabIndex, type, value, variant }) {\r\n const classes = ['ws-button'];\r\n if (!size || size === 'default') {\r\n classes.push('ws-button-default');\r\n } else if (size === 'baby') {\r\n classes.push('ws-button-baby');\r\n }\r\n let loading = null;\r\n if (isLoading) {\r\n classes.push('ws-button-loading');\r\n if (variant === 'primary') {\r\n loading = <div className='ws-button-loading-content-light' />;\r\n } else if (variant === 'secondary') {\r\n loading = <div className='ws-button-loading-content-dark' />;\r\n }\r\n if (variant === 'primary') {\r\n classes.push('ws-button-primary-loading');\r\n } else if (variant === 'secondary') {\r\n classes.push('ws-button-secondary-loading');\r\n }\r\n } else {\r\n if (variant === 'primary') {\r\n classes.push('ws-button-primary');\r\n } else if (variant === 'secondary') {\r\n classes.push('ws-button-secondary');\r\n }\r\n }\r\n return (\r\n <button data-testid=\"ws-button.component\" className={classes.join(' ')}\r\n disabled={disabled}\r\n id={id}\r\n name={name}\r\n onClick={onClick}\r\n tabIndex={tabIndex}\r\n type={type}\r\n value={value}>\r\n {loading ? loading : children}\r\n </button>\r\n );\r\n}\r\n\r\nexport default WsButton;"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE__883__","cssWithMappingToString","list","toString","map","item","content","needLayer","concat","length","join","i","modules","media","dedupe","supports","layer","undefined","alreadyImportedModules","k","id","_k","push","url","options","String","__esModule","default","test","slice","hash","needQuotes","replace","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","f","Symbol","for","l","m","Object","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","e","h","call","defaultProps","$$typeof","type","props","_owner","current","jsx","___CSS_LOADER_URL_IMPORT_0___","URL","___CSS_LOADER_URL_IMPORT_1___","___CSS_LOADER_EXPORT___","___CSS_LOADER_URL_REPLACEMENT_0___","___CSS_LOADER_URL_REPLACEMENT_1___","stylesInDOM","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","indexByIdentifier","obj","css","sourceMap","references","updater","addElementStyle","byIndex","splice","api","domAPI","update","newObj","remove","lastIdentifiers","newList","index","newLastIdentifiers","_i","_index","memo","insert","style","target","styleTarget","document","querySelector","window","HTMLIFrameElement","contentDocument","head","getTarget","Error","appendChild","element","createElement","setAttributes","attributes","styleElement","nonce","setAttribute","insertStyleElement","styleTagTransform","apply","parentNode","removeChild","removeStyleElement","styleSheet","cssText","firstChild","createTextNode","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","definition","o","defineProperty","enumerable","get","globalThis","Function","prop","r","toStringTag","value","scriptUrl","importScripts","location","currentScript","tagName","toUpperCase","src","scripts","getElementsByTagName","baseURI","self","href","nc","locals","_ref","children","disabled","isLoading","name","onClick","size","tabIndex","variant","classes","loading","_jsx","className"],"sourceRoot":""}
|
package/package.json
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
{
|
2
|
+
"name": "sharedui2",
|
3
|
+
"version": "0.1.0",
|
4
|
+
"main": "dist/shared.js",
|
5
|
+
"overrides": {
|
6
|
+
"react-scripts": {
|
7
|
+
"@svgr/webpack": "8.1.0",
|
8
|
+
"typescript": "4.9.5",
|
9
|
+
"postcss": "8.4.38"
|
10
|
+
}
|
11
|
+
},
|
12
|
+
"dependencies": {
|
13
|
+
"@babel/eslint-parser": "^7.25.9",
|
14
|
+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
15
|
+
"@testing-library/jest-dom": "^5.17.0",
|
16
|
+
"@testing-library/user-event": "^13.5.0",
|
17
|
+
"react": "^18.3.1",
|
18
|
+
"react-dom": "^18.3.1",
|
19
|
+
"react-router-dom": "^6.28.0",
|
20
|
+
"react-scripts": "5.0.1",
|
21
|
+
"web-vitals": "^2.1.4"
|
22
|
+
},
|
23
|
+
"scripts": {
|
24
|
+
"start": "craco start",
|
25
|
+
"build": "craco build",
|
26
|
+
"test": "craco test",
|
27
|
+
"eject": "react-scripts eject"
|
28
|
+
},
|
29
|
+
"eslintConfig": {
|
30
|
+
"extends": [
|
31
|
+
"react-app",
|
32
|
+
"react-app/jest"
|
33
|
+
]
|
34
|
+
},
|
35
|
+
"browserslist": {
|
36
|
+
"production": [
|
37
|
+
">0.2%",
|
38
|
+
"not dead",
|
39
|
+
"not op_mini all"
|
40
|
+
],
|
41
|
+
"development": [
|
42
|
+
"last 1 chrome version",
|
43
|
+
"last 1 firefox version",
|
44
|
+
"last 1 safari version"
|
45
|
+
]
|
46
|
+
},
|
47
|
+
"devDependencies": {
|
48
|
+
"@craco/craco": "^7.1.0",
|
49
|
+
"@testing-library/dom": "^10.4.0",
|
50
|
+
"@testing-library/react": "^16.0.1",
|
51
|
+
"eslint": "^8.57.1",
|
52
|
+
"eslint-plugin-react": "^7.37.2",
|
53
|
+
"less": "^4.2.0",
|
54
|
+
"less-loader": "^12.2.0"
|
55
|
+
}
|
56
|
+
}
|
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
|
+
<meta name="theme-color" content="#000000" />
|
8
|
+
<meta
|
9
|
+
name="description"
|
10
|
+
content="Web site created using create-react-app"
|
11
|
+
/>
|
12
|
+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
13
|
+
<!--
|
14
|
+
manifest.json provides metadata used when your web app is installed on a
|
15
|
+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
16
|
+
-->
|
17
|
+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
18
|
+
<!--
|
19
|
+
Notice the use of %PUBLIC_URL% in the tags above.
|
20
|
+
It will be replaced with the URL of the `public` folder during the build.
|
21
|
+
Only files inside the `public` folder can be referenced from the HTML.
|
22
|
+
|
23
|
+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
24
|
+
work correctly both with client-side routing and a non-root public URL.
|
25
|
+
Learn how to configure a non-root public URL by running `npm run build`.
|
26
|
+
-->
|
27
|
+
<title>React App</title>
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
31
|
+
<div id="root"></div>
|
32
|
+
<!--
|
33
|
+
This HTML file is a template.
|
34
|
+
If you open it directly in the browser, you will see an empty page.
|
35
|
+
|
36
|
+
You can add webfonts, meta tags, or analytics to this file.
|
37
|
+
The build step will place the bundled scripts into the <body> tag.
|
38
|
+
|
39
|
+
To begin the development, run `npm start` or `yarn start`.
|
40
|
+
To create a production bundle, use `npm run build` or `yarn build`.
|
41
|
+
-->
|
42
|
+
</body>
|
43
|
+
</html>
|
Binary file
|
Binary file
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"short_name": "React App",
|
3
|
+
"name": "Create React App Sample",
|
4
|
+
"icons": [
|
5
|
+
{
|
6
|
+
"src": "favicon.ico",
|
7
|
+
"sizes": "64x64 32x32 24x24 16x16",
|
8
|
+
"type": "image/x-icon"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"src": "logo192.png",
|
12
|
+
"type": "image/png",
|
13
|
+
"sizes": "192x192"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"src": "logo512.png",
|
17
|
+
"type": "image/png",
|
18
|
+
"sizes": "512x512"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"start_url": ".",
|
22
|
+
"display": "standalone",
|
23
|
+
"theme_color": "#000000",
|
24
|
+
"background_color": "#ffffff"
|
25
|
+
}
|
package/src/App.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
// Copyright © 2024. Cloud Software Group, Inc. All Rights Reserved. Confidential & Proprietary.
|
2
|
+
|
3
|
+
import { Routes, Route } from 'react-router-dom';
|
4
|
+
import Buttons from './components/ws-button/ws-buttons.component.jsx';
|
5
|
+
|
6
|
+
// Component for Home page
|
7
|
+
function Home() {
|
8
|
+
return <h2>Home Page</h2>;
|
9
|
+
}
|
10
|
+
|
11
|
+
function App() {
|
12
|
+
return (
|
13
|
+
<Routes>
|
14
|
+
<Route path="/" element={<Home />} />
|
15
|
+
<Route path="/buttons" element={<Buttons />} />
|
16
|
+
</Routes>
|
17
|
+
);
|
18
|
+
}
|
19
|
+
|
20
|
+
export default App;
|
package/src/App.less
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
.App {
|
2
|
+
text-align: center;
|
3
|
+
}
|
4
|
+
|
5
|
+
.App-logo {
|
6
|
+
height: 40vmin;
|
7
|
+
pointer-events: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
@media (prefers-reduced-motion: no-preference) {
|
11
|
+
.App-logo {
|
12
|
+
animation: App-logo-spin infinite 20s linear;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
.App-header {
|
17
|
+
background-color: #282c34;
|
18
|
+
min-height: 100vh;
|
19
|
+
display: flex;
|
20
|
+
flex-direction: column;
|
21
|
+
align-items: center;
|
22
|
+
justify-content: center;
|
23
|
+
font-size: calc(10px + 2vmin);
|
24
|
+
color: white;
|
25
|
+
}
|
26
|
+
|
27
|
+
.App-link {
|
28
|
+
color: red;
|
29
|
+
}
|
30
|
+
|
31
|
+
@keyframes App-logo-spin {
|
32
|
+
from {
|
33
|
+
transform: rotate(0deg);
|
34
|
+
}
|
35
|
+
to {
|
36
|
+
transform: rotate(360deg);
|
37
|
+
}
|
38
|
+
}
|
package/src/App.test.js
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
import { render, screen } from '@testing-library/react';
|
2
|
+
import { MemoryRouter } from 'react-router-dom';
|
3
|
+
import App from './App';
|
4
|
+
|
5
|
+
test('renders Home page on default route ("/")', () => {
|
6
|
+
render(
|
7
|
+
<MemoryRouter initialEntries={['/']}>
|
8
|
+
<App />
|
9
|
+
</MemoryRouter>
|
10
|
+
);
|
11
|
+
expect(screen.getByText('Home Page')).toBeInTheDocument();
|
12
|
+
});
|
13
|
+
|
14
|
+
|
15
|
+
test('renders buttons route', () => {
|
16
|
+
render(
|
17
|
+
<MemoryRouter initialEntries={['/buttons']}>
|
18
|
+
<App />
|
19
|
+
</MemoryRouter>
|
20
|
+
);
|
21
|
+
const buttons = screen.getByTestId('buttons.component');
|
22
|
+
expect(buttons).toBeInTheDocument();
|
23
|
+
});
|
Binary file
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<svg width="209px" height="71px" viewBox="0 0 209 71" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
+
<title>Citrix-Wordmark-000000-20200225</title>
|
4
|
+
<defs>
|
5
|
+
<polygon id="path-1" points="0.0002 0.7184 48.6282 0.7184 48.6282 55 0.0002 55"></polygon>
|
6
|
+
<polygon id="path-3" points="0.3122 0.078 21.4772 0.078 21.4772 70.2098 0.3122 70.2098"></polygon>
|
7
|
+
</defs>
|
8
|
+
<g id="Citrix-Wordmark-000000-20200225" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
9
|
+
<g id="Group-3" transform="translate(0.000000, 15.922100)">
|
10
|
+
<mask id="mask-2" fill="white">
|
11
|
+
<use xlink:href="#path-1"></use>
|
12
|
+
</mask>
|
13
|
+
<g id="Clip-2"></g>
|
14
|
+
<path d="M0.0002,27.8704 C0.0002,11.8634 10.7402,0.7184 26.0382,0.7184 C36.3702,0.7184 44.7802,5.8874 48.1212,13.8884 C48.5292,14.6964 48.6282,15.4064 48.6282,16.2184 C48.6282,18.0414 47.2092,19.2584 45.3862,19.2584 C43.9682,19.2584 42.7552,18.4464 42.1452,16.8254 C39.5132,10.3414 33.5372,6.5924 26.0382,6.5924 C14.5882,6.5924 6.5872,15.3074 6.5872,27.8704 C6.5872,40.3314 14.4892,49.0424 26.0382,49.0424 C33.5372,49.0424 39.2082,45.3954 42.2482,37.7984 C42.8542,36.2764 43.8692,35.3644 45.3862,35.3644 C47.2092,35.3644 48.6282,36.7834 48.6282,38.6064 C48.6282,39.3164 48.5292,39.8234 48.2242,40.7344 C44.9822,49.4464 36.6752,55.0184 26.0382,55.0184 C10.6372,55.0184 0.0002,43.8744 0.0002,27.8704" id="Fill-1" fill="#000000" mask="url(#mask-2)"></path>
|
15
|
+
</g>
|
16
|
+
<g id="Group-6" transform="translate(80.000000, -0.077900)">
|
17
|
+
<mask id="mask-4" fill="white">
|
18
|
+
<use xlink:href="#path-3"></use>
|
19
|
+
</mask>
|
20
|
+
<g id="Clip-5"></g>
|
21
|
+
<path d="M6.8972,66.5638 C6.8972,68.7918 5.6802,70.2098 3.5562,70.2098 C1.4282,70.2098 0.3142,68.7918 0.3142,66.5638 L0.3122,3.7278 C0.3122,1.3978 1.5292,0.0778 3.6572,0.0778 C5.7852,0.0778 6.8992,1.3978 6.8992,3.7278 L6.8992,18.0348 L18.2352,18.0348 C20.2602,18.0348 21.4772,19.1478 21.4772,20.9708 C21.4772,22.7978 20.2602,23.9118 18.2352,23.9118 L6.8992,23.9118 L6.8972,66.5638 Z" id="Fill-4" fill="#000000" mask="url(#mask-4)"></path>
|
22
|
+
</g>
|
23
|
+
<path d="M137.6413,21.5035 C137.6413,23.3265 136.3223,24.6425 134.4003,24.6425 C133.6903,24.6425 132.9813,24.4405 131.9663,23.9335 C130.4483,23.2235 128.8283,22.8195 126.6993,22.8195 C119.7073,22.8195 115.1503,28.8995 115.1503,36.5995 L115.1503,66.4855 C115.1503,68.8125 114.0373,70.1325 111.9083,70.1325 C109.7803,70.1325 108.5633,68.8125 108.5633,66.4855 L108.5633,21.0995 C108.5633,18.7695 109.7803,17.4495 111.9083,17.4495 C114.0373,17.4495 115.1503,18.7695 115.1503,21.0995 L115.1503,22.4155 C117.9883,18.6665 122.4423,16.6405 127.4093,16.6405 C131.2563,16.6405 133.9913,17.4495 135.9173,18.6665 C137.0313,19.3755 137.6413,20.2875 137.6413,21.5035" id="Fill-7" fill="#000000"></path>
|
24
|
+
<path d="M144.323,21.0997 C144.323,18.7687 145.536,17.4497 147.665,17.4497 C149.793,17.4497 150.906,18.7687 150.906,21.0997 L150.906,66.4857 C150.906,68.7137 149.689,70.1327 147.565,70.1327 C145.437,70.1327 144.323,68.7137 144.323,66.4857 L144.323,21.0997 Z" id="Fill-9" fill="#000000"></path>
|
25
|
+
<path d="M60.1965,21.0997 C60.1965,18.7687 61.4095,17.4497 63.5375,17.4497 C65.6655,17.4497 66.7795,18.7687 66.7795,21.0997 L66.7795,66.4857 C66.7795,68.7137 65.5625,70.1327 63.4385,70.1327 C61.3105,70.1327 60.1965,68.7137 60.1965,66.4857 L60.1965,21.0997 Z" id="Fill-11" fill="#000000"></path>
|
26
|
+
<path d="M68.6623,5.1744 C68.6623,8.0314 66.3453,10.3484 63.4883,10.3484 C60.6303,10.3484 58.3133,8.0314 58.3133,5.1744 C58.3133,2.3164 60.6303,0.0004 63.4883,0.0004 C66.3453,0.0004 68.6623,2.3164 68.6623,5.1744" id="Fill-13" fill="#000000"></path>
|
27
|
+
<path d="M185.1433,47.8433 L167.2113,68.8123 C166.5023,69.7283 165.5903,70.1323 164.5763,70.1323 C162.7523,70.1323 161.4373,68.7133 161.4373,67.0923 C161.4373,66.3833 161.6393,65.5713 162.3493,64.7623 L181.0903,43.5883 L163.0583,22.9223 C162.3493,22.1103 161.9453,21.4003 161.9453,20.4893 C161.9453,18.8683 163.2603,17.4493 165.1863,17.4493 C166.1973,17.4493 166.9073,17.8573 167.7193,18.7693 L185.1433,39.2313 L202.5673,18.7693 C203.3793,17.8573 204.0893,17.4493 205.1003,17.4493 C207.0263,17.4493 208.3413,18.8683 208.3413,20.4893 C208.3413,21.4003 207.9373,22.1103 207.2283,22.9223 L189.1963,43.5883 L207.9373,64.7623 C208.6473,65.5713 208.8493,66.3833 208.8493,67.0923 C208.8493,68.7133 207.5333,70.1323 205.7103,70.1323 C204.6963,70.1323 203.7843,69.7283 203.0753,68.8123 L185.1433,47.8433 Z" id="Fill-15" fill="#000000"></path>
|
28
|
+
<path d="M190.3171,5.1744 C190.3171,8.0314 188.0011,10.3484 185.1431,10.3484 C182.2861,10.3484 179.9681,8.0314 179.9681,5.1744 C179.9681,2.3164 182.2861,0.0004 185.1431,0.0004 C188.0011,0.0004 190.3171,2.3164 190.3171,5.1744" id="Fill-19" fill="#000000"></path>
|
29
|
+
</g>
|
30
|
+
</svg>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
4
|
+
viewBox="0 0 52 52" style="enable-background:new 0 0 52 52;" xml:space="preserve">
|
5
|
+
<g>
|
6
|
+
<polygon style="fill-rule:evenodd;clip-rule:evenodd;fill:#485164;" points="47.4,0.2 26.2,21.5 4.9,0.2 0.2,4.9 21.4,26.2
|
7
|
+
0.2,47.5 4.9,52.2 26.2,30.9 47.4,52.2 52.2,47.5 30.9,26.2 52.2,4.9 "/>
|
8
|
+
</g>
|
9
|
+
</svg>
|