@emulsify/core 1.1.2 → 1.2.1
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/.history/.husky/commit-msg_20240729171216 +4 -0
- package/.history/.husky/commit-msg_20240729172358 +2 -0
- package/.history/.husky/pre-commit_20240729171216 +4 -0
- package/.history/.husky/pre-commit_20240729172429 +2 -0
- package/.history/.storybook/main_20240722083211.js +153 -0
- package/.history/package-lock_20240722091648.json +34023 -0
- package/.history/package-lock_20240729171049.json +34023 -0
- package/.history/package-lock_20240729171107.json +34023 -0
- package/.history/package-lock_20240729171136.json +34023 -0
- package/.history/{package_20240607155640.json → package_20240722085509.json} +7 -8
- package/.history/package_20240722085523.json +135 -0
- package/.history/package_20240722085530.json +135 -0
- package/.history/package_20240722085550.json +135 -0
- package/.history/package_20240722085556.json +135 -0
- package/.history/package_20240722085606.json +135 -0
- package/.history/package_20240722091526.json +135 -0
- package/.history/{package_20240607163353.json → package_20240722091548.json} +5 -5
- package/.history/{package_20240607145546.json → package_20240729171200.json} +6 -6
- package/.history/{package_20240607135337.json → package_20240729171707.json} +15 -7
- package/.history/package_20240729171737.json +135 -0
- package/.history/package_20240729171750.json +135 -0
- package/.history/package_20240729171809.json +135 -0
- package/.history/package_20240729171834.json +135 -0
- package/.history/package_20240729171854.json +135 -0
- package/.history/package_20240729172054.json +135 -0
- package/.history/package_20240729172133.json +135 -0
- package/.history/package_20240729174630.json +135 -0
- package/.husky/commit-msg +0 -2
- package/.husky/pre-commit +0 -2
- package/.storybook/main.js +132 -1
- package/package.json +11 -11
- package/.history/.storybook/main_20240401184129.js +0 -22
- package/.history/.storybook/main_20240607162805.js +0 -22
- package/.history/.storybook/main_20240610082738.js +0 -22
- package/.history/package_20240607132936.json +0 -121
- package/.history/package_20240607135135.json +0 -121
- package/.history/package_20240607135150.json +0 -121
- package/.history/package_20240607135242.json +0 -124
- package/.history/package_20240607135251.json +0 -124
- package/.storybook/manager-head.html +0 -122
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
const { configOverrides } = require('../../../../config/emulsify-core/storybook/main');
|
|
2
|
+
|
|
3
|
+
const defaultConfig = {
|
|
4
|
+
stories: [
|
|
5
|
+
'../../../../components/**/*.stories.@(js|jsx|ts|tsx)',
|
|
6
|
+
],
|
|
7
|
+
addons: [
|
|
8
|
+
'../../../@storybook/addon-a11y',
|
|
9
|
+
'../../../@storybook/addon-links',
|
|
10
|
+
'../../../@storybook/addon-essentials',
|
|
11
|
+
'../../../@storybook/addon-themes',
|
|
12
|
+
'../../../@storybook/addon-styling-webpack'
|
|
13
|
+
],
|
|
14
|
+
core: {
|
|
15
|
+
builder: 'webpack5',
|
|
16
|
+
},
|
|
17
|
+
framework: {
|
|
18
|
+
name: '@storybook/html-webpack5',
|
|
19
|
+
options: {},
|
|
20
|
+
},
|
|
21
|
+
docs: {
|
|
22
|
+
autodocs: true,
|
|
23
|
+
},
|
|
24
|
+
managerHead: (head) => `
|
|
25
|
+
${head}
|
|
26
|
+
<style>
|
|
27
|
+
:root {
|
|
28
|
+
--colors-emulsify-blue-100: #e6f5fc;
|
|
29
|
+
--colors-emulsify-blue-200: #CCECFA;
|
|
30
|
+
--colors-emulsify-blue-300: #99D9F4;
|
|
31
|
+
--colors-emulsify-blue-400: #66c5ef;
|
|
32
|
+
--colors-emulsify-blue-500: #33b2e9;
|
|
33
|
+
--colors-emulsify-blue-600: #009fe4;
|
|
34
|
+
--colors-emulsify-blue-700: #007FB6;
|
|
35
|
+
--colors-emulsify-blue-800: #005f89;
|
|
36
|
+
--colors-emulsify-blue-900: #00405b;
|
|
37
|
+
--colors-emulsify-blue-1000: #00202e;
|
|
38
|
+
--colors-purple: #8B1E7E;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.sidebar-container {
|
|
42
|
+
background: url('https://raw.githubusercontent.com/fourkitchens/emulsify-core/main/assets/images/corner-bkg.png?token=GHSAT0AAAAAACIEXLVDMX56QK3ZIZWHWHTEZNYFYIA') no-repeat top left;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.sidebar-container .sidebar-subheading {
|
|
46
|
+
color: var(--colors-emulsify-blue-200);
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
letter-spacing: 0.15em;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.sidebar-container .sidebar-subheading button:focus {
|
|
52
|
+
color: var(--colors-emulsify-blue-300);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** Triangle icon **/
|
|
56
|
+
.sidebar-container .sidebar-subheading button span {
|
|
57
|
+
color: var(--colors-emulsify-blue-300);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.sidebar-container .search-field input {
|
|
61
|
+
border-color: var(--colors-emulsify-blue-700);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.sidebar-container .search-field input:active {
|
|
65
|
+
border-color: var(--colors-emulsify-blue-700);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.sidebar-container .search-result-recentlyOpened,
|
|
69
|
+
.sidebar-container .search-result-back,
|
|
70
|
+
.sidebar-container .search-result-clearHistory {
|
|
71
|
+
color: var(--colors-emulsify-blue-300) !important;
|
|
72
|
+
letter-spacing: 0.15em;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.sidebar-container .search-result-back span,
|
|
76
|
+
.sidebar-container .search-result-back svg,
|
|
77
|
+
.sidebar-container .search-result-clearHistory span,
|
|
78
|
+
.sidebar-container .search-result-clearHistory svg {
|
|
79
|
+
letter-spacing: normal;
|
|
80
|
+
color: white;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.sidebar-container .sidebar-item svg {
|
|
84
|
+
margin-top: 1px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.sidebar-container .sidebar-item span {
|
|
88
|
+
margin-top: 4px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.sidebar-container .sidebar-subheading-action svg {
|
|
92
|
+
color: var(--colors-emulsify-blue-400);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.sidebar-container .sidebar-subheading-action:hover svg {
|
|
96
|
+
color: var(--colors-emulsify-blue-300);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.sidebar-header button[title="Shortcuts"] {
|
|
100
|
+
box-shadow: none;
|
|
101
|
+
border: 1px solid var(--colors-emulsify-blue-700);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sidebar-header button[title="Shortcuts"]:active {
|
|
105
|
+
border: 1px solid var(--colors-emulsify-blue-500);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.sidebar-header button[title="Shortcuts"]:focus {
|
|
109
|
+
background: transparent;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
#shortcuts {
|
|
113
|
+
border-bottom-color: var(--colors-emulsify-blue-900) !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[role="main"]:not(:nth-child(3)) {
|
|
117
|
+
top: 1rem !important;
|
|
118
|
+
height: calc(100vh - 2rem) !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
[role="main"] .os-host .os-content button:hover {
|
|
122
|
+
background: var(--colors-emulsify-blue-100);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
[role="main"] .os-host .os-content button:hover svg {
|
|
126
|
+
color: var(--colors-emulsify-blue-900);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
#panel-tab-content,
|
|
130
|
+
#panel-tab-content>* {
|
|
131
|
+
color: var(--colors-emulsify-blue-1000) !important;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
#panel-tab-content a,
|
|
135
|
+
#panel-tab-content a span,
|
|
136
|
+
#panel-tab-content a span svg {
|
|
137
|
+
color: var(--colors-emulsify-blue-800);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
#panel-tab-content>div>div>div>div>div>div {
|
|
141
|
+
background: transparent;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
#panel-tab-content>div>div>div>div>div>div>div {
|
|
145
|
+
color: var(--colors-emulsify-blue-1000) !important;
|
|
146
|
+
}
|
|
147
|
+
</style>
|
|
148
|
+
`,
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
const config = Object.keys(configOverrides).length ? configOverrides : defaultConfig;
|
|
152
|
+
|
|
153
|
+
module.exports = config;
|