@atom-learning/components 2.66.1 → 2.66.2
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/CHANGELOG.md +2 -3
- package/dist/components/badge/stitches.badge.colorscheme.config.d.ts +68 -1
- package/dist/components/badge/stitches.badge.colorscheme.config.js +1 -1
- package/dist/components/badge/stitches.badge.colorscheme.config.js.map +1 -1
- package/dist/docgen.json +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
## [2.66.
|
|
1
|
+
## [2.66.2](https://github.com/Atom-Learning/components/compare/v2.66.1...v2.66.2) (2023-08-23)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
* snapshots, include uri util ([cb96294](https://github.com/Atom-Learning/components/commit/cb9629462c5b30c29e6448919bee305dd9c07cf6))
|
|
6
|
+
* theme type of Badge not correct ([83911d7](https://github.com/Atom-Learning/components/commit/83911d72e45950607317dfe565cf36e370d2e1b5))
|
|
8
7
|
|
|
9
8
|
# [1.4.0](https://github.com/Atom-Learning/components/compare/v1.3.0...v1.4.0) (2022-04-11)
|
|
10
9
|
|
|
@@ -1 +1,68 @@
|
|
|
1
|
-
export declare const colorSchemes: {
|
|
1
|
+
export declare const colorSchemes: {
|
|
2
|
+
'non-semantic': string & {
|
|
3
|
+
className: string;
|
|
4
|
+
selector: string;
|
|
5
|
+
} & import("@stitches/react/types/stitches").ThemeTokens<{
|
|
6
|
+
colors: {
|
|
7
|
+
textSubtle: string;
|
|
8
|
+
backgroundSubtle: string;
|
|
9
|
+
textBold: string;
|
|
10
|
+
backgroundBold: string;
|
|
11
|
+
};
|
|
12
|
+
}, "">;
|
|
13
|
+
info: string & {
|
|
14
|
+
className: string;
|
|
15
|
+
selector: string;
|
|
16
|
+
} & import("@stitches/react/types/stitches").ThemeTokens<{
|
|
17
|
+
colors: {
|
|
18
|
+
textSubtle: string;
|
|
19
|
+
backgroundSubtle: string;
|
|
20
|
+
textBold: string;
|
|
21
|
+
backgroundBold: string;
|
|
22
|
+
};
|
|
23
|
+
}, "">;
|
|
24
|
+
neutral: string & {
|
|
25
|
+
className: string;
|
|
26
|
+
selector: string;
|
|
27
|
+
} & import("@stitches/react/types/stitches").ThemeTokens<{
|
|
28
|
+
colors: {
|
|
29
|
+
textSubtle: string;
|
|
30
|
+
backgroundSubtle: string;
|
|
31
|
+
textBold: string;
|
|
32
|
+
backgroundBold: string;
|
|
33
|
+
};
|
|
34
|
+
}, "">;
|
|
35
|
+
success: string & {
|
|
36
|
+
className: string;
|
|
37
|
+
selector: string;
|
|
38
|
+
} & import("@stitches/react/types/stitches").ThemeTokens<{
|
|
39
|
+
colors: {
|
|
40
|
+
textSubtle: string;
|
|
41
|
+
backgroundSubtle: string;
|
|
42
|
+
textBold: string;
|
|
43
|
+
backgroundBold: string;
|
|
44
|
+
};
|
|
45
|
+
}, "">;
|
|
46
|
+
danger: string & {
|
|
47
|
+
className: string;
|
|
48
|
+
selector: string;
|
|
49
|
+
} & import("@stitches/react/types/stitches").ThemeTokens<{
|
|
50
|
+
colors: {
|
|
51
|
+
textSubtle: string;
|
|
52
|
+
backgroundSubtle: string;
|
|
53
|
+
textBold: string;
|
|
54
|
+
backgroundBold: string;
|
|
55
|
+
};
|
|
56
|
+
}, "">;
|
|
57
|
+
warning: string & {
|
|
58
|
+
className: string;
|
|
59
|
+
selector: string;
|
|
60
|
+
} & import("@stitches/react/types/stitches").ThemeTokens<{
|
|
61
|
+
colors: {
|
|
62
|
+
textSubtle: string;
|
|
63
|
+
backgroundSubtle: string;
|
|
64
|
+
textBold: string;
|
|
65
|
+
backgroundBold: string;
|
|
66
|
+
};
|
|
67
|
+
}, "">;
|
|
68
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createTheme as
|
|
1
|
+
import{createTheme as e}from"../../stitches.js";const t=e("non-semantic",{colors:{textSubtle:"$accent10",backgroundSubtle:"$accent2",textBold:"$foreground7plus",backgroundBold:"$accent9"}}),o=e("info",{colors:{textSubtle:"$blue900",backgroundSubtle:"$blue100",textBold:"#FFF",backgroundBold:"$blue800"}}),n=e("neutral",{colors:{textSubtle:"$grey900",backgroundSubtle:"$grey100",textBold:"#FFF",backgroundBold:"$grey800"}}),c=e("success",{colors:{textSubtle:"$successMid",backgroundSubtle:"$successLight",textBold:"#FFF",backgroundBold:"$success"}}),r=e("danger",{colors:{textSubtle:"$dangerMid",backgroundSubtle:"$dangerLight",textBold:"#FFF",backgroundBold:"$danger"}}),l=e("warning",{colors:{textSubtle:"$warningText",backgroundSubtle:"$warningLight",textBold:"$grey1000",backgroundBold:"$warning"}}),u={"non-semantic":t,info:o,neutral:n,success:c,danger:r,warning:l};export{u as colorSchemes};
|
|
2
2
|
//# sourceMappingURL=stitches.badge.colorscheme.config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stitches.badge.colorscheme.config.js","sources":["../../../src/components/badge/stitches.badge.colorscheme.config.ts"],"sourcesContent":["import { createTheme } from '~/stitches'\n\
|
|
1
|
+
{"version":3,"file":"stitches.badge.colorscheme.config.js","sources":["../../../src/components/badge/stitches.badge.colorscheme.config.ts"],"sourcesContent":["import { createTheme } from '~/stitches'\n\nconst nonSemantic = createTheme('non-semantic', {\n colors: {\n textSubtle: '$accent10',\n backgroundSubtle: '$accent2',\n textBold: '$foreground7plus',\n backgroundBold: '$accent9'\n }\n})\n\nconst info = createTheme('info', {\n colors: {\n textSubtle: '$blue900',\n backgroundSubtle: '$blue100',\n textBold: '#FFF',\n backgroundBold: '$blue800'\n }\n})\n\nconst neutral = createTheme('neutral', {\n colors: {\n textSubtle: '$grey900',\n backgroundSubtle: '$grey100',\n textBold: '#FFF',\n backgroundBold: '$grey800'\n }\n})\n\nconst success = createTheme('success', {\n colors: {\n textSubtle: '$successMid',\n backgroundSubtle: '$successLight',\n textBold: '#FFF',\n backgroundBold: '$success'\n }\n})\n\nconst danger = createTheme('danger', {\n colors: {\n textSubtle: '$dangerMid',\n backgroundSubtle: '$dangerLight',\n textBold: '#FFF',\n backgroundBold: '$danger'\n }\n})\n\nconst warning = createTheme('warning', {\n colors: {\n textSubtle: '$warningText',\n backgroundSubtle: '$warningLight',\n textBold: '$grey1000',\n backgroundBold: '$warning'\n }\n})\n\nexport const colorSchemes = {\n 'non-semantic': nonSemantic,\n info,\n neutral,\n success,\n danger,\n warning\n}\n"],"names":["nonSemantic","createTheme","info","neutral","success","danger","warning","colorSchemes"],"mappings":"gDAEA,MAAMA,EAAcC,EAAY,eAAgB,CAC9C,OAAQ,CACN,WAAY,YACZ,iBAAkB,WAClB,SAAU,mBACV,eAAgB,UAClB,CACF,CAAC,EAEKC,EAAOD,EAAY,OAAQ,CAC/B,OAAQ,CACN,WAAY,WACZ,iBAAkB,WAClB,SAAU,OACV,eAAgB,UAClB,CACF,CAAC,EAEKE,EAAUF,EAAY,UAAW,CACrC,OAAQ,CACN,WAAY,WACZ,iBAAkB,WAClB,SAAU,OACV,eAAgB,UAClB,CACF,CAAC,EAEKG,EAAUH,EAAY,UAAW,CACrC,OAAQ,CACN,WAAY,cACZ,iBAAkB,gBAClB,SAAU,OACV,eAAgB,UAClB,CACF,CAAC,EAEKI,EAASJ,EAAY,SAAU,CACnC,OAAQ,CACN,WAAY,aACZ,iBAAkB,eAClB,SAAU,OACV,eAAgB,SAClB,CACF,CAAC,EAEKK,EAAUL,EAAY,UAAW,CACrC,OAAQ,CACN,WAAY,eACZ,iBAAkB,gBAClB,SAAU,YACV,eAAgB,UAClB,CACF,CAAC,EAEYM,EAAe,CAC1B,eAAgBP,EAChB,KAAAE,EACA,QAAAC,EACA,QAAAC,EACA,OAAAC,EACA,QAAAC,CACF"}
|