@cambly/syntax-core 19.0.0 → 19.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/Avatar/Avatar.d.ts +1 -1
- package/dist/Badge/Badge.d.ts +1 -1
- package/dist/Button/Button.cjs +3 -3
- package/dist/Button/Button.js +2 -2
- package/dist/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Dialog/ModalDialog.cjs +1 -1
- package/dist/Dialog/ModalDialog.js +1 -1
- package/dist/Heading/Heading.d.ts +1 -1
- package/dist/Modal/Modal.cjs +1 -1
- package/dist/Modal/Modal.js +1 -1
- package/dist/Popover/Popover.cjs +1 -1
- package/dist/Popover/Popover.js +1 -1
- package/dist/RadioButton/RadioButton.d.ts +1 -1
- package/dist/RichSelect/RichSelectBox.cjs +7 -7
- package/dist/RichSelect/RichSelectBox.d.ts +1 -1
- package/dist/RichSelect/RichSelectBox.js +6 -6
- package/dist/RichSelect/RichSelectList.cjs +9 -9
- package/dist/RichSelect/RichSelectList.d.ts +1 -1
- package/dist/RichSelect/RichSelectList.js +8 -8
- package/dist/RichSelect/RichSelectRadioButton.cjs +3 -3
- package/dist/RichSelect/RichSelectRadioButton.d.ts +1 -1
- package/dist/RichSelect/RichSelectRadioButton.js +2 -2
- package/dist/SelectList/SelectList.cjs +4 -4
- package/dist/SelectList/SelectList.js +3 -3
- package/dist/TapArea/TapArea.d.ts +1 -1
- package/dist/Typography/Typography.d.ts +3 -3
- package/dist/WordConfetti/WordConfetti.cjs +17 -0
- package/dist/WordConfetti/WordConfetti.cjs.map +1 -0
- package/dist/WordConfetti/WordConfetti.css +2394 -0
- package/dist/WordConfetti/WordConfetti.css.map +1 -0
- package/dist/WordConfetti/WordConfetti.d.ts +32 -0
- package/dist/WordConfetti/WordConfetti.js +17 -0
- package/dist/WordConfetti/WordConfetti.js.map +1 -0
- package/dist/__chunks/{FQSSK4FT.cjs → 66VTCVJA.cjs} +3 -3
- package/dist/__chunks/{NXOKB47G.js → 725OOIL4.js} +4 -4
- package/dist/__chunks/{HZ3SCLC7.cjs → A2MUYVOP.cjs} +12 -12
- package/dist/__chunks/{SN7NPTN4.cjs → A4EEJRTW.cjs} +8 -8
- package/dist/__chunks/{RIAJV3ZH.cjs → BFEZ3PUT.cjs} +4 -4
- package/dist/__chunks/{RH52UDEB.cjs → DDS2EDAA.cjs} +1 -1
- package/dist/__chunks/{RH52UDEB.cjs.map → DDS2EDAA.cjs.map} +1 -1
- package/dist/__chunks/{2D2PXUUQ.js → DWVTJZC6.js} +4 -4
- package/dist/__chunks/K3AY5BI4.cjs +106 -0
- package/dist/__chunks/K3AY5BI4.cjs.map +1 -0
- package/dist/__chunks/{BIW5AZCF.js → KY2TFXG3.js} +4 -4
- package/dist/__chunks/LBBAOI6G.js +106 -0
- package/dist/__chunks/LBBAOI6G.js.map +1 -0
- package/dist/__chunks/{ZZPX5ZUM.cjs → OMXDPTE4.cjs} +6 -6
- package/dist/__chunks/{T3UI6LNR.js → Q2PKWGLY.js} +5 -5
- package/dist/__chunks/{5HWHJRVZ.js → XES27TWJ.js} +1 -1
- package/dist/__chunks/{5HWHJRVZ.js.map → XES27TWJ.js.map} +1 -1
- package/dist/__chunks/{U6TGYOG7.js → ZHU5A7BH.js} +3 -3
- package/dist/index.cjs +25 -21
- package/dist/index.d.ts +1 -0
- package/dist/index.js +27 -23
- package/package.json +1 -1
- /package/dist/__chunks/{FQSSK4FT.cjs.map → 66VTCVJA.cjs.map} +0 -0
- /package/dist/__chunks/{NXOKB47G.js.map → 725OOIL4.js.map} +0 -0
- /package/dist/__chunks/{HZ3SCLC7.cjs.map → A2MUYVOP.cjs.map} +0 -0
- /package/dist/__chunks/{SN7NPTN4.cjs.map → A4EEJRTW.cjs.map} +0 -0
- /package/dist/__chunks/{RIAJV3ZH.cjs.map → BFEZ3PUT.cjs.map} +0 -0
- /package/dist/__chunks/{2D2PXUUQ.js.map → DWVTJZC6.js.map} +0 -0
- /package/dist/__chunks/{BIW5AZCF.js.map → KY2TFXG3.js.map} +0 -0
- /package/dist/__chunks/{ZZPX5ZUM.cjs.map → OMXDPTE4.cjs.map} +0 -0
- /package/dist/__chunks/{T3UI6LNR.js.map → Q2PKWGLY.js.map} +0 -0
- /package/dist/__chunks/{U6TGYOG7.js.map → ZHU5A7BH.js.map} +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import {
|
|
3
|
+
Box_default
|
|
4
|
+
} from "./IB6JZQF3.js";
|
|
5
|
+
import {
|
|
6
|
+
Typography_default
|
|
7
|
+
} from "./DAK5IGJK.js";
|
|
8
|
+
|
|
9
|
+
// src/WordConfetti/WordConfetti.tsx
|
|
10
|
+
import { forwardRef, useMemo } from "react";
|
|
11
|
+
import { jsx } from "react/jsx-runtime";
|
|
12
|
+
var themeBackgroundColors = {
|
|
13
|
+
neutral: ["pink", "lilac", "thistle"],
|
|
14
|
+
cool: ["sky", "slate", "teal"],
|
|
15
|
+
warm: ["red", "tan", "orange"]
|
|
16
|
+
};
|
|
17
|
+
var degreeOfTiltOptions = [-6, -6, -3, -3, 0, 3, 3, 6, 6];
|
|
18
|
+
var paddings = {
|
|
19
|
+
300: "16px 20px 16px 20px",
|
|
20
|
+
400: "20px 24px 20px 24px",
|
|
21
|
+
700: "24px 28px 24px 28px",
|
|
22
|
+
800: "28px 40px 28px 40px",
|
|
23
|
+
900: "32px 48px 32px 48px",
|
|
24
|
+
1100: "36px 56px 36px 56px"
|
|
25
|
+
};
|
|
26
|
+
var gaps = {
|
|
27
|
+
300: 3,
|
|
28
|
+
400: 4,
|
|
29
|
+
700: 6,
|
|
30
|
+
800: 6,
|
|
31
|
+
900: 9,
|
|
32
|
+
1100: 10
|
|
33
|
+
};
|
|
34
|
+
var WordConfetto = ({
|
|
35
|
+
backgroundColor,
|
|
36
|
+
key,
|
|
37
|
+
rotation,
|
|
38
|
+
size,
|
|
39
|
+
text
|
|
40
|
+
}) => {
|
|
41
|
+
return /* @__PURE__ */ jsx(
|
|
42
|
+
Box_default,
|
|
43
|
+
{
|
|
44
|
+
backgroundColor,
|
|
45
|
+
dangerouslySetInlineStyle: {
|
|
46
|
+
__style: {
|
|
47
|
+
padding: paddings[size],
|
|
48
|
+
transform: `rotate(${rotation}deg)`
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
width: "fit-content",
|
|
52
|
+
children: /* @__PURE__ */ jsx(Typography_default, { size, weight: "bold", fontStyle: "serif", children: text })
|
|
53
|
+
},
|
|
54
|
+
key
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
var WordConfetti = forwardRef(
|
|
58
|
+
function WordConfetti2(props, ref) {
|
|
59
|
+
const {
|
|
60
|
+
"data-testid": dataTestId,
|
|
61
|
+
direction = "row",
|
|
62
|
+
size,
|
|
63
|
+
theme,
|
|
64
|
+
words
|
|
65
|
+
} = props;
|
|
66
|
+
const styledWords = useMemo(
|
|
67
|
+
() => words.map((word) => ({
|
|
68
|
+
text: word,
|
|
69
|
+
backgroundColor: themeBackgroundColors[theme][Math.floor(Math.random() * 3)],
|
|
70
|
+
rotation: degreeOfTiltOptions[Math.floor(Math.random() * 9)]
|
|
71
|
+
})),
|
|
72
|
+
[theme, words]
|
|
73
|
+
);
|
|
74
|
+
return /* @__PURE__ */ jsx(
|
|
75
|
+
Box_default,
|
|
76
|
+
{
|
|
77
|
+
display: "flex",
|
|
78
|
+
direction,
|
|
79
|
+
flexWrap: "wrap",
|
|
80
|
+
"data-testid": dataTestId,
|
|
81
|
+
ref,
|
|
82
|
+
gap: gaps[size],
|
|
83
|
+
children: styledWords.map(
|
|
84
|
+
({ text, backgroundColor, rotation }, index) => {
|
|
85
|
+
return /* @__PURE__ */ jsx(
|
|
86
|
+
WordConfetto,
|
|
87
|
+
{
|
|
88
|
+
backgroundColor,
|
|
89
|
+
rotation,
|
|
90
|
+
size,
|
|
91
|
+
text
|
|
92
|
+
},
|
|
93
|
+
`${text}+${index}`
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
);
|
|
101
|
+
var WordConfetti_default = WordConfetti;
|
|
102
|
+
|
|
103
|
+
export {
|
|
104
|
+
WordConfetti_default
|
|
105
|
+
};
|
|
106
|
+
//# sourceMappingURL=LBBAOI6G.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/WordConfetti/WordConfetti.tsx"],"sourcesContent":["import { type ReactNode, forwardRef, useMemo, type ReactElement } from \"react\";\nimport Box from \"../Box/Box\";\nimport Typography from \"../Typography/Typography\";\n\nconst themeBackgroundColors = {\n neutral: [\"pink\", \"lilac\", \"thistle\"],\n cool: [\"sky\", \"slate\", \"teal\"],\n warm: [\"red\", \"tan\", \"orange\"],\n} as const;\n\nconst degreeOfTiltOptions = [-6, -6, -3, -3, 0, 3, 3, 6, 6];\n\nconst paddings = {\n 300: \"16px 20px 16px 20px\",\n 400: \"20px 24px 20px 24px\",\n 700: \"24px 28px 24px 28px\",\n 800: \"28px 40px 28px 40px\",\n 900: \"32px 48px 32px 48px\",\n 1100: \"36px 56px 36px 56px\",\n};\n\nconst gaps = {\n 300: 3,\n 400: 4,\n 700: 6,\n 800: 6,\n 900: 9,\n 1100: 10,\n} as const;\n\nconst WordConfetto = ({\n backgroundColor,\n key,\n rotation,\n size,\n text,\n}: {\n backgroundColor:\n | \"pink\"\n | \"lilac\"\n | \"thistle\"\n | \"sky\"\n | \"slate\"\n | \"teal\"\n | \"red\"\n | \"tan\"\n | \"orange\";\n key: string;\n rotation: number;\n size: 300 | 400 | 700 | 800 | 900 | 1100;\n text: string;\n}): ReactElement => {\n return (\n <Box\n key={key}\n backgroundColor={backgroundColor}\n dangerouslySetInlineStyle={{\n __style: {\n padding: paddings[size],\n transform: `rotate(${rotation}deg)`,\n },\n }}\n width=\"fit-content\"\n >\n <Typography size={size} weight=\"bold\" fontStyle=\"serif\">\n {text}\n </Typography>\n </Box>\n );\n};\n\ntype Direction = \"row\" | \"column\";\ntype WordConfettiProps = {\n /**\n * Test id for the confetti\n */\n \"data-testid\"?: string;\n /**\n * The direction to display the words.\n * @defaultValue row\n */\n direction?: Direction;\n /**\n * The size of the font in the confetti.\n */\n size: 300 | 400 | 700 | 800 | 900 | 1100;\n /**\n * The theme for the background colors of the confetti.\n */\n theme: \"neutral\" | \"cool\" | \"warm\";\n /**\n * The words to display as confetti.\n */\n words: string[];\n};\n\n/**\n * [WordConfetti](https://cambly-syntax.vercel.app/?path=/docs/components-wordconfetti--docs) is a container for displaying words in different color themes and fun offset angles.\n */\nconst WordConfetti = forwardRef<HTMLDivElement, WordConfettiProps>(\n function WordConfetti(props: WordConfettiProps, ref): JSX.Element {\n const {\n \"data-testid\": dataTestId,\n direction = \"row\",\n size,\n theme,\n words,\n } = props;\n\n const styledWords = useMemo(\n () =>\n words.map((word) => ({\n text: word,\n backgroundColor:\n themeBackgroundColors[theme][Math.floor(Math.random() * 3)],\n rotation: degreeOfTiltOptions[Math.floor(Math.random() * 9)],\n })),\n [theme, words],\n );\n\n return (\n <Box\n display=\"flex\"\n direction={direction}\n flexWrap=\"wrap\"\n data-testid={dataTestId}\n ref={ref}\n gap={gaps[size]}\n >\n {styledWords.map(\n ({ text, backgroundColor, rotation }, index): ReactNode => {\n return (\n <WordConfetto\n backgroundColor={backgroundColor}\n key={`${text}+${index}`}\n rotation={rotation}\n size={size}\n text={text}\n />\n );\n },\n )}\n </Box>\n );\n },\n);\n\nexport default WordConfetti;\n"],"mappings":";;;;;;;;;AAAA,SAAyB,YAAY,eAAkC;AAgEjE;AA5DN,IAAM,wBAAwB;AAAA,EAC5B,SAAS,CAAC,QAAQ,SAAS,SAAS;AAAA,EACpC,MAAM,CAAC,OAAO,SAAS,MAAM;AAAA,EAC7B,MAAM,CAAC,OAAO,OAAO,QAAQ;AAC/B;AAEA,IAAM,sBAAsB,CAAC,IAAI,IAAI,IAAI,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;AAE1D,IAAM,WAAW;AAAA,EACf,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,MAAM;AACR;AAEA,IAAM,OAAO;AAAA,EACX,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,MAAM;AACR;AAEA,IAAM,eAAe,CAAC;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAeoB;AAClB,SACE;AAAA,IAAC;AAAA;AAAA,MAEC;AAAA,MACA,2BAA2B;AAAA,QACzB,SAAS;AAAA,UACP,SAAS,SAAS,IAAI;AAAA,UACtB,WAAW,UAAU;AAAA,QACvB;AAAA,MACF;AAAA,MACA,OAAM;AAAA,MAEN,8BAAC,sBAAW,MAAY,QAAO,QAAO,WAAU,SAC7C,gBACH;AAAA;AAAA,IAZK;AAAA,EAaP;AAEJ;AA8BA,IAAM,eAAe;AAAA,EACnB,SAASA,cAAa,OAA0B,KAAkB;AAChE,UAAM;AAAA,MACJ,eAAe;AAAA,MACf,YAAY;AAAA,MACZ;AAAA,MACA;AAAA,MACA;AAAA,IACF,IAAI;AAEJ,UAAM,cAAc;AAAA,MAClB,MACE,MAAM,IAAI,CAAC,UAAU;AAAA,QACnB,MAAM;AAAA,QACN,iBACE,sBAAsB,KAAK,EAAE,KAAK,MAAM,KAAK,OAAO,IAAI,CAAC,CAAC;AAAA,QAC5D,UAAU,oBAAoB,KAAK,MAAM,KAAK,OAAO,IAAI,CAAC,CAAC;AAAA,MAC7D,EAAE;AAAA,MACJ,CAAC,OAAO,KAAK;AAAA,IACf;AAEA,WACE;AAAA,MAAC;AAAA;AAAA,QACC,SAAQ;AAAA,QACR;AAAA,QACA,UAAS;AAAA,QACT,eAAa;AAAA,QACb;AAAA,QACA,KAAK,KAAK,IAAI;AAAA,QAEb,sBAAY;AAAA,UACX,CAAC,EAAE,MAAM,iBAAiB,SAAS,GAAG,UAAqB;AACzD,mBACE;AAAA,cAAC;AAAA;AAAA,gBACC;AAAA,gBAEA;AAAA,gBACA;AAAA,gBACA;AAAA;AAAA,cAHK,GAAG,QAAQ;AAAA,YAIlB;AAAA,UAEJ;AAAA,QACF;AAAA;AAAA,IACF;AAAA,EAEJ;AACF;AAEA,IAAO,uBAAQ;","names":["WordConfetti"]}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _6KSVCCCBcjs = require('./6KSVCCCB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _BFEZ3PUTcjs = require('./BFEZ3PUT.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _A3B4YKGNcjs = require('./A3B4YKGN.cjs');
|
|
@@ -13,7 +13,7 @@ var _A3B4YKGNcjs = require('./A3B4YKGN.cjs');
|
|
|
13
13
|
var _EHZAOGLQcjs = require('./EHZAOGLQ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _66VTCVJAcjs = require('./66VTCVJA.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _URBKDUMUcjs = require('./URBKDUMU.cjs');
|
|
@@ -169,7 +169,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
|
|
|
169
169
|
justifyContent: "end",
|
|
170
170
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _6KSVCCCBcjs.ButtonGroup_default, { orientation: "horizontal", children: [
|
|
171
171
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
172
|
-
|
|
172
|
+
_BFEZ3PUTcjs.Button_default,
|
|
173
173
|
{
|
|
174
174
|
onClick: clearChanges,
|
|
175
175
|
color: "secondary",
|
|
@@ -179,7 +179,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
|
|
|
179
179
|
}
|
|
180
180
|
),
|
|
181
181
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
182
|
-
|
|
182
|
+
_BFEZ3PUTcjs.Button_default,
|
|
183
183
|
{
|
|
184
184
|
onClick: saveChanges,
|
|
185
185
|
text: primaryButtonText,
|
|
@@ -200,7 +200,7 @@ var RichSelectBox = _react.forwardRef.call(void 0,
|
|
|
200
200
|
var RichSelectBox_default = Object.assign(RichSelectBox, {
|
|
201
201
|
Section: _EHZAOGLQcjs.RichSelectSection_default,
|
|
202
202
|
Chip: _URBKDUMUcjs.RichSelectChip_default,
|
|
203
|
-
RadioButton:
|
|
203
|
+
RadioButton: _66VTCVJAcjs.RichSelectRadioButton_default
|
|
204
204
|
});
|
|
205
205
|
|
|
206
206
|
|
|
@@ -208,4 +208,4 @@ var RichSelectBox_default = Object.assign(RichSelectBox, {
|
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
exports.convertSelection = convertSelection; exports.RichSelectBoxContext = RichSelectBoxContext; exports.RichSelectBox_default = RichSelectBox_default;
|
|
211
|
-
//# sourceMappingURL=
|
|
211
|
+
//# sourceMappingURL=OMXDPTE4.cjs.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client"
|
|
2
|
+
import {
|
|
3
|
+
SelectOption_default
|
|
4
|
+
} from "./SPQ7DQHG.js";
|
|
2
5
|
import {
|
|
3
6
|
ColorBaseDestructive700,
|
|
4
7
|
ColorBaseGray700,
|
|
5
8
|
ColorCambioWhite100
|
|
6
|
-
} from "./
|
|
9
|
+
} from "./XES27TWJ.js";
|
|
7
10
|
import {
|
|
8
11
|
Focus_module_default
|
|
9
12
|
} from "./KKADUD65.js";
|
|
10
13
|
import {
|
|
11
14
|
Box_default
|
|
12
15
|
} from "./IB6JZQF3.js";
|
|
13
|
-
import {
|
|
14
|
-
SelectOption_default
|
|
15
|
-
} from "./SPQ7DQHG.js";
|
|
16
16
|
import {
|
|
17
17
|
Typography_default
|
|
18
18
|
} from "./DAK5IGJK.js";
|
|
@@ -148,4 +148,4 @@ SelectList.Option = SelectOption_default;
|
|
|
148
148
|
export {
|
|
149
149
|
SelectList
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=
|
|
151
|
+
//# sourceMappingURL=Q2PKWGLY.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on
|
|
1
|
+
{"version":3,"sources":["../../../syntax-design-tokens/dist/js/index.js"],"sourcesContent":["/**\n * Do not edit directly\n * Generated on Tue, 06 Aug 2024 16:27:02 GMT\n */\n\nexport const ColorBaseBlack = \"#000000\";\nexport const ColorBaseDestructive100 = \"#fef3f5\";\nexport const ColorBaseDestructive200 = \"#fad6de\";\nexport const ColorBaseDestructive300 = \"#f2a2b2\";\nexport const ColorBaseDestructive700 = \"#d32a4b\";\nexport const ColorBaseDestructive800 = \"#81162c\";\nexport const ColorBaseDestructive900 = \"#55101d\";\nexport const ColorBaseGray10 = \"#cbcbcb\"; // Used as the default color for dividers and inner strokes\nexport const ColorBaseGray30 = \"#000000\"; // For IconButton background when on top of an image\nexport const ColorBaseGray60 = \"#000000\"; // Used for icon background in classroom video grid\nexport const ColorBaseGray80 = \"#000000\"; // Used as the background for modals\nexport const ColorBaseGray100 = \"#f7f7f7\";\nexport const ColorBaseGray200 = \"#f0f0f0\"; // Used for light mode backgrounds when showing card content on top\nexport const ColorBaseGray300 = \"#d0d0d0\"; // Used for component outlines, eg: select and textfield\nexport const ColorBaseGray700 = \"#767676\"; // For secondary text in light mode\nexport const ColorBaseGray800 = \"#353535\";\nexport const ColorBaseGray900 = \"#191919\"; // Default text color, Classroom background\nexport const ColorBaseOrange100 = \"#fdf2f0\";\nexport const ColorBaseOrange200 = \"#f6cdc4\";\nexport const ColorBaseOrange300 = \"#ec9987\";\nexport const ColorBaseOrange700 = \"#c34124\";\nexport const ColorBaseOrange800 = \"#732818\";\nexport const ColorBaseOrange900 = \"#4d1a10\";\nexport const ColorBasePrimary100 = \"#eff6fa\";\nexport const ColorBasePrimary200 = \"#c1dbe7\";\nexport const ColorBasePrimary300 = \"#84b7d0\";\nexport const ColorBasePrimary700 = \"#236482\";\nexport const ColorBasePrimary800 = \"#274858\";\nexport const ColorBasePrimary900 = \"#1b303b\";\nexport const ColorBaseSuccess100 = \"#eff7f1\";\nexport const ColorBaseSuccess200 = \"#bddcc6\";\nexport const ColorBaseSuccess300 = \"#81ba92\";\nexport const ColorBaseSuccess700 = \"#397b4d\";\nexport const ColorBaseSuccess800 = \"#2d4936\";\nexport const ColorBaseSuccess900 = \"#1e3124\";\nexport const ColorBasePurple100 = \"#f9f5fa\";\nexport const ColorBasePurple200 = \"#e8dceb\";\nexport const ColorBasePurple300 = \"#cdb4d3\";\nexport const ColorBasePurple700 = \"#8b5f95\";\nexport const ColorBasePurple800 = \"#523b58\";\nexport const ColorBasePurple900 = \"#37273b\";\nexport const ColorBaseYellow100 = \"#fdf5d9\";\nexport const ColorBaseYellow200 = \"#fbe8a3\";\nexport const ColorBaseYellow300 = \"#f8d663\";\nexport const ColorBaseYellow700 = \"#ffc929\";\nexport const ColorBaseYellow800 = \"#765f1c\";\nexport const ColorBaseYellow900 = \"#3b3009\";\nexport const ColorBaseWhite = \"#ffffff\";\nexport const ColorCambioBlack = \"#050500\";\nexport const ColorCambioWhite40 = \"#ffffff\";\nexport const ColorCambioWhite70 = \"#ffffff\";\nexport const ColorCambioWhite100 = \"#ffffff\";\nexport const ColorCambioGray100 = \"#faf4eb\";\nexport const ColorCambioGray200 = \"#e4dbd3\";\nexport const ColorCambioGray270 = \"#e4dbd3\";\nexport const ColorCambioGray300 = \"#beb4ab\";\nexport const ColorCambioGray370 = \"#beb4ab\";\nexport const ColorCambioGray700 = \"#5e5952\";\nexport const ColorCambioGray800 = \"#363432\";\nexport const ColorCambioGray870 = \"#5e5952\";\nexport const ColorCambioGray900 = \"#262625\";\nexport const ColorCambioDestructive100 = \"#ffdeda\";\nexport const ColorCambioDestructive300 = \"#ff8071\";\nexport const ColorCambioDestructive370 = \"#ff8071\";\nexport const ColorCambioDestructive700 = \"#c93f32\";\nexport const ColorCambioDestructive770 = \"#c93f32\";\nexport const ColorCambioDestructive900 = \"#6d0002\";\nexport const ColorCambioSuccess100 = \"#daf2c8\";\nexport const ColorCambioSuccess300 = \"#84ce64\";\nexport const ColorCambioSuccess370 = \"#84ce64\";\nexport const ColorCambioSuccess700 = \"#3c7f20\";\nexport const ColorCambioSuccess770 = \"#3c7f20\";\nexport const ColorCambioSuccess900 = \"#103e00\";\nexport const ColorCambioRed = \"#f56e56\";\nexport const ColorCambioOrange = \"#ff8f57\";\nexport const ColorCambioTan = \"#ffb47d\";\nexport const ColorCambioCream = \"#fffad1\";\nexport const ColorCambioPurple = \"#6840a8\";\nexport const ColorCambioLilac = \"#b59ef0\";\nexport const ColorCambioThistle = \"#d69ca4\";\nexport const ColorCambioPink = \"#ffccea\";\nexport const ColorCambioNavy = \"#191142\";\nexport const ColorCambioTeal = \"#44a6cf\";\nexport const ColorCambioSlate = \"#7c9fc6\";\nexport const ColorCambioSky = \"#b1e8fc\";\nexport const ColorCambioYellow700 = \"#ffe733\";\nexport const ColorCambioTransparentFull = \"#000000\";\nexport const Elevation400 = \"0px 16px 32px 0px #00000040\";\nexport const SyntaxFontSansSerif = \"-apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif\";\nexport const ShadowInteractive = \"0px 3px 16px 0px rgba(144, 134, 130, 0.05), 0px 2px 30px 0px rgba(144, 134, 130, 0.02)\";\n"],"mappings":";;;AASO,IAAM,0BAA0B;AAUhC,IAAM,mBAAmB;AAqCzB,IAAM,sBAAsB;","names":[]}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./36DG472B.js";
|
|
5
5
|
import {
|
|
6
6
|
Button_default
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./KY2TFXG3.js";
|
|
8
8
|
import {
|
|
9
9
|
Divider
|
|
10
10
|
} from "./M4W3IFMV.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./AHICHJTL.js";
|
|
14
14
|
import {
|
|
15
15
|
RichSelectRadioButton_default
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./DWVTJZC6.js";
|
|
17
17
|
import {
|
|
18
18
|
RichSelectChip_default
|
|
19
19
|
} from "./56LMASNQ.js";
|
|
@@ -208,4 +208,4 @@ export {
|
|
|
208
208
|
RichSelectBoxContext,
|
|
209
209
|
RichSelectBox_default
|
|
210
210
|
};
|
|
211
|
-
//# sourceMappingURL=
|
|
211
|
+
//# sourceMappingURL=ZHU5A7BH.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
var _GQUBAKFOcjs = require('./__chunks/GQUBAKFO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _GEXK47GRcjs = require('./__chunks/GEXK47GR.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _AVJQ2E2Gcjs = require('./__chunks/AVJQ2E2G.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _E3A6VFMBcjs = require('./__chunks/E3A6VFMB.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _IBT4YOI5cjs = require('./__chunks/IBT4YOI5.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _OVHMMIVEcjs = require('./__chunks/OVHMMIVE.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _3Y6HGWJGcjs = require('./__chunks/3Y6HGWJG.cjs');
|
|
@@ -35,10 +35,11 @@ var _RUXLZWRZcjs = require('./__chunks/RUXLZWRZ.cjs');
|
|
|
35
35
|
require('./__chunks/TH4TA3JN.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _A4EEJRTWcjs = require('./__chunks/A4EEJRTW.cjs');
|
|
39
|
+
require('./__chunks/JVGX637E.cjs');
|
|
39
40
|
|
|
40
41
|
|
|
41
|
-
var
|
|
42
|
+
var _A2MUYVOPcjs = require('./__chunks/A2MUYVOP.cjs');
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
var _B6775YJ4cjs = require('./__chunks/B6775YJ4.cjs');
|
|
@@ -48,14 +49,14 @@ require('./__chunks/3RX4RMGC.cjs');
|
|
|
48
49
|
|
|
49
50
|
var _PZEDDYBZcjs = require('./__chunks/PZEDDYBZ.cjs');
|
|
50
51
|
require('./__chunks/WFVGNGEP.cjs');
|
|
51
|
-
require('./__chunks/
|
|
52
|
-
require('./__chunks/
|
|
52
|
+
require('./__chunks/DDS2EDAA.cjs');
|
|
53
|
+
require('./__chunks/OMXDPTE4.cjs');
|
|
53
54
|
|
|
54
55
|
|
|
55
56
|
var _6KSVCCCBcjs = require('./__chunks/6KSVCCCB.cjs');
|
|
56
57
|
|
|
57
58
|
|
|
58
|
-
var
|
|
59
|
+
var _BFEZ3PUTcjs = require('./__chunks/BFEZ3PUT.cjs');
|
|
59
60
|
|
|
60
61
|
|
|
61
62
|
var _A3B4YKGNcjs = require('./__chunks/A3B4YKGN.cjs');
|
|
@@ -64,7 +65,11 @@ require('./__chunks/3P2PWHOU.cjs');
|
|
|
64
65
|
require('./__chunks/65BTPZZT.cjs');
|
|
65
66
|
require('./__chunks/EHZAOGLQ.cjs');
|
|
66
67
|
require('./__chunks/MF7LLV7V.cjs');
|
|
67
|
-
require('./__chunks/
|
|
68
|
+
require('./__chunks/66VTCVJA.cjs');
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
var _4AI6GQ5Ucjs = require('./__chunks/4AI6GQ5U.cjs');
|
|
72
|
+
require('./__chunks/XLUVINJW.cjs');
|
|
68
73
|
require('./__chunks/URBKDUMU.cjs');
|
|
69
74
|
|
|
70
75
|
|
|
@@ -72,8 +77,7 @@ var _IHGDCH62cjs = require('./__chunks/IHGDCH62.cjs');
|
|
|
72
77
|
require('./__chunks/RYUXG4AS.cjs');
|
|
73
78
|
|
|
74
79
|
|
|
75
|
-
var
|
|
76
|
-
require('./__chunks/XLUVINJW.cjs');
|
|
80
|
+
var _36JMUQOLcjs = require('./__chunks/36JMUQOL.cjs');
|
|
77
81
|
|
|
78
82
|
|
|
79
83
|
var _5NI7VPKScjs = require('./__chunks/5NI7VPKS.cjs');
|
|
@@ -96,16 +100,18 @@ var _3UEOKPM2cjs = require('./__chunks/3UEOKPM2.cjs');
|
|
|
96
100
|
require('./__chunks/7DGFMDT7.cjs');
|
|
97
101
|
|
|
98
102
|
require('./__chunks/S4JNYLMA.cjs');
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
var _QODNNCT2cjs = require('./__chunks/QODNNCT2.cjs');
|
|
102
|
-
require('./__chunks/JVGX637E.cjs');
|
|
103
103
|
require('./__chunks/RXQBNEFR.cjs');
|
|
104
104
|
require('./__chunks/2D3DOVVZ.cjs');
|
|
105
105
|
require('./__chunks/F3SUJGZL.cjs');
|
|
106
106
|
require('./__chunks/UKQIAZA5.cjs');
|
|
107
107
|
|
|
108
108
|
|
|
109
|
+
var _K3AY5BI4cjs = require('./__chunks/K3AY5BI4.cjs');
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
var _QODNNCT2cjs = require('./__chunks/QODNNCT2.cjs');
|
|
113
|
+
|
|
114
|
+
|
|
109
115
|
var _UXSGTOGUcjs = require('./__chunks/UXSGTOGU.cjs');
|
|
110
116
|
require('./__chunks/PLUVW6AM.cjs');
|
|
111
117
|
require('./__chunks/IL22HCBF.cjs');
|
|
@@ -118,9 +124,6 @@ var _5NQO6SP3cjs = require('./__chunks/5NQO6SP3.cjs');
|
|
|
118
124
|
require('./__chunks/BDCZ5GX7.cjs');
|
|
119
125
|
require('./__chunks/2XIVACBM.cjs');
|
|
120
126
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
var _36JMUQOLcjs = require('./__chunks/36JMUQOL.cjs');
|
|
124
127
|
require('./__chunks/K4AUV2VK.cjs');
|
|
125
128
|
require('./__chunks/NOELZTQX.cjs');
|
|
126
129
|
require('./__chunks/LLFHCGRA.cjs');
|
|
@@ -158,5 +161,6 @@ require('./__chunks/X2SDR4SD.cjs');
|
|
|
158
161
|
|
|
159
162
|
|
|
160
163
|
|
|
161
|
-
|
|
164
|
+
|
|
165
|
+
exports.Avatar = _GQUBAKFOcjs.Avatar_default; exports.AvatarGroup = _GEXK47GRcjs.AvatarGroup; exports.Badge = _E3A6VFMBcjs.Badge_default; exports.Box = _QODNNCT2cjs.Box_default; exports.Button = _BFEZ3PUTcjs.Button_default; exports.ButtonGroup = _6KSVCCCBcjs.ButtonGroup_default; exports.Card = _AVJQ2E2Gcjs.Card_default; exports.Checkbox = _OVHMMIVEcjs.Checkbox_default; exports.Chip = _IHGDCH62cjs.Chip_default; exports.Divider = _A3B4YKGNcjs.Divider; exports.Heading = _CCKTB7L5cjs.Heading_default; exports.Icon = _IBT4YOI5cjs.Icon_default; exports.IconButton = _PZEDDYBZcjs.IconButton_default; exports.IconLinkButton = _RUXLZWRZcjs.IconLinkButton_default; exports.LinkButton = _JOTFTEBXcjs.LinkButton_default; exports.Modal = _3Y6HGWJGcjs.Modal; exports.Popover = _B6775YJ4cjs.Popover_default; exports.RadioButton = _4AI6GQ5Ucjs.RadioButton_default; exports.RichSelectList = _A2MUYVOPcjs.RichSelectList_default; exports.SelectList = _A4EEJRTWcjs.SelectList; exports.TabButton = _ML36DCKLcjs.TabButton; exports.TabLink = _OBQBJKAYcjs.TabLink_default; exports.Tabs = _4QUXUGJPcjs.Tabs; exports.TapArea = _3UEOKPM2cjs.TapArea_default; exports.TextArea = _AUO7CEJIcjs.TextArea_default; exports.TextField = _5NI7VPKScjs.TextField; exports.ThemeProvider = _36JMUQOLcjs.ThemeProvider; exports.Tooltip = _UXSGTOGUcjs.Tooltip_default; exports.Typography = _5NQO6SP3cjs.Typography_default; exports.WordConfetti = _K3AY5BI4cjs.WordConfetti_default;
|
|
162
166
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export { default as TextField } from './TextField/TextField.js';
|
|
|
27
27
|
export { default as ThemeProvider } from './ThemeProvider/ThemeProvider.js';
|
|
28
28
|
export { default as Tooltip } from './Tooltip/Tooltip.js';
|
|
29
29
|
export { default as Typography } from './Typography/Typography.js';
|
|
30
|
+
export { default as WordConfetti } from './WordConfetti/WordConfetti.js';
|
|
30
31
|
import 'react';
|
|
31
32
|
import './colors/allColors.js';
|
|
32
33
|
import './constants.js';
|
package/dist/index.js
CHANGED
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Avatar_default
|
|
4
4
|
} from "./__chunks/GFROY577.js";
|
|
5
|
-
import {
|
|
6
|
-
Badge_default
|
|
7
|
-
} from "./__chunks/OYIKKE7V.js";
|
|
8
5
|
import {
|
|
9
6
|
AvatarGroup
|
|
10
7
|
} from "./__chunks/FPROMKT3.js";
|
|
8
|
+
import {
|
|
9
|
+
Card_default
|
|
10
|
+
} from "./__chunks/7ZD4OEVD.js";
|
|
11
|
+
import {
|
|
12
|
+
Badge_default
|
|
13
|
+
} from "./__chunks/OYIKKE7V.js";
|
|
11
14
|
import {
|
|
12
15
|
Icon_default
|
|
13
16
|
} from "./__chunks/WPQECZRJ.js";
|
|
14
17
|
import {
|
|
15
18
|
Checkbox_default
|
|
16
19
|
} from "./__chunks/YMIQ7WYX.js";
|
|
17
|
-
import {
|
|
18
|
-
Card_default
|
|
19
|
-
} from "./__chunks/7ZD4OEVD.js";
|
|
20
20
|
import {
|
|
21
21
|
Modal
|
|
22
22
|
} from "./__chunks/C2HJHJQW.js";
|
|
@@ -35,10 +35,11 @@ import {
|
|
|
35
35
|
import "./__chunks/YLWWTB4I.js";
|
|
36
36
|
import {
|
|
37
37
|
SelectList
|
|
38
|
-
} from "./__chunks/
|
|
38
|
+
} from "./__chunks/Q2PKWGLY.js";
|
|
39
|
+
import "./__chunks/SPQ7DQHG.js";
|
|
39
40
|
import {
|
|
40
41
|
RichSelectList_default
|
|
41
|
-
} from "./__chunks/
|
|
42
|
+
} from "./__chunks/725OOIL4.js";
|
|
42
43
|
import {
|
|
43
44
|
Popover_default
|
|
44
45
|
} from "./__chunks/TTCJEHHX.js";
|
|
@@ -48,14 +49,14 @@ import {
|
|
|
48
49
|
IconButton_default
|
|
49
50
|
} from "./__chunks/HVGNETJV.js";
|
|
50
51
|
import "./__chunks/4U4UW4AK.js";
|
|
51
|
-
import "./__chunks/
|
|
52
|
-
import "./__chunks/
|
|
52
|
+
import "./__chunks/XES27TWJ.js";
|
|
53
|
+
import "./__chunks/ZHU5A7BH.js";
|
|
53
54
|
import {
|
|
54
55
|
ButtonGroup_default
|
|
55
56
|
} from "./__chunks/36DG472B.js";
|
|
56
57
|
import {
|
|
57
58
|
Button_default
|
|
58
|
-
} from "./__chunks/
|
|
59
|
+
} from "./__chunks/KY2TFXG3.js";
|
|
59
60
|
import {
|
|
60
61
|
Divider
|
|
61
62
|
} from "./__chunks/M4W3IFMV.js";
|
|
@@ -64,16 +65,19 @@ import "./__chunks/QSC7CAQA.js";
|
|
|
64
65
|
import "./__chunks/64WM4STC.js";
|
|
65
66
|
import "./__chunks/AHICHJTL.js";
|
|
66
67
|
import "./__chunks/DDUJFFG7.js";
|
|
67
|
-
import "./__chunks/
|
|
68
|
+
import "./__chunks/DWVTJZC6.js";
|
|
69
|
+
import {
|
|
70
|
+
RadioButton_default
|
|
71
|
+
} from "./__chunks/4MHKTQMD.js";
|
|
72
|
+
import "./__chunks/KKADUD65.js";
|
|
68
73
|
import "./__chunks/56LMASNQ.js";
|
|
69
74
|
import {
|
|
70
75
|
Chip_default
|
|
71
76
|
} from "./__chunks/5S7HZU4Z.js";
|
|
72
77
|
import "./__chunks/ODMJANSX.js";
|
|
73
78
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./__chunks/
|
|
76
|
-
import "./__chunks/KKADUD65.js";
|
|
79
|
+
ThemeProvider
|
|
80
|
+
} from "./__chunks/KTX4P4Q2.js";
|
|
77
81
|
import {
|
|
78
82
|
TextField
|
|
79
83
|
} from "./__chunks/4EVPNC6V.js";
|
|
@@ -96,14 +100,16 @@ import {
|
|
|
96
100
|
import "./__chunks/VV2NJABK.js";
|
|
97
101
|
import "./__chunks/4U4UW4AK.js";
|
|
98
102
|
import "./__chunks/PBHAJ42K.js";
|
|
99
|
-
import {
|
|
100
|
-
Box_default
|
|
101
|
-
} from "./__chunks/IB6JZQF3.js";
|
|
102
|
-
import "./__chunks/SPQ7DQHG.js";
|
|
103
103
|
import "./__chunks/JCQUY624.js";
|
|
104
104
|
import "./__chunks/AXXUPHFX.js";
|
|
105
105
|
import "./__chunks/YGON3SJ5.js";
|
|
106
106
|
import "./__chunks/M4CFLT64.js";
|
|
107
|
+
import {
|
|
108
|
+
WordConfetti_default
|
|
109
|
+
} from "./__chunks/LBBAOI6G.js";
|
|
110
|
+
import {
|
|
111
|
+
Box_default
|
|
112
|
+
} from "./__chunks/IB6JZQF3.js";
|
|
107
113
|
import {
|
|
108
114
|
Tooltip_default
|
|
109
115
|
} from "./__chunks/ZYPHFC2R.js";
|
|
@@ -118,9 +124,6 @@ import {
|
|
|
118
124
|
import "./__chunks/VU4LGL2W.js";
|
|
119
125
|
import "./__chunks/XSYKMCV5.js";
|
|
120
126
|
import "./__chunks/4U4UW4AK.js";
|
|
121
|
-
import {
|
|
122
|
-
ThemeProvider
|
|
123
|
-
} from "./__chunks/KTX4P4Q2.js";
|
|
124
127
|
import "./__chunks/JB65NEXK.js";
|
|
125
128
|
import "./__chunks/BWPNF6RD.js";
|
|
126
129
|
import "./__chunks/SVZOETLJ.js";
|
|
@@ -157,6 +160,7 @@ export {
|
|
|
157
160
|
TextField,
|
|
158
161
|
ThemeProvider,
|
|
159
162
|
Tooltip_default as Tooltip,
|
|
160
|
-
Typography_default as Typography
|
|
163
|
+
Typography_default as Typography,
|
|
164
|
+
WordConfetti_default as WordConfetti
|
|
161
165
|
};
|
|
162
166
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|