@egov3/system-design 1.3.66 → 1.3.67
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/dist/cjs/components/Accordion/Accordion.module.css.js +13 -3
- package/dist/cjs/components/Accordion/Accordion.module.css.js.map +1 -1
- package/dist/cjs/components/Button/button.module.css.js +13 -3
- package/dist/cjs/components/Button/button.module.css.js.map +1 -1
- package/dist/cjs/components/InputField/InputField.module.css.js +13 -3
- package/dist/cjs/components/InputField/InputField.module.css.js.map +1 -1
- package/dist/cjs/components/Modal/Modal.module.css.js +13 -3
- package/dist/cjs/components/Modal/Modal.module.css.js.map +1 -1
- package/dist/cjs/components/RadioGroup/RadioGroup.module.css.js +13 -3
- package/dist/cjs/components/RadioGroup/RadioGroup.module.css.js.map +1 -1
- package/dist/cjs/components/RadioToggle/RadioToggle.module.css.js +13 -3
- package/dist/cjs/components/RadioToggle/RadioToggle.module.css.js.map +1 -1
- package/dist/cjs/components/SelectBoxButton/SelectBoxButton.module.css.js +13 -3
- package/dist/cjs/components/SelectBoxButton/SelectBoxButton.module.css.js.map +1 -1
- package/dist/cjs/styles/colors.css.js +13 -7
- package/dist/cjs/styles/colors.css.js.map +1 -1
- package/dist/cjs/styles/typography.module.css.js +13 -3
- package/dist/cjs/styles/typography.module.css.js.map +1 -1
- package/dist/esm/components/Accordion/Accordion.module.css.js +13 -3
- package/dist/esm/components/Accordion/Accordion.module.css.js.map +1 -1
- package/dist/esm/components/Button/button.module.css.js +13 -3
- package/dist/esm/components/Button/button.module.css.js.map +1 -1
- package/dist/esm/components/InputField/InputField.module.css.js +13 -3
- package/dist/esm/components/InputField/InputField.module.css.js.map +1 -1
- package/dist/esm/components/Modal/Modal.module.css.js +13 -3
- package/dist/esm/components/Modal/Modal.module.css.js.map +1 -1
- package/dist/esm/components/RadioGroup/RadioGroup.module.css.js +13 -3
- package/dist/esm/components/RadioGroup/RadioGroup.module.css.js.map +1 -1
- package/dist/esm/components/RadioToggle/RadioToggle.module.css.js +13 -3
- package/dist/esm/components/RadioToggle/RadioToggle.module.css.js.map +1 -1
- package/dist/esm/components/SelectBoxButton/SelectBoxButton.module.css.js +13 -3
- package/dist/esm/components/SelectBoxButton/SelectBoxButton.module.css.js.map +1 -1
- package/dist/esm/styles/colors.css.js +13 -5
- package/dist/esm/styles/colors.css.js.map +1 -1
- package/dist/esm/styles/typography.module.css.js +13 -3
- package/dist/esm/styles/typography.module.css.js.map +1 -1
- package/dist/types/components/Accordion/index.d.ts +10 -0
- package/dist/types/components/Button/index.d.ts +16 -0
- package/dist/types/components/InputField/index.d.ts +25 -0
- package/dist/types/components/Modal/index.d.ts +11 -0
- package/dist/types/components/RadioGroup/index.d.ts +21 -0
- package/dist/types/components/RadioToggle/index.d.ts +8 -0
- package/dist/types/components/SelectBoxButton/index.d.ts +11 -0
- package/dist/types/components/Typography/index.d.ts +9 -0
- package/dist/types/index.d.ts +25 -0
- package/package.json +2 -2
- package/dist/index.d.ts +0 -105
|
@@ -2,11 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var styleInject = require('/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js');
|
|
6
|
-
|
|
7
5
|
var css_248z = ".Accordion-module_accordionBtn__1unNG {\n border-radius: inherit;\n width: 100%;\n text-align: left;\n display: flex;\n justify-content: space-between;\n cursor: pointer;\n}\n\n.Accordion-module_accordionContent__Qnx7K {\n max-height: 1000px;\n overflow: hidden;\n transition: all 0.3s ease-in-out;\n}\n\n.Accordion-module_accordionContent--hidden__DrXay {\n max-height: 0;\n}\n";
|
|
8
6
|
var styles = {"accordionBtn":"Accordion-module_accordionBtn__1unNG","accordionContent":"Accordion-module_accordionContent__Qnx7K","accordionContent--hidden":"Accordion-module_accordionContent--hidden__DrXay"};
|
|
9
|
-
styleInject(
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
10
20
|
|
|
11
21
|
exports.default = styles;
|
|
12
22
|
//# sourceMappingURL=Accordion.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Accordion.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,11 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var styleInject = require('/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js');
|
|
6
|
-
|
|
7
5
|
var css_248z = ".button-module_button__JyfZW {\n border: none;\n transition: background-color 0.2s ease;\n\n display: inline-flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n\n.button-module_btn-default__EDl7t {\n color: var(--default-white-color);\n background-color: var(--default-primary-accent);\n}\n\n.button-module_btn-default--disabled__H36E7 {\n color: var(--text-disabled-color);\n background-color: var(--button-disabled-default-color);\n}\n\n.button-module_btn-tinted__Do6iX {\n color: var(--text-accent);\n background-color: var(--button-tinted-default-color);\n}\n\n.button-module_btn-tinted--disabled__XRuq- {\n color: var(--text-disabled-accent-color);\n background-color: var(--button-tinted-default-color);\n}\n\n.button-module_btn-secondary__LtTTr {\n color: var(--text-primary);\n background-color: var(--surface-surface-3-color);\n}\n\n.button-module_btn-secondary--disabled__5YS63 {\n color: var(--text-secondary);\n background-color: var(--surface-surface-3-color);\n}\n\n.button-module_btn-black--disabled__M7H0K {\n color: var(--text-disabled-color);\n background-color: var(--button-disabled-default-color);\n}\n\n.button-module_btn-black__SFwzH {\n color: var(--default-white-color);\n background-color: var(--button-black-default-color);\n}\n\n.button-module_btn-default__EDl7t:hover {\n background-color: var(--button-primary-on-hover-color);\n}\n\n.button-module_btn-tinted__Do6iX:hover {\n background-color: var(--button-tinted-on-hover-color);\n}\n\n.button-module_btn-secondary__LtTTr:hover {\n background-color: var(--button-secondary-on-hover);\n}\n\n.button-module_btn-black__SFwzH:hover {\n background-color: var(--button-black-on-hover-color);\n}\n\n.button-module_btn--mini__a9EJm {\n gap: 4px;\n padding: 6px 12px;\n}\n.button-module_btn--small__xfhlR {\n gap: 8px;\n padding: 8px 16px;\n}\n.button-module_btn--medium__pFJSr {\n gap: 8px;\n padding: 8px 20px;\n}\n.button-module_btn--large__GvwY2 {\n gap: 8px;\n padding: 14px 24px;\n}\n\n.button-module_btn-square--mini__RWpOc {\n border-radius: 4px;\n}\n.button-module_btn-square--small__M-WgA {\n border-radius: 6px;\n}\n.button-module_btn-square--medium__aDBfE {\n border-radius: 10px;\n}\n.button-module_btn-square--large__dwebF {\n border-radius: 12px;\n}\n\n.button-module_btn-rounded--mini__bX5xJ {\n border-radius: 32px;\n}\n.button-module_btn-rounded--small__LI-QV {\n border-radius: 32px;\n}\n.button-module_btn-rounded--medium__TKy02 {\n border-radius: 32px;\n}\n.button-module_btn-rounded--large__joy-r {\n border-radius: 40px;\n}\n";
|
|
8
6
|
var styles = {"button":"button-module_button__JyfZW","btn-default":"button-module_btn-default__EDl7t","btn-default--disabled":"button-module_btn-default--disabled__H36E7","btn-tinted":"button-module_btn-tinted__Do6iX","btn-tinted--disabled":"button-module_btn-tinted--disabled__XRuq-","btn-secondary":"button-module_btn-secondary__LtTTr","btn-secondary--disabled":"button-module_btn-secondary--disabled__5YS63","btn-black--disabled":"button-module_btn-black--disabled__M7H0K","btn-black":"button-module_btn-black__SFwzH","btn--mini":"button-module_btn--mini__a9EJm","btn--small":"button-module_btn--small__xfhlR","btn--medium":"button-module_btn--medium__pFJSr","btn--large":"button-module_btn--large__GvwY2","btn-square--mini":"button-module_btn-square--mini__RWpOc","btn-square--small":"button-module_btn-square--small__M-WgA","btn-square--medium":"button-module_btn-square--medium__aDBfE","btn-square--large":"button-module_btn-square--large__dwebF","btn-rounded--mini":"button-module_btn-rounded--mini__bX5xJ","btn-rounded--small":"button-module_btn-rounded--small__LI-QV","btn-rounded--medium":"button-module_btn-rounded--medium__TKy02","btn-rounded--large":"button-module_btn-rounded--large__joy-r"};
|
|
9
|
-
styleInject(
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
10
20
|
|
|
11
21
|
exports.default = styles;
|
|
12
22
|
//# sourceMappingURL=button.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,11 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var styleInject = require('/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js');
|
|
6
|
-
|
|
7
5
|
var css_248z = ".InputField-module_inputContainer__f-bIm {\n display: flex;\n align-items: center;\n background-color: var(--surface-surface-1);\n border-radius: 8px;\n padding: 12px 16px;\n}\n\n.InputField-module_inputContainerLabeled__zrQbJ {\n display: block;\n background-color: var(--surface-surface-1);\n border-radius: 8px;\n padding: 12px 16px;\n}\n\n.InputField-module_inputContainerLabeled__zrQbJ label {\n color: var(--text-secondary);\n}\n\n.InputField-module_input__Lgxvm {\n width: 100%;\n border: none;\n background-color: var(--surface-surface-1);\n}\n\n.InputField-module_input__Lgxvm:active,\n.InputField-module_input__Lgxvm:focus {\n outline: none;\n}\n\n.InputField-module_input__Lgxvm::placeholder {\n color: var(--text-disabled-color);\n}\n\n.InputField-module_input__Lgxvm::-webkit-inner-spin-button,\n.InputField-module_input__Lgxvm::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.InputField-module_clearIcon__1KYtM {\n cursor: pointer;\n}\n\n.InputField-module_input--onfocus__cJyDp {\n background-color: var(--surface-surface-3-color);\n}\n\n.InputField-module_input--onfocus__cJyDp .InputField-module_input__Lgxvm {\n background-color: var(--surface-surface-3-color);\n}\n\n.InputField-module_code__ktf8F { \n text-align: center;\n}";
|
|
8
6
|
var styles = {"inputContainer":"InputField-module_inputContainer__f-bIm","inputContainerLabeled":"InputField-module_inputContainerLabeled__zrQbJ","input":"InputField-module_input__Lgxvm","clearIcon":"InputField-module_clearIcon__1KYtM","input--onfocus":"InputField-module_input--onfocus__cJyDp","code":"InputField-module_code__ktf8F"};
|
|
9
|
-
styleInject(
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
10
20
|
|
|
11
21
|
exports.default = styles;
|
|
12
22
|
//# sourceMappingURL=InputField.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputField.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputField.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,11 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var styleInject = require('/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js');
|
|
6
|
-
|
|
7
5
|
var css_248z = ".Modal-module_overlay__dd9h1 {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1;\n box-sizing: border-box;\n}\n\n.Modal-module_contentWrap__TeYsL {\n background: var(--page-color-background-white);\n border-radius: 16px;\n height: fit-content;\n animation: Modal-module_flyDawn__scb7- 1s;\n}\n\n.Modal-module_largeVariant__L-djj {\n width: 1052px;\n}\n\n.Modal-module_smallVariant__OSCjI {\n width: 400px;\n}\n\n.Modal-module_contentHeader__6XO83 {\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n align-self: stretch;\n padding: 12px 16px;\n}\n\n.Modal-module_title__A5OeE {\n color: var(--text-primary);\n}\n\n@keyframes Modal-module_flyDawn__scb7- {\n from {\n transform: translateY(-1000px);\n opacity: 0.1;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n}\n";
|
|
8
6
|
var styles = {"overlay":"Modal-module_overlay__dd9h1","contentWrap":"Modal-module_contentWrap__TeYsL","flyDawn":"Modal-module_flyDawn__scb7-","largeVariant":"Modal-module_largeVariant__L-djj","smallVariant":"Modal-module_smallVariant__OSCjI","contentHeader":"Modal-module_contentHeader__6XO83","title":"Modal-module_title__A5OeE"};
|
|
9
|
-
styleInject(
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
10
20
|
|
|
11
21
|
exports.default = styles;
|
|
12
22
|
//# sourceMappingURL=Modal.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,11 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var styleInject = require('/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js');
|
|
6
|
-
|
|
7
5
|
var css_248z = ".RadioGroup-module_radio__iyFIA {\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n\n.RadioGroup-module_radio__iyFIA input {\n display: none;\n}\n\n.RadioGroup-module_radioBtn__n1J5v {\n position: relative;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n border: 2px solid var(--button-secondary-on-hover);\n margin: 10px;\n transition: background 0.3s;\n}\n\n.RadioGroup-module_radioBtn__n1J5v::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n height: 10px;\n width: 10px;\n background: var(--button-primary-default);\n border-radius: 50%;\n transform: scale(0) translate(-50%, -50%);\n transition: transform 0.3s;\n}\n\ninput:checked + .RadioGroup-module_radioBtn__n1J5v::after {\n transform: scale(1) translate(-50%, -50%);\n}\n\ninput:checked + .RadioGroup-module_radioBtn__n1J5v {\n border: 2px solid var(--button-primary-default);\n}\n\n.RadioGroup-module_radioBtnText__aP5kH {\n padding-left: 10px;\n width: fit-content;\n}\n";
|
|
8
6
|
var styles = {"radio":"RadioGroup-module_radio__iyFIA","radioBtn":"RadioGroup-module_radioBtn__n1J5v","radioBtnText":"RadioGroup-module_radioBtnText__aP5kH"};
|
|
9
|
-
styleInject(
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
10
20
|
|
|
11
21
|
exports.default = styles;
|
|
12
22
|
//# sourceMappingURL=RadioGroup.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioGroup.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,11 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var styleInject = require('/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js');
|
|
6
|
-
|
|
7
5
|
var css_248z = ".RadioToggle-module_wrap__tM-kQ {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n padding: 4px;\n width: 32px;\n height: 16px;\n border-radius: 40px;\n background: var(--leaf);\n}\n\n.RadioToggle-module_wrapLock__sLgxo {\n justify-content: flex-start;\n background: var(--surface-surface-3-color);\n}\n\n.RadioToggle-module_round__5NUUP {\n width: 16px;\n height: 16px;\n background: var(--surface-surface-2);\n border-radius: 100px;\n}\n";
|
|
8
6
|
var styles = {"wrap":"RadioToggle-module_wrap__tM-kQ","wrapLock":"RadioToggle-module_wrapLock__sLgxo","round":"RadioToggle-module_round__5NUUP"};
|
|
9
|
-
styleInject(
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
10
20
|
|
|
11
21
|
exports.default = styles;
|
|
12
22
|
//# sourceMappingURL=RadioToggle.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioToggle.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioToggle.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,11 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var styleInject = require('/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js');
|
|
6
|
-
|
|
7
5
|
var css_248z = ".SelectBoxButton-module_selectContainer__MyVJF {\n display: flex;\n height: 56px;\n justify-content: space-between;\n align-items: center;\n background-color: var(--surface-surface-1);\n border-radius: 8px;\n padding: 8px 16px;\n}\n\n.SelectBoxButton-module_label__hlxlc {\n display: flex;\n color: var(--text-secondary);\n}\n\n.SelectBoxButton-module_errorLabel__gYbNN {\n display: flex;\n color: var(--icon-error-color);\n}\n\n.SelectBoxButton-module_selectText__7FeVj {\n display: flex;\n color: var(--text-primary);\n}\n";
|
|
8
6
|
var styles = {"selectContainer":"SelectBoxButton-module_selectContainer__MyVJF","label":"SelectBoxButton-module_label__hlxlc","errorLabel":"SelectBoxButton-module_errorLabel__gYbNN","selectText":"SelectBoxButton-module_selectText__7FeVj"};
|
|
9
|
-
styleInject(
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
10
20
|
|
|
11
21
|
exports.default = styles;
|
|
12
22
|
//# sourceMappingURL=SelectBoxButton.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBoxButton.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectBoxButton.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var styleInject = require('/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js');
|
|
6
|
-
|
|
7
3
|
var css_248z = ":root {\n /* Buttons Colors */\n --button-alternative-default-color: rgba(170, 170, 170, 0.64);\n --button-disabled-default-color: #c5ccd3;\n --button-primary-default: #0581da;\n --button-primary-on-hover-color: #1a9cfa;\n --button-secondary-default-color: #e6e9ec;\n --button-secondary-on-hover: #c5ccd3;\n --button-tinted-default-color: #e1f0fb;\n --button-tinted-on-hover-color: #b2d9f5;\n --button-black-default-color: #000;\n --button-black-on-hover-color: #333;\n\n /* Default Colors */\n --default-primary-accent: #0581da;\n --default-white-color: #fff;\n --default-black-color: #000;\n\n /* General lightmode colors */\n --leaf: #c1dc19;\n\n /* Icons Colors */\n --icon-accent-color: #0581da;\n --icon-error-color: #f35929;\n --icon-secondary-color: #758393;\n --icon-success: #57bb09;\n --icon-warning-color: #f3a229;\n\n /* Page Color */\n --page-color-background-gray: #f0f2f4;\n --page-color-background-white: #fff;\n\n /* Surface Colors */\n --surface-surface-1: #f0f2f4;\n --surface-surface-2: #fff;\n --surface-surface-3-color: #e3e7eb;\n --surface-surface-alt: rgba(240, 242, 244, 0.8);\n --surface-surface-black-nonconvert: #000;\n --surface-surface-black-opacity: rgba(0, 0, 0, 0.24);\n --surface-surface-white-nonconvert: #fff;\n --surface-surface-tinted: #e1f0fb;\n\n /* Text Colors */\n --text-accent: #0581da;\n --text-disabled-accent-color: #9bcdf0;\n --text-disabled-color: #929daa;\n --text-primary: #000;\n --text-secondary: #758393;\n --text-white-nonconvert-color: #fff;\n --text-error: #f35929;\n\n /* Border-Stroke Colors */\n --border-stroke-primary: #e6e9ec;\n}\n";
|
|
8
|
-
styleInject(
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
function styleInject(css, options) {
|
|
5
|
+
if (typeof document === 'undefined') return;
|
|
6
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
7
|
+
const style = document.createElement('style');
|
|
8
|
+
style.type = 'text/css';
|
|
9
|
+
if (style.styleSheet) {
|
|
10
|
+
style.styleSheet.cssText = css;
|
|
11
|
+
} else {
|
|
12
|
+
style.appendChild(document.createTextNode(css));
|
|
13
|
+
}
|
|
14
|
+
head.appendChild(style);
|
|
15
|
+
}
|
|
16
|
+
styleInject(css_248z);
|
|
11
17
|
//# sourceMappingURL=colors.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"colors.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
|
@@ -2,11 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var styleInject = require('/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js');
|
|
6
|
-
|
|
7
5
|
var css_248z = "/* Headings/Heading 1 */\n.typography-module_heading1__ub7Od {\n font-family: Inter;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: 36px; /* 112.5% */\n letter-spacing: -0.32px;\n}\n\n/* Headings/Heading 3 */\n.typography-module_heading3__QLNPD {\n font-family: Inter;\n font-size: 24px;\n font-style: normal;\n font-weight: 600;\n line-height: 28px; /* 116.667% */\n letter-spacing: -0.24px;\n}\n\n/* Subtitles/Subtitle 3 */\n.typography-module_subtitles3__QZScB {\n font-family: Inter;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Medium */\n.typography-module_body1Medium__INZB0 {\n font-family: Inter;\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Regular */\n.typography-module_body1Regular__H3iQB {\n font-family: Inter;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 2, Medium */\n.typography-module_body2Medium__Caa0m {\n font-family: Inter;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 2, Regular */\n.typography-module_body2Regular__MEtzs {\n font-family: Inter;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 3, Regular */\n.typography-module_body3Regular__rp6ng {\n font-family: Inter;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 114.286% */\n}\n\n/* Caption/Caption 1, Medium */\n.typography-module_caption1Medium__xXMm- {\n font-family: Inter;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 16px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Regular */\n.typography-module_caption1Regular__QVGyq {\n font-family: Inter;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Semibold */\n.typography-module_caption1Semibold__Il1Aq {\n font-family: Inter;\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 16px; /* 133.333% */\n}\n\n/* Caption/Caption 2, Medium */\n.typography-module_caption2Medium__0Vvmy {\n font-family: Inter;\n font-size: 10px;\n font-style: normal;\n font-weight: 500;\n line-height: 12px; /* 120% */\n}\n\n/* Caption/Caption 2, Regular */\n.typography-module_caption2Regular__GxtiS {\n font-family: Inter;\n font-size: 10px;\n font-style: normal;\n font-weight: 400;\n line-height: 12px; /* 120% */\n}\n\n.typography-module_caption2Semibold__4ysJe {\n font-family: Inter;\n font-size: 10px;\n font-style: normal;\n font-weight: 600;\n line-height: 12px; /* 120% */\n}\n";
|
|
8
6
|
var typography = {"heading1":"typography-module_heading1__ub7Od","heading3":"typography-module_heading3__QLNPD","subtitles3":"typography-module_subtitles3__QZScB","body1Medium":"typography-module_body1Medium__INZB0","body1Regular":"typography-module_body1Regular__H3iQB","body2Medium":"typography-module_body2Medium__Caa0m","body2Regular":"typography-module_body2Regular__MEtzs","body3Regular":"typography-module_body3Regular__rp6ng","caption1Medium":"typography-module_caption1Medium__xXMm-","caption1Regular":"typography-module_caption1Regular__QVGyq","caption1Semibold":"typography-module_caption1Semibold__Il1Aq","caption2Medium":"typography-module_caption2Medium__0Vvmy","caption2Regular":"typography-module_caption2Regular__GxtiS","caption2Semibold":"typography-module_caption2Semibold__4ysJe"};
|
|
9
|
-
styleInject(
|
|
7
|
+
function styleInject(css, options) {
|
|
8
|
+
if (typeof document === 'undefined') return;
|
|
9
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
10
|
+
const style = document.createElement('style');
|
|
11
|
+
style.type = 'text/css';
|
|
12
|
+
if (style.styleSheet) {
|
|
13
|
+
style.styleSheet.cssText = css;
|
|
14
|
+
} else {
|
|
15
|
+
style.appendChild(document.createTextNode(css));
|
|
16
|
+
}
|
|
17
|
+
head.appendChild(style);
|
|
18
|
+
}
|
|
19
|
+
styleInject(css_248z);
|
|
10
20
|
|
|
11
21
|
exports.default = typography;
|
|
12
22
|
//# sourceMappingURL=typography.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typography.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import styleInject from '/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
1
|
var css_248z = ".Accordion-module_accordionBtn__1unNG {\n border-radius: inherit;\n width: 100%;\n text-align: left;\n display: flex;\n justify-content: space-between;\n cursor: pointer;\n}\n\n.Accordion-module_accordionContent__Qnx7K {\n max-height: 1000px;\n overflow: hidden;\n transition: all 0.3s ease-in-out;\n}\n\n.Accordion-module_accordionContent--hidden__DrXay {\n max-height: 0;\n}\n";
|
|
4
2
|
var styles = {"accordionBtn":"Accordion-module_accordionBtn__1unNG","accordionContent":"Accordion-module_accordionContent__Qnx7K","accordionContent--hidden":"Accordion-module_accordionContent--hidden__DrXay"};
|
|
5
|
-
styleInject(
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
6
16
|
|
|
7
17
|
export { styles as default };
|
|
8
18
|
//# sourceMappingURL=Accordion.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Accordion.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import styleInject from '/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
1
|
var css_248z = ".button-module_button__JyfZW {\n border: none;\n transition: background-color 0.2s ease;\n\n display: inline-flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n\n.button-module_btn-default__EDl7t {\n color: var(--default-white-color);\n background-color: var(--default-primary-accent);\n}\n\n.button-module_btn-default--disabled__H36E7 {\n color: var(--text-disabled-color);\n background-color: var(--button-disabled-default-color);\n}\n\n.button-module_btn-tinted__Do6iX {\n color: var(--text-accent);\n background-color: var(--button-tinted-default-color);\n}\n\n.button-module_btn-tinted--disabled__XRuq- {\n color: var(--text-disabled-accent-color);\n background-color: var(--button-tinted-default-color);\n}\n\n.button-module_btn-secondary__LtTTr {\n color: var(--text-primary);\n background-color: var(--surface-surface-3-color);\n}\n\n.button-module_btn-secondary--disabled__5YS63 {\n color: var(--text-secondary);\n background-color: var(--surface-surface-3-color);\n}\n\n.button-module_btn-black--disabled__M7H0K {\n color: var(--text-disabled-color);\n background-color: var(--button-disabled-default-color);\n}\n\n.button-module_btn-black__SFwzH {\n color: var(--default-white-color);\n background-color: var(--button-black-default-color);\n}\n\n.button-module_btn-default__EDl7t:hover {\n background-color: var(--button-primary-on-hover-color);\n}\n\n.button-module_btn-tinted__Do6iX:hover {\n background-color: var(--button-tinted-on-hover-color);\n}\n\n.button-module_btn-secondary__LtTTr:hover {\n background-color: var(--button-secondary-on-hover);\n}\n\n.button-module_btn-black__SFwzH:hover {\n background-color: var(--button-black-on-hover-color);\n}\n\n.button-module_btn--mini__a9EJm {\n gap: 4px;\n padding: 6px 12px;\n}\n.button-module_btn--small__xfhlR {\n gap: 8px;\n padding: 8px 16px;\n}\n.button-module_btn--medium__pFJSr {\n gap: 8px;\n padding: 8px 20px;\n}\n.button-module_btn--large__GvwY2 {\n gap: 8px;\n padding: 14px 24px;\n}\n\n.button-module_btn-square--mini__RWpOc {\n border-radius: 4px;\n}\n.button-module_btn-square--small__M-WgA {\n border-radius: 6px;\n}\n.button-module_btn-square--medium__aDBfE {\n border-radius: 10px;\n}\n.button-module_btn-square--large__dwebF {\n border-radius: 12px;\n}\n\n.button-module_btn-rounded--mini__bX5xJ {\n border-radius: 32px;\n}\n.button-module_btn-rounded--small__LI-QV {\n border-radius: 32px;\n}\n.button-module_btn-rounded--medium__TKy02 {\n border-radius: 32px;\n}\n.button-module_btn-rounded--large__joy-r {\n border-radius: 40px;\n}\n";
|
|
4
2
|
var styles = {"button":"button-module_button__JyfZW","btn-default":"button-module_btn-default__EDl7t","btn-default--disabled":"button-module_btn-default--disabled__H36E7","btn-tinted":"button-module_btn-tinted__Do6iX","btn-tinted--disabled":"button-module_btn-tinted--disabled__XRuq-","btn-secondary":"button-module_btn-secondary__LtTTr","btn-secondary--disabled":"button-module_btn-secondary--disabled__5YS63","btn-black--disabled":"button-module_btn-black--disabled__M7H0K","btn-black":"button-module_btn-black__SFwzH","btn--mini":"button-module_btn--mini__a9EJm","btn--small":"button-module_btn--small__xfhlR","btn--medium":"button-module_btn--medium__pFJSr","btn--large":"button-module_btn--large__GvwY2","btn-square--mini":"button-module_btn-square--mini__RWpOc","btn-square--small":"button-module_btn-square--small__M-WgA","btn-square--medium":"button-module_btn-square--medium__aDBfE","btn-square--large":"button-module_btn-square--large__dwebF","btn-rounded--mini":"button-module_btn-rounded--mini__bX5xJ","btn-rounded--small":"button-module_btn-rounded--small__LI-QV","btn-rounded--medium":"button-module_btn-rounded--medium__TKy02","btn-rounded--large":"button-module_btn-rounded--large__joy-r"};
|
|
5
|
-
styleInject(
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
6
16
|
|
|
7
17
|
export { styles as default };
|
|
8
18
|
//# sourceMappingURL=button.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import styleInject from '/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
1
|
var css_248z = ".InputField-module_inputContainer__f-bIm {\n display: flex;\n align-items: center;\n background-color: var(--surface-surface-1);\n border-radius: 8px;\n padding: 12px 16px;\n}\n\n.InputField-module_inputContainerLabeled__zrQbJ {\n display: block;\n background-color: var(--surface-surface-1);\n border-radius: 8px;\n padding: 12px 16px;\n}\n\n.InputField-module_inputContainerLabeled__zrQbJ label {\n color: var(--text-secondary);\n}\n\n.InputField-module_input__Lgxvm {\n width: 100%;\n border: none;\n background-color: var(--surface-surface-1);\n}\n\n.InputField-module_input__Lgxvm:active,\n.InputField-module_input__Lgxvm:focus {\n outline: none;\n}\n\n.InputField-module_input__Lgxvm::placeholder {\n color: var(--text-disabled-color);\n}\n\n.InputField-module_input__Lgxvm::-webkit-inner-spin-button,\n.InputField-module_input__Lgxvm::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n.InputField-module_clearIcon__1KYtM {\n cursor: pointer;\n}\n\n.InputField-module_input--onfocus__cJyDp {\n background-color: var(--surface-surface-3-color);\n}\n\n.InputField-module_input--onfocus__cJyDp .InputField-module_input__Lgxvm {\n background-color: var(--surface-surface-3-color);\n}\n\n.InputField-module_code__ktf8F { \n text-align: center;\n}";
|
|
4
2
|
var styles = {"inputContainer":"InputField-module_inputContainer__f-bIm","inputContainerLabeled":"InputField-module_inputContainerLabeled__zrQbJ","input":"InputField-module_input__Lgxvm","clearIcon":"InputField-module_clearIcon__1KYtM","input--onfocus":"InputField-module_input--onfocus__cJyDp","code":"InputField-module_code__ktf8F"};
|
|
5
|
-
styleInject(
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
6
16
|
|
|
7
17
|
export { styles as default };
|
|
8
18
|
//# sourceMappingURL=InputField.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputField.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputField.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import styleInject from '/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
1
|
var css_248z = ".Modal-module_overlay__dd9h1 {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1;\n box-sizing: border-box;\n}\n\n.Modal-module_contentWrap__TeYsL {\n background: var(--page-color-background-white);\n border-radius: 16px;\n height: fit-content;\n animation: Modal-module_flyDawn__scb7- 1s;\n}\n\n.Modal-module_largeVariant__L-djj {\n width: 1052px;\n}\n\n.Modal-module_smallVariant__OSCjI {\n width: 400px;\n}\n\n.Modal-module_contentHeader__6XO83 {\n position: relative;\n display: flex;\n justify-content: space-between;\n align-items: center;\n align-self: stretch;\n padding: 12px 16px;\n}\n\n.Modal-module_title__A5OeE {\n color: var(--text-primary);\n}\n\n@keyframes Modal-module_flyDawn__scb7- {\n from {\n transform: translateY(-1000px);\n opacity: 0.1;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n}\n";
|
|
4
2
|
var styles = {"overlay":"Modal-module_overlay__dd9h1","contentWrap":"Modal-module_contentWrap__TeYsL","flyDawn":"Modal-module_flyDawn__scb7-","largeVariant":"Modal-module_largeVariant__L-djj","smallVariant":"Modal-module_smallVariant__OSCjI","contentHeader":"Modal-module_contentHeader__6XO83","title":"Modal-module_title__A5OeE"};
|
|
5
|
-
styleInject(
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
6
16
|
|
|
7
17
|
export { styles as default };
|
|
8
18
|
//# sourceMappingURL=Modal.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import styleInject from '/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
1
|
var css_248z = ".RadioGroup-module_radio__iyFIA {\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n\n.RadioGroup-module_radio__iyFIA input {\n display: none;\n}\n\n.RadioGroup-module_radioBtn__n1J5v {\n position: relative;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n border: 2px solid var(--button-secondary-on-hover);\n margin: 10px;\n transition: background 0.3s;\n}\n\n.RadioGroup-module_radioBtn__n1J5v::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 50%;\n height: 10px;\n width: 10px;\n background: var(--button-primary-default);\n border-radius: 50%;\n transform: scale(0) translate(-50%, -50%);\n transition: transform 0.3s;\n}\n\ninput:checked + .RadioGroup-module_radioBtn__n1J5v::after {\n transform: scale(1) translate(-50%, -50%);\n}\n\ninput:checked + .RadioGroup-module_radioBtn__n1J5v {\n border: 2px solid var(--button-primary-default);\n}\n\n.RadioGroup-module_radioBtnText__aP5kH {\n padding-left: 10px;\n width: fit-content;\n}\n";
|
|
4
2
|
var styles = {"radio":"RadioGroup-module_radio__iyFIA","radioBtn":"RadioGroup-module_radioBtn__n1J5v","radioBtnText":"RadioGroup-module_radioBtnText__aP5kH"};
|
|
5
|
-
styleInject(
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
6
16
|
|
|
7
17
|
export { styles as default };
|
|
8
18
|
//# sourceMappingURL=RadioGroup.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioGroup.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import styleInject from '/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
1
|
var css_248z = ".RadioToggle-module_wrap__tM-kQ {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n padding: 4px;\n width: 32px;\n height: 16px;\n border-radius: 40px;\n background: var(--leaf);\n}\n\n.RadioToggle-module_wrapLock__sLgxo {\n justify-content: flex-start;\n background: var(--surface-surface-3-color);\n}\n\n.RadioToggle-module_round__5NUUP {\n width: 16px;\n height: 16px;\n background: var(--surface-surface-2);\n border-radius: 100px;\n}\n";
|
|
4
2
|
var styles = {"wrap":"RadioToggle-module_wrap__tM-kQ","wrapLock":"RadioToggle-module_wrapLock__sLgxo","round":"RadioToggle-module_round__5NUUP"};
|
|
5
|
-
styleInject(
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
6
16
|
|
|
7
17
|
export { styles as default };
|
|
8
18
|
//# sourceMappingURL=RadioToggle.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioToggle.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioToggle.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import styleInject from '/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
1
|
var css_248z = ".SelectBoxButton-module_selectContainer__MyVJF {\n display: flex;\n height: 56px;\n justify-content: space-between;\n align-items: center;\n background-color: var(--surface-surface-1);\n border-radius: 8px;\n padding: 8px 16px;\n}\n\n.SelectBoxButton-module_label__hlxlc {\n display: flex;\n color: var(--text-secondary);\n}\n\n.SelectBoxButton-module_errorLabel__gYbNN {\n display: flex;\n color: var(--icon-error-color);\n}\n\n.SelectBoxButton-module_selectText__7FeVj {\n display: flex;\n color: var(--text-primary);\n}\n";
|
|
4
2
|
var styles = {"selectContainer":"SelectBoxButton-module_selectContainer__MyVJF","label":"SelectBoxButton-module_label__hlxlc","errorLabel":"SelectBoxButton-module_errorLabel__gYbNN","selectText":"SelectBoxButton-module_selectText__7FeVj"};
|
|
5
|
-
styleInject(
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
6
16
|
|
|
7
17
|
export { styles as default };
|
|
8
18
|
//# sourceMappingURL=SelectBoxButton.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectBoxButton.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectBoxButton.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import styleInject from '/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
1
|
var css_248z = ":root {\n /* Buttons Colors */\n --button-alternative-default-color: rgba(170, 170, 170, 0.64);\n --button-disabled-default-color: #c5ccd3;\n --button-primary-default: #0581da;\n --button-primary-on-hover-color: #1a9cfa;\n --button-secondary-default-color: #e6e9ec;\n --button-secondary-on-hover: #c5ccd3;\n --button-tinted-default-color: #e1f0fb;\n --button-tinted-on-hover-color: #b2d9f5;\n --button-black-default-color: #000;\n --button-black-on-hover-color: #333;\n\n /* Default Colors */\n --default-primary-accent: #0581da;\n --default-white-color: #fff;\n --default-black-color: #000;\n\n /* General lightmode colors */\n --leaf: #c1dc19;\n\n /* Icons Colors */\n --icon-accent-color: #0581da;\n --icon-error-color: #f35929;\n --icon-secondary-color: #758393;\n --icon-success: #57bb09;\n --icon-warning-color: #f3a229;\n\n /* Page Color */\n --page-color-background-gray: #f0f2f4;\n --page-color-background-white: #fff;\n\n /* Surface Colors */\n --surface-surface-1: #f0f2f4;\n --surface-surface-2: #fff;\n --surface-surface-3-color: #e3e7eb;\n --surface-surface-alt: rgba(240, 242, 244, 0.8);\n --surface-surface-black-nonconvert: #000;\n --surface-surface-black-opacity: rgba(0, 0, 0, 0.24);\n --surface-surface-white-nonconvert: #fff;\n --surface-surface-tinted: #e1f0fb;\n\n /* Text Colors */\n --text-accent: #0581da;\n --text-disabled-accent-color: #9bcdf0;\n --text-disabled-color: #929daa;\n --text-primary: #000;\n --text-secondary: #758393;\n --text-white-nonconvert-color: #fff;\n --text-error: #f35929;\n\n /* Border-Stroke Colors */\n --border-stroke-primary: #e6e9ec;\n}\n";
|
|
4
|
-
styleInject(
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
function styleInject(css, options) {
|
|
3
|
+
if (typeof document === 'undefined') return;
|
|
4
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
5
|
+
const style = document.createElement('style');
|
|
6
|
+
style.type = 'text/css';
|
|
7
|
+
if (style.styleSheet) {
|
|
8
|
+
style.styleSheet.cssText = css;
|
|
9
|
+
} else {
|
|
10
|
+
style.appendChild(document.createTextNode(css));
|
|
11
|
+
}
|
|
12
|
+
head.appendChild(style);
|
|
13
|
+
}
|
|
14
|
+
styleInject(css_248z);
|
|
7
15
|
//# sourceMappingURL=colors.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"colors.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import styleInject from '/home/runner/work/system-design/system-design/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
-
|
|
3
1
|
var css_248z = "/* Headings/Heading 1 */\n.typography-module_heading1__ub7Od {\n font-family: Inter;\n font-size: 32px;\n font-style: normal;\n font-weight: 600;\n line-height: 36px; /* 112.5% */\n letter-spacing: -0.32px;\n}\n\n/* Headings/Heading 3 */\n.typography-module_heading3__QLNPD {\n font-family: Inter;\n font-size: 24px;\n font-style: normal;\n font-weight: 600;\n line-height: 28px; /* 116.667% */\n letter-spacing: -0.24px;\n}\n\n/* Subtitles/Subtitle 3 */\n.typography-module_subtitles3__QZScB {\n font-family: Inter;\n font-size: 16px;\n font-style: normal;\n font-weight: 600;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Medium */\n.typography-module_body1Medium__INZB0 {\n font-family: Inter;\n font-size: 16px;\n font-style: normal;\n font-weight: 500;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 1, Regular */\n.typography-module_body1Regular__H3iQB {\n font-family: Inter;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px; /* 150% */\n}\n\n/* Body/Body 2, Medium */\n.typography-module_body2Medium__Caa0m {\n font-family: Inter;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 2, Regular */\n.typography-module_body2Regular__MEtzs {\n font-family: Inter;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px; /* 142.857% */\n}\n\n/* Body/Body 3, Regular */\n.typography-module_body3Regular__rp6ng {\n font-family: Inter;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 114.286% */\n}\n\n/* Caption/Caption 1, Medium */\n.typography-module_caption1Medium__xXMm- {\n font-family: Inter;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 16px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Regular */\n.typography-module_caption1Regular__QVGyq {\n font-family: Inter;\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px; /* 133.333% */\n}\n\n/* Caption/Caption 1, Semibold */\n.typography-module_caption1Semibold__Il1Aq {\n font-family: Inter;\n font-size: 12px;\n font-style: normal;\n font-weight: 600;\n line-height: 16px; /* 133.333% */\n}\n\n/* Caption/Caption 2, Medium */\n.typography-module_caption2Medium__0Vvmy {\n font-family: Inter;\n font-size: 10px;\n font-style: normal;\n font-weight: 500;\n line-height: 12px; /* 120% */\n}\n\n/* Caption/Caption 2, Regular */\n.typography-module_caption2Regular__GxtiS {\n font-family: Inter;\n font-size: 10px;\n font-style: normal;\n font-weight: 400;\n line-height: 12px; /* 120% */\n}\n\n.typography-module_caption2Semibold__4ysJe {\n font-family: Inter;\n font-size: 10px;\n font-style: normal;\n font-weight: 600;\n line-height: 12px; /* 120% */\n}\n";
|
|
4
2
|
var typography = {"heading1":"typography-module_heading1__ub7Od","heading3":"typography-module_heading3__QLNPD","subtitles3":"typography-module_subtitles3__QZScB","body1Medium":"typography-module_body1Medium__INZB0","body1Regular":"typography-module_body1Regular__H3iQB","body2Medium":"typography-module_body2Medium__Caa0m","body2Regular":"typography-module_body2Regular__MEtzs","body3Regular":"typography-module_body3Regular__rp6ng","caption1Medium":"typography-module_caption1Medium__xXMm-","caption1Regular":"typography-module_caption1Regular__QVGyq","caption1Semibold":"typography-module_caption1Semibold__Il1Aq","caption2Medium":"typography-module_caption2Medium__0Vvmy","caption2Regular":"typography-module_caption2Regular__GxtiS","caption2Semibold":"typography-module_caption2Semibold__4ysJe"};
|
|
5
|
-
styleInject(
|
|
3
|
+
function styleInject(css, options) {
|
|
4
|
+
if (typeof document === 'undefined') return;
|
|
5
|
+
const head = document.head || document.getElementsByTagName('head')[0];
|
|
6
|
+
const style = document.createElement('style');
|
|
7
|
+
style.type = 'text/css';
|
|
8
|
+
if (style.styleSheet) {
|
|
9
|
+
style.styleSheet.cssText = css;
|
|
10
|
+
} else {
|
|
11
|
+
style.appendChild(document.createTextNode(css));
|
|
12
|
+
}
|
|
13
|
+
head.appendChild(style);
|
|
14
|
+
}
|
|
15
|
+
styleInject(css_248z);
|
|
6
16
|
|
|
7
17
|
export { typography as default };
|
|
8
18
|
//# sourceMappingURL=typography.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typography.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React__default, { Dispatch, JSX } from 'react';
|
|
2
|
+
|
|
3
|
+
interface IAccordionProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
setOpen: Dispatch<React__default.SetStateAction<boolean>>;
|
|
6
|
+
children: React__default.ReactNode;
|
|
7
|
+
title: JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export type { IAccordionProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
interface IButtonProps {
|
|
4
|
+
ariaLabel?: string;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
children: React__default.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
isRounded?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
variant?: "default" | "tinted" | "secondary" | "black";
|
|
11
|
+
size?: "mini" | "small" | "medium" | "large";
|
|
12
|
+
style?: React__default.CSSProperties;
|
|
13
|
+
dataTestid?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type { IButtonProps };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React__default, { JSX, HTMLInputTypeAttribute } from 'react';
|
|
2
|
+
|
|
3
|
+
interface IInputFieldProps extends React__default.DetailedHTMLProps<React__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
|
|
4
|
+
onFocus?: () => void;
|
|
5
|
+
onBlur?: () => void;
|
|
6
|
+
onEnterPress?: (event: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
7
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
value?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: React__default.CSSProperties;
|
|
12
|
+
isClearable?: boolean;
|
|
13
|
+
inputLeftIcon?: JSX.Element;
|
|
14
|
+
type?: HTMLInputTypeAttribute;
|
|
15
|
+
id: string;
|
|
16
|
+
labelText?: string;
|
|
17
|
+
ariaLabel: string;
|
|
18
|
+
focused?: boolean;
|
|
19
|
+
setFocused?: (val: boolean) => void;
|
|
20
|
+
readOnly?: boolean;
|
|
21
|
+
dataTestid?: string;
|
|
22
|
+
variant?: "default" | "code";
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type { IInputFieldProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React__default, { JSX, Dispatch } from 'react';
|
|
2
|
+
|
|
3
|
+
interface IModalProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
children: JSX.Element;
|
|
6
|
+
setOpen: Dispatch<React__default.SetStateAction<boolean>>;
|
|
7
|
+
headerTitle?: string;
|
|
8
|
+
variant: "large" | "small";
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type { IModalProps };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
interface RadioGroupItem {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
interface ICustomRadioButtonProps {
|
|
8
|
+
label: string;
|
|
9
|
+
name: string;
|
|
10
|
+
checked: boolean;
|
|
11
|
+
onChange: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
interface IRadioGroupProps {
|
|
15
|
+
RadioGroupItems: RadioGroupItem[];
|
|
16
|
+
invokeCustomOnChange: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
17
|
+
setSelectedOption: React__default.Dispatch<React__default.SetStateAction<string>>;
|
|
18
|
+
selectedOption: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type { ICustomRadioButtonProps, IRadioGroupProps, RadioGroupItem };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React__default, { Dispatch } from 'react';
|
|
2
|
+
|
|
3
|
+
interface ISelectBoxProps {
|
|
4
|
+
labelText?: string;
|
|
5
|
+
setIsOpen: Dispatch<React__default.SetStateAction<boolean>>;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
error?: boolean;
|
|
8
|
+
modalValue?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type { ISelectBoxProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React__default, { JSX } from 'react';
|
|
2
|
+
|
|
3
|
+
type TFontClass = "heading1" | "heading3" | "subtitles3" | "body1Medium" | "body1Regular" | "body2Medium" | "body2Regular" | "body3Regular" | "caption1Medium" | "caption1Regular" | "caption1Semibold" | "caption2Medium" | "caption2Regular" | "caption2Semibold";
|
|
4
|
+
interface ITypographyProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
5
|
+
tag: keyof JSX.IntrinsicElements | React__default.JSXElementConstructor<any>;
|
|
6
|
+
fontClass: TFontClass;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export type { ITypographyProps };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ITypographyProps } from './components/Typography/index.js';
|
|
2
|
+
import { ISelectBoxProps } from './components/SelectBoxButton/index.js';
|
|
3
|
+
import { IRadioToggleProps } from './components/RadioToggle/index.js';
|
|
4
|
+
import { IModalProps } from './components/Modal/index.js';
|
|
5
|
+
import { IInputFieldProps } from './components/InputField/index.js';
|
|
6
|
+
import { ICustomRadioButtonProps, IRadioGroupProps } from './components/RadioGroup/index.js';
|
|
7
|
+
import { IButtonProps } from './components/Button/index.js';
|
|
8
|
+
import * as React from 'react';
|
|
9
|
+
import { IAccordionProps } from './components/Accordion/index.js';
|
|
10
|
+
|
|
11
|
+
declare const SystemDesign: {
|
|
12
|
+
Components: {
|
|
13
|
+
Accordion: ({ open, setOpen, children, title, }: IAccordionProps) => React.JSX.Element;
|
|
14
|
+
Button: ({ onClick, children, style, className, isRounded, disabled, variant, size, ariaLabel, dataTestid, }: IButtonProps) => React.JSX.Element;
|
|
15
|
+
CustomRadioButton: ({ label, name, checked, onChange, value, }: ICustomRadioButtonProps) => React.JSX.Element;
|
|
16
|
+
InputField: React.ForwardRefExoticComponent<Omit<IInputFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
17
|
+
Modal: ({ open, setOpen, children, headerTitle, variant, }: IModalProps) => React.JSX.Element | null;
|
|
18
|
+
RadioGroup: ({ RadioGroupItems, invokeCustomOnChange, setSelectedOption, selectedOption, }: IRadioGroupProps) => React.JSX.Element;
|
|
19
|
+
RadioToggle: ({ lock, setLock }: IRadioToggleProps) => React.JSX.Element;
|
|
20
|
+
SelectBoxButton: ({ setIsOpen, labelText, disabled, error, modalValue, }: ISelectBoxProps) => React.JSX.Element;
|
|
21
|
+
Typography: React.FC<ITypographyProps>;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export { SystemDesign as default };
|
package/package.json
CHANGED
package/dist/index.d.ts
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import React__default, { JSX, Dispatch, SetStateAction, HTMLInputTypeAttribute } from 'react';
|
|
3
|
-
|
|
4
|
-
type TFontClass = "heading1" | "heading3" | "subtitles3" | "body1Medium" | "body1Regular" | "body2Medium" | "body2Regular" | "body3Regular" | "caption1Medium" | "caption1Regular" | "caption1Semibold" | "caption2Medium" | "caption2Regular" | "caption2Semibold";
|
|
5
|
-
interface ITypographyProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
6
|
-
tag: keyof JSX.IntrinsicElements | React__default.JSXElementConstructor<any>;
|
|
7
|
-
fontClass: TFontClass;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface ISelectBoxProps {
|
|
11
|
-
labelText?: string;
|
|
12
|
-
setIsOpen: Dispatch<React__default.SetStateAction<boolean>>;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
error?: boolean;
|
|
15
|
-
modalValue?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
interface IRadioToggleProps {
|
|
19
|
-
lock: boolean;
|
|
20
|
-
setLock: Dispatch<SetStateAction<boolean>>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
interface IModalProps {
|
|
24
|
-
open: boolean;
|
|
25
|
-
children: JSX.Element;
|
|
26
|
-
setOpen: Dispatch<React__default.SetStateAction<boolean>>;
|
|
27
|
-
headerTitle?: string;
|
|
28
|
-
variant: "large" | "small";
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
interface IInputFieldProps extends React__default.DetailedHTMLProps<React__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
|
|
32
|
-
onFocus?: () => void;
|
|
33
|
-
onBlur?: () => void;
|
|
34
|
-
onEnterPress?: (event: React__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
35
|
-
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
36
|
-
value?: string;
|
|
37
|
-
placeholder?: string;
|
|
38
|
-
className?: string;
|
|
39
|
-
style?: React__default.CSSProperties;
|
|
40
|
-
isClearable?: boolean;
|
|
41
|
-
inputLeftIcon?: JSX.Element;
|
|
42
|
-
type?: HTMLInputTypeAttribute;
|
|
43
|
-
id: string;
|
|
44
|
-
labelText?: string;
|
|
45
|
-
ariaLabel: string;
|
|
46
|
-
focused?: boolean;
|
|
47
|
-
setFocused?: (val: boolean) => void;
|
|
48
|
-
readOnly?: boolean;
|
|
49
|
-
dataTestid?: string;
|
|
50
|
-
variant?: "default" | "code";
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
interface RadioGroupItem {
|
|
54
|
-
label: string;
|
|
55
|
-
value: string;
|
|
56
|
-
}
|
|
57
|
-
interface ICustomRadioButtonProps {
|
|
58
|
-
label: string;
|
|
59
|
-
name: string;
|
|
60
|
-
checked: boolean;
|
|
61
|
-
onChange: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
62
|
-
value: string;
|
|
63
|
-
}
|
|
64
|
-
interface IRadioGroupProps {
|
|
65
|
-
RadioGroupItems: RadioGroupItem[];
|
|
66
|
-
invokeCustomOnChange: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
|
|
67
|
-
setSelectedOption: React__default.Dispatch<React__default.SetStateAction<string>>;
|
|
68
|
-
selectedOption: string;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
interface IButtonProps {
|
|
72
|
-
ariaLabel?: string;
|
|
73
|
-
onClick?: () => void;
|
|
74
|
-
children: React__default.ReactNode;
|
|
75
|
-
className?: string;
|
|
76
|
-
isRounded?: boolean;
|
|
77
|
-
disabled?: boolean;
|
|
78
|
-
variant?: "default" | "tinted" | "secondary" | "black";
|
|
79
|
-
size?: "mini" | "small" | "medium" | "large";
|
|
80
|
-
style?: React__default.CSSProperties;
|
|
81
|
-
dataTestid?: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
interface IAccordionProps {
|
|
85
|
-
open: boolean;
|
|
86
|
-
setOpen: Dispatch<React__default.SetStateAction<boolean>>;
|
|
87
|
-
children: React__default.ReactNode;
|
|
88
|
-
title: JSX.Element;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
declare const SystemDesign: {
|
|
92
|
-
Components: {
|
|
93
|
-
Accordion: ({ open, setOpen, children, title, }: IAccordionProps) => React.JSX.Element;
|
|
94
|
-
Button: ({ onClick, children, style, className, isRounded, disabled, variant, size, ariaLabel, dataTestid, }: IButtonProps) => React.JSX.Element;
|
|
95
|
-
CustomRadioButton: ({ label, name, checked, onChange, value, }: ICustomRadioButtonProps) => React.JSX.Element;
|
|
96
|
-
InputField: React.ForwardRefExoticComponent<Omit<IInputFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
97
|
-
Modal: ({ open, setOpen, children, headerTitle, variant, }: IModalProps) => React.JSX.Element | null;
|
|
98
|
-
RadioGroup: ({ RadioGroupItems, invokeCustomOnChange, setSelectedOption, selectedOption, }: IRadioGroupProps) => React.JSX.Element;
|
|
99
|
-
RadioToggle: ({ lock, setLock }: IRadioToggleProps) => React.JSX.Element;
|
|
100
|
-
SelectBoxButton: ({ setIsOpen, labelText, disabled, error, modalValue, }: ISelectBoxProps) => React.JSX.Element;
|
|
101
|
-
Typography: React.FC<ITypographyProps>;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
export { SystemDesign as default };
|