@touchtech/baselayer-ui 1.0.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 ADDED
@@ -0,0 +1,74 @@
1
+ # Baselayer UI - React Component Library
2
+
3
+
4
+ ## Development
5
+
6
+ Run `npm install` to install the project dependencies. Since this library is used by multiple Digital Showroom projects it's important that we create
7
+ a global [link](https://docs.npmjs.com/cli/link) so we can use this local copy in the other projects during development. Run `npm link` to do so.
8
+
9
+ Run `npm start` to open our [Storybook](https://storybook.js.org).
10
+
11
+ ### Testing
12
+
13
+ We test our components using [Jest](http://jestjs.io) and [React Testing Library](https://github.com/testing-library/react-testing-library). Tests are placed in the `__tests__` directory in the same directory as the component.
14
+
15
+ ```
16
+ src/
17
+ ├── Button
18
+ │ ├── Button.js
19
+ │ ├── Button.module.css
20
+ │ ├── Button.stories.js
21
+ │ ├── __tests__
22
+ │ │ └── Button.test.js
23
+ │ └── index.js
24
+ └── index.js
25
+
26
+ 2 directories, 6 files
27
+ ```
28
+
29
+ You can execute `npm run test` or `npm test` as a shorthand to run all tests. Running `npm test` every time you change a file gets old pretty fast. Thankfully we can mitigate that by entering watch mode.
30
+
31
+ - `npm test -- --watch`
32
+
33
+ ### Linting & Formatting
34
+
35
+ We lint our code using [ESlint](https://eslint.org). For your convinience there are a few [npm scripts](https://docs.npmjs.com/misc/scripts) available.
36
+
37
+ - `npm run lint` - Run the linter over the entire codebase and report problems.
38
+ - `npm run lint-fix` - Run the linter over the entire codebase and automatically fix problems.
39
+
40
+ [ESlint](https://eslint.org) also have editor integrations, see [editors](https://eslint.org/docs/user-guide/integrations#editors) for instructions on how to set up your editor.
41
+
42
+ We format our code using [Prettier](https://prettier.io). For your convinience there are a few [npm scripts](https://docs.npmjs.com/misc/scripts) available.
43
+
44
+ - `npm run format` - Run the formatter over the entire codebase and report any formatting issues.
45
+ - `npm run format-fix` - Run the formatter over the entire codebase and automatically format the code.
46
+
47
+ [Prettier](https://prettier.io) also have editor integrations, see [editors](https://prettier.io/docs/en/editors.html) for instructions on how to setup your editor.
48
+
49
+ Since linting and formatting is such a common task, you can execute `npm run check` to check for both linting problems and formatting issues simultaneously. Execute `npm run fix` to automatically fix both.
50
+
51
+ ### CSS
52
+
53
+ Each component can have a related CSS file. The CSS file should end with the extension `.module.css` and is treated as a [CSS Module](https://github.com/css-modules/css-modules). Whenever a `.module.css` file is imported, its definitions
54
+ are only available locally to the component importing it. When referencing class names from a CSS Module use camelCase. E.g., `.button-small` becomes `buttonSmall`.
55
+
56
+ **Example**
57
+
58
+ ```css
59
+ /* Button.module.css */
60
+ .button-small {
61
+ }
62
+ ```
63
+
64
+ ```javascript
65
+ // Button.js
66
+ import React from "react";
67
+ import styles from "./Button.module.css";
68
+
69
+ function Button({ children }) {
70
+ return <button className={styles.buttonSmall}>{children}</button>;
71
+ }
72
+
73
+ export default Button;
74
+ ```
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1932" height="1254" viewBox="0 0 1932 1254">
2
+ <path d="M547,564 L2172,564 C2207,564 2236,592 2236,627 C2236,662 2207,691 2172,691 L547,691 L1003,1146 C1028,1171 1028,1211 1003,1236 C978,1260 938,1260 913,1236 L304,627 L913,18 C938,-6 978,-6 1003,18 C1028,43 1028,83 1003,108 L547,564 Z" transform="translate(-304)"/>
3
+ </svg>
package/dist/bundle.js ADDED
@@ -0,0 +1,15 @@
1
+ !function(e,t){for(var a in t)e[a]=t[a]}(exports,function(e){var t={};function a(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=29)}([function(e,t,a){e.exports=a(27)()},function(e,t){e.exports=require("react")},function(e,t,a){var n;
2
+ /*!
3
+ Copyright (c) 2017 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var o=r.apply(null,n);o&&e.push(o)}else if("object"===i)for(var s in n)a.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},function(e,t,a){e.exports={container:"_2AasuMOuypf72nbY49wOB3",medium:"_2ccWTBUojwulFi4_HMdqrU",large:"_1fa3qv5sR2TPR6fpOfo5vm",inverted:"_2UYh9mgKjtU23uNhD83Ocx",rounded:"_3Z4Ktcy3wzAy44gorESgVr",plain:"_3904xHhy3YVRabzbm2Jp1m",transparent:"_2KgQIC54C7daQQvv2yx2AJ",stretchHorizontally:"vOIaBw3isf1BgJt3BtMaB",stretchVertically:"_2U6VwL29C2GriKDmpfnGs7",icon:"_8KOnJz0dKoQE4u5VPMox_"}},function(e,t,a){e.exports={container:"UFhkzqhonCpQ51u4CrX1t",medium:"K8wju_yT6BBEkxQSvBbji",large:"xa9TOtXuvIjYcON9CWpZE",inverted:"_18tgJGtxaIy6IkZdJCUCR1",rounded:"_2_eDclH1w76FWyN-sgxrz4",plain:"_2ZKuEedcJa23LSU5bqlK3k",transparent:"_2OqcqOvkDlXkNFZCXCHjxj",stretchHorizontally:"Pz69qX26v5M10VLHf4tGg",stretchVertically:"_32S1q5WprWdhjszlCSXuaj",icon:"_3G2FW5nLwHekds3ceysrsT"}},function(e,t,a){e.exports={container:"AvS0_YSbZqNZg8IWcaJwV",medium:"nfXZbsGD6SsCktuxGFXu6",large:"_2Zy48EfiqyIO3OehZWEmTd",inverted:"_3ICdtA8Bg_DxRZFwfG6fDp",plain:"_38k8iyngPtp-gPtJ3KmGFJ",transparent:"_3PtZ-HwHrieRv7vD5uLl-m",icon:"_3EkIuE-7jFloR2v7sxXnv3"}},function(e,t,a){e.exports={container:"_1hWS8Ctp_Xoptl5yH4iK10",medium:"_3UTD5rXy8pHInbyfAISfLM",large:"_2wAE1TI9UtoiVq8_mQ85zY",inverted:"DTmrJKQW_p69bmIfnz6pJ",plain:"_2Qo01PXIf_n07WdjfgRnsB",transparent:"_3bAFtWXUmgiVGOMoaqkNYk",icon:"_3_TEIn-NvzG9z0gRRz-iwm"}},function(e,t,a){e.exports={container:"FQuCidfLn1zXAIdtpAABK",modalHeader:"_3R3n7P4OiBE0Jiq3TqOsOz",modalContent:"_3BJi8ln7Dl1pAnoUvQAkZ",modalButtonsContainer:"_9EfRpte56_FRO34zqwGML",modalButtons:"-ZaLlNla8yzLCqW89ThVF"}},function(e,t,a){e.exports={imageContainer:"_3ga-5_2SfhLOfX-0-TDzHS",imageOverlay:"_3gmrpbvtZtoO-SkCDcBUJA",image:"_2nN1TMfQmlIA-AIvwXwDBJ",cover:"_199tBIf4h-Vim7lfnTpjc7",contain:"_22u3ihmiMr6W6QAqeppKJR",stretchHorizontally:"_1Icfq_z7gaGwsndPrHnMis",stretchVertically:"_3DaoKqEKFpY8KS-i9eGr4X"}},function(e,t,a){e.exports={container:"_28diEMRpUad1Q1fibH6MyE",medium:"lwlqUJXbDtDlGiMAiIKrF",large:"_32ZovUZ4J2RO7cnxyUPb7x",inverted:"_2XQZsbpYzbsJnCIM86qfew",plain:"_3EqQ8mVn6bLSejinL1nUWP",transparent:"_1zT9Ow7Zr1mvYS3pSTIs4_",icon:"gAo1poaczpfncRiW2B32Z"}},function(e,t,a){e.exports={videoContainer:"s-h4Xsi7NaPueKevx2S5q",video:"_7ibfehQJ_B3QKJgPBrPOo",cover:"_3H90ULnn3Kzm9SHtLoOENk",contain:"_2NZhXAL1DIwphorQWgQEh-",stretchHorizontally:"_1VYh1GNvAnH2t2YSoMJ-ww",stretchVertically:"_2ZBppPYj0eYG08Zwt2TWqS",videoOverlay:"_3VokDlaSvuSkA6d6uzvJx2"}},function(e,t,a){e.exports={container:"_1sqc6n_4UBiDzd8CDlZQTI",plain:"_2HktRR2g9a4JtJirdzTXbS",transparent:"_3RFf4eu5UC_7V_Msv7yeUt",top:"_2Q3NnJ8ooZe2RGlWTuc4r_",right:"_2VkLrWqnR7jDIdWZhIL0Zl",bottom:"_2rgmcVFgt9CSJUJ2t5aps0",left:"_1G69fno5OYu8tzvyqlU4xJ",horizontalCenter:"vgftmKcR9f0_bQ68wtMtK",verticalCenter:"Bn2UFVLeQOwrIbWvuKqNm"}},function(e,t,a){e.exports={menu:"q_oxs63VcG5Ch5zl7b_Pc",top:"_2HY5pU1J95rFNADHVnqqKp",right:"pzllfXC5M7IZ6FFZivQhj",left:"_1dhYc9BwcrlMIr4OAbQFxr",bottom:"_2aWOUP6bObYrXJNzLXcH1g",open:"_1Jo1EF12l-iCNSZfDdzamZ",entrance:"_3kMaWvfYxfu7tnK2q7NNms",menuHeader:"_2Uclm_J5zdCpbmc91tcF4z"}},function(e,t,a){e.exports={container:"_2uj0x284WZRoLuqbYbDDuZ",centered:"hjjyi0HLSUpPZ9OYA_FTb",plain:"_20vjyXFLbe54KpwBbacI9c",transparent:"_16gfL52F7P1xtVV5V1GmCl",top:"H-stPL7EAX_KqvWT1yHqL",right:"_26dfvTjUBINkM9lFRDrb_1",bottom:"_3ce4Yf087jEJh-3qqI0YWW",left:"_2iHyB1aJyeJxEkdZg0qj-s"}},function(e,t,a){e.exports={container:"_1dDJngMZQG8QQzFLctmraM",horizontal:"_25nBC8iOAPkHb9XxAbYeQW",vertical:"_2FsnjtVSCtrk0PNYFIq0QW",plain:"_24Mr2LJsbWa5VZsaruDt7Q",value:"_3Y6XivFLEzCt-oiO_Be6lU"}},function(e,t,a){e.exports={toast:"_2oDAMdGscA7a-r3fJVYT4y",entrance:"_2xe-xU-Wr7wQmdtigV88uw",toastContent:"_13HMC8BVI57yGHbSHosAXQ",toastImage:"bstIGBKksyAHdkP6fx9JN",toastButtons:"_37JXerbZedQiyzUOc889kB"}},function(e,t,a){e.exports={colorSwatch:"yiJjoznX0cApVlHDtWNBa",selected:"_3Do97iq9wF8MYjO9AR3HT3",srOnly:"Vhekl7q9lt78RlIgC1Hdy"}},function(e,t,a){e.exports={overlay:"_308f1undwHPjgRJSQRl2kt",modal:"_2LtHDby-jXFLoVV3AW8_UC",modalButton:"_169bRmV6JG9l2e_Z2cQ6HD"}},function(e,t,a){e.exports={container:"_3QkI96grcOC6N6AVKQcRa6",header:"_3AnbCLyfrnJelaXyVxVtcp",list:"_17CIizo0l5sRULrvwtfdQN"}},function(e,t,a){e.exports={listViewItem:"B13tTn7sk_tPdI3R9OJJK",listViewItemButton:"sKY7x7Mk3_qLAitiDnZlB",active:"_2h0KyxjhJpxxNZqKe2dJ_b"}},function(e,t,a){e.exports={overlay:"_1eunm7CzhVJQdjeXfMO5V7",transparent:"_3T4uZyMYIWyfVw9gqdOCUl",fixed:"_28xhqgctgfmBAGJeV8gb-G"}},function(e,t,a){e.exports={colorPicker:"_2g2BqoTSwr5yCrmpdh_gCf",horizontal:"_14LiU3lkvKCkq4objeCSc1",vertical:"wnePJrG71FxQHRavatNwN"}},function(e,t,a){e.exports={menuItem:"_22iDagQ2p2kJrO6oxWOF1s",active:"_3wWA2riaj0K_s7Xk06NS50"}},function(e,t,a){e.exports={menuLinkItem:"OJm9CQ8ijhCEtebr_52wh",active:"_3wpGy0p2m2C-rbEOo6m9c1",menuItem:"_1RDKAqO0ugO2ZeJtFhlUOC",menuLinkItemIcon:"_3e9mPRDpiOaq-H_25ofB8Y"}},function(e,t,a){e.exports={textInput:"_3fgDyPSknZVO1tT3fpmw6G",textLabel:"_198R9u8Ak_N3w7GJKgN4QX"}},function(e,t,a){e.exports={menuContainer:"-VxSGog20HxlgG6MV2J8u"}},function(e,t,a){e.exports={toastContainer:"m8Ob4c2odriI4-R5RUozy"}},function(e,t,a){"use strict";var n=a(28);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,a,r,i,o){if(o!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var a={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}},function(e,t,a){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,a){"use strict";a.r(t),a.d(t,"Button",(function(){return p})),a.d(t,"ButtonLink",(function(){return v})),a.d(t,"CircularButton",(function(){return O})),a.d(t,"ColorPicker",(function(){return T})),a.d(t,"ColorSwatch",(function(){return N})),a.d(t,"ConfirmationModal",(function(){return se})),a.d(t,"FloatingPanel",(function(){return ue})),a.d(t,"Image",(function(){return ye})),a.d(t,"ListView",(function(){return ge})),a.d(t,"ListViewItem",(function(){return ke})),a.d(t,"Menu",(function(){return Pe})),a.d(t,"MenuContainer",(function(){return qe})),a.d(t,"MenuItem",(function(){return je})),a.d(t,"MenuLinkItem",(function(){return Be})),a.d(t,"Modal",(function(){return ne})),a.d(t,"Overlay",(function(){return Qe})),a.d(t,"QuantitySelector",(function(){return Ye})),a.d(t,"Sidebar",(function(){return at})),a.d(t,"SquareButton",(function(){return Ue})),a.d(t,"SquareButtonLink",(function(){return st})),a.d(t,"TextInput",(function(){return ut})),a.d(t,"Toast",(function(){return yt})),a.d(t,"ToastContainer",(function(){return gt})),a.d(t,"Video",(function(){return kt}));var n=a(1),r=a.n(n),i=a(0),o=a.n(i),s=a(2),l=a.n(s),c=a(3),d=a.n(c);function u({children:e,className:t,icon:a,isDisabled:n,isInverted:i,isRounded:o,isPlain:s,isTransparent:c,onClick:u,stretchHorizontally:p,stretchVertically:f,size:m}){return r.a.createElement("button",{className:l()(d.a.container,d.a[m],{[d.a.inverted]:i,[d.a.rounded]:o,[d.a.plain]:s,[d.a.transparent]:c,[d.a.stretchHorizontally]:p,[d.a.stretchVertically]:f},t),disabled:n,onClick:u,role:"button"},a&&r.a.createElement("img",{"data-testid":"button-icon",className:d.a.icon,src:a.src,alt:a.alt}),e&&r.a.createElement("span",null,e))}u.defaultProps={isDisabled:!1,isInverted:!1,isRounded:!1,isPlain:!1,isTransparent:!1,stretchHorizontally:!1,stretchVertically:!1,size:o.a.oneOf(["small","medium","large"])},u.propTypes={children:o.a.node,className:o.a.string,icon:o.a.shape({src:o.a.string.isRequired,alt:o.a.string.isRequired}),isDisabled:o.a.bool,isInverted:o.a.bool,isRounded:o.a.bool,isPlain:o.a.bool,isTransparent:o.a.bool,stretchHorizontally:o.a.bool,stretchVertically:o.a.bool,onClick:o.a.func,size:o.a.oneOf(["small","medium","large"])};var p=u,f=a(4),m=a.n(f);function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function h({as:e,children:t,className:a,icon:n,isInverted:i,isRounded:o,isPlain:s,isTransparent:c,stretchHorizontally:d,stretchVertically:u,size:p,...f}){return r.a.createElement(e,y({"data-testid":"button-link",className:l()(m.a.container,m.a[p],{[m.a.inverted]:i,[m.a.rounded]:o,[m.a.plain]:s,[m.a.transparent]:c,[m.a.stretchHorizontally]:d,[m.a.stretchVertically]:u},a)},f),n&&r.a.createElement("img",{"data-testid":"button-link-icon",className:m.a.icon,alt:n.alt,src:n.src}),t&&r.a.createElement("span",null,t))}h.defaultProps={as:"a",isInverted:!1,isRounded:!1,isPlain:!1,isTransparent:!1,stretchHorizontally:!1,stretchVertically:!1},h.propTypes={as:o.a.elementType,children:o.a.node,className:o.a.string,icon:o.a.shape({src:o.a.string.isRequired,alt:o.a.string.isRequired}),isInverted:o.a.bool,isRounded:o.a.bool,isPlain:o.a.bool,isTransparent:o.a.bool,stretchHorizontally:o.a.bool,stretchVertically:o.a.bool,size:o.a.oneOf(["small","medium","large"])};var v=h,b=a(5),g=a.n(b);function _({children:e,className:t,icon:a,isDisabled:n,isInverted:i,isPlain:o,isActive:s,isTransparent:c,onClick:d,size:u}){return r.a.createElement("button",{className:l()(g.a.container,g.a[u],{[g.a.inverted]:i,[g.a.plain]:o,[g.a.active]:s,[g.a.transparent]:c},t),disabled:n,onClick:d,role:"button"},a&&r.a.createElement("img",{"data-testid":"button-icon",className:g.a.icon,src:a.src,alt:a.alt}),e&&r.a.createElement("span",null,e))}_.defaultProps={isDisabled:!1,isInverted:!1,isActive:!1,isPlain:!1,isTransparent:!1,size:"small"},_.propTypes={children:o.a.node,className:o.a.string,icon:o.a.shape({src:o.a.string.isRequired,alt:o.a.string.isRequired}),isActive:o.a.bool,isDisabled:o.a.bool,isInverted:o.a.bool,isPlain:o.a.bool,isTransparent:o.a.bool,onClick:o.a.func,size:o.a.oneOf(["small","medium","large"])};var O=_,C=a(16),k=a.n(C);function E({color:e,isSelected:t,onClick:a}){return r.a.createElement("button",{className:l()(k.a.colorSwatch,{[k.a.selected]:t}),"data-testid":"color-swatch",disabled:t,onClick:a,style:{backgroundColor:e.hexCode}},r.a.createElement("span",{className:k.a.srOnly},`Select ${e.label} color`))}E.defaultProps={isSelected:!1},E.propTypes={color:o.a.shape({hexCode:o.a.string.isRequired,label:o.a.string.isRequired}).isRequired,isSelected:o.a.bool,onClick:o.a.func.isRequired};var N=E,x=a(21),P=a.n(x);function w({colors:e,direction:t,onSelect:a,selectedColor:n}){return r.a.createElement("div",{className:l()(P.a.colorPicker,P.a[t])},e.map(e=>r.a.createElement(N,{key:e.key,color:e,isSelected:e===n,onClick:()=>a(e)})))}w.defaultProps={direction:"vertical"},w.propTypes={direction:o.a.oneOf(["horizontal","vertical"]),colors:o.a.arrayOf(o.a.shape({hexCode:o.a.string.isRequired,key:o.a.string.isRequired,label:o.a.string.isRequired})).isRequired,onSelect:o.a.func.isRequired,selectedColor:o.a.shape({hexCode:o.a.string.isRequired,key:o.a.string.isRequired,label:o.a.string.isRequired})};var T=w,R="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0;
7
+ /*!
8
+ * hotkeys-js v3.8.1
9
+ * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
10
+ *
11
+ * Copyright (c) 2020 kenny wong <wowohoo@qq.com>
12
+ * http://jaywcjlove.github.io/hotkeys
13
+ *
14
+ * Licensed under the MIT license.
15
+ */function q(e,t,a){e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){a(window.event)}))}function I(e,t){for(var a=t.slice(0,t.length-1),n=0;n<a.length;n++)a[n]=e[a[n].toLowerCase()];return a}function z(e){"string"!=typeof e&&(e="");for(var t=(e=e.replace(/\s/g,"")).split(","),a=t.lastIndexOf("");a>=0;)t[a-1]+=",",t.splice(a,1),a=t.lastIndexOf("");return t}for(var A={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,"⇪":20,",":188,".":190,"/":191,"`":192,"-":R?173:189,"=":R?61:187,";":R?59:186,"'":222,"[":219,"]":221,"\\":220},j={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},S={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},V={16:!1,18:!1,17:!1,91:!1},K={},D=1;D<20;D++)A["f".concat(D)]=111+D;var B=[],H="all",L=[],J=function(e){return A[e.toLowerCase()]||j[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function Q(e){H=e||"all"}function M(){return H||"all"}var F=function(e){var t=e.key,a=e.scope,n=e.method,r=e.splitKey,i=void 0===r?"+":r;z(t).forEach((function(e){var t=e.split(i),r=t.length,o=t[r-1],s="*"===o?"*":J(o);if(K[s]){a||(a=M());var l=r>1?I(j,t):[];K[s]=K[s].map((function(e){return(!n||e.method===n)&&e.scope===a&&function(e,t){for(var a=e.length>=t.length?e:t,n=e.length>=t.length?t:e,r=!0,i=0;i<a.length;i++)-1===n.indexOf(a[i])&&(r=!1);return r}(e.mods,l)?{}:e}))}}))};function Z(e,t,a){var n;if(t.scope===a||"all"===t.scope){for(var r in n=t.mods.length>0,V)Object.prototype.hasOwnProperty.call(V,r)&&(!V[r]&&t.mods.indexOf(+r)>-1||V[r]&&-1===t.mods.indexOf(+r))&&(n=!1);(0!==t.mods.length||V[16]||V[18]||V[17]||V[91])&&!n&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function U(e){var t=K["*"],a=e.keyCode||e.which||e.charCode;if(W.filter.call(this,e)){if(93!==a&&224!==a||(a=91),-1===B.indexOf(a)&&229!==a&&B.push(a),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var a=S[t];e[t]&&-1===B.indexOf(a)?B.push(a):!e[t]&&B.indexOf(a)>-1?B.splice(B.indexOf(a),1):"metaKey"===t&&e[t]&&3===B.length&&(e.ctrlKey||e.shiftKey||e.altKey||(B=B.slice(B.indexOf(a))))})),a in V){for(var n in V[a]=!0,j)j[n]===a&&(W[n]=!0);if(!t)return}for(var r in V)Object.prototype.hasOwnProperty.call(V,r)&&(V[r]=e[S[r]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(-1===B.indexOf(17)&&B.push(17),-1===B.indexOf(18)&&B.push(18),V[17]=!0,V[18]=!0);var i=M();if(t)for(var o=0;o<t.length;o++)t[o].scope===i&&("keydown"===e.type&&t[o].keydown||"keyup"===e.type&&t[o].keyup)&&Z(e,t[o],i);if(a in K)for(var s=0;s<K[a].length;s++)if(("keydown"===e.type&&K[a][s].keydown||"keyup"===e.type&&K[a][s].keyup)&&K[a][s].key){for(var l=K[a][s],c=l.splitKey,d=l.key.split(c),u=[],p=0;p<d.length;p++)u.push(J(d[p]));u.sort().join("")===B.sort().join("")&&Z(e,l,i)}}}function W(e,t,a){B=[];var n=z(e),r=[],i="all",o=document,s=0,l=!1,c=!0,d="+";for(void 0===a&&"function"==typeof t&&(a=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(i=t.scope),t.element&&(o=t.element),t.keyup&&(l=t.keyup),void 0!==t.keydown&&(c=t.keydown),"string"==typeof t.splitKey&&(d=t.splitKey)),"string"==typeof t&&(i=t);s<n.length;s++)r=[],(e=n[s].split(d)).length>1&&(r=I(j,e)),(e="*"===(e=e[e.length-1])?"*":J(e))in K||(K[e]=[]),K[e].push({keyup:l,keydown:c,scope:i,mods:r,shortcut:n[s],method:a,key:n[s],splitKey:d});void 0!==o&&!function(e){return L.indexOf(e)>-1}(o)&&window&&(L.push(o),q(o,"keydown",(function(e){U(e)})),q(window,"focus",(function(){B=[]})),q(o,"keyup",(function(e){U(e),function(e){var t=e.keyCode||e.which||e.charCode,a=B.indexOf(t);if(a>=0&&B.splice(a,1),e.key&&"meta"===e.key.toLowerCase()&&B.splice(0,B.length),93!==t&&224!==t||(t=91),t in V)for(var n in V[t]=!1,j)j[n]===t&&(W[n]=!1)}(e)})))}var X={setScope:Q,getScope:M,deleteScope:function(e,t){var a,n;for(var r in e||(e=M()),K)if(Object.prototype.hasOwnProperty.call(K,r))for(a=K[r],n=0;n<a.length;)a[n].scope===e?a.splice(n,1):n++;M()===e&&Q(t||"all")},getPressedKeyCodes:function(){return B.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=J(e)),-1!==B.indexOf(e)},filter:function(e){var t=e.target||e.srcElement,a=t.tagName,n=!0;return!t.isContentEditable&&("INPUT"!==a&&"TEXTAREA"!==a&&"SELECT"!==a||t.readOnly)||(n=!1),n},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&F(e)}));else if("object"==typeof e)e.key&&F(e);else if("string"==typeof e){for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];var r=a[0],i=a[1];"function"==typeof r&&(i=r,r=""),F({key:e,scope:r,method:i,splitKey:"+"})}}else Object.keys(K).forEach((function(e){return delete K[e]}))}};for(var G in X)Object.prototype.hasOwnProperty.call(X,G)&&(W[G]=X[G]);if("undefined"!=typeof window){var Y=window.hotkeys;W.noConflict=function(e){return e&&window.hotkeys===W&&(window.hotkeys=Y),W},window.hotkeys=W}var $=W;var ee=a(17),te=a.n(ee);function ae({children:e,isOpen:t,onClose:a,button:i}){!function(e,t,a,r){a instanceof Array&&(r=a,a=void 0);const{enableOnTags:i,filter:o}=a||{},s=Object(n.useCallback)(t,r||[]);Object(n.useEffect)(()=>(a&&a.enableOnTags&&($.filter=({target:e,srcElement:t})=>{const a=e&&e.tagName||t&&t.tagName;return Boolean(a&&i&&i.includes(a))}),o&&($.filter=o),$(e,a||{},s),()=>$.unbind(e,s)),[s,a])}("Escape",a);const o=Object(n.useCallback)(()=>{a()},[a]);return t&&r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:te.a.overlay,"data-testid":"modal-overlay",onClick:o}),r.a.createElement("div",{className:te.a.modal,"data-testid":"modal"},e),i&&r.a.createElement("div",{className:te.a.modalButton},i))}ae.defaultProps={onClose:()=>{}},ae.propTypes={children:o.a.node.isRequired,isOpen:o.a.bool.isRequired,onClose:o.a.func,button:o.a.node};var ne=ae,re=a(7),ie=a.n(re);function oe({buttonsLeft:e,buttonsRight:t,children:a,header:n,isOpen:i,onClose:o}){return r.a.createElement(ne,{isOpen:i,onClose:o,showCloseButton:!1},r.a.createElement("div",{className:ie.a.container},r.a.createElement("h1",{className:ie.a.modalHeader},n),r.a.createElement("div",{className:ie.a.modalContent},a),r.a.createElement("div",{className:ie.a.modalButtonsContainer},r.a.createElement("div",{className:ie.a.modalButtons},e),r.a.createElement("div",{className:ie.a.modalButtons},t))))}oe.displayName="ConfirmationModal",oe.defaultProps={buttonsLeft:[],buttonsRight:[],onClose:()=>{}},oe.propTypes={buttonsLeft:o.a.arrayOf(o.a.element),buttonsRight:o.a.arrayOf(o.a.element),children:o.a.node.isRequired,header:o.a.string.isRequired,isOpen:o.a.bool.isRequired,onClose:o.a.func};var se=oe,le=a(11),ce=a.n(le);function de({children:e,placement:t,isTransparent:a,isPlain:n}){const i="center"===t.horizontal?"horizontalCenter":t.horizontal,o="center"===t.vertical?"verticalCenter":t.vertical;return r.a.createElement("nav",{"data-testid":"floating-panel",className:l()(ce.a.container,ce.a[i],ce.a[o],{[ce.a.transparent]:a,[ce.a.plain]:n})},e)}de.defaultProps={placement:{horizontal:"center",vertical:"bottom"},isTransparent:!1,isPlain:!1},de.propTypes={children:o.a.node,placement:o.a.shape({horizontal:o.a.oneOf(["right","left","center"]),vertical:o.a.oneOf(["top","bottom","center"])}),isTransparent:o.a.bool,isPlain:o.a.bool};var ue=de,pe=a(8),fe=a.n(pe);function me({src:e,alt:t,layout:a,srcWidth:n,srcHeight:i,children:o}){return o?r.a.createElement("div",{className:fe.a.imageContainer},r.a.createElement("img",{className:l()(fe.a.image,fe.a[a]),crossOrigin:"anonymous","data-testid":"image",alt:t,src:e,width:n,height:i}),o&&r.a.createElement("div",{className:fe.a.imageOverlay},o)):r.a.createElement("img",{className:l()(fe.a.image,fe.a[a]),crossOrigin:"anonymous","data-testid":"image",alt:t,src:e,width:n,height:i})}me.defaultProps={layout:"contain"},me.propTypes={src:o.a.string.isRequired,alt:o.a.string,children:o.a.node,srcWidth:o.a.number,srcHeight:o.a.number,layout:o.a.oneOf(["cover","contain","stretchHorizontally","stretchVertically"])};var ye=me,he=a(18),ve=a.n(he);function be({children:e,className:t,header:a}){return r.a.createElement("div",{className:l()(ve.a.container,t)},a&&r.a.createElement("h3",{className:ve.a.header},a),r.a.createElement("ul",{className:ve.a.list},e))}be.propTypes={children:o.a.node.isRequired,className:o.a.string,header:o.a.string};var ge=be,_e=a(19),Oe=a.n(_e);function Ce({children:e,isActive:t,isDisabled:a,onClick:n}){return r.a.createElement("li",{className:l()(Oe.a.listViewItem)},r.a.createElement("button",{className:l()(Oe.a.listViewItemButton,{[Oe.a.active]:t}),onClick:n,disabled:a},e))}Ce.defaultProps={isActive:!1,isDisabled:!1},Ce.propTypes={children:o.a.node.isRequired,isActive:o.a.bool,isDisabled:o.a.bool,onClick:o.a.func};var ke=Ce,Ee=a(12),Ne=a.n(Ee);function xe({children:e,className:t,isOpen:a,placement:n,header:i}){return r.a.createElement("div",{className:l()(Ne.a.menu,Ne.a[n.horizontal],Ne.a[n.vertical],{[Ne.a.open]:a},t)},i&&a&&r.a.createElement("h3",{className:Ne.a.menuHeader},i),r.a.createElement("ul",null,a&&e))}xe.defaultProps={isOpen:!0,placement:{horizontal:"left",vertical:"bottom"}},xe.propTypes={children:o.a.node.isRequired,className:o.a.string,isOpen:o.a.bool,header:o.a.string,placement:o.a.shape({horizontal:o.a.oneOf(["right","left"]),vertical:o.a.oneOf(["top","bottom"])})};var Pe=xe,we=a(25),Te=a.n(we);function Re({children:e,className:t},a){return r.a.createElement("div",{ref:a,className:l()(Te.a.menuContainer,t)},e)}var qe=Object(n.forwardRef)(Re),Ie=a(22),ze=a.n(Ie);function Ae({children:e,className:t,isActive:a,onClick:n}){return r.a.createElement("li",{className:l()(ze.a.menuItem,{[ze.a.active]:a},t),onClick:n},e)}Ae.defaultProps={isActive:!1},Ae.propTypes={children:o.a.node.isRequired,className:o.a.string,isActive:o.a.bool,onClick:o.a.func};var je=Ae,Se=a(23),Ve=a.n(Se);function Ke(){return(Ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function De({as:e,children:t,className:a,icon:n,...i}){return r.a.createElement(e,Ke({"data-testid":"menu-link-item",className:l()(Ve.a.menuLinkItem,a)},i),n&&r.a.createElement("img",{"data-testid":"menu-link-item-icon",className:Ve.a.menuLinkItemIcon,alt:n.alt,src:n.src}),t&&r.a.createElement("span",null,t))}De.defaultProps={as:"a"},De.propTypes={as:o.a.elementType,children:o.a.node,className:o.a.string,icon:o.a.shape({src:o.a.string.isRequired,alt:o.a.string.isRequired})};var Be=De,He=a(20),Le=a.n(He);function Je({children:e,isTransparent:t,isFixed:a,onClick:n}){return r.a.createElement("div",{"data-testid":"overlay",className:l()(Le.a.overlay,{[Le.a.transparent]:t,[Le.a.fixed]:a}),onClick:n},e)}Je.defaultProps={isTransparent:!1,isFixed:!1,onClick:()=>{}},Je.propTypes={children:o.a.arrayOf(o.a.node),isTransparent:o.a.bool,isFixed:o.a.bool,onClick:o.a.func};var Qe=Je,Me=a(6),Fe=a.n(Me);function Ze({children:e,className:t,icon:a,isDisabled:n,isInverted:i,isPlain:o,isActive:s,isTransparent:c,onClick:d,size:u}){return r.a.createElement("button",{className:l()(Fe.a.container,Fe.a[u],{[Fe.a.inverted]:i,[Fe.a.plain]:o,[Fe.a.active]:s,[Fe.a.transparent]:c},t),disabled:n,onClick:d,role:"button"},a&&r.a.createElement("img",{"data-testid":"button-icon",className:Fe.a.icon,src:a.src,alt:a.alt}),e&&r.a.createElement("span",null,e))}Ze.defaultProps={isDisabled:!1,isInverted:!1,isActive:!1,isPlain:!1,isTransparent:!1,size:"small"},Ze.propTypes={children:o.a.node,className:o.a.string,icon:o.a.shape({src:o.a.string.isRequired,alt:o.a.string.isRequired}),isActive:o.a.bool,isDisabled:o.a.bool,isInverted:o.a.bool,isPlain:o.a.bool,isTransparent:o.a.bool,onClick:o.a.func,size:o.a.oneOf(["small","medium","large"])};var Ue=Ze,We=a(14),Xe=a.n(We);function Ge({value:e,onChange:t,canIncrease:a,canDecrease:n,direction:i,isInverted:o,isPlain:s}){return r.a.createElement("div",{className:l()(Xe.a.container,Xe.a[i],{[Xe.a.plain]:s})},r.a.createElement(Ue,{onClick:()=>t(e-1),isInverted:o,isDisabled:!n,isPlain:!0},"−"),r.a.createElement("div",{className:Xe.a.value},e),r.a.createElement(Ue,{onClick:()=>t(e+1),isInverted:o,isDisabled:!a,isPlain:!0},"+"))}Ge.defaultProps={canIncrease:!0,canDecrease:!0,direction:"horizontal",isInverted:!1,isPlain:!1},Ge.propTypes={value:o.a.number.isRequired,onChange:o.a.func.isRequired,canIncrease:o.a.bool,canDecrease:o.a.bool,direction:o.a.oneOf(["horizontal","vertical"]),isInverted:o.a.bool,isPlain:o.a.bool};var Ye=Ge,$e=a(13),et=a.n($e);function tt({children:e,placement:t,isCentered:a,isPlain:n,isTransparent:i}){return r.a.createElement("nav",{"data-testid":"side-bar",className:l()(et.a.container,et.a[t],{[et.a.centered]:a,[et.a.plain]:n,[et.a.transparent]:i})},e)}tt.defaultProps={placement:"left",isCentered:!1,isPlain:!1,isTransparent:!1},tt.propTypes={children:o.a.node,placement:o.a.oneOf(["top","right","bottom","left"]),isCentered:o.a.bool,isPlain:o.a.bool,isTransparent:o.a.bool};var at=tt,nt=a(9),rt=a.n(nt);function it(){return(it=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function ot({as:e,children:t,className:a,icon:n,isInverted:i,isPlain:o,isTransparent:s,size:c,...d}){return r.a.createElement(e,it({"data-testid":"button-link",className:l()(rt.a.container,rt.a[c],{[rt.a.inverted]:i,[rt.a.plain]:o,[rt.a.transparent]:s},a)},d),n&&r.a.createElement("img",{"data-testid":"square-button-link-icon",className:rt.a.icon,alt:n.alt,src:n.src}),t&&r.a.createElement("span",null,t))}ot.defaultProps={as:"a",isInverted:!1,isPlain:!1,isTransparent:!1},ot.propTypes={as:o.a.elementType,children:o.a.node,className:o.a.string,icon:o.a.shape({src:o.a.string.isRequired,alt:o.a.string.isRequired}),isInverted:o.a.bool,isPlain:o.a.bool,isTransparent:o.a.bool,size:o.a.oneOf(["small","medium","large"])};var st=ot,lt=a(24),ct=a.n(lt);function dt({label:e,onChange:t,placeholder:a,value:n,type:i}){return r.a.createElement("label",{className:ct.a.textLabel},e,r.a.createElement("input",{className:ct.a.textInput,"data-testid":"input",onChange:t,placeholder:a,type:i,value:n,autoFocus:!0}))}dt.defaultProps={type:"text"},dt.propTypes={label:o.a.string.isRequired,onChange:o.a.func,placeholder:o.a.string,value:o.a.string.isRequired,type:o.a.oneOf(["text","password","email"])};var ut=dt,pt=a(15),ft=a.n(pt);function mt({children:e,image:t,buttons:a,onClick:n}){return r.a.createElement("div",{className:l()(ft.a.toast),onClick:n,"data-testid":"toast"},t&&r.a.createElement("img",{"data-testid":"toast-image",className:ft.a.toastImage,src:t.src,alt:t.alt}),r.a.createElement("div",{className:ft.a.toastContent},e),r.a.createElement("div",{className:ft.a.toastButtons},a))}mt.defaultProps={onClick:()=>{}},mt.propTypes={children:o.a.node,buttons:o.a.arrayOf(o.a.node),image:o.a.shape({alt:o.a.string.isRequired,src:o.a.string.isRequired}),onClick:o.a.func};var yt=mt,ht=a(26),vt=a.n(ht);function bt({children:e}){return r.a.createElement("div",{className:l()(vt.a.toastContainer),"data-testid":"toast-container"},e)}bt.propTypes={children:o.a.node};var gt=bt,_t=a(10),Ot=a.n(_t);function Ct({src:e,type:t,muted:a,loop:n,autoPlay:i,layout:o,children:s}){return s?r.a.createElement("div",{className:Ot.a.videoContainer},r.a.createElement("video",{"data-testid":"video",crossOrigin:"anonymous",className:l()(Ot.a.video,Ot.a[o]),src:e,type:t,muted:a,loop:n,autoPlay:i,playsInline:!0}),s&&r.a.createElement("div",{className:Ot.a.videoOverlay},s)):r.a.createElement("video",{"data-testid":"video",crossOrigin:"anonymous",className:l()(Ot.a.video,Ot.a[o]),src:e,type:t,muted:a,loop:n,autoPlay:i,playsInline:!0})}Ct.defaultProps={muted:!0,loop:!0,autoPlay:!0,layout:"contain"},Ct.propTypes={src:o.a.string.isRequired,type:o.a.string.isRequired,layout:o.a.oneOf(["cover","contain","stretchHorizontally","stretchVertically"]),autoPlay:o.a.bool,loop:o.a.bool,muted:o.a.bool,children:o.a.node};var kt=Ct}]));
@@ -0,0 +1,1110 @@
1
+ ._2AasuMOuypf72nbY49wOB3 {
2
+ --button-size: var(--theme-button-height, 42px);
3
+
4
+ align-items: center;
5
+ background-color: var(--theme-button-background-color, #fff);
6
+ border: none;
7
+ box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
8
+ color: var(--theme-button-foreground-color, #0e0e0f);
9
+ cursor: pointer;
10
+ display: flex;
11
+ font-family: var(--theme-button-font-family, helvetica, arial, sans-serif);
12
+ font-size: var(--theme-base-font-size, 15px);
13
+ font-weight: bold;
14
+ height: var(--button-size, 42px);
15
+ justify-content: center;
16
+ margin: 0;
17
+ padding: 0 calc(var(--button-size, 42px) * 0.55);
18
+ text-decoration: none;
19
+ text-transform: uppercase;
20
+ transform: scale(1);
21
+ transition: all 0.1s ease-out;
22
+ white-space: nowrap;
23
+ }
24
+
25
+ ._2AasuMOuypf72nbY49wOB3:focus {
26
+ outline: none;
27
+ }
28
+
29
+ ._2AasuMOuypf72nbY49wOB3:hover {
30
+ background-color: var(--theme-button-hover-background-color, #ddd);
31
+ }
32
+
33
+ ._2AasuMOuypf72nbY49wOB3:active {
34
+ transform: scale(0.95);
35
+ }
36
+
37
+ ._2AasuMOuypf72nbY49wOB3:disabled {
38
+ opacity: 0.3;
39
+ pointer-events: none;
40
+ }
41
+
42
+ ._2AasuMOuypf72nbY49wOB3._2ccWTBUojwulFi4_HMdqrU {
43
+ --button-size: var(--theme-button-height-medium, 52px);
44
+ }
45
+
46
+ ._2AasuMOuypf72nbY49wOB3._1fa3qv5sR2TPR6fpOfo5vm {
47
+ --button-size: var(--theme-button-height-large, 72px);
48
+ }
49
+
50
+ ._2AasuMOuypf72nbY49wOB3._2UYh9mgKjtU23uNhD83Ocx {
51
+ background-color: var(--theme-button-foreground-color, #0e0e0f);
52
+ color: var(--theme-button-background-color, #fff);
53
+ }
54
+
55
+ ._2AasuMOuypf72nbY49wOB3._3Z4Ktcy3wzAy44gorESgVr {
56
+ border-radius: calc(var(--button-size, 42px) / 2);
57
+ padding: 0 calc(var(--button-size, 42px) * 0.6);
58
+ }
59
+
60
+ ._2AasuMOuypf72nbY49wOB3._3904xHhy3YVRabzbm2Jp1m {
61
+ box-shadow: none;
62
+ }
63
+
64
+ ._2AasuMOuypf72nbY49wOB3._2KgQIC54C7daQQvv2yx2AJ {
65
+ background-color: transparent;
66
+ box-shadow: none;
67
+ }
68
+
69
+ ._2AasuMOuypf72nbY49wOB3.vOIaBw3isf1BgJt3BtMaB {
70
+ width: 100%;
71
+ }
72
+
73
+ ._2AasuMOuypf72nbY49wOB3._2U6VwL29C2GriKDmpfnGs7 {
74
+ height: 100%;
75
+ }
76
+
77
+ ._8KOnJz0dKoQE4u5VPMox_ {
78
+ height: calc(var(--theme-button-height, 42px) / 2.667);
79
+ margin-right: calc(var(--theme-button-height, 42px) / 2);
80
+ }
81
+
82
+ ._8KOnJz0dKoQE4u5VPMox_:last-child {
83
+ margin-right: 0;
84
+ }
85
+
86
+ ._2AasuMOuypf72nbY49wOB3._2ccWTBUojwulFi4_HMdqrU > ._8KOnJz0dKoQE4u5VPMox_ {
87
+ height: calc(var(--theme-button-height-medium, 52px) / 2.667);
88
+ }
89
+
90
+ ._2AasuMOuypf72nbY49wOB3._1fa3qv5sR2TPR6fpOfo5vm > ._8KOnJz0dKoQE4u5VPMox_ {
91
+ height: calc(var(--theme-button-height-large, 72px) / 2.667);
92
+ }
93
+
94
+ .UFhkzqhonCpQ51u4CrX1t {
95
+ --button-size: var(--theme-button-height, 42px);
96
+
97
+ align-items: center;
98
+ background-color: var(--theme-button-background-color, #fff);
99
+ border: none;
100
+ box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
101
+ box-sizing: border-box;
102
+ color: var(--theme-button-foreground-color, #0e0e0f);
103
+ cursor: pointer;
104
+ display: flex;
105
+ font-family: var(--theme-button-font-family, helvetica, arial, sans-serif);
106
+ font-size: var(--theme-base-font-size, 15px);
107
+ font-weight: bold;
108
+ height: var(--button-size, 42px);
109
+ justify-content: center;
110
+ margin: 0;
111
+ padding: 0 calc(var(--button-size, 42px) * 0.55);
112
+ text-decoration: none;
113
+ text-transform: uppercase;
114
+ transform: scale(1);
115
+ transition: all 0.1s ease-out;
116
+ white-space: nowrap;
117
+ width: min-content;
118
+ }
119
+
120
+ .UFhkzqhonCpQ51u4CrX1t:focus {
121
+ outline: none;
122
+ }
123
+
124
+ .UFhkzqhonCpQ51u4CrX1t:hover {
125
+ background-color: var(--theme-button-hover-background-color, #ddd);
126
+ }
127
+
128
+ .UFhkzqhonCpQ51u4CrX1t:active {
129
+ transform: scale(0.95);
130
+ }
131
+
132
+ .UFhkzqhonCpQ51u4CrX1t.K8wju_yT6BBEkxQSvBbji {
133
+ --button-size: var(--theme-button-height-medium, 52px);
134
+ }
135
+
136
+ .UFhkzqhonCpQ51u4CrX1t.xa9TOtXuvIjYcON9CWpZE {
137
+ --button-size: var(--theme-button-height-large, 72px);
138
+ }
139
+
140
+ .UFhkzqhonCpQ51u4CrX1t._18tgJGtxaIy6IkZdJCUCR1 {
141
+ background-color: var(--theme-button-foreground-color, #0e0e0f);
142
+ color: var(--theme-button-background-color, #fff);
143
+ }
144
+
145
+ .UFhkzqhonCpQ51u4CrX1t._2_eDclH1w76FWyN-sgxrz4 {
146
+ border-radius: calc(var(--button-size, 42px) / 2);
147
+ padding: 0 calc(var(--button-size, 42px) * 0.6);
148
+ }
149
+
150
+ .UFhkzqhonCpQ51u4CrX1t._2ZKuEedcJa23LSU5bqlK3k {
151
+ box-shadow: none;
152
+ }
153
+
154
+ .UFhkzqhonCpQ51u4CrX1t._2OqcqOvkDlXkNFZCXCHjxj {
155
+ background-color: transparent;
156
+ box-shadow: none;
157
+ }
158
+
159
+ .UFhkzqhonCpQ51u4CrX1t.Pz69qX26v5M10VLHf4tGg {
160
+ width: 100%;
161
+ }
162
+
163
+ .UFhkzqhonCpQ51u4CrX1t._32S1q5WprWdhjszlCSXuaj {
164
+ height: 100%;
165
+ }
166
+
167
+ ._3G2FW5nLwHekds3ceysrsT {
168
+ height: calc(var(--theme-button-height, 42px) / 2.667);
169
+ margin-right: calc(var(--theme-button-height, 42px) / 2);
170
+ }
171
+
172
+ ._3G2FW5nLwHekds3ceysrsT:last-child {
173
+ margin-right: 0;
174
+ }
175
+
176
+ .UFhkzqhonCpQ51u4CrX1t.K8wju_yT6BBEkxQSvBbji > ._3G2FW5nLwHekds3ceysrsT {
177
+ height: calc(var(--theme-button-height-medium, 52px) / 2.667);
178
+ }
179
+
180
+ .UFhkzqhonCpQ51u4CrX1t.xa9TOtXuvIjYcON9CWpZE > ._3G2FW5nLwHekds3ceysrsT {
181
+ height: calc(var(--theme-button-height-large, 72px) / 2.667);
182
+ }
183
+
184
+ .AvS0_YSbZqNZg8IWcaJwV {
185
+ --button-size: var(--theme-button-height, 42px);
186
+
187
+ align-items: center;
188
+ background-color: var(--theme-button-background-color, #fff);
189
+ border: none;
190
+ border-radius: var(--button-size);
191
+ box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
192
+ color: var(--theme-button-foreground-color, #0e0e0f);
193
+ cursor: pointer;
194
+ display: flex;
195
+ font-size: var(--theme-base-font-size, 15px);
196
+ font-weight: bold;
197
+ height: var(--button-size);
198
+ justify-content: center;
199
+ margin: 0;
200
+ padding: 0;
201
+ text-decoration: none;
202
+ text-transform: uppercase;
203
+ transform: scale(1);
204
+ transition: all 0.1s ease-out;
205
+ white-space: nowrap;
206
+ width: var(--button-size);
207
+ }
208
+
209
+ .AvS0_YSbZqNZg8IWcaJwV.nfXZbsGD6SsCktuxGFXu6 {
210
+ --button-size: var(--theme-button-height-medium, 52px);
211
+ }
212
+
213
+ .AvS0_YSbZqNZg8IWcaJwV._2Zy48EfiqyIO3OehZWEmTd {
214
+ --button-size: var(--theme-button-height-large, 72px);
215
+ }
216
+
217
+ .AvS0_YSbZqNZg8IWcaJwV:focus {
218
+ outline: none;
219
+ }
220
+
221
+ .AvS0_YSbZqNZg8IWcaJwV:disabled {
222
+ opacity: 0.3;
223
+ pointer-events: none;
224
+ }
225
+
226
+ .AvS0_YSbZqNZg8IWcaJwV:active {
227
+ transform: scale(0.95);
228
+ }
229
+
230
+ .AvS0_YSbZqNZg8IWcaJwV:hover {
231
+ background-color: var(--theme-button-hover-background-color, #ddd);
232
+ }
233
+
234
+ .AvS0_YSbZqNZg8IWcaJwV._3ICdtA8Bg_DxRZFwfG6fDp {
235
+ border: 1px solid var(--theme-button-background-color, #fff);
236
+ background-color: var(--theme-button-foreground-color, #0e0e0f);
237
+ color: var(--theme-button-background-color, #fff);
238
+ }
239
+
240
+ .AvS0_YSbZqNZg8IWcaJwV._38k8iyngPtp-gPtJ3KmGFJ {
241
+ box-shadow: none;
242
+ }
243
+
244
+ .AvS0_YSbZqNZg8IWcaJwV._3PtZ-HwHrieRv7vD5uLl-m {
245
+ background-color: transparent;
246
+ border: 2px solid var(--theme-button-foreground-color, #0e0e0f);
247
+ box-shadow: none;
248
+ }
249
+
250
+ .AvS0_YSbZqNZg8IWcaJwV._3PtZ-HwHrieRv7vD5uLl-m._3ICdtA8Bg_DxRZFwfG6fDp {
251
+ border: 2px solid var(--theme-button-background-color, #fff);
252
+ }
253
+
254
+ ._3EkIuE-7jFloR2v7sxXnv3 {
255
+ height: calc(var(--theme-button-height, 42px) / 2.5);
256
+ margin-right: calc(var(--theme-button-height, 42px) / 2.5);
257
+ }
258
+
259
+ ._3EkIuE-7jFloR2v7sxXnv3:last-child {
260
+ margin-right: 0;
261
+ }
262
+
263
+ .yiJjoznX0cApVlHDtWNBa {
264
+ --color-swatch-size: var(--theme-button-height, 42px);
265
+ --color-swatch-shadow: var(
266
+ --theme-button-shadow,
267
+ 0 0 12px 0 rgba(0, 0, 0, 0.1)
268
+ );
269
+
270
+ border: 0;
271
+ border-radius: var(--color-swatch-size);
272
+ box-shadow: var(--color-swatch-shadow);
273
+ cursor: pointer;
274
+ height: var(--color-swatch-size);
275
+ transform: scale(1);
276
+ transition: all 0.1s ease-out;
277
+ width: var(--color-swatch-size);
278
+ }
279
+
280
+ .yiJjoznX0cApVlHDtWNBa:hover {
281
+ transform: scale(1.05);
282
+ box-shadow: var(--theme-button-hover-shadow, 0 0 15px 0 rgba(0, 0, 0, 0.15));
283
+ }
284
+
285
+ .yiJjoznX0cApVlHDtWNBa:not(._3Do97iq9wF8MYjO9AR3HT3):active {
286
+ transform: scale(0.9);
287
+ }
288
+
289
+ .yiJjoznX0cApVlHDtWNBa._3Do97iq9wF8MYjO9AR3HT3 {
290
+ --color-swatch-size: calc(var(--theme-button-height, 42px) * 1.5);
291
+
292
+ cursor: auto;
293
+ }
294
+
295
+ /*
296
+ * See https://gomakethings.com/hidden-content-for-better-a11y/#hiding-the-link
297
+ */
298
+ .Vhekl7q9lt78RlIgC1Hdy {
299
+ position: absolute;
300
+ width: 1px;
301
+ height: 1px;
302
+ padding: 0;
303
+ margin: -1px;
304
+ overflow: hidden;
305
+ clip: rect(0, 0, 0, 0);
306
+ white-space: nowrap;
307
+ border-width: 0;
308
+ }
309
+
310
+ ._2g2BqoTSwr5yCrmpdh_gCf {
311
+ display: grid;
312
+ grid-gap: var(--theme-button-gap, 10px);
313
+ }
314
+
315
+ ._2g2BqoTSwr5yCrmpdh_gCf._14LiU3lkvKCkq4objeCSc1 {
316
+ align-items: center;
317
+ grid-auto-flow: column;
318
+ }
319
+
320
+ ._2g2BqoTSwr5yCrmpdh_gCf.wnePJrG71FxQHRavatNwN {
321
+ grid-auto-flow: row;
322
+ justify-items: center;
323
+ }
324
+
325
+ ._308f1undwHPjgRJSQRl2kt {
326
+ background-color: var(--theme-modal-overlay-color, rgba(255, 255, 255, 0.9));
327
+ bottom: 0;
328
+ cursor: pointer;
329
+ left: 0;
330
+ position: fixed;
331
+ right: 0;
332
+ top: 0;
333
+ z-index: 9;
334
+ }
335
+
336
+ ._2LtHDby-jXFLoVV3AW8_UC {
337
+ background-color: var(--theme-modal-background-color, #fff);
338
+ box-shadow: var(--theme-modal-shadow, 0 0 50px 0 rgba(0, 0, 0, 0.2));
339
+ outline: none;
340
+ overflow: auto;
341
+ position: fixed;
342
+ left: 50%;
343
+ top: 50%;
344
+ transform: translate(-50%, -50%);
345
+ z-index: 10;
346
+ }
347
+
348
+ ._169bRmV6JG9l2e_Z2cQ6HD {
349
+ bottom: var(--theme-outer-padding, 21px);
350
+ left: var(--theme-outer-padding, 21px);
351
+ position: fixed;
352
+ z-index: 11;
353
+ }
354
+
355
+ .FQuCidfLn1zXAIdtpAABK {
356
+ padding: var(--theme-confirmation-modal-padding, 42px 21px 21px 21px);
357
+ }
358
+
359
+ ._3R3n7P4OiBE0Jiq3TqOsOz {
360
+ font-size: var(--theme-confirmation-modal-header-font-size, 2.5rem);
361
+ margin: 0;
362
+ }
363
+
364
+ ._3BJi8ln7Dl1pAnoUvQAkZ {
365
+ display: grid;
366
+ grid-auto-flow: row;
367
+ row-gap: 1em;
368
+ padding: var(--theme-button-height, 42px) 0;
369
+ }
370
+
371
+ ._9EfRpte56_FRO34zqwGML {
372
+ display: flex;
373
+ justify-content: space-between;
374
+ }
375
+
376
+ .-ZaLlNla8yzLCqW89ThVF {
377
+ display: flex;
378
+ }
379
+
380
+ .-ZaLlNla8yzLCqW89ThVF > * {
381
+ margin-right: var(--theme-button-gap, 10px);
382
+ }
383
+
384
+ .-ZaLlNla8yzLCqW89ThVF > *:last-child {
385
+ margin-right: 0;
386
+ }
387
+
388
+ ._1sqc6n_4UBiDzd8CDlZQTI {
389
+ display: flex;
390
+ position: fixed;
391
+ background-color: var(--theme-floating-panel-background-color, #fff);
392
+ box-shadow: var(--theme-floating-panel-shadow, 0 0 5px 0 rgba(0, 0, 0, 0.15));
393
+ z-index: 3;
394
+ }
395
+
396
+ ._1sqc6n_4UBiDzd8CDlZQTI._2HktRR2g9a4JtJirdzTXbS {
397
+ box-shadow: none;
398
+ }
399
+
400
+ ._1sqc6n_4UBiDzd8CDlZQTI._3RFf4eu5UC_7V_Msv7yeUt {
401
+ background-color: transparent;
402
+ }
403
+
404
+ ._1sqc6n_4UBiDzd8CDlZQTI._2Q3NnJ8ooZe2RGlWTuc4r_ {
405
+ top: var(--theme-outer-padding, 21px);
406
+ }
407
+
408
+ ._1sqc6n_4UBiDzd8CDlZQTI._2VkLrWqnR7jDIdWZhIL0Zl {
409
+ right: var(--theme-outer-padding, 21px);
410
+ }
411
+
412
+ ._1sqc6n_4UBiDzd8CDlZQTI._2rgmcVFgt9CSJUJ2t5aps0 {
413
+ bottom: var(--theme-outer-padding, 21px);
414
+ }
415
+
416
+ ._1sqc6n_4UBiDzd8CDlZQTI._1G69fno5OYu8tzvyqlU4xJ {
417
+ left: var(--theme-outer-padding, 21px);
418
+ }
419
+
420
+ ._1sqc6n_4UBiDzd8CDlZQTI.vgftmKcR9f0_bQ68wtMtK {
421
+ left: 50%;
422
+ transform: translateX(-50%);
423
+ }
424
+
425
+ ._1sqc6n_4UBiDzd8CDlZQTI.Bn2UFVLeQOwrIbWvuKqNm {
426
+ top: 50%;
427
+ transform: translateY(-50%);
428
+ }
429
+
430
+ ._3ga-5_2SfhLOfX-0-TDzHS {
431
+ position: relative;
432
+ width: 100%;
433
+ height: 100%;
434
+ }
435
+
436
+ ._3gmrpbvtZtoO-SkCDcBUJA {
437
+ display: flex;
438
+ position: absolute;
439
+ align-items: center;
440
+ justify-content: center;
441
+ top: 0;
442
+ bottom: 0;
443
+ left: 0;
444
+ right: 0;
445
+ }
446
+
447
+ ._2nN1TMfQmlIA-AIvwXwDBJ {
448
+ display: block;
449
+ }
450
+
451
+ ._2nN1TMfQmlIA-AIvwXwDBJ._199tBIf4h-Vim7lfnTpjc7 {
452
+ object-fit: cover;
453
+ width: 100%;
454
+ height: 100%;
455
+ max-width: 100%;
456
+ max-height: 100%;
457
+ }
458
+
459
+ ._2nN1TMfQmlIA-AIvwXwDBJ._22u3ihmiMr6W6QAqeppKJR {
460
+ object-fit: contain;
461
+ width: 100%;
462
+ height: 100%;
463
+ max-width: 100%;
464
+ max-height: 100%;
465
+ }
466
+
467
+ ._2nN1TMfQmlIA-AIvwXwDBJ._1Icfq_z7gaGwsndPrHnMis {
468
+ width: 100%;
469
+ max-width: 100%;
470
+ }
471
+
472
+ ._2nN1TMfQmlIA-AIvwXwDBJ._3DaoKqEKFpY8KS-i9eGr4X {
473
+ height: 100%;
474
+ max-height: 100%;
475
+ }
476
+
477
+ ._3QkI96grcOC6N6AVKQcRa6 {
478
+ display: flex;
479
+ flex-direction: column;
480
+ max-height: 100%;
481
+ }
482
+
483
+ ._3AnbCLyfrnJelaXyVxVtcp {
484
+ background-color: var(--theme-list-view-background-color, #fff);
485
+ border-bottom: 1px solid var(--theme-list-view-border-color, #ddd);
486
+ color: var(--theme-list-view-foreground-color, #0e0e0f);
487
+ cursor: pointer;
488
+ font-weight: 500;
489
+ margin: 0;
490
+ padding: 20px 15px 25px 15px;
491
+ text-transform: capitalize;
492
+ white-space: nowrap;
493
+ }
494
+
495
+ ._17CIizo0l5sRULrvwtfdQN {
496
+ list-style: none;
497
+ margin: 0;
498
+ max-height: 100%;
499
+ overflow-y: auto;
500
+ padding: 0;
501
+ }
502
+
503
+ .B13tTn7sk_tPdI3R9OJJK {
504
+ border-bottom: 1px solid var(--theme-list-view-border-color, #ddd);
505
+ text-decoration: none;
506
+ }
507
+
508
+ .sKY7x7Mk3_qLAitiDnZlB {
509
+ background-color: var(--theme-list-view-background-color, #fff);
510
+ border: none;
511
+ color: var(--theme-list-view-foreground-color, #0e0e0f);
512
+ cursor: pointer;
513
+ font-family: var(--theme-list-view-item-font-family, sans-serif);
514
+ font-size: var(--theme-list-view-item-font-size, 1rem);
515
+ font-weight: var(--theme-list-view-item-font-weight, 500);
516
+ height: 100%;
517
+ padding: 15px;
518
+ text-align: left;
519
+ text-decoration: none;
520
+ transition: all 0.1s ease-out;
521
+ white-space: nowrap;
522
+ width: 100%;
523
+ }
524
+
525
+ .sKY7x7Mk3_qLAitiDnZlB._2h0KyxjhJpxxNZqKe2dJ_b {
526
+ background-color: var(--theme-list-view-foreground-color, #0e0e0f);
527
+ color: var(--theme-list-view-background-color, #fff);
528
+ }
529
+
530
+ .sKY7x7Mk3_qLAitiDnZlB:focus {
531
+ outline: none;
532
+ }
533
+
534
+ .sKY7x7Mk3_qLAitiDnZlB:active {
535
+ transform: scale(0.9);
536
+ }
537
+
538
+ .sKY7x7Mk3_qLAitiDnZlB:disabled {
539
+ opacity: 0.3;
540
+ pointer-events: none;
541
+ }
542
+
543
+ .B13tTn7sk_tPdI3R9OJJK:last-child {
544
+ border-bottom: none;
545
+ }
546
+
547
+ .q_oxs63VcG5Ch5zl7b_Pc {
548
+ box-shadow: var(--theme-menu-shadow, 0 0 15px 0 rgba(0, 0, 0, 0.15));
549
+ max-height: var(--theme-menu-max-height, 50vh);
550
+ min-width: var(--theme-menu-min-width, 5vw);
551
+ overflow-y: auto;
552
+ position: absolute;
553
+ z-index: 1;
554
+ }
555
+
556
+ .q_oxs63VcG5Ch5zl7b_Pc ul {
557
+ list-style: none;
558
+ padding: 0;
559
+ margin: 0;
560
+ }
561
+
562
+ .q_oxs63VcG5Ch5zl7b_Pc._2HY5pU1J95rFNADHVnqqKp.pzllfXC5M7IZ6FFZivQhj {
563
+ margin-bottom: var(--theme-menu-margin, 15px);
564
+ bottom: 100%;
565
+ right: 0;
566
+ }
567
+
568
+ .q_oxs63VcG5Ch5zl7b_Pc._2HY5pU1J95rFNADHVnqqKp._1dhYc9BwcrlMIr4OAbQFxr {
569
+ margin-bottom: var(--theme-menu-margin, 15px);
570
+ bottom: 100%;
571
+ left: 0;
572
+ }
573
+
574
+ .q_oxs63VcG5Ch5zl7b_Pc._2aWOUP6bObYrXJNzLXcH1g.pzllfXC5M7IZ6FFZivQhj {
575
+ margin-top: var(--theme-menu-margin, 15px);
576
+ top: 100%;
577
+ right: 0;
578
+ }
579
+
580
+ .q_oxs63VcG5Ch5zl7b_Pc._2aWOUP6bObYrXJNzLXcH1g._1dhYc9BwcrlMIr4OAbQFxr {
581
+ margin-top: var(--theme-menu-margin, 15px);
582
+ top: 100%;
583
+ left: 0;
584
+ }
585
+
586
+ .q_oxs63VcG5Ch5zl7b_Pc._1Jo1EF12l-iCNSZfDdzamZ {
587
+ -webkit-animation: _3kMaWvfYxfu7tnK2q7NNms 0.5s ease-in-out both;
588
+ animation: _3kMaWvfYxfu7tnK2q7NNms 0.5s ease-in-out both;
589
+ }
590
+
591
+ ._2Uclm_J5zdCpbmc91tcF4z {
592
+ background-color: var(--theme-list-view-background-color, #fff);
593
+ border-bottom: 1px solid var(--theme-list-view-border-color, #ddd);
594
+ color: var(--theme-list-view-foreground-color, #0e0e0f);
595
+ cursor: pointer;
596
+ font-weight: 500;
597
+ margin: 0;
598
+ padding: 20px 15px 25px 15px;
599
+ text-transform: capitalize;
600
+ white-space: nowrap;
601
+ }
602
+
603
+ @-webkit-keyframes _3kMaWvfYxfu7tnK2q7NNms {
604
+ 0% {
605
+ -webkit-transform: scale(1);
606
+ transform: scale(1);
607
+ }
608
+ 50% {
609
+ -webkit-transform: scale(0.9);
610
+ transform: scale(0.9);
611
+ }
612
+ 100% {
613
+ -webkit-transform: scale(1);
614
+ transform: scale(1);
615
+ }
616
+ }
617
+
618
+ @keyframes _3kMaWvfYxfu7tnK2q7NNms {
619
+ 0% {
620
+ -webkit-transform: scale(1);
621
+ transform: scale(1);
622
+ }
623
+ 50% {
624
+ -webkit-transform: scale(0.9);
625
+ transform: scale(0.9);
626
+ }
627
+ 100% {
628
+ -webkit-transform: scale(1);
629
+ transform: scale(1);
630
+ }
631
+ }
632
+
633
+ .-VxSGog20HxlgG6MV2J8u {
634
+ display: inline-block;
635
+ position: relative;
636
+ }
637
+
638
+ ._22iDagQ2p2kJrO6oxWOF1s {
639
+ background-color: var(--theme-menu-background-color, #fff);
640
+ border-bottom: 1px solid var(--theme-menu-border-color, #ddd);
641
+ color: var(--theme-menu-foreground-color, #0e0e0f);
642
+ cursor: pointer;
643
+ display: flex;
644
+ align-items: center;
645
+ font-family: var(--theme-menu-item-font-family, sans-serif);
646
+ font-weight: var(--theme-menu-item-font-weight, 500);
647
+ height: var(--theme-menu-item-height, 42px);
648
+ padding: 0 15px;
649
+ white-space: nowrap;
650
+ }
651
+
652
+ ._22iDagQ2p2kJrO6oxWOF1s._3wWA2riaj0K_s7Xk06NS50 {
653
+ background-color: var(--theme-menu-foreground-color, #0e0e0f);
654
+ color: var(--theme-menu-background-color, #fff);
655
+ text-decoration: none;
656
+ }
657
+
658
+ ._22iDagQ2p2kJrO6oxWOF1s:hover {
659
+ background-color: var(--theme-menu-hover-background-color, #ddd);
660
+ }
661
+
662
+ ._22iDagQ2p2kJrO6oxWOF1s:last-child {
663
+ border-bottom: none;
664
+ }
665
+
666
+ .OJm9CQ8ijhCEtebr_52wh {
667
+ background-color: var(--theme-menu-background-color, #fff);
668
+ border-bottom: 1px solid var(--theme-menu-border-color, #ddd);
669
+ color: var(--theme-menu-foreground-color, #0e0e0f);
670
+ cursor: pointer;
671
+ display: flex;
672
+ align-items: center;
673
+ font-family: var(--theme-menu-item-font-family, sans-serif);
674
+ font-weight: var(--theme-menu-item-font-weight, 500);
675
+ height: var(--theme-menu-item-height, 42px);
676
+ padding: 0 15px;
677
+ white-space: nowrap;
678
+ }
679
+
680
+ .OJm9CQ8ijhCEtebr_52wh._3wpGy0p2m2C-rbEOo6m9c1 {
681
+ background-color: var(--theme-menu-foreground-color, #0e0e0f);
682
+ color: var(--theme-menu-background-color, #fff);
683
+ text-decoration: none;
684
+ }
685
+
686
+ .OJm9CQ8ijhCEtebr_52wh:hover {
687
+ background-color: var(--theme-menu-hover-background-color, #ddd);
688
+ }
689
+
690
+ ._1RDKAqO0ugO2ZeJtFhlUOC:last-child {
691
+ border-bottom: none;
692
+ }
693
+
694
+ ._3e9mPRDpiOaq-H_25ofB8Y {
695
+ height: calc(var(--theme-menu-item-height, 42px) / 2);
696
+ width: calc(var(--theme-menu-item-height, 42px) / 2);
697
+ margin-right: calc(var(--theme-menu-item-height, 42px) / 2);
698
+ }
699
+
700
+ ._3e9mPRDpiOaq-H_25ofB8Y:last-child {
701
+ margin-right: 0;
702
+ }
703
+
704
+ ._1eunm7CzhVJQdjeXfMO5V7 {
705
+ display: flex;
706
+ align-items: center;
707
+ flex-direction: column;
708
+ justify-content: center;
709
+ position: absolute;
710
+ cursor: pointer;
711
+ top: 0;
712
+ right: 0;
713
+ bottom: 0;
714
+ left: 0;
715
+ background-color: var(
716
+ --theme-overlay-background-color,
717
+ rgba(240, 240, 240, 0.75)
718
+ );
719
+ }
720
+
721
+ ._1eunm7CzhVJQdjeXfMO5V7._3T4uZyMYIWyfVw9gqdOCUl {
722
+ background-color: transparent;
723
+ }
724
+
725
+ ._1eunm7CzhVJQdjeXfMO5V7._28xhqgctgfmBAGJeV8gb-G {
726
+ position: fixed;
727
+ }
728
+
729
+ ._1hWS8Ctp_Xoptl5yH4iK10 {
730
+ --button-size: var(--theme-button-height, 42px);
731
+
732
+ align-items: center;
733
+ background-color: var(--theme-button-background-color, #fff);
734
+ border: none;
735
+ box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
736
+ color: var(--theme-button-foreground-color, #0e0e0f);
737
+ cursor: pointer;
738
+ display: flex;
739
+ font-size: var(--theme-base-font-size, 15px);
740
+ font-weight: bold;
741
+ height: var(--button-size);
742
+ justify-content: center;
743
+ margin: 0;
744
+ padding: 0;
745
+ text-decoration: none;
746
+ text-transform: uppercase;
747
+ transform: scale(1);
748
+ transition: all 0.1s ease-out;
749
+ white-space: nowrap;
750
+ width: var(--button-size);
751
+ }
752
+
753
+ ._1hWS8Ctp_Xoptl5yH4iK10._3UTD5rXy8pHInbyfAISfLM {
754
+ --button-size: var(--theme-button-height-medium, 52px);
755
+ }
756
+
757
+ ._1hWS8Ctp_Xoptl5yH4iK10._2wAE1TI9UtoiVq8_mQ85zY {
758
+ --button-size: var(--theme-button-height-large, 72px);
759
+ }
760
+
761
+ ._1hWS8Ctp_Xoptl5yH4iK10:focus {
762
+ outline: none;
763
+ }
764
+
765
+ ._1hWS8Ctp_Xoptl5yH4iK10:disabled {
766
+ opacity: 0.3;
767
+ pointer-events: none;
768
+ }
769
+
770
+ ._1hWS8Ctp_Xoptl5yH4iK10:active {
771
+ transform: scale(0.95);
772
+ }
773
+
774
+ ._1hWS8Ctp_Xoptl5yH4iK10:hover {
775
+ background-color: var(--theme-button-hover-background-color, #ddd);
776
+ }
777
+
778
+ ._1hWS8Ctp_Xoptl5yH4iK10.DTmrJKQW_p69bmIfnz6pJ {
779
+ border: 1px solid var(--theme-button-background-color, #fff);
780
+ background-color: var(--theme-button-foreground-color, #0e0e0f);
781
+ color: var(--theme-button-background-color, #fff);
782
+ }
783
+
784
+ ._1hWS8Ctp_Xoptl5yH4iK10._2Qo01PXIf_n07WdjfgRnsB {
785
+ box-shadow: none;
786
+ }
787
+
788
+ ._1hWS8Ctp_Xoptl5yH4iK10._3bAFtWXUmgiVGOMoaqkNYk {
789
+ background-color: transparent;
790
+ border: 2px solid var(--theme-button-foreground-color, #0e0e0f);
791
+ box-shadow: none;
792
+ }
793
+
794
+ ._1hWS8Ctp_Xoptl5yH4iK10._3bAFtWXUmgiVGOMoaqkNYk.DTmrJKQW_p69bmIfnz6pJ {
795
+ border: 2px solid var(--theme-button-background-color, #fff);
796
+ }
797
+
798
+ ._3_TEIn-NvzG9z0gRRz-iwm {
799
+ height: calc(var(--theme-button-height, 42px) / 2.5);
800
+ width: calc(var(--theme-button-height, 42px) / 2.5);
801
+ margin-right: calc(var(--theme-button-height, 42px) / 2.5);
802
+ }
803
+
804
+ ._3_TEIn-NvzG9z0gRRz-iwm:last-child {
805
+ margin-right: 0;
806
+ }
807
+
808
+ ._1dDJngMZQG8QQzFLctmraM {
809
+ display: flex;
810
+ box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
811
+ }
812
+
813
+ ._1dDJngMZQG8QQzFLctmraM._25nBC8iOAPkHb9XxAbYeQW {
814
+ flex-direction: row;
815
+ }
816
+
817
+ ._1dDJngMZQG8QQzFLctmraM._2FsnjtVSCtrk0PNYFIq0QW {
818
+ flex-direction: column-reverse;
819
+ width: calc(var(--theme-button-height, 42px) * 1.22);
820
+ }
821
+
822
+ ._1dDJngMZQG8QQzFLctmraM._24Mr2LJsbWa5VZsaruDt7Q {
823
+ box-shadow: none;
824
+ }
825
+
826
+ ._3Y6XivFLEzCt-oiO_Be6lU {
827
+ display: flex;
828
+ align-items: center;
829
+ justify-content: center;
830
+ height: var(--theme-button-height, 42px);
831
+ padding: 0 calc(var(--theme-button-height, 42px) * 0.5);
832
+ background-color: var(--theme-input-background-color, #ededed);
833
+ }
834
+
835
+ ._2uj0x284WZRoLuqbYbDDuZ {
836
+ display: flex;
837
+ position: fixed;
838
+ justify-content: space-between;
839
+ background-color: var(--theme-sidebar-background-color, #fff);
840
+ box-shadow: var(--theme-sidebar-shadow, 0 0 5px 0 rgba(0, 0, 0, 0.15));
841
+ z-index: 1;
842
+ }
843
+
844
+ ._2uj0x284WZRoLuqbYbDDuZ.hjjyi0HLSUpPZ9OYA_FTb {
845
+ justify-content: center;
846
+ }
847
+
848
+ ._2uj0x284WZRoLuqbYbDDuZ._20vjyXFLbe54KpwBbacI9c {
849
+ box-shadow: none;
850
+ }
851
+
852
+ ._2uj0x284WZRoLuqbYbDDuZ._16gfL52F7P1xtVV5V1GmCl {
853
+ background-color: transparent;
854
+ }
855
+
856
+ ._2uj0x284WZRoLuqbYbDDuZ.H-stPL7EAX_KqvWT1yHqL {
857
+ top: 0;
858
+ left: 0;
859
+ right: 0;
860
+ }
861
+
862
+ ._2uj0x284WZRoLuqbYbDDuZ._26dfvTjUBINkM9lFRDrb_1 {
863
+ flex-direction: column;
864
+ top: 0;
865
+ right: 0;
866
+ bottom: 0;
867
+ }
868
+
869
+ ._2uj0x284WZRoLuqbYbDDuZ._3ce4Yf087jEJh-3qqI0YWW {
870
+ bottom: 0;
871
+ left: 0;
872
+ right: 0;
873
+ }
874
+
875
+ ._2uj0x284WZRoLuqbYbDDuZ._2iHyB1aJyeJxEkdZg0qj-s {
876
+ flex-direction: column;
877
+ top: 0;
878
+ left: 0;
879
+ bottom: 0;
880
+ }
881
+
882
+ ._28diEMRpUad1Q1fibH6MyE {
883
+ --button-size: var(--theme-button-height, 42px);
884
+
885
+ align-items: center;
886
+ background-color: var(--theme-button-background-color, #fff);
887
+ border: none;
888
+ box-shadow: var(--theme-button-shadow, 0 0 12px 0 rgba(0, 0, 0, 0.1));
889
+ color: var(--theme-button-foreground-color, #0e0e0f);
890
+ cursor: pointer;
891
+ display: flex;
892
+ font-family: var(--theme-button-font-family, helvetica, arial, sans-serif);
893
+ font-size: var(--theme-base-font-size, 15px);
894
+ font-weight: bold;
895
+ height: var(--button-size);
896
+ justify-content: center;
897
+ margin: 0;
898
+ padding: 0;
899
+ text-decoration: none;
900
+ text-transform: uppercase;
901
+ transform: scale(1);
902
+ transition: all 0.1s ease-out;
903
+ white-space: nowrap;
904
+ width: var(--button-size);
905
+ }
906
+
907
+ ._28diEMRpUad1Q1fibH6MyE.lwlqUJXbDtDlGiMAiIKrF {
908
+ --button-size: var(--theme-button-height-medium, 52px);
909
+ }
910
+
911
+ ._28diEMRpUad1Q1fibH6MyE._32ZovUZ4J2RO7cnxyUPb7x {
912
+ --button-size: var(--theme-button-height-large, 72px);
913
+ }
914
+
915
+ ._28diEMRpUad1Q1fibH6MyE:focus {
916
+ outline: none;
917
+ }
918
+
919
+ ._28diEMRpUad1Q1fibH6MyE:hover {
920
+ background-color: var(--theme-button-hover-background-color, #ddd);
921
+ }
922
+
923
+ ._28diEMRpUad1Q1fibH6MyE:active {
924
+ transform: scale(0.95);
925
+ }
926
+
927
+ ._28diEMRpUad1Q1fibH6MyE._2XQZsbpYzbsJnCIM86qfew {
928
+ background-color: var(--theme-button-foreground-color, #0e0e0f);
929
+ color: var(--theme-button-background-color, #fff);
930
+ }
931
+
932
+ ._28diEMRpUad1Q1fibH6MyE._3EqQ8mVn6bLSejinL1nUWP {
933
+ box-shadow: none;
934
+ }
935
+
936
+ ._28diEMRpUad1Q1fibH6MyE._1zT9Ow7Zr1mvYS3pSTIs4_ {
937
+ background-color: transparent;
938
+ border: 2px solid var(--theme-button-foreground-color, #0e0e0f);
939
+ box-shadow: none;
940
+ }
941
+
942
+ ._28diEMRpUad1Q1fibH6MyE._1zT9Ow7Zr1mvYS3pSTIs4_._2XQZsbpYzbsJnCIM86qfew {
943
+ border: 2px solid var(--theme-button-background-color, #fff);
944
+ }
945
+
946
+ .gAo1poaczpfncRiW2B32Z {
947
+ height: calc(var(--theme-button-height, 42px) / 2.5);
948
+ margin-right: calc(var(--theme-button-height, 42px) / 2);
949
+ }
950
+
951
+ .gAo1poaczpfncRiW2B32Z:last-child {
952
+ margin-right: 0;
953
+ }
954
+
955
+ ._3fgDyPSknZVO1tT3fpmw6G {
956
+ background-color: var(--theme-input-background-color, #ededed);
957
+ border: none;
958
+ box-sizing: border-box;
959
+ font-size: var(--theme-input-font-size, 2rem);
960
+ font-weight: var(--theme-input-font-weight, 500);
961
+ outline: none;
962
+ padding: 1rem 2rem;
963
+ width: 100%;
964
+ }
965
+
966
+ ._3fgDyPSknZVO1tT3fpmw6G:focus {
967
+ background-color: var(--theme-input-background-color-focus, #e3e3e3);
968
+ }
969
+
970
+ ._198R9u8Ak_N3w7GJKgN4QX {
971
+ font-family: var(--theme-input-label-font-family, sans-serif);
972
+ font-weight: 500;
973
+ margin-bottom: 0.5em;
974
+ }
975
+
976
+ ._2oDAMdGscA7a-r3fJVYT4y {
977
+ -webkit-animation: _2xe-xU-Wr7wQmdtigV88uw 0.5s ease-in-out both;
978
+ animation: _2xe-xU-Wr7wQmdtigV88uw 0.5s ease-in-out both;
979
+ background-color: var(--theme-toast-background-color, #fff);
980
+ box-shadow: var(--theme-toast-shadow, 0 0 15px 0 rgba(0, 0, 0, 0.15));
981
+ cursor: pointer;
982
+ display: flex;
983
+ height: var(--theme-toast-height, 60px);
984
+ justify-content: space-between;
985
+ min-width: var(--theme-toast-min-width, 40vw);
986
+ }
987
+
988
+ ._13HMC8BVI57yGHbSHosAXQ {
989
+ box-sizing: border-box;
990
+ display: flex;
991
+ flex: 1;
992
+ flex-direction: column;
993
+ height: 100%;
994
+ justify-content: center;
995
+ font-size: var(--theme-toast-font-size, 0.85rem);
996
+ padding: var(--theme-toast-padding, 10px 60px 10px 25px);
997
+ }
998
+
999
+ ._13HMC8BVI57yGHbSHosAXQ h1,
1000
+ h2,
1001
+ h3,
1002
+ h4 {
1003
+ font-size: var(--theme-toast-heading-font-size, 1.2rem);
1004
+ line-height: 1.35em;
1005
+ margin: 0;
1006
+ }
1007
+
1008
+ .bstIGBKksyAHdkP6fx9JN {
1009
+ height: 100%;
1010
+ }
1011
+
1012
+ ._37JXerbZedQiyzUOc889kB {
1013
+ display: flex;
1014
+ }
1015
+
1016
+ ._37JXerbZedQiyzUOc889kB > * {
1017
+ margin-left: var(--theme-button-gap, 8px);
1018
+ }
1019
+
1020
+ ._37JXerbZedQiyzUOc889kB > *:first-child {
1021
+ margin-left: none;
1022
+ }
1023
+
1024
+ @-webkit-keyframes _2xe-xU-Wr7wQmdtigV88uw {
1025
+ 0% {
1026
+ -webkit-transform: scale(1);
1027
+ transform: scale(1);
1028
+ }
1029
+ 50% {
1030
+ -webkit-transform: scale(0.9);
1031
+ transform: scale(0.9);
1032
+ }
1033
+ 100% {
1034
+ -webkit-transform: scale(1);
1035
+ transform: scale(1);
1036
+ }
1037
+ }
1038
+
1039
+ @keyframes _2xe-xU-Wr7wQmdtigV88uw {
1040
+ 0% {
1041
+ -webkit-transform: scale(1);
1042
+ transform: scale(1);
1043
+ }
1044
+ 50% {
1045
+ -webkit-transform: scale(0.9);
1046
+ transform: scale(0.9);
1047
+ }
1048
+ 100% {
1049
+ -webkit-transform: scale(1);
1050
+ transform: scale(1);
1051
+ }
1052
+ }
1053
+
1054
+ .m8Ob4c2odriI4-R5RUozy {
1055
+ display: flex;
1056
+ flex-direction: column;
1057
+ align-items: center;
1058
+ justify-content: center;
1059
+ position: fixed;
1060
+ left: 50%;
1061
+ transform: translateX(-50%);
1062
+ bottom: calc(var(--theme-button-height, 30px) * 1.5);
1063
+ z-index: 20;
1064
+ }
1065
+
1066
+ .m8Ob4c2odriI4-R5RUozy > * {
1067
+ margin: var(--theme-toast-margin, 5px);
1068
+ }
1069
+
1070
+ .s-h4Xsi7NaPueKevx2S5q {
1071
+ position: relative;
1072
+ width: 100%;
1073
+ height: 100%;
1074
+ }
1075
+
1076
+ ._7ibfehQJ_B3QKJgPBrPOo {
1077
+ display: block;
1078
+ }
1079
+
1080
+ ._7ibfehQJ_B3QKJgPBrPOo._3H90ULnn3Kzm9SHtLoOENk {
1081
+ object-fit: cover;
1082
+ width: 100%;
1083
+ height: 100%;
1084
+ }
1085
+
1086
+ ._7ibfehQJ_B3QKJgPBrPOo._2NZhXAL1DIwphorQWgQEh- {
1087
+ object-fit: contain;
1088
+ width: 100%;
1089
+ height: 100%;
1090
+ }
1091
+
1092
+ ._7ibfehQJ_B3QKJgPBrPOo._1VYh1GNvAnH2t2YSoMJ-ww {
1093
+ width: 100%;
1094
+ }
1095
+
1096
+ ._7ibfehQJ_B3QKJgPBrPOo._2ZBppPYj0eYG08Zwt2TWqS {
1097
+ height: 100%;
1098
+ }
1099
+
1100
+ ._3VokDlaSvuSkA6d6uzvJx2 {
1101
+ display: flex;
1102
+ position: absolute;
1103
+ align-items: center;
1104
+ justify-content: center;
1105
+ top: 0;
1106
+ bottom: 0;
1107
+ left: 0;
1108
+ right: 0;
1109
+ }
1110
+
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@touchtech/baselayer-ui",
3
+ "version": "1.0.0",
4
+ "description": "React UI component library",
5
+ "main": "dist/bundle.js",
6
+ "scripts": {
7
+ "start": "start-storybook",
8
+ "eslint": "eslint --ignore-path .gitignore",
9
+ "lint:js": "npm run eslint -- \"**/*.js\"",
10
+ "stylelint": "stylelint --ignore-path .gitignore",
11
+ "lint:css": "npm run stylelint -- \"**/*.css\"",
12
+ "lint": "run-p lint:js lint:css",
13
+ "lint-fix": "run-p \"lint:** -- --fix\"",
14
+ "build": "webpack",
15
+ "prettier": "prettier --ignore-path .gitignore",
16
+ "format": "npm run prettier -- --list-different \"**/*.{css,html,js,json}\"",
17
+ "format-fix": "npm run prettier -- --write \"**/*.{css,html,js,json}\"",
18
+ "check": "run-p lint format \"test -- --coverage\"",
19
+ "fix": "run-s lint-fix format-fix",
20
+ "test": "jest",
21
+ "prepublish": "npm run check && npm run build",
22
+ "build-storybook": "build-storybook -c .storybook -o .out"
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "keywords": [],
28
+ "author": "Steffen Stratz",
29
+ "license": "UNLICENSED",
30
+ "devDependencies": {
31
+ "@babel/core": "^7.10.4",
32
+ "@babel/preset-env": "^7.10.4",
33
+ "@babel/preset-react": "^7.10.4",
34
+ "@storybook/addon-centered": "^5.3.19",
35
+ "@storybook/addon-storysource": "^5.3.19",
36
+ "@storybook/react": "^5.3.19",
37
+ "@testing-library/jest-dom": "^5.11.0",
38
+ "@testing-library/react": "^10.4.3",
39
+ "babel-jest": "^26.1.0",
40
+ "babel-loader": "^8.1.0",
41
+ "css-loader": "^3.6.0",
42
+ "eslint": "^7.3.1",
43
+ "eslint-config-prettier": "^6.11.0",
44
+ "eslint-plugin-prettier": "^3.1.4",
45
+ "eslint-plugin-react": "^7.20.3",
46
+ "eslint-plugin-react-hooks": "^4.0.5",
47
+ "identity-obj-proxy": "^3.0.0",
48
+ "jest": "^26.1.0",
49
+ "mini-css-extract-plugin": "^0.9.0",
50
+ "npm-run-all": "^4.1.5",
51
+ "prettier": "^2.0.5",
52
+ "react": "^16.13.1",
53
+ "react-dom": "^16.13.1",
54
+ "style-loader": "^1.2.1",
55
+ "stylelint": "^13.6.1",
56
+ "stylelint-config-prettier": "^8.0.2",
57
+ "stylelint-config-standard": "^20.0.0",
58
+ "stylelint-prettier": "^1.1.2",
59
+ "webpack": "^4.43.0",
60
+ "webpack-cli": "^3.3.12"
61
+ },
62
+ "dependencies": {
63
+ "classnames": "^2.2.6",
64
+ "prop-types": "^15.7.2",
65
+ "react-hotkeys-hook": "^2.1.4"
66
+ },
67
+ "peerDependencies": {
68
+ "react": "^16.13.1",
69
+ "react-dom": "^16.13.1"
70
+ },
71
+ "directories": {
72
+ "test": "test"
73
+ },
74
+ "repository": {
75
+ "type": "git",
76
+ "url": "git+https://github.com/TouchtechAB/baselayer-ui.git"
77
+ },
78
+ "bugs": {
79
+ "url": "https://github.com/TouchtechAB/baselayer-ui/issues"
80
+ },
81
+ "homepage": "https://github.com/TouchtechAB/baselayer-ui#readme"
82
+ }