@cambly/syntax-core 2.0.0 → 2.1.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/dist/index.css +1180 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +313 -2
- package/dist/index.js +311 -82
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +307 -79
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,38 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defProps = Object.defineProperties;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __spreadValues = (a, b) => {
|
|
13
|
+
for (var prop in b || (b = {}))
|
|
14
|
+
if (__hasOwnProp.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
if (__getOwnPropSymbols)
|
|
17
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
+
if (__propIsEnum.call(b, prop))
|
|
19
|
+
__defNormalProp(a, prop, b[prop]);
|
|
20
|
+
}
|
|
21
|
+
return a;
|
|
22
|
+
};
|
|
23
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
24
|
+
var __objRest = (source, exclude) => {
|
|
25
|
+
var target = {};
|
|
26
|
+
for (var prop in source)
|
|
27
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
28
|
+
target[prop] = source[prop];
|
|
29
|
+
if (source != null && __getOwnPropSymbols)
|
|
30
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
31
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
32
|
+
target[prop] = source[prop];
|
|
33
|
+
}
|
|
34
|
+
return target;
|
|
35
|
+
};
|
|
7
36
|
var __commonJS = (cb, mod) => function __require() {
|
|
8
37
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
38
|
};
|
|
@@ -31,7 +60,7 @@ var require_classnames = __commonJS({
|
|
|
31
60
|
"use strict";
|
|
32
61
|
var hasOwn = {}.hasOwnProperty;
|
|
33
62
|
var nativeCodeString = "[native code]";
|
|
34
|
-
function
|
|
63
|
+
function classNames8() {
|
|
35
64
|
var classes = [];
|
|
36
65
|
for (var i = 0; i < arguments.length; i++) {
|
|
37
66
|
var arg = arguments[i];
|
|
@@ -42,7 +71,7 @@ var require_classnames = __commonJS({
|
|
|
42
71
|
classes.push(arg);
|
|
43
72
|
} else if (Array.isArray(arg)) {
|
|
44
73
|
if (arg.length) {
|
|
45
|
-
var inner =
|
|
74
|
+
var inner = classNames8.apply(null, arg);
|
|
46
75
|
if (inner) {
|
|
47
76
|
classes.push(inner);
|
|
48
77
|
}
|
|
@@ -62,14 +91,14 @@ var require_classnames = __commonJS({
|
|
|
62
91
|
return classes.join(" ");
|
|
63
92
|
}
|
|
64
93
|
if (typeof module !== "undefined" && module.exports) {
|
|
65
|
-
|
|
66
|
-
module.exports =
|
|
94
|
+
classNames8.default = classNames8;
|
|
95
|
+
module.exports = classNames8;
|
|
67
96
|
} else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
|
|
68
97
|
define("classnames", [], function() {
|
|
69
|
-
return
|
|
98
|
+
return classNames8;
|
|
70
99
|
});
|
|
71
100
|
} else {
|
|
72
|
-
window.classNames =
|
|
101
|
+
window.classNames = classNames8;
|
|
73
102
|
}
|
|
74
103
|
})();
|
|
75
104
|
}
|
|
@@ -99,30 +128,231 @@ var Avatar = ({
|
|
|
99
128
|
};
|
|
100
129
|
var Avatar_default = Avatar;
|
|
101
130
|
|
|
102
|
-
// src/
|
|
131
|
+
// src/Box/Box.tsx
|
|
103
132
|
var import_classnames2 = __toESM(require_classnames());
|
|
104
133
|
|
|
105
|
-
// css-module:./
|
|
134
|
+
// css-module:./Box.module.css#css-module
|
|
135
|
+
var Box_module_default = { "box": "_box_1dglf_1", "flexWrap": "_flexWrap_1dglf_5", "alignItemscenter": "_alignItemscenter_1dglf_10", "alignItemsstart": "_alignItemsstart_1dglf_14", "alignItemsend": "_alignItemsend_1dglf_18", "alignItemsstretch": "_alignItemsstretch_1dglf_22", "alignItemsbaseline": "_alignItemsbaseline_1dglf_26", "alignItemscenterSmall": "_alignItemscenterSmall_1dglf_32 _alignItemscenter_1dglf_10", "alignItemsstartSmall": "_alignItemsstartSmall_1dglf_36 _alignItemsstart_1dglf_14", "alignItemsendSmall": "_alignItemsendSmall_1dglf_40 _alignItemsend_1dglf_18", "alignItemsstretchSmall": "_alignItemsstretchSmall_1dglf_44 _alignItemsstretch_1dglf_22", "alignItemsbaselineSmall": "_alignItemsbaselineSmall_1dglf_48 _alignItemsbaseline_1dglf_26", "alignItemscenterLarge": "_alignItemscenterLarge_1dglf_55 _alignItemscenter_1dglf_10", "alignItemsstartLarge": "_alignItemsstartLarge_1dglf_59 _alignItemsstart_1dglf_14", "alignItemsendLarge": "_alignItemsendLarge_1dglf_63 _alignItemsend_1dglf_18", "alignItemsstretchLarge": "_alignItemsstretchLarge_1dglf_67 _alignItemsstretch_1dglf_22", "alignItemsbaselineLarge": "_alignItemsbaselineLarge_1dglf_71 _alignItemsbaseline_1dglf_26", "alignSelfcenter": "_alignSelfcenter_1dglf_77", "alignSelfstart": "_alignSelfstart_1dglf_81", "alignSelfend": "_alignSelfend_1dglf_85", "alignSelfstretch": "_alignSelfstretch_1dglf_89", "alignSelfbaseline": "_alignSelfbaseline_1dglf_93", "alignSelfauto": "_alignSelfauto_1dglf_97", "roundingsm": "_roundingsm_1dglf_102", "roundingmd": "_roundingmd_1dglf_106", "roundinglg": "_roundinglg_1dglf_110", "roundingxl": "_roundingxl_1dglf_114", "roundingpill": "_roundingpill_1dglf_118", "block": "_block_1dglf_123", "flex": "_flex_1dglf_5", "inlineBlock": "_inlineBlock_1dglf_131", "visuallyHidden": "_visuallyHidden_1dglf_135", "blockSmall": "_blockSmall_1dglf_149 _block_1dglf_123", "flexSmall": "_flexSmall_1dglf_153 _flex_1dglf_5", "inlineBlockSmall": "_inlineBlockSmall_1dglf_157 _inlineBlock_1dglf_131", "visuallyHiddenSmall": "_visuallyHiddenSmall_1dglf_161 _visuallyHidden_1dglf_135", "blockLarge": "_blockLarge_1dglf_168 _block_1dglf_123", "flexLarge": "_flexLarge_1dglf_172 _flex_1dglf_5", "inlineBlockLarge": "_inlineBlockLarge_1dglf_176 _inlineBlock_1dglf_131", "visuallyHiddenLarge": "_visuallyHiddenLarge_1dglf_180 _visuallyHidden_1dglf_135", "column": "_column_1dglf_186", "row": "_row_1dglf_190", "columnSmall": "_columnSmall_1dglf_196 _column_1dglf_186", "rowSmall": "_rowSmall_1dglf_200 _row_1dglf_190", "columnLarge": "_columnLarge_1dglf_207 _column_1dglf_186", "rowLarge": "_rowLarge_1dglf_211 _row_1dglf_190", "gap0": "_gap0_1dglf_217", "gap1": "_gap1_1dglf_221", "gap2": "_gap2_1dglf_225", "gap3": "_gap3_1dglf_229", "gap4": "_gap4_1dglf_233", "gap5": "_gap5_1dglf_237", "gap6": "_gap6_1dglf_241", "gap7": "_gap7_1dglf_245", "gap8": "_gap8_1dglf_249", "gap9": "_gap9_1dglf_253", "gap10": "_gap10_1dglf_257", "gap11": "_gap11_1dglf_261", "gap12": "_gap12_1dglf_265", "justifyContentcenter": "_justifyContentcenter_1dglf_270", "justifyContentstart": "_justifyContentstart_1dglf_274", "justifyContentend": "_justifyContentend_1dglf_278", "justifyContentbetween": "_justifyContentbetween_1dglf_282", "justifyContentaround": "_justifyContentaround_1dglf_286", "justifyContentevenly": "_justifyContentevenly_1dglf_290", "justifyContentcenterSmall": "_justifyContentcenterSmall_1dglf_296 _justifyContentcenter_1dglf_270", "justifyContentstartSmall": "_justifyContentstartSmall_1dglf_300 _justifyContentstart_1dglf_274", "justifyContentendSmall": "_justifyContentendSmall_1dglf_304 _justifyContentend_1dglf_278", "justifyContentbetweenSmall": "_justifyContentbetweenSmall_1dglf_308 _justifyContentbetween_1dglf_282", "justifyContentaroundSmall": "_justifyContentaroundSmall_1dglf_312 _justifyContentaround_1dglf_286", "justifyContentevenlySmall": "_justifyContentevenlySmall_1dglf_316 _justifyContentevenly_1dglf_290", "justifyContentcenterLarge": "_justifyContentcenterLarge_1dglf_323 _justifyContentcenter_1dglf_270", "justifyContentstartLarge": "_justifyContentstartLarge_1dglf_327 _justifyContentstart_1dglf_274", "justifyContentendLarge": "_justifyContentendLarge_1dglf_331 _justifyContentend_1dglf_278", "justifyContentbetweenLarge": "_justifyContentbetweenLarge_1dglf_335 _justifyContentbetween_1dglf_282", "justifyContentaroundLarge": "_justifyContentaroundLarge_1dglf_339 _justifyContentaround_1dglf_286", "justifyContentevenlyLarge": "_justifyContentevenlyLarge_1dglf_343 _justifyContentevenly_1dglf_290", "fixed": "_fixed_1dglf_349", "relative": "_relative_1dglf_353", "absolute": "_absolute_1dglf_357" };
|
|
136
|
+
|
|
137
|
+
// css-module:./margin.module.css#css-module
|
|
138
|
+
var margin_module_default = { "marginBottom-12": "_marginBottom-12_pkudd_2", "marginBottom-11": "_marginBottom-11_pkudd_6", "marginBottom-10": "_marginBottom-10_pkudd_10", "marginBottom-9": "_marginBottom-9_pkudd_14", "marginBottom-8": "_marginBottom-8_pkudd_18", "marginBottom-7": "_marginBottom-7_pkudd_22", "marginBottom-6": "_marginBottom-6_pkudd_26", "marginBottom-5": "_marginBottom-5_pkudd_30", "marginBottom-4": "_marginBottom-4_pkudd_34", "marginBottom-3": "_marginBottom-3_pkudd_38", "marginBottom-2": "_marginBottom-2_pkudd_42", "marginBottom-1": "_marginBottom-1_pkudd_2", "marginBottom0": "_marginBottom0_pkudd_50", "marginBottom1": "_marginBottom1_pkudd_54", "marginBottom2": "_marginBottom2_pkudd_58", "marginBottom3": "_marginBottom3_pkudd_62", "marginBottom4": "_marginBottom4_pkudd_66", "marginBottom5": "_marginBottom5_pkudd_70", "marginBottom6": "_marginBottom6_pkudd_74", "marginBottom7": "_marginBottom7_pkudd_78", "marginBottom8": "_marginBottom8_pkudd_82", "marginBottom9": "_marginBottom9_pkudd_86", "marginBottom10": "_marginBottom10_pkudd_90", "marginBottom11": "_marginBottom11_pkudd_94", "marginBottom12": "_marginBottom12_pkudd_98", "marginBottomauto": "_marginBottomauto_pkudd_102", "marginEnd-12": "_marginEnd-12_pkudd_107", "marginEnd-11": "_marginEnd-11_pkudd_111", "marginEnd-10": "_marginEnd-10_pkudd_115", "marginEnd-9": "_marginEnd-9_pkudd_119", "marginEnd-8": "_marginEnd-8_pkudd_123", "marginEnd-7": "_marginEnd-7_pkudd_127", "marginEnd-6": "_marginEnd-6_pkudd_131", "marginEnd-5": "_marginEnd-5_pkudd_135", "marginEnd-4": "_marginEnd-4_pkudd_139", "marginEnd-3": "_marginEnd-3_pkudd_143", "marginEnd-2": "_marginEnd-2_pkudd_147", "marginEnd-1": "_marginEnd-1_pkudd_107", "marginEnd0": "_marginEnd0_pkudd_155", "marginEnd1": "_marginEnd1_pkudd_159", "marginEnd2": "_marginEnd2_pkudd_163", "marginEnd3": "_marginEnd3_pkudd_167", "marginEnd4": "_marginEnd4_pkudd_171", "marginEnd5": "_marginEnd5_pkudd_175", "marginEnd6": "_marginEnd6_pkudd_179", "marginEnd7": "_marginEnd7_pkudd_183", "marginEnd8": "_marginEnd8_pkudd_187", "marginEnd9": "_marginEnd9_pkudd_191", "marginEnd10": "_marginEnd10_pkudd_195", "marginEnd11": "_marginEnd11_pkudd_199", "marginEnd12": "_marginEnd12_pkudd_203", "marginEndauto": "_marginEndauto_pkudd_207", "marginStart-12": "_marginStart-12_pkudd_212", "marginStart-11": "_marginStart-11_pkudd_216", "marginStart-10": "_marginStart-10_pkudd_220", "marginStart-9": "_marginStart-9_pkudd_224", "marginStart-8": "_marginStart-8_pkudd_228", "marginStart-7": "_marginStart-7_pkudd_232", "marginStart-6": "_marginStart-6_pkudd_236", "marginStart-5": "_marginStart-5_pkudd_240", "marginStart-4": "_marginStart-4_pkudd_244", "marginStart-3": "_marginStart-3_pkudd_248", "marginStart-2": "_marginStart-2_pkudd_252", "marginStart-1": "_marginStart-1_pkudd_212", "marginStart0": "_marginStart0_pkudd_260", "marginStart1": "_marginStart1_pkudd_264", "marginStart2": "_marginStart2_pkudd_268", "marginStart3": "_marginStart3_pkudd_272", "marginStart4": "_marginStart4_pkudd_276", "marginStart5": "_marginStart5_pkudd_280", "marginStart6": "_marginStart6_pkudd_284", "marginStart7": "_marginStart7_pkudd_288", "marginStart8": "_marginStart8_pkudd_292", "marginStart9": "_marginStart9_pkudd_296", "marginStart10": "_marginStart10_pkudd_300", "marginStart11": "_marginStart11_pkudd_304", "marginStart12": "_marginStart12_pkudd_308", "marginStartauto": "_marginStartauto_pkudd_312", "marginTop-12": "_marginTop-12_pkudd_317", "marginTop-11": "_marginTop-11_pkudd_321", "marginTop-10": "_marginTop-10_pkudd_325", "marginTop-9": "_marginTop-9_pkudd_329", "marginTop-8": "_marginTop-8_pkudd_333", "marginTop-7": "_marginTop-7_pkudd_337", "marginTop-6": "_marginTop-6_pkudd_341", "marginTop-5": "_marginTop-5_pkudd_345", "marginTop-4": "_marginTop-4_pkudd_349", "marginTop-3": "_marginTop-3_pkudd_353", "marginTop-2": "_marginTop-2_pkudd_357", "marginTop-1": "_marginTop-1_pkudd_317", "marginTop0": "_marginTop0_pkudd_365", "marginTop1": "_marginTop1_pkudd_369", "marginTop2": "_marginTop2_pkudd_373", "marginTop3": "_marginTop3_pkudd_377", "marginTop4": "_marginTop4_pkudd_381", "marginTop5": "_marginTop5_pkudd_385", "marginTop6": "_marginTop6_pkudd_389", "marginTop7": "_marginTop7_pkudd_393", "marginTop8": "_marginTop8_pkudd_397", "marginTop9": "_marginTop9_pkudd_401", "marginTop10": "_marginTop10_pkudd_405", "marginTop11": "_marginTop11_pkudd_409", "marginTop12": "_marginTop12_pkudd_413", "marginTopauto": "_marginTopauto_pkudd_417", "marginBottom-12Small": "_marginBottom-12Small_pkudd_423 _marginBottom-12_pkudd_2", "marginBottom-11Small": "_marginBottom-11Small_pkudd_427 _marginBottom-11_pkudd_6", "marginBottom-10Small": "_marginBottom-10Small_pkudd_431 _marginBottom-10_pkudd_10", "marginBottom-9Small": "_marginBottom-9Small_pkudd_435 _marginBottom-9_pkudd_14", "marginBottom-8Small": "_marginBottom-8Small_pkudd_439 _marginBottom-8_pkudd_18", "marginBottom-7Small": "_marginBottom-7Small_pkudd_443 _marginBottom-7_pkudd_22", "marginBottom-6Small": "_marginBottom-6Small_pkudd_447 _marginBottom-6_pkudd_26", "marginBottom-5Small": "_marginBottom-5Small_pkudd_451 _marginBottom-5_pkudd_30", "marginBottom-4Small": "_marginBottom-4Small_pkudd_455 _marginBottom-4_pkudd_34", "marginBottom-3Small": "_marginBottom-3Small_pkudd_459 _marginBottom-3_pkudd_38", "marginBottom-2Small": "_marginBottom-2Small_pkudd_463 _marginBottom-2_pkudd_42", "marginBottom-1Small": "_marginBottom-1Small_pkudd_467 _marginBottom-1_pkudd_2", "marginBottom0Small": "_marginBottom0Small_pkudd_471 _marginBottom0_pkudd_50", "marginBottom1Small": "_marginBottom1Small_pkudd_475 _marginBottom1_pkudd_54", "marginBottom2Small": "_marginBottom2Small_pkudd_479 _marginBottom2_pkudd_58", "marginBottom3Small": "_marginBottom3Small_pkudd_483 _marginBottom3_pkudd_62", "marginBottom4Small": "_marginBottom4Small_pkudd_487 _marginBottom4_pkudd_66", "marginBottom5Small": "_marginBottom5Small_pkudd_491 _marginBottom5_pkudd_70", "marginBottom6Small": "_marginBottom6Small_pkudd_495 _marginBottom6_pkudd_74", "marginBottom7Small": "_marginBottom7Small_pkudd_499 _marginBottom7_pkudd_78", "marginBottom8Small": "_marginBottom8Small_pkudd_503 _marginBottom8_pkudd_82", "marginBottom9Small": "_marginBottom9Small_pkudd_507 _marginBottom9_pkudd_86", "marginBottom10Small": "_marginBottom10Small_pkudd_511 _marginBottom10_pkudd_90", "marginBottom11Small": "_marginBottom11Small_pkudd_515 _marginBottom11_pkudd_94", "marginBottom12Small": "_marginBottom12Small_pkudd_519 _marginBottom12_pkudd_98", "marginBottomautoSmall": "_marginBottomautoSmall_pkudd_523 _marginBottomauto_pkudd_102", "marginEnd-12Small": "_marginEnd-12Small_pkudd_527 _marginEnd-12_pkudd_107", "marginEnd-11Small": "_marginEnd-11Small_pkudd_531 _marginEnd-11_pkudd_111", "marginEnd-10Small": "_marginEnd-10Small_pkudd_535 _marginEnd-10_pkudd_115", "marginEnd-9Small": "_marginEnd-9Small_pkudd_539 _marginEnd-9_pkudd_119", "marginEnd-8Small": "_marginEnd-8Small_pkudd_543 _marginEnd-8_pkudd_123", "marginEnd-7Small": "_marginEnd-7Small_pkudd_547 _marginEnd-7_pkudd_127", "marginEnd-6Small": "_marginEnd-6Small_pkudd_551 _marginEnd-6_pkudd_131", "marginEnd-5Small": "_marginEnd-5Small_pkudd_555 _marginEnd-5_pkudd_135", "marginEnd-4Small": "_marginEnd-4Small_pkudd_559 _marginEnd-4_pkudd_139", "marginEnd-3Small": "_marginEnd-3Small_pkudd_563 _marginEnd-3_pkudd_143", "marginEnd-2Small": "_marginEnd-2Small_pkudd_567 _marginEnd-2_pkudd_147", "marginEnd-1Small": "_marginEnd-1Small_pkudd_571 _marginEnd-1_pkudd_107", "marginEnd0Small": "_marginEnd0Small_pkudd_575 _marginEnd0_pkudd_155", "marginEnd1Small": "_marginEnd1Small_pkudd_579 _marginEnd1_pkudd_159", "marginEnd2Small": "_marginEnd2Small_pkudd_583 _marginEnd2_pkudd_163", "marginEnd3Small": "_marginEnd3Small_pkudd_587 _marginEnd3_pkudd_167", "marginEnd4Small": "_marginEnd4Small_pkudd_591 _marginEnd4_pkudd_171", "marginEnd5Small": "_marginEnd5Small_pkudd_595 _marginEnd5_pkudd_175", "marginEnd6Small": "_marginEnd6Small_pkudd_599 _marginEnd6_pkudd_179", "marginEnd7Small": "_marginEnd7Small_pkudd_603 _marginEnd7_pkudd_183", "marginEnd8Small": "_marginEnd8Small_pkudd_607 _marginEnd8_pkudd_187", "marginEnd9Small": "_marginEnd9Small_pkudd_611 _marginEnd9_pkudd_191", "marginEnd10Small": "_marginEnd10Small_pkudd_615 _marginEnd10_pkudd_195", "marginEnd11Small": "_marginEnd11Small_pkudd_619 _marginEnd11_pkudd_199", "marginEnd12Small": "_marginEnd12Small_pkudd_623 _marginEnd12_pkudd_203", "marginEndautoSmall": "_marginEndautoSmall_pkudd_627 _marginEndauto_pkudd_207", "marginStart-12Small": "_marginStart-12Small_pkudd_631 _marginStart-12_pkudd_212", "marginStart-11Small": "_marginStart-11Small_pkudd_635 _marginStart-11_pkudd_216", "marginStart-10Small": "_marginStart-10Small_pkudd_639 _marginStart-10_pkudd_220", "marginStart-9Small": "_marginStart-9Small_pkudd_643 _marginStart-9_pkudd_224", "marginStart-8Small": "_marginStart-8Small_pkudd_647 _marginStart-8_pkudd_228", "marginStart-7Small": "_marginStart-7Small_pkudd_651 _marginStart-7_pkudd_232", "marginStart-6Small": "_marginStart-6Small_pkudd_655 _marginStart-6_pkudd_236", "marginStart-5Small": "_marginStart-5Small_pkudd_659 _marginStart-5_pkudd_240", "marginStart-4Small": "_marginStart-4Small_pkudd_663 _marginStart-4_pkudd_244", "marginStart-3Small": "_marginStart-3Small_pkudd_667 _marginStart-3_pkudd_248", "marginStart-2Small": "_marginStart-2Small_pkudd_671 _marginStart-2_pkudd_252", "marginStart-1Small": "_marginStart-1Small_pkudd_675 _marginStart-1_pkudd_212", "marginStart0Small": "_marginStart0Small_pkudd_679 _marginStart0_pkudd_260", "marginStart1Small": "_marginStart1Small_pkudd_683 _marginStart1_pkudd_264", "marginStart2Small": "_marginStart2Small_pkudd_687 _marginStart2_pkudd_268", "marginStart3Small": "_marginStart3Small_pkudd_691 _marginStart3_pkudd_272", "marginStart4Small": "_marginStart4Small_pkudd_695 _marginStart4_pkudd_276", "marginStart5Small": "_marginStart5Small_pkudd_699 _marginStart5_pkudd_280", "marginStart6Small": "_marginStart6Small_pkudd_703 _marginStart6_pkudd_284", "marginStart7Small": "_marginStart7Small_pkudd_707 _marginStart7_pkudd_288", "marginStart8Small": "_marginStart8Small_pkudd_711 _marginStart8_pkudd_292", "marginStart9Small": "_marginStart9Small_pkudd_715 _marginStart9_pkudd_296", "marginStart10Small": "_marginStart10Small_pkudd_719 _marginStart10_pkudd_300", "marginStart11Small": "_marginStart11Small_pkudd_723 _marginStart11_pkudd_304", "marginStart12Small": "_marginStart12Small_pkudd_727 _marginStart12_pkudd_308", "marginStartautoSmall": "_marginStartautoSmall_pkudd_731 _marginStartauto_pkudd_312", "marginTop-12Small": "_marginTop-12Small_pkudd_735 _marginTop-12_pkudd_317", "marginTop-11Small": "_marginTop-11Small_pkudd_739 _marginTop-11_pkudd_321", "marginTop-10Small": "_marginTop-10Small_pkudd_743 _marginTop-10_pkudd_325", "marginTop-9Small": "_marginTop-9Small_pkudd_747 _marginTop-9_pkudd_329", "marginTop-8Small": "_marginTop-8Small_pkudd_751 _marginTop-8_pkudd_333", "marginTop-7Small": "_marginTop-7Small_pkudd_755 _marginTop-7_pkudd_337", "marginTop-6Small": "_marginTop-6Small_pkudd_759 _marginTop-6_pkudd_341", "marginTop-5Small": "_marginTop-5Small_pkudd_763 _marginTop-5_pkudd_345", "marginTop-4Small": "_marginTop-4Small_pkudd_767 _marginTop-4_pkudd_349", "marginTop-3Small": "_marginTop-3Small_pkudd_771 _marginTop-3_pkudd_353", "marginTop-2Small": "_marginTop-2Small_pkudd_775 _marginTop-2_pkudd_357", "marginTop-1Small": "_marginTop-1Small_pkudd_779 _marginTop-1_pkudd_317", "marginTop0Small": "_marginTop0Small_pkudd_783 _marginTop0_pkudd_365", "marginTop1Small": "_marginTop1Small_pkudd_787 _marginTop1_pkudd_369", "marginTop2Small": "_marginTop2Small_pkudd_791 _marginTop2_pkudd_373", "marginTop3Small": "_marginTop3Small_pkudd_795 _marginTop3_pkudd_377", "marginTop4Small": "_marginTop4Small_pkudd_799 _marginTop4_pkudd_381", "marginTop5Small": "_marginTop5Small_pkudd_803 _marginTop5_pkudd_385", "marginTop6Small": "_marginTop6Small_pkudd_807 _marginTop6_pkudd_389", "marginTop7Small": "_marginTop7Small_pkudd_811 _marginTop7_pkudd_393", "marginTop8Small": "_marginTop8Small_pkudd_815 _marginTop8_pkudd_397", "marginTop9Small": "_marginTop9Small_pkudd_819 _marginTop9_pkudd_401", "marginTop10Small": "_marginTop10Small_pkudd_823 _marginTop10_pkudd_405", "marginTop11Small": "_marginTop11Small_pkudd_827 _marginTop11_pkudd_409", "marginTop12Small": "_marginTop12Small_pkudd_831 _marginTop12_pkudd_413", "marginTopautoSmall": "_marginTopautoSmall_pkudd_835 _marginTopauto_pkudd_417", "marginBottom-12Large": "_marginBottom-12Large_pkudd_842 _marginBottom-12_pkudd_2", "marginBottom-11Large": "_marginBottom-11Large_pkudd_846 _marginBottom-11_pkudd_6", "marginBottom-10Large": "_marginBottom-10Large_pkudd_850 _marginBottom-10_pkudd_10", "marginBottom-9Large": "_marginBottom-9Large_pkudd_854 _marginBottom-9_pkudd_14", "marginBottom-8Large": "_marginBottom-8Large_pkudd_858 _marginBottom-8_pkudd_18", "marginBottom-7Large": "_marginBottom-7Large_pkudd_862 _marginBottom-7_pkudd_22", "marginBottom-6Large": "_marginBottom-6Large_pkudd_866 _marginBottom-6_pkudd_26", "marginBottom-5Large": "_marginBottom-5Large_pkudd_870 _marginBottom-5_pkudd_30", "marginBottom-4Large": "_marginBottom-4Large_pkudd_874 _marginBottom-4_pkudd_34", "marginBottom-3Large": "_marginBottom-3Large_pkudd_878 _marginBottom-3_pkudd_38", "marginBottom-2Large": "_marginBottom-2Large_pkudd_882 _marginBottom-2_pkudd_42", "marginBottom-1Large": "_marginBottom-1Large_pkudd_886 _marginBottom-1_pkudd_2", "marginBottom0Large": "_marginBottom0Large_pkudd_890 _marginBottom0_pkudd_50", "marginBottom1Large": "_marginBottom1Large_pkudd_894 _marginBottom1_pkudd_54", "marginBottom2Large": "_marginBottom2Large_pkudd_898 _marginBottom2_pkudd_58", "marginBottom3Large": "_marginBottom3Large_pkudd_902 _marginBottom3_pkudd_62", "marginBottom4Large": "_marginBottom4Large_pkudd_906 _marginBottom4_pkudd_66", "marginBottom5Large": "_marginBottom5Large_pkudd_910 _marginBottom5_pkudd_70", "marginBottom6Large": "_marginBottom6Large_pkudd_914 _marginBottom6_pkudd_74", "marginBottom7Large": "_marginBottom7Large_pkudd_918 _marginBottom7_pkudd_78", "marginBottom8Large": "_marginBottom8Large_pkudd_922 _marginBottom8_pkudd_82", "marginBottom9Large": "_marginBottom9Large_pkudd_926 _marginBottom9_pkudd_86", "marginBottom10Large": "_marginBottom10Large_pkudd_930 _marginBottom10_pkudd_90", "marginBottom11Large": "_marginBottom11Large_pkudd_934 _marginBottom11_pkudd_94", "marginBottom12Large": "_marginBottom12Large_pkudd_938 _marginBottom12_pkudd_98", "marginBottomautoLarge": "_marginBottomautoLarge_pkudd_942 _marginBottomauto_pkudd_102", "marginEnd-12Large": "_marginEnd-12Large_pkudd_946 _marginEnd-12_pkudd_107", "marginEnd-11Large": "_marginEnd-11Large_pkudd_950 _marginEnd-11_pkudd_111", "marginEnd-10Large": "_marginEnd-10Large_pkudd_954 _marginEnd-10_pkudd_115", "marginEnd-9Large": "_marginEnd-9Large_pkudd_958 _marginEnd-9_pkudd_119", "marginEnd-8Large": "_marginEnd-8Large_pkudd_962 _marginEnd-8_pkudd_123", "marginEnd-7Large": "_marginEnd-7Large_pkudd_966 _marginEnd-7_pkudd_127", "marginEnd-6Large": "_marginEnd-6Large_pkudd_970 _marginEnd-6_pkudd_131", "marginEnd-5Large": "_marginEnd-5Large_pkudd_974 _marginEnd-5_pkudd_135", "marginEnd-4Large": "_marginEnd-4Large_pkudd_978 _marginEnd-4_pkudd_139", "marginEnd-3Large": "_marginEnd-3Large_pkudd_982 _marginEnd-3_pkudd_143", "marginEnd-2Large": "_marginEnd-2Large_pkudd_986 _marginEnd-2_pkudd_147", "marginEnd-1Large": "_marginEnd-1Large_pkudd_990 _marginEnd-1_pkudd_107", "marginEnd0Large": "_marginEnd0Large_pkudd_994 _marginEnd0_pkudd_155", "marginEnd1Large": "_marginEnd1Large_pkudd_998 _marginEnd1_pkudd_159", "marginEnd2Large": "_marginEnd2Large_pkudd_1002 _marginEnd2_pkudd_163", "marginEnd3Large": "_marginEnd3Large_pkudd_1006 _marginEnd3_pkudd_167", "marginEnd4Large": "_marginEnd4Large_pkudd_1010 _marginEnd4_pkudd_171", "marginEnd5Large": "_marginEnd5Large_pkudd_1014 _marginEnd5_pkudd_175", "marginEnd6Large": "_marginEnd6Large_pkudd_1018 _marginEnd6_pkudd_179", "marginEnd7Large": "_marginEnd7Large_pkudd_1022 _marginEnd7_pkudd_183", "marginEnd8Large": "_marginEnd8Large_pkudd_1026 _marginEnd8_pkudd_187", "marginEnd9Large": "_marginEnd9Large_pkudd_1030 _marginEnd9_pkudd_191", "marginEnd10Large": "_marginEnd10Large_pkudd_1034 _marginEnd10_pkudd_195", "marginEnd11Large": "_marginEnd11Large_pkudd_1038 _marginEnd11_pkudd_199", "marginEnd12Large": "_marginEnd12Large_pkudd_1042 _marginEnd12_pkudd_203", "marginEndautoLarge": "_marginEndautoLarge_pkudd_1046 _marginEndauto_pkudd_207", "marginStart-12Large": "_marginStart-12Large_pkudd_1050 _marginStart-12_pkudd_212", "marginStart-11Large": "_marginStart-11Large_pkudd_1054 _marginStart-11_pkudd_216", "marginStart-10Large": "_marginStart-10Large_pkudd_1058 _marginStart-10_pkudd_220", "marginStart-9Large": "_marginStart-9Large_pkudd_1062 _marginStart-9_pkudd_224", "marginStart-8Large": "_marginStart-8Large_pkudd_1066 _marginStart-8_pkudd_228", "marginStart-7Large": "_marginStart-7Large_pkudd_1070 _marginStart-7_pkudd_232", "marginStart-6Large": "_marginStart-6Large_pkudd_1074 _marginStart-6_pkudd_236", "marginStart-5Large": "_marginStart-5Large_pkudd_1078 _marginStart-5_pkudd_240", "marginStart-4Large": "_marginStart-4Large_pkudd_1082 _marginStart-4_pkudd_244", "marginStart-3Large": "_marginStart-3Large_pkudd_1086 _marginStart-3_pkudd_248", "marginStart-2Large": "_marginStart-2Large_pkudd_1090 _marginStart-2_pkudd_252", "marginStart-1Large": "_marginStart-1Large_pkudd_1094 _marginStart-1_pkudd_212", "marginStart0Large": "_marginStart0Large_pkudd_1098 _marginStart0_pkudd_260", "marginStart1Large": "_marginStart1Large_pkudd_1102 _marginStart1_pkudd_264", "marginStart2Large": "_marginStart2Large_pkudd_1106 _marginStart2_pkudd_268", "marginStart3Large": "_marginStart3Large_pkudd_1110 _marginStart3_pkudd_272", "marginStart4Large": "_marginStart4Large_pkudd_1114 _marginStart4_pkudd_276", "marginStart5Large": "_marginStart5Large_pkudd_1118 _marginStart5_pkudd_280", "marginStart6Large": "_marginStart6Large_pkudd_1122 _marginStart6_pkudd_284", "marginStart7Large": "_marginStart7Large_pkudd_1126 _marginStart7_pkudd_288", "marginStart8Large": "_marginStart8Large_pkudd_1130 _marginStart8_pkudd_292", "marginStart9Large": "_marginStart9Large_pkudd_1134 _marginStart9_pkudd_296", "marginStart10Large": "_marginStart10Large_pkudd_1138 _marginStart10_pkudd_300", "marginStart11Large": "_marginStart11Large_pkudd_1142 _marginStart11_pkudd_304", "marginStart12Large": "_marginStart12Large_pkudd_1146 _marginStart12_pkudd_308", "marginStartautoLarge": "_marginStartautoLarge_pkudd_1150 _marginStartauto_pkudd_312", "marginTop-12Large": "_marginTop-12Large_pkudd_1154 _marginTop-12_pkudd_317", "marginTop-11Large": "_marginTop-11Large_pkudd_1158 _marginTop-11_pkudd_321", "marginTop-10Large": "_marginTop-10Large_pkudd_1162 _marginTop-10_pkudd_325", "marginTop-9Large": "_marginTop-9Large_pkudd_1166 _marginTop-9_pkudd_329", "marginTop-8Large": "_marginTop-8Large_pkudd_1170 _marginTop-8_pkudd_333", "marginTop-7Large": "_marginTop-7Large_pkudd_1174 _marginTop-7_pkudd_337", "marginTop-6Large": "_marginTop-6Large_pkudd_1178 _marginTop-6_pkudd_341", "marginTop-5Large": "_marginTop-5Large_pkudd_1182 _marginTop-5_pkudd_345", "marginTop-4Large": "_marginTop-4Large_pkudd_1186 _marginTop-4_pkudd_349", "marginTop-3Large": "_marginTop-3Large_pkudd_1190 _marginTop-3_pkudd_353", "marginTop-2Large": "_marginTop-2Large_pkudd_1194 _marginTop-2_pkudd_357", "marginTop-1Large": "_marginTop-1Large_pkudd_1198 _marginTop-1_pkudd_317", "marginTop0Large": "_marginTop0Large_pkudd_1202 _marginTop0_pkudd_365", "marginTop1Large": "_marginTop1Large_pkudd_1206 _marginTop1_pkudd_369", "marginTop2Large": "_marginTop2Large_pkudd_1210 _marginTop2_pkudd_373", "marginTop3Large": "_marginTop3Large_pkudd_1214 _marginTop3_pkudd_377", "marginTop4Large": "_marginTop4Large_pkudd_1218 _marginTop4_pkudd_381", "marginTop5Large": "_marginTop5Large_pkudd_1222 _marginTop5_pkudd_385", "marginTop6Large": "_marginTop6Large_pkudd_1226 _marginTop6_pkudd_389", "marginTop7Large": "_marginTop7Large_pkudd_1230 _marginTop7_pkudd_393", "marginTop8Large": "_marginTop8Large_pkudd_1234 _marginTop8_pkudd_397", "marginTop9Large": "_marginTop9Large_pkudd_1238 _marginTop9_pkudd_401", "marginTop10Large": "_marginTop10Large_pkudd_1242 _marginTop10_pkudd_405", "marginTop11Large": "_marginTop11Large_pkudd_1246 _marginTop11_pkudd_409", "marginTop12Large": "_marginTop12Large_pkudd_1250 _marginTop12_pkudd_413", "marginTopautoLarge": "_marginTopautoLarge_pkudd_1254 _marginTopauto_pkudd_417" };
|
|
139
|
+
|
|
140
|
+
// css-module:./padding.module.css#css-module
|
|
141
|
+
var padding_module_default = { "paddingX0": "_paddingX0_1kcbd_2", "paddingX1": "_paddingX1_1kcbd_7", "paddingX2": "_paddingX2_1kcbd_12", "paddingX3": "_paddingX3_1kcbd_17", "paddingX4": "_paddingX4_1kcbd_22", "paddingX5": "_paddingX5_1kcbd_27", "paddingX6": "_paddingX6_1kcbd_32", "paddingX7": "_paddingX7_1kcbd_37", "paddingX8": "_paddingX8_1kcbd_42", "paddingX9": "_paddingX9_1kcbd_47", "paddingX10": "_paddingX10_1kcbd_52", "paddingX11": "_paddingX11_1kcbd_57", "paddingX12": "_paddingX12_1kcbd_62", "paddingY0": "_paddingY0_1kcbd_67", "paddingY1": "_paddingY1_1kcbd_72", "paddingY2": "_paddingY2_1kcbd_77", "paddingY3": "_paddingY3_1kcbd_82", "paddingY4": "_paddingY4_1kcbd_87", "paddingY5": "_paddingY5_1kcbd_92", "paddingY6": "_paddingY6_1kcbd_97", "paddingY7": "_paddingY7_1kcbd_102", "paddingY8": "_paddingY8_1kcbd_107", "paddingY9": "_paddingY9_1kcbd_112", "paddingY10": "_paddingY10_1kcbd_117", "paddingY11": "_paddingY11_1kcbd_122", "paddingY12": "_paddingY12_1kcbd_127", "paddingX0Small": "_paddingX0Small_1kcbd_134 _paddingX0_1kcbd_2", "paddingX1Small": "_paddingX1Small_1kcbd_138 _paddingX1_1kcbd_7", "paddingX2Small": "_paddingX2Small_1kcbd_142 _paddingX2_1kcbd_12", "paddingX3Small": "_paddingX3Small_1kcbd_146 _paddingX3_1kcbd_17", "paddingX4Small": "_paddingX4Small_1kcbd_150 _paddingX4_1kcbd_22", "paddingX5Small": "_paddingX5Small_1kcbd_154 _paddingX5_1kcbd_27", "paddingX6Small": "_paddingX6Small_1kcbd_158 _paddingX6_1kcbd_32", "paddingX7Small": "_paddingX7Small_1kcbd_162 _paddingX7_1kcbd_37", "paddingX8Small": "_paddingX8Small_1kcbd_166 _paddingX8_1kcbd_42", "paddingX9Small": "_paddingX9Small_1kcbd_170 _paddingX9_1kcbd_47", "paddingX10Small": "_paddingX10Small_1kcbd_174 _paddingX10_1kcbd_52", "paddingX11Small": "_paddingX11Small_1kcbd_178 _paddingX11_1kcbd_57", "paddingX12Small": "_paddingX12Small_1kcbd_182 _paddingX12_1kcbd_62", "paddingY0Small": "_paddingY0Small_1kcbd_186 _paddingY0_1kcbd_67", "paddingY1Small": "_paddingY1Small_1kcbd_190 _paddingY1_1kcbd_72", "paddingY2Small": "_paddingY2Small_1kcbd_194 _paddingY2_1kcbd_77", "paddingY3Small": "_paddingY3Small_1kcbd_198 _paddingY3_1kcbd_82", "paddingY4Small": "_paddingY4Small_1kcbd_202 _paddingY4_1kcbd_87", "paddingY5Small": "_paddingY5Small_1kcbd_206 _paddingY5_1kcbd_92", "paddingY6Small": "_paddingY6Small_1kcbd_210 _paddingY6_1kcbd_97", "paddingY7Small": "_paddingY7Small_1kcbd_214 _paddingY7_1kcbd_102", "paddingY8Small": "_paddingY8Small_1kcbd_218 _paddingY8_1kcbd_107", "paddingY9Small": "_paddingY9Small_1kcbd_222 _paddingY9_1kcbd_112", "paddingY10Small": "_paddingY10Small_1kcbd_226 _paddingY10_1kcbd_117", "paddingY11Small": "_paddingY11Small_1kcbd_230 _paddingY11_1kcbd_122", "paddingY12Small": "_paddingY12Small_1kcbd_234 _paddingY12_1kcbd_127", "paddingX0Large": "_paddingX0Large_1kcbd_241 _paddingX0_1kcbd_2", "paddingX1Large": "_paddingX1Large_1kcbd_245 _paddingX1_1kcbd_7", "paddingX2Large": "_paddingX2Large_1kcbd_249 _paddingX2_1kcbd_12", "paddingX3Large": "_paddingX3Large_1kcbd_253 _paddingX3_1kcbd_17", "paddingX4Large": "_paddingX4Large_1kcbd_257 _paddingX4_1kcbd_22", "paddingX5Large": "_paddingX5Large_1kcbd_261 _paddingX5_1kcbd_27", "paddingX6Large": "_paddingX6Large_1kcbd_265 _paddingX6_1kcbd_32", "paddingX7Large": "_paddingX7Large_1kcbd_269 _paddingX7_1kcbd_37", "paddingX8Large": "_paddingX8Large_1kcbd_273 _paddingX8_1kcbd_42", "paddingX9Large": "_paddingX9Large_1kcbd_277 _paddingX9_1kcbd_47", "paddingX10Large": "_paddingX10Large_1kcbd_281 _paddingX10_1kcbd_52", "paddingX11Large": "_paddingX11Large_1kcbd_285 _paddingX11_1kcbd_57", "paddingX12Large": "_paddingX12Large_1kcbd_289 _paddingX12_1kcbd_62", "paddingY0Large": "_paddingY0Large_1kcbd_293 _paddingY0_1kcbd_67", "paddingY1Large": "_paddingY1Large_1kcbd_297 _paddingY1_1kcbd_72", "paddingY2Large": "_paddingY2Large_1kcbd_301 _paddingY2_1kcbd_77", "paddingY3Large": "_paddingY3Large_1kcbd_305 _paddingY3_1kcbd_82", "paddingY4Large": "_paddingY4Large_1kcbd_309 _paddingY4_1kcbd_87", "paddingY5Large": "_paddingY5Large_1kcbd_313 _paddingY5_1kcbd_92", "paddingY6Large": "_paddingY6Large_1kcbd_317 _paddingY6_1kcbd_97", "paddingY7Large": "_paddingY7Large_1kcbd_321 _paddingY7_1kcbd_102", "paddingY8Large": "_paddingY8Large_1kcbd_325 _paddingY8_1kcbd_107", "paddingY9Large": "_paddingY9Large_1kcbd_329 _paddingY9_1kcbd_112", "paddingY10Large": "_paddingY10Large_1kcbd_333 _paddingY10_1kcbd_117", "paddingY11Large": "_paddingY11Large_1kcbd_337 _paddingY11_1kcbd_122", "paddingY12Large": "_paddingY12Large_1kcbd_341 _paddingY12_1kcbd_127" };
|
|
142
|
+
|
|
143
|
+
// css-module:../colors/colors.module.css#css-module
|
|
106
144
|
var colors_module_default = { "inheritColor": "_inheritColor_j1pwm_2", "destructive700Color": "_destructive700Color_j1pwm_6", "gray700Color": "_gray700Color_j1pwm_10", "gray900Color": "_gray900Color_j1pwm_14", "primary700Color": "_primary700Color_j1pwm_18", "whiteColor": "_whiteColor_j1pwm_22", "blackBackgroundColor": "_blackBackgroundColor_j1pwm_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_j1pwm_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_j1pwm_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_j1pwm_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_j1pwm_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_j1pwm_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_j1pwm_51", "gray10BackgroundColor": "_gray10BackgroundColor_j1pwm_55", "gray30BackgroundColor": "_gray30BackgroundColor_j1pwm_59", "gray80BackgroundColor": "_gray80BackgroundColor_j1pwm_63", "gray100BackgroundColor": "_gray100BackgroundColor_j1pwm_67", "gray200BackgroundColor": "_gray200BackgroundColor_j1pwm_71", "gray300BackgroundColor": "_gray300BackgroundColor_j1pwm_75", "gray700BackgroundColor": "_gray700BackgroundColor_j1pwm_79", "gray800BackgroundColor": "_gray800BackgroundColor_j1pwm_83", "gray900BackgroundColor": "_gray900BackgroundColor_j1pwm_87", "orange100BackgroundColor": "_orange100BackgroundColor_j1pwm_91", "orange200BackgroundColor": "_orange200BackgroundColor_j1pwm_95", "orange300BackgroundColor": "_orange300BackgroundColor_j1pwm_99", "orange700BackgroundColor": "_orange700BackgroundColor_j1pwm_103", "orange800BackgroundColor": "_orange800BackgroundColor_j1pwm_107", "orange900BackgroundColor": "_orange900BackgroundColor_j1pwm_111", "primary100BackgroundColor": "_primary100BackgroundColor_j1pwm_115", "primary200BackgroundColor": "_primary200BackgroundColor_j1pwm_119", "primary300BackgroundColor": "_primary300BackgroundColor_j1pwm_123", "primary700BackgroundColor": "_primary700BackgroundColor_j1pwm_127", "primary800BackgroundColor": "_primary800BackgroundColor_j1pwm_131", "primary900BackgroundColor": "_primary900BackgroundColor_j1pwm_135", "success100BackgroundColor": "_success100BackgroundColor_j1pwm_139", "success200BackgroundColor": "_success200BackgroundColor_j1pwm_143", "success300BackgroundColor": "_success300BackgroundColor_j1pwm_147", "success700BackgroundColor": "_success700BackgroundColor_j1pwm_151", "success800BackgroundColor": "_success800BackgroundColor_j1pwm_155", "success900BackgroundColor": "_success900BackgroundColor_j1pwm_159", "purple100BackgroundColor": "_purple100BackgroundColor_j1pwm_163", "purple200BackgroundColor": "_purple200BackgroundColor_j1pwm_167", "purple300BackgroundColor": "_purple300BackgroundColor_j1pwm_171", "purple700BackgroundColor": "_purple700BackgroundColor_j1pwm_175", "purple800BackgroundColor": "_purple800BackgroundColor_j1pwm_179", "purple900BackgroundColor": "_purple900BackgroundColor_j1pwm_183", "whiteBackgroundColor": "_whiteBackgroundColor_j1pwm_187", "yellow100BackgroundColor": "_yellow100BackgroundColor_j1pwm_191", "yellow200BackgroundColor": "_yellow200BackgroundColor_j1pwm_195", "yellow300BackgroundColor": "_yellow300BackgroundColor_j1pwm_199", "yellow700BackgroundColor": "_yellow700BackgroundColor_j1pwm_203", "yellow800BackgroundColor": "_yellow800BackgroundColor_j1pwm_207", "yellow900BackgroundColor": "_yellow900BackgroundColor_j1pwm_211" };
|
|
107
145
|
|
|
146
|
+
// src/Box/Box.tsx
|
|
147
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
148
|
+
function Box(props) {
|
|
149
|
+
var _c;
|
|
150
|
+
const _a = props, { as: BoxElement = "div", children } = _a, boxProps = __objRest(_a, ["as", "children"]);
|
|
151
|
+
const _b = boxProps, {
|
|
152
|
+
alignItems: alignItems,
|
|
153
|
+
smAlignItems,
|
|
154
|
+
lgAlignItems,
|
|
155
|
+
alignSelf,
|
|
156
|
+
color,
|
|
157
|
+
direction,
|
|
158
|
+
smDirection,
|
|
159
|
+
lgDirection,
|
|
160
|
+
display,
|
|
161
|
+
smDisplay,
|
|
162
|
+
lgDisplay,
|
|
163
|
+
flexWrap,
|
|
164
|
+
gap: gap2,
|
|
165
|
+
justifyContent,
|
|
166
|
+
smJustifyContent,
|
|
167
|
+
lgJustifyContent,
|
|
168
|
+
margin: margin,
|
|
169
|
+
marginBottom,
|
|
170
|
+
marginEnd,
|
|
171
|
+
marginStart,
|
|
172
|
+
marginTop,
|
|
173
|
+
smMargin,
|
|
174
|
+
smMarginBottom,
|
|
175
|
+
smMarginEnd,
|
|
176
|
+
smMarginStart,
|
|
177
|
+
smMarginTop,
|
|
178
|
+
lgMargin,
|
|
179
|
+
lgMarginBottom,
|
|
180
|
+
lgMarginEnd,
|
|
181
|
+
lgMarginStart,
|
|
182
|
+
lgMarginTop,
|
|
183
|
+
padding: padding,
|
|
184
|
+
paddingX,
|
|
185
|
+
paddingY,
|
|
186
|
+
smPadding,
|
|
187
|
+
smPaddingX,
|
|
188
|
+
smPaddingY,
|
|
189
|
+
lgPadding,
|
|
190
|
+
lgPaddingX,
|
|
191
|
+
lgPaddingY,
|
|
192
|
+
position,
|
|
193
|
+
rounding,
|
|
194
|
+
dangerouslySetInlineStyle: dangerouslySetInlineStyle,
|
|
195
|
+
height,
|
|
196
|
+
maxHeight,
|
|
197
|
+
maxWidth,
|
|
198
|
+
minHeight,
|
|
199
|
+
minWidth,
|
|
200
|
+
width
|
|
201
|
+
} = _b, maybePassThroughProps = __objRest(_b, [
|
|
202
|
+
// Classname
|
|
203
|
+
"alignItems",
|
|
204
|
+
"smAlignItems",
|
|
205
|
+
"lgAlignItems",
|
|
206
|
+
"alignSelf",
|
|
207
|
+
"color",
|
|
208
|
+
"direction",
|
|
209
|
+
"smDirection",
|
|
210
|
+
"lgDirection",
|
|
211
|
+
"display",
|
|
212
|
+
"smDisplay",
|
|
213
|
+
"lgDisplay",
|
|
214
|
+
"flexWrap",
|
|
215
|
+
"gap",
|
|
216
|
+
"justifyContent",
|
|
217
|
+
"smJustifyContent",
|
|
218
|
+
"lgJustifyContent",
|
|
219
|
+
// Margin
|
|
220
|
+
"margin",
|
|
221
|
+
"marginBottom",
|
|
222
|
+
"marginEnd",
|
|
223
|
+
"marginStart",
|
|
224
|
+
"marginTop",
|
|
225
|
+
"smMargin",
|
|
226
|
+
"smMarginBottom",
|
|
227
|
+
"smMarginEnd",
|
|
228
|
+
"smMarginStart",
|
|
229
|
+
"smMarginTop",
|
|
230
|
+
"lgMargin",
|
|
231
|
+
"lgMarginBottom",
|
|
232
|
+
"lgMarginEnd",
|
|
233
|
+
"lgMarginStart",
|
|
234
|
+
"lgMarginTop",
|
|
235
|
+
// Padding
|
|
236
|
+
"padding",
|
|
237
|
+
"paddingX",
|
|
238
|
+
"paddingY",
|
|
239
|
+
"smPadding",
|
|
240
|
+
"smPaddingX",
|
|
241
|
+
"smPaddingY",
|
|
242
|
+
"lgPadding",
|
|
243
|
+
"lgPaddingX",
|
|
244
|
+
"lgPaddingY",
|
|
245
|
+
"position",
|
|
246
|
+
"rounding",
|
|
247
|
+
// Style
|
|
248
|
+
"dangerouslySetInlineStyle",
|
|
249
|
+
"height",
|
|
250
|
+
"maxHeight",
|
|
251
|
+
"maxWidth",
|
|
252
|
+
"minHeight",
|
|
253
|
+
"minWidth",
|
|
254
|
+
"width"
|
|
255
|
+
]);
|
|
256
|
+
const parsedProps = {
|
|
257
|
+
className: (0, import_classnames2.default)(
|
|
258
|
+
Box_module_default.box,
|
|
259
|
+
alignItems && Box_module_default[`alignItems${alignItems}`],
|
|
260
|
+
smAlignItems && Box_module_default[`alignItems${smAlignItems}Small`],
|
|
261
|
+
lgAlignItems && Box_module_default[`alignItems${lgAlignItems}Large`],
|
|
262
|
+
alignSelf && Box_module_default[`alignSelf${alignSelf}`],
|
|
263
|
+
color && colors_module_default[`${color}BackgroundColor`],
|
|
264
|
+
direction && Box_module_default[direction],
|
|
265
|
+
smDirection && Box_module_default[`${smDirection}Small`],
|
|
266
|
+
lgDirection && Box_module_default[`${lgDirection}Large`],
|
|
267
|
+
display && Box_module_default[display],
|
|
268
|
+
smDisplay && Box_module_default[`${smDisplay}Small`],
|
|
269
|
+
lgDisplay && Box_module_default[`${lgDisplay}Large`],
|
|
270
|
+
flexWrap && Box_module_default.flexWrap,
|
|
271
|
+
gap2 && Box_module_default[`gap${gap2}`],
|
|
272
|
+
margin && !marginBottom && margin_module_default[`marginBottom${margin}`],
|
|
273
|
+
margin && !marginEnd && margin_module_default[`marginEnd${margin}`],
|
|
274
|
+
margin && !marginStart && margin_module_default[`marginStart${margin}`],
|
|
275
|
+
margin && !marginTop && margin_module_default[`marginTop${margin}`],
|
|
276
|
+
marginBottom && margin_module_default[`marginBottom${marginBottom}`],
|
|
277
|
+
marginEnd && margin_module_default[`marginEnd${marginEnd}`],
|
|
278
|
+
marginStart && margin_module_default[`marginStart${marginStart}`],
|
|
279
|
+
marginTop && margin_module_default[`marginTop${marginTop}`],
|
|
280
|
+
smMargin && !smMarginBottom && margin_module_default[`marginBottom${smMargin}Small`],
|
|
281
|
+
smMargin && !smMarginEnd && margin_module_default[`marginEnd${smMargin}Small`],
|
|
282
|
+
smMargin && !smMarginStart && margin_module_default[`marginStart${smMargin}Small`],
|
|
283
|
+
smMargin && !smMarginTop && margin_module_default[`marginTop${smMargin}Small`],
|
|
284
|
+
smMarginBottom && margin_module_default[`marginBottom${smMarginBottom}Small`],
|
|
285
|
+
smMarginEnd && margin_module_default[`marginEnd${smMarginEnd}Small`],
|
|
286
|
+
smMarginStart && margin_module_default[`marginStart${smMarginStart}Small`],
|
|
287
|
+
smMarginTop && margin_module_default[`marginTop${smMarginTop}Small`],
|
|
288
|
+
lgMargin && !lgMarginBottom && margin_module_default[`marginBottom${lgMargin}Large`],
|
|
289
|
+
lgMargin && !lgMarginEnd && margin_module_default[`marginEnd${lgMargin}Large`],
|
|
290
|
+
lgMargin && !lgMarginStart && margin_module_default[`marginStart${lgMargin}Large`],
|
|
291
|
+
lgMargin && !lgMarginTop && margin_module_default[`marginTop${lgMargin}Large`],
|
|
292
|
+
lgMarginBottom && margin_module_default[`marginBottom${lgMarginBottom}Large`],
|
|
293
|
+
lgMarginEnd && margin_module_default[`marginEnd${lgMarginEnd}Large`],
|
|
294
|
+
lgMarginStart && margin_module_default[`marginStart${lgMarginStart}Large`],
|
|
295
|
+
lgMarginTop && margin_module_default[`marginTop${lgMarginTop}Large`],
|
|
296
|
+
padding && !paddingX && padding_module_default[`paddingX${padding}`],
|
|
297
|
+
padding && !paddingY && padding_module_default[`paddingY${padding}`],
|
|
298
|
+
paddingX && padding_module_default[`paddingX${paddingX}`],
|
|
299
|
+
paddingY && padding_module_default[`paddingY${paddingY}`],
|
|
300
|
+
smPadding && !smPaddingX && padding_module_default[`paddingX${smPadding}Small`],
|
|
301
|
+
smPadding && !smPaddingY && padding_module_default[`paddingY${smPadding}Small`],
|
|
302
|
+
smPaddingX && padding_module_default[`paddingX${smPaddingX}Small`],
|
|
303
|
+
smPaddingY && padding_module_default[`paddingY${smPaddingY}Small`],
|
|
304
|
+
lgPadding && !lgPaddingX && padding_module_default[`paddingX${lgPadding}Large`],
|
|
305
|
+
lgPadding && !lgPaddingX && padding_module_default[`paddingY${lgPadding}Large`],
|
|
306
|
+
lgPaddingX && padding_module_default[`paddingX${lgPaddingX}Large`],
|
|
307
|
+
lgPaddingY && padding_module_default[`paddingY${lgPaddingY}Large`],
|
|
308
|
+
justifyContent && Box_module_default[`justifyContent${justifyContent}`],
|
|
309
|
+
smJustifyContent && Box_module_default[`justifyContent${smJustifyContent}Small`],
|
|
310
|
+
lgJustifyContent && Box_module_default[`justifyContent${lgJustifyContent}Large`],
|
|
311
|
+
position && position !== "static" && Box_module_default[position],
|
|
312
|
+
rounding && rounding !== "none" && Box_module_default[`rounding${rounding}`]
|
|
313
|
+
),
|
|
314
|
+
style: __spreadValues({
|
|
315
|
+
height,
|
|
316
|
+
maxHeight,
|
|
317
|
+
maxWidth,
|
|
318
|
+
minHeight,
|
|
319
|
+
minWidth,
|
|
320
|
+
width
|
|
321
|
+
}, (_c = dangerouslySetInlineStyle == null ? void 0 : dangerouslySetInlineStyle.__style) != null ? _c : {})
|
|
322
|
+
};
|
|
323
|
+
const passthroughProps = Object.entries(maybePassThroughProps).reduce((acc, [key]) => {
|
|
324
|
+
if (key === "id" || key.startsWith("aria-") || key.startsWith("data-testid")) {
|
|
325
|
+
acc[key] = maybePassThroughProps[key];
|
|
326
|
+
}
|
|
327
|
+
return acc;
|
|
328
|
+
}, {});
|
|
329
|
+
return /* @__PURE__ */ jsx2(BoxElement, __spreadProps(__spreadValues(__spreadValues({}, parsedProps), passthroughProps), { children }));
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
// src/Button/Button.tsx
|
|
333
|
+
var import_classnames3 = __toESM(require_classnames());
|
|
334
|
+
|
|
335
|
+
// css-module:./colors.module.css#css-module
|
|
336
|
+
var colors_module_default2 = { "inheritColor": "_inheritColor_j1pwm_2", "destructive700Color": "_destructive700Color_j1pwm_6", "gray700Color": "_gray700Color_j1pwm_10", "gray900Color": "_gray900Color_j1pwm_14", "primary700Color": "_primary700Color_j1pwm_18", "whiteColor": "_whiteColor_j1pwm_22", "blackBackgroundColor": "_blackBackgroundColor_j1pwm_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_j1pwm_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_j1pwm_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_j1pwm_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_j1pwm_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_j1pwm_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_j1pwm_51", "gray10BackgroundColor": "_gray10BackgroundColor_j1pwm_55", "gray30BackgroundColor": "_gray30BackgroundColor_j1pwm_59", "gray80BackgroundColor": "_gray80BackgroundColor_j1pwm_63", "gray100BackgroundColor": "_gray100BackgroundColor_j1pwm_67", "gray200BackgroundColor": "_gray200BackgroundColor_j1pwm_71", "gray300BackgroundColor": "_gray300BackgroundColor_j1pwm_75", "gray700BackgroundColor": "_gray700BackgroundColor_j1pwm_79", "gray800BackgroundColor": "_gray800BackgroundColor_j1pwm_83", "gray900BackgroundColor": "_gray900BackgroundColor_j1pwm_87", "orange100BackgroundColor": "_orange100BackgroundColor_j1pwm_91", "orange200BackgroundColor": "_orange200BackgroundColor_j1pwm_95", "orange300BackgroundColor": "_orange300BackgroundColor_j1pwm_99", "orange700BackgroundColor": "_orange700BackgroundColor_j1pwm_103", "orange800BackgroundColor": "_orange800BackgroundColor_j1pwm_107", "orange900BackgroundColor": "_orange900BackgroundColor_j1pwm_111", "primary100BackgroundColor": "_primary100BackgroundColor_j1pwm_115", "primary200BackgroundColor": "_primary200BackgroundColor_j1pwm_119", "primary300BackgroundColor": "_primary300BackgroundColor_j1pwm_123", "primary700BackgroundColor": "_primary700BackgroundColor_j1pwm_127", "primary800BackgroundColor": "_primary800BackgroundColor_j1pwm_131", "primary900BackgroundColor": "_primary900BackgroundColor_j1pwm_135", "success100BackgroundColor": "_success100BackgroundColor_j1pwm_139", "success200BackgroundColor": "_success200BackgroundColor_j1pwm_143", "success300BackgroundColor": "_success300BackgroundColor_j1pwm_147", "success700BackgroundColor": "_success700BackgroundColor_j1pwm_151", "success800BackgroundColor": "_success800BackgroundColor_j1pwm_155", "success900BackgroundColor": "_success900BackgroundColor_j1pwm_159", "purple100BackgroundColor": "_purple100BackgroundColor_j1pwm_163", "purple200BackgroundColor": "_purple200BackgroundColor_j1pwm_167", "purple300BackgroundColor": "_purple300BackgroundColor_j1pwm_171", "purple700BackgroundColor": "_purple700BackgroundColor_j1pwm_175", "purple800BackgroundColor": "_purple800BackgroundColor_j1pwm_179", "purple900BackgroundColor": "_purple900BackgroundColor_j1pwm_183", "whiteBackgroundColor": "_whiteBackgroundColor_j1pwm_187", "yellow100BackgroundColor": "_yellow100BackgroundColor_j1pwm_191", "yellow200BackgroundColor": "_yellow200BackgroundColor_j1pwm_195", "yellow300BackgroundColor": "_yellow300BackgroundColor_j1pwm_199", "yellow700BackgroundColor": "_yellow700BackgroundColor_j1pwm_203", "yellow800BackgroundColor": "_yellow800BackgroundColor_j1pwm_207", "yellow900BackgroundColor": "_yellow900BackgroundColor_j1pwm_211" };
|
|
337
|
+
|
|
108
338
|
// src/colors/backgroundColor.ts
|
|
109
339
|
function backgroundColor(color) {
|
|
110
340
|
switch (color) {
|
|
111
341
|
case "secondary":
|
|
112
|
-
return
|
|
342
|
+
return colors_module_default2.primary100BackgroundColor;
|
|
113
343
|
case "destructive-primary":
|
|
114
|
-
return
|
|
344
|
+
return colors_module_default2.destructive700BackgroundColor;
|
|
115
345
|
case "destructive-secondary":
|
|
116
|
-
return
|
|
346
|
+
return colors_module_default2.destructive100BackgroundColor;
|
|
117
347
|
case "success":
|
|
118
|
-
return
|
|
348
|
+
return colors_module_default2.success700BackgroundColor;
|
|
119
349
|
case "tertiary":
|
|
120
350
|
case "destructive-tertiary":
|
|
121
|
-
return
|
|
351
|
+
return colors_module_default2.whiteBackgroundColor;
|
|
122
352
|
case "branded":
|
|
123
|
-
return
|
|
353
|
+
return colors_module_default2.yellow700BackgroundColor;
|
|
124
354
|
default:
|
|
125
|
-
return
|
|
355
|
+
return colors_module_default2.primary700BackgroundColor;
|
|
126
356
|
}
|
|
127
357
|
}
|
|
128
358
|
|
|
@@ -131,14 +361,14 @@ function foregroundColor(color) {
|
|
|
131
361
|
switch (color) {
|
|
132
362
|
case "secondary":
|
|
133
363
|
case "tertiary":
|
|
134
|
-
return
|
|
364
|
+
return colors_module_default2.primary700Color;
|
|
135
365
|
case "destructive-secondary":
|
|
136
366
|
case "destructive-tertiary":
|
|
137
|
-
return
|
|
367
|
+
return colors_module_default2.destructive700Color;
|
|
138
368
|
case "branded":
|
|
139
|
-
return
|
|
369
|
+
return colors_module_default2.gray900Color;
|
|
140
370
|
default:
|
|
141
|
-
return
|
|
371
|
+
return colors_module_default2.whiteColor;
|
|
142
372
|
}
|
|
143
373
|
}
|
|
144
374
|
|
|
@@ -157,7 +387,7 @@ var ButtonGroupContext_default = ButtonGroupContext;
|
|
|
157
387
|
var Button_module_default = { "button": "_button_1p2nl_1", "buttonGap": "_buttonGap_1p2nl_9", "fullWidth": "_fullWidth_1p2nl_50", "sm": "_sm_1p2nl_54", "md": "_md_1p2nl_61", "lg": "_lg_1p2nl_68", "icon": "_icon_1p2nl_75", "smIcon": "_smIcon_1p2nl_79", "mdIcon": "_mdIcon_1p2nl_86", "lgIcon": "_lgIcon_1p2nl_93", "textContainer": "_textContainer_1p2nl_100", "loading": "_loading_1p2nl_115", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1p2nl_1", "loadingCircle": "_loadingCircle_1p2nl_119", "buttonText": "_buttonText_1p2nl_127", "buttonTextSmall": "_buttonTextSmall_1p2nl_134", "buttonTextMedium": "_buttonTextMedium_1p2nl_138", "buttonTextLarge": "_buttonTextLarge_1p2nl_142" };
|
|
158
388
|
|
|
159
389
|
// src/Button/Button.tsx
|
|
160
|
-
import { jsx as
|
|
390
|
+
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
161
391
|
var textVariant = {
|
|
162
392
|
// Replace with `Typography` once it lands in `syntax-core`
|
|
163
393
|
["sm"]: Button_module_default.buttonTextSmall,
|
|
@@ -200,7 +430,7 @@ var Button = ({
|
|
|
200
430
|
title: tooltip,
|
|
201
431
|
disabled: disabled || loading,
|
|
202
432
|
onClick,
|
|
203
|
-
className: (0,
|
|
433
|
+
className: (0, import_classnames3.default)(
|
|
204
434
|
Button_module_default.button,
|
|
205
435
|
foregroundColor(color),
|
|
206
436
|
backgroundColor(color),
|
|
@@ -211,17 +441,17 @@ var Button = ({
|
|
|
211
441
|
}
|
|
212
442
|
),
|
|
213
443
|
children: [
|
|
214
|
-
!loading && StartIcon && /* @__PURE__ */
|
|
215
|
-
(loading && loadingText || !loading && text) && /* @__PURE__ */
|
|
216
|
-
!loading && EndIcon && /* @__PURE__ */
|
|
217
|
-
loading && /* @__PURE__ */
|
|
444
|
+
!loading && StartIcon && /* @__PURE__ */ jsx3(StartIcon, { className: (0, import_classnames3.default)(Button_module_default.icon, iconSize[size]) }),
|
|
445
|
+
(loading && loadingText || !loading && text) && /* @__PURE__ */ jsx3("div", { className: Button_module_default.textContainer, children: /* @__PURE__ */ jsx3("div", { className: (0, import_classnames3.default)(Button_module_default.buttonText, textVariant[size]), children: loading ? loadingText : text }) }),
|
|
446
|
+
!loading && EndIcon && /* @__PURE__ */ jsx3(EndIcon, { className: (0, import_classnames3.default)(Button_module_default.icon, iconSize[size]) }),
|
|
447
|
+
loading && /* @__PURE__ */ jsx3(
|
|
218
448
|
"svg",
|
|
219
449
|
{
|
|
220
|
-
className: (0,
|
|
450
|
+
className: (0, import_classnames3.default)(Button_module_default.loading, foregroundColor(color)),
|
|
221
451
|
viewBox: "22 22 44 44",
|
|
222
452
|
width: loadingIconSize[size],
|
|
223
453
|
height: loadingIconSize[size],
|
|
224
|
-
children: /* @__PURE__ */
|
|
454
|
+
children: /* @__PURE__ */ jsx3(
|
|
225
455
|
"circle",
|
|
226
456
|
{
|
|
227
457
|
className: Button_module_default.loadingCircle,
|
|
@@ -247,8 +477,8 @@ import { useMemo } from "react";
|
|
|
247
477
|
var ButtonGroup_module_default = { "buttonGroup": "_buttonGroup_184aa_1", "horizontal": "_horizontal_184aa_6", "vertical": "_vertical_184aa_10", "smallGap": "_smallGap_184aa_14", "mediumGap": "_mediumGap_184aa_18", "largeGap": "_largeGap_184aa_22" };
|
|
248
478
|
|
|
249
479
|
// src/ButtonGroup/ButtonGroup.tsx
|
|
250
|
-
var
|
|
251
|
-
import { jsx as
|
|
480
|
+
var import_classnames4 = __toESM(require_classnames());
|
|
481
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
252
482
|
var gap = {
|
|
253
483
|
["sm"]: ButtonGroup_module_default.smallGap,
|
|
254
484
|
["md"]: ButtonGroup_module_default.mediumGap,
|
|
@@ -265,11 +495,11 @@ var ButtonGroup = ({
|
|
|
265
495
|
() => ({ disabled, fullWidth, size }),
|
|
266
496
|
[disabled, fullWidth, size]
|
|
267
497
|
);
|
|
268
|
-
const classnames2 = (0,
|
|
498
|
+
const classnames2 = (0, import_classnames4.default)(ButtonGroup_module_default.buttonGroup, gap[size], {
|
|
269
499
|
[ButtonGroup_module_default.horizontal]: orientation === "horizontal",
|
|
270
500
|
[ButtonGroup_module_default.vertical]: orientation === "vertical"
|
|
271
501
|
});
|
|
272
|
-
return /* @__PURE__ */
|
|
502
|
+
return /* @__PURE__ */ jsx4(ButtonGroupContext_default.Provider, { value: context, children: /* @__PURE__ */ jsx4("div", { className: classnames2, children }) });
|
|
273
503
|
};
|
|
274
504
|
var ButtonGroup_default = ButtonGroup;
|
|
275
505
|
|
|
@@ -277,47 +507,44 @@ var ButtonGroup_default = ButtonGroup;
|
|
|
277
507
|
var Card_module_default = { "card": "_card_hvz2b_1" };
|
|
278
508
|
|
|
279
509
|
// src/Card/Card.tsx
|
|
280
|
-
import { jsx as
|
|
510
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
281
511
|
var Card = ({
|
|
282
512
|
children
|
|
283
|
-
}) => /* @__PURE__ */
|
|
513
|
+
}) => /* @__PURE__ */ jsx5("div", { className: Card_module_default.card, children });
|
|
284
514
|
var Card_default = Card;
|
|
285
515
|
|
|
286
516
|
// css-module:./Divider.module.css#css-module
|
|
287
517
|
var Divider_module_default = { "divider": "_divider_1ddgq_1" };
|
|
288
518
|
|
|
289
519
|
// src/Divider/Divider.tsx
|
|
290
|
-
import { jsx as
|
|
520
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
291
521
|
function Divider({}) {
|
|
292
|
-
return /* @__PURE__ */
|
|
522
|
+
return /* @__PURE__ */ jsx6("hr", { className: Divider_module_default.divider });
|
|
293
523
|
}
|
|
294
524
|
Divider.displayName = "Divider";
|
|
295
525
|
|
|
296
526
|
// src/Typography/Typography.tsx
|
|
297
|
-
var
|
|
527
|
+
var import_classnames5 = __toESM(require_classnames());
|
|
298
528
|
|
|
299
529
|
// css-module:./Typography.module.css#css-module
|
|
300
530
|
var Typography_module_default = { "typography": "_typography_1krnf_1", "size100": "_size100_1krnf_8", "size200": "_size200_1krnf_12", "size300": "_size300_1krnf_16", "size500": "_size500_1krnf_20", "size600": "_size600_1krnf_24", "size700": "_size700_1krnf_28", "size800": "_size800_1krnf_32", "center": "_center_1krnf_37", "forceLeft": "_forceLeft_1krnf_41", "forceRight": "_forceRight_1krnf_45", "start": "_start_1krnf_49", "end": "_end_1krnf_53", "bold": "_bold_1krnf_58", "regular": "_regular_1krnf_62", "semiBold": "_semiBold_1krnf_66", "heavy": "_heavy_1krnf_70", "underline": "_underline_1krnf_74", "inline": "_inline_1krnf_78", "uppercase": "_uppercase_1krnf_82" };
|
|
301
531
|
|
|
302
|
-
// css-module:../colors/colors.module.css#css-module
|
|
303
|
-
var colors_module_default2 = { "inheritColor": "_inheritColor_j1pwm_2", "destructive700Color": "_destructive700Color_j1pwm_6", "gray700Color": "_gray700Color_j1pwm_10", "gray900Color": "_gray900Color_j1pwm_14", "primary700Color": "_primary700Color_j1pwm_18", "whiteColor": "_whiteColor_j1pwm_22", "blackBackgroundColor": "_blackBackgroundColor_j1pwm_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_j1pwm_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_j1pwm_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_j1pwm_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_j1pwm_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_j1pwm_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_j1pwm_51", "gray10BackgroundColor": "_gray10BackgroundColor_j1pwm_55", "gray30BackgroundColor": "_gray30BackgroundColor_j1pwm_59", "gray80BackgroundColor": "_gray80BackgroundColor_j1pwm_63", "gray100BackgroundColor": "_gray100BackgroundColor_j1pwm_67", "gray200BackgroundColor": "_gray200BackgroundColor_j1pwm_71", "gray300BackgroundColor": "_gray300BackgroundColor_j1pwm_75", "gray700BackgroundColor": "_gray700BackgroundColor_j1pwm_79", "gray800BackgroundColor": "_gray800BackgroundColor_j1pwm_83", "gray900BackgroundColor": "_gray900BackgroundColor_j1pwm_87", "orange100BackgroundColor": "_orange100BackgroundColor_j1pwm_91", "orange200BackgroundColor": "_orange200BackgroundColor_j1pwm_95", "orange300BackgroundColor": "_orange300BackgroundColor_j1pwm_99", "orange700BackgroundColor": "_orange700BackgroundColor_j1pwm_103", "orange800BackgroundColor": "_orange800BackgroundColor_j1pwm_107", "orange900BackgroundColor": "_orange900BackgroundColor_j1pwm_111", "primary100BackgroundColor": "_primary100BackgroundColor_j1pwm_115", "primary200BackgroundColor": "_primary200BackgroundColor_j1pwm_119", "primary300BackgroundColor": "_primary300BackgroundColor_j1pwm_123", "primary700BackgroundColor": "_primary700BackgroundColor_j1pwm_127", "primary800BackgroundColor": "_primary800BackgroundColor_j1pwm_131", "primary900BackgroundColor": "_primary900BackgroundColor_j1pwm_135", "success100BackgroundColor": "_success100BackgroundColor_j1pwm_139", "success200BackgroundColor": "_success200BackgroundColor_j1pwm_143", "success300BackgroundColor": "_success300BackgroundColor_j1pwm_147", "success700BackgroundColor": "_success700BackgroundColor_j1pwm_151", "success800BackgroundColor": "_success800BackgroundColor_j1pwm_155", "success900BackgroundColor": "_success900BackgroundColor_j1pwm_159", "purple100BackgroundColor": "_purple100BackgroundColor_j1pwm_163", "purple200BackgroundColor": "_purple200BackgroundColor_j1pwm_167", "purple300BackgroundColor": "_purple300BackgroundColor_j1pwm_171", "purple700BackgroundColor": "_purple700BackgroundColor_j1pwm_175", "purple800BackgroundColor": "_purple800BackgroundColor_j1pwm_179", "purple900BackgroundColor": "_purple900BackgroundColor_j1pwm_183", "whiteBackgroundColor": "_whiteBackgroundColor_j1pwm_187", "yellow100BackgroundColor": "_yellow100BackgroundColor_j1pwm_191", "yellow200BackgroundColor": "_yellow200BackgroundColor_j1pwm_195", "yellow300BackgroundColor": "_yellow300BackgroundColor_j1pwm_199", "yellow700BackgroundColor": "_yellow700BackgroundColor_j1pwm_203", "yellow800BackgroundColor": "_yellow800BackgroundColor_j1pwm_207", "yellow900BackgroundColor": "_yellow900BackgroundColor_j1pwm_211" };
|
|
304
|
-
|
|
305
532
|
// src/Typography/Typography.tsx
|
|
306
|
-
import { jsx as
|
|
533
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
307
534
|
function textColor(color) {
|
|
308
535
|
switch (color) {
|
|
309
536
|
case "gray700":
|
|
310
|
-
return
|
|
537
|
+
return colors_module_default.gray700Color;
|
|
311
538
|
case "white":
|
|
312
|
-
return
|
|
539
|
+
return colors_module_default.whiteColor;
|
|
313
540
|
case "inherit":
|
|
314
|
-
return
|
|
541
|
+
return colors_module_default.inheritColor;
|
|
315
542
|
case "primary":
|
|
316
|
-
return
|
|
543
|
+
return colors_module_default.primary700Color;
|
|
317
544
|
case "destructive-primary":
|
|
318
|
-
return
|
|
545
|
+
return colors_module_default.destructive700Color;
|
|
319
546
|
default:
|
|
320
|
-
return
|
|
547
|
+
return colors_module_default.gray900Color;
|
|
321
548
|
}
|
|
322
549
|
}
|
|
323
550
|
var Typography = ({
|
|
@@ -333,10 +560,10 @@ var Typography = ({
|
|
|
333
560
|
weight = "regular"
|
|
334
561
|
}) => {
|
|
335
562
|
const Tag = as;
|
|
336
|
-
return /* @__PURE__ */
|
|
563
|
+
return /* @__PURE__ */ jsx7(
|
|
337
564
|
Tag,
|
|
338
565
|
{
|
|
339
|
-
className: (0,
|
|
566
|
+
className: (0, import_classnames5.default)(
|
|
340
567
|
Typography_module_default.typography,
|
|
341
568
|
Typography_module_default[align],
|
|
342
569
|
Typography_module_default[weight],
|
|
@@ -354,7 +581,7 @@ var Typography = ({
|
|
|
354
581
|
var Typography_default = Typography;
|
|
355
582
|
|
|
356
583
|
// src/Heading/Heading.tsx
|
|
357
|
-
import { jsx as
|
|
584
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
358
585
|
var Heading = ({
|
|
359
586
|
align = "start",
|
|
360
587
|
as = "h1",
|
|
@@ -363,19 +590,19 @@ var Heading = ({
|
|
|
363
590
|
size = 500
|
|
364
591
|
}) => {
|
|
365
592
|
const weight = [700, 800].includes(size) ? "heavy" : "bold";
|
|
366
|
-
return /* @__PURE__ */
|
|
593
|
+
return /* @__PURE__ */ jsx8(Typography_default, { align, as, color, size, weight, children });
|
|
367
594
|
};
|
|
368
595
|
var Heading_default = Heading;
|
|
369
596
|
|
|
370
597
|
// src/IconButton/IconButton.tsx
|
|
371
|
-
var
|
|
598
|
+
var import_classnames6 = __toESM(require_classnames());
|
|
372
599
|
import { useContext as useContext2 } from "react";
|
|
373
600
|
|
|
374
601
|
// css-module:./IconButton.module.css#css-module
|
|
375
602
|
var IconButton_module_default = { "iconButton": "_iconButton_dzhn0_1", "sm": "_sm_dzhn0_46", "md": "_md_dzhn0_51", "lg": "_lg_dzhn0_56", "smIcon": "_smIcon_dzhn0_61", "mdIcon": "_mdIcon_dzhn0_68", "lgIcon": "_lgIcon_dzhn0_75" };
|
|
376
603
|
|
|
377
604
|
// src/IconButton/IconButton.tsx
|
|
378
|
-
import { jsx as
|
|
605
|
+
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
379
606
|
var iconSize2 = {
|
|
380
607
|
["sm"]: IconButton_module_default.smIcon,
|
|
381
608
|
["md"]: IconButton_module_default.mdIcon,
|
|
@@ -393,7 +620,7 @@ var IconButton = ({
|
|
|
393
620
|
const contextProps = useContext2(ButtonGroupContext_default);
|
|
394
621
|
const size = (contextProps == null ? void 0 : contextProps.size) || sizeProp;
|
|
395
622
|
const disabled = (contextProps == null ? void 0 : contextProps.disabled) || disabledProp;
|
|
396
|
-
return /* @__PURE__ */
|
|
623
|
+
return /* @__PURE__ */ jsx9(
|
|
397
624
|
"button",
|
|
398
625
|
{
|
|
399
626
|
"aria-label": accessibilityLabel,
|
|
@@ -401,27 +628,27 @@ var IconButton = ({
|
|
|
401
628
|
title: tooltip,
|
|
402
629
|
disabled,
|
|
403
630
|
onClick,
|
|
404
|
-
className: (0,
|
|
631
|
+
className: (0, import_classnames6.default)(
|
|
405
632
|
IconButton_module_default.iconButton,
|
|
406
633
|
foregroundColor(color),
|
|
407
634
|
backgroundColor(color),
|
|
408
635
|
IconButton_module_default[size]
|
|
409
636
|
),
|
|
410
|
-
children: /* @__PURE__ */
|
|
637
|
+
children: /* @__PURE__ */ jsx9(Icon, { className: iconSize2[size] })
|
|
411
638
|
}
|
|
412
639
|
);
|
|
413
640
|
};
|
|
414
641
|
var IconButton_default = IconButton;
|
|
415
642
|
|
|
416
643
|
// src/Checkbox/Checkbox.tsx
|
|
417
|
-
var
|
|
644
|
+
var import_classnames7 = __toESM(require_classnames());
|
|
418
645
|
import { useState } from "react";
|
|
419
646
|
|
|
420
647
|
// css-module:./Checkbox.module.css#css-module
|
|
421
648
|
var Checkbox_module_default = { "mainContainer": "_mainContainer_p0un4_1", "checkboxContainer": "_checkboxContainer_p0un4_8", "inputOverlay": "_inputOverlay_p0un4_13", "focusedCheckbox": "_focusedCheckbox_p0un4_21", "checkbox": "_checkbox_p0un4_8", "uncheckedBox": "_uncheckedBox_p0un4_35", "uncheckedBorder": "_uncheckedBorder_p0un4_39", "uncheckedErrorBorder": "_uncheckedErrorBorder_p0un4_43", "checkedBox": "_checkedBox_p0un4_47", "checkedNonError": "_checkedNonError_p0un4_51", "checkedError": "_checkedError_p0un4_55", "sm": "_sm_p0un4_59", "md": "_md_p0un4_65" };
|
|
422
649
|
|
|
423
650
|
// src/Checkbox/Checkbox.tsx
|
|
424
|
-
import { jsx as
|
|
651
|
+
import { jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
425
652
|
var typographySize = {
|
|
426
653
|
sm: 100,
|
|
427
654
|
md: 200
|
|
@@ -439,24 +666,24 @@ var Checkbox = ({
|
|
|
439
666
|
onChange
|
|
440
667
|
}) => {
|
|
441
668
|
const [isFocused, setIsFocused] = useState(false);
|
|
442
|
-
const checkboxStyling = (0,
|
|
443
|
-
const uncheckedStyling = (0,
|
|
669
|
+
const checkboxStyling = (0, import_classnames7.default)(Checkbox_module_default.checkbox, Checkbox_module_default[size]);
|
|
670
|
+
const uncheckedStyling = (0, import_classnames7.default)(checkboxStyling, Checkbox_module_default.uncheckedBox, {
|
|
444
671
|
[Checkbox_module_default.uncheckedBorder]: !error,
|
|
445
672
|
[Checkbox_module_default.uncheckedErrorBorder]: error,
|
|
446
673
|
[Checkbox_module_default.focusedCheckbox]: isFocused
|
|
447
674
|
});
|
|
448
|
-
const checkedStyling = (0,
|
|
675
|
+
const checkedStyling = (0, import_classnames7.default)(checkboxStyling, Checkbox_module_default.checkedBox, {
|
|
449
676
|
[Checkbox_module_default.checkedNonError]: !error,
|
|
450
677
|
[Checkbox_module_default.checkedError]: error,
|
|
451
678
|
[Checkbox_module_default.focusedCheckbox]: isFocused
|
|
452
679
|
});
|
|
453
|
-
return /* @__PURE__ */ jsxs2("label", { className: (0,
|
|
680
|
+
return /* @__PURE__ */ jsxs2("label", { className: (0, import_classnames7.default)(Checkbox_module_default.mainContainer), children: [
|
|
454
681
|
/* @__PURE__ */ jsxs2("div", { className: Checkbox_module_default.checkboxContainer, children: [
|
|
455
|
-
/* @__PURE__ */
|
|
682
|
+
/* @__PURE__ */ jsx10(
|
|
456
683
|
"input",
|
|
457
684
|
{
|
|
458
685
|
type: "checkbox",
|
|
459
|
-
className: (0,
|
|
686
|
+
className: (0, import_classnames7.default)(Checkbox_module_default.inputOverlay, Checkbox_module_default[size]),
|
|
460
687
|
checked,
|
|
461
688
|
onChange,
|
|
462
689
|
disabled,
|
|
@@ -468,7 +695,7 @@ var Checkbox = ({
|
|
|
468
695
|
}
|
|
469
696
|
}
|
|
470
697
|
),
|
|
471
|
-
/* @__PURE__ */
|
|
698
|
+
/* @__PURE__ */ jsx10("div", { className: checked ? checkedStyling : uncheckedStyling, children: checked && /* @__PURE__ */ jsx10("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ jsx10(
|
|
472
699
|
"path",
|
|
473
700
|
{
|
|
474
701
|
fill: "#fff",
|
|
@@ -476,7 +703,7 @@ var Checkbox = ({
|
|
|
476
703
|
}
|
|
477
704
|
) }) })
|
|
478
705
|
] }),
|
|
479
|
-
/* @__PURE__ */
|
|
706
|
+
/* @__PURE__ */ jsx10(
|
|
480
707
|
Typography_default,
|
|
481
708
|
{
|
|
482
709
|
size: typographySize[size],
|
|
@@ -492,21 +719,21 @@ var Checkbox_default = Checkbox;
|
|
|
492
719
|
var MiniActionCard_module_default = { "miniActionCard": "_miniActionCard_qebkn_1", "card": "_card_qebkn_9" };
|
|
493
720
|
|
|
494
721
|
// src/MiniActionCard/MiniActionCard.tsx
|
|
495
|
-
import { jsx as
|
|
722
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
496
723
|
var MiniActionCard = ({
|
|
497
724
|
children
|
|
498
|
-
}) => /* @__PURE__ */
|
|
725
|
+
}) => /* @__PURE__ */ jsx11("div", { className: MiniActionCard_module_default.miniActionCard, children });
|
|
499
726
|
var MiniActionCard_default = MiniActionCard;
|
|
500
727
|
|
|
501
728
|
// src/RadioButton/RadioButton.tsx
|
|
502
|
-
var
|
|
729
|
+
var import_classnames8 = __toESM(require_classnames());
|
|
503
730
|
import { useState as useState2 } from "react";
|
|
504
731
|
|
|
505
732
|
// css-module:./RadioButton.module.css#css-module
|
|
506
733
|
var RadioButton_module_default = { "radioButton": "_radioButton_1dde1_1", "focusedRadioButton": "_focusedRadioButton_1dde1_8", "smBase": "_smBase_1dde1_13", "mdBase": "_mdBase_1dde1_18", "radioStyleOverride": "_radioStyleOverride_1dde1_23", "smOverride": "_smOverride_1dde1_28", "mdOverride": "_mdOverride_1dde1_33", "outer": "_outer_1dde1_38", "sm": "_sm_1dde1_13", "md": "_md_1dde1_18", "errorOuterBackgroundColor": "_errorOuterBackgroundColor_1dde1_57", "outerBackgroundColor": "_outerBackgroundColor_1dde1_61", "background": "_background_1dde1_65", "errorBorderColor": "_errorBorderColor_1dde1_71", "borderColor": "_borderColor_1dde1_75", "circle": "_circle_1dde1_79", "smInner": "_smInner_1dde1_83", "mdInner": "_mdInner_1dde1_89" };
|
|
507
734
|
|
|
508
735
|
// src/RadioButton/RadioButton.tsx
|
|
509
|
-
import { jsx as
|
|
736
|
+
import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
510
737
|
var RadioButton = ({
|
|
511
738
|
checked = false,
|
|
512
739
|
disabled = false,
|
|
@@ -520,16 +747,16 @@ var RadioButton = ({
|
|
|
520
747
|
return /* @__PURE__ */ jsxs3(
|
|
521
748
|
"label",
|
|
522
749
|
{
|
|
523
|
-
className: (0,
|
|
750
|
+
className: (0, import_classnames8.default)(RadioButton_module_default.radioButton, {
|
|
524
751
|
[RadioButton_module_default.smBase]: size === "sm",
|
|
525
752
|
[RadioButton_module_default.mdBase]: size === "md"
|
|
526
753
|
}),
|
|
527
754
|
children: [
|
|
528
|
-
/* @__PURE__ */
|
|
755
|
+
/* @__PURE__ */ jsx12(
|
|
529
756
|
"input",
|
|
530
757
|
{
|
|
531
758
|
type: "radio",
|
|
532
|
-
className: (0,
|
|
759
|
+
className: (0, import_classnames8.default)(RadioButton_module_default.radioStyleOverride, {
|
|
533
760
|
[RadioButton_module_default.smOverride]: size === "sm",
|
|
534
761
|
[RadioButton_module_default.mdOverride]: size === "md"
|
|
535
762
|
}),
|
|
@@ -545,35 +772,35 @@ var RadioButton = ({
|
|
|
545
772
|
}
|
|
546
773
|
}
|
|
547
774
|
),
|
|
548
|
-
checked ? /* @__PURE__ */
|
|
775
|
+
checked ? /* @__PURE__ */ jsx12(
|
|
549
776
|
"div",
|
|
550
777
|
{
|
|
551
|
-
className: (0,
|
|
778
|
+
className: (0, import_classnames8.default)(RadioButton_module_default.outer, RadioButton_module_default[size], {
|
|
552
779
|
[RadioButton_module_default.errorOuterBackgroundColor]: error,
|
|
553
780
|
[RadioButton_module_default.outerBackgroundColor]: !error,
|
|
554
781
|
[RadioButton_module_default.focusedRadioButton]: isFocused
|
|
555
782
|
}),
|
|
556
|
-
children: /* @__PURE__ */
|
|
783
|
+
children: /* @__PURE__ */ jsx12(
|
|
557
784
|
"div",
|
|
558
785
|
{
|
|
559
|
-
className: (0,
|
|
786
|
+
className: (0, import_classnames8.default)(RadioButton_module_default.circle, {
|
|
560
787
|
[RadioButton_module_default.smInner]: size === "sm",
|
|
561
788
|
[RadioButton_module_default.mdInner]: size === "md"
|
|
562
789
|
})
|
|
563
790
|
}
|
|
564
791
|
)
|
|
565
792
|
}
|
|
566
|
-
) : /* @__PURE__ */
|
|
793
|
+
) : /* @__PURE__ */ jsx12(
|
|
567
794
|
"div",
|
|
568
795
|
{
|
|
569
|
-
className: (0,
|
|
796
|
+
className: (0, import_classnames8.default)(RadioButton_module_default.background, RadioButton_module_default[size], {
|
|
570
797
|
[RadioButton_module_default.errorBorderColor]: error,
|
|
571
798
|
[RadioButton_module_default.borderColor]: !error,
|
|
572
799
|
[RadioButton_module_default.focusedRadioButton]: isFocused
|
|
573
800
|
})
|
|
574
801
|
}
|
|
575
802
|
),
|
|
576
|
-
/* @__PURE__ */
|
|
803
|
+
/* @__PURE__ */ jsx12(
|
|
577
804
|
Typography_default,
|
|
578
805
|
{
|
|
579
806
|
size: size === "md" ? 200 : 100,
|
|
@@ -588,6 +815,7 @@ var RadioButton = ({
|
|
|
588
815
|
var RadioButton_default = RadioButton;
|
|
589
816
|
export {
|
|
590
817
|
Avatar_default as Avatar,
|
|
818
|
+
Box,
|
|
591
819
|
Button_default as Button,
|
|
592
820
|
ButtonGroup_default as ButtonGroup,
|
|
593
821
|
Card_default as Card,
|