react-miui 0.23.6 → 0.23.7-beta.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/.storybook/preview.tsx +1 -0
- package/CHANGELOG.md +8 -0
- package/dist/components/icons/Icon.d.ts +1 -0
- package/dist/components/icons/Icon.d.ts.map +1 -1
- package/dist/components/layout/header/Header.d.ts +1 -1
- package/dist/components/layout/header/Header.d.ts.map +1 -1
- package/dist/components/layout/header/Header.js +7 -14
- package/dist/components/layout/header/Header.js.map +1 -1
- package/dist/components/layout/header/Header.stories.d.ts +11 -0
- package/dist/components/layout/header/Header.stories.d.ts.map +1 -0
- package/dist/components/layout/header/Header.stories.js +65 -0
- package/dist/components/layout/header/Header.stories.js.map +1 -0
- package/dist/components/layout/header/Header.styled.d.ts +326 -0
- package/dist/components/layout/header/Header.styled.d.ts.map +1 -0
- package/dist/components/layout/header/Header.styled.js +98 -0
- package/dist/components/layout/header/Header.styled.js.map +1 -0
- package/dist/components/layout/header/HeaderIconAction.d.ts +1 -2
- package/dist/components/layout/header/HeaderIconAction.d.ts.map +1 -1
- package/dist/components/layout/header/HeaderIconAction.js +6 -11
- package/dist/components/layout/header/HeaderIconAction.js.map +1 -1
- package/dist/components/layout/header/HeaderIconAction.stories.d.ts +9 -0
- package/dist/components/layout/header/HeaderIconAction.stories.d.ts.map +1 -0
- package/dist/components/layout/header/HeaderIconAction.stories.js +43 -0
- package/dist/components/layout/header/HeaderIconAction.stories.js.map +1 -0
- package/dist/components/layout/header/HeaderIconAction.styled.d.ts +243 -0
- package/dist/components/layout/header/HeaderIconAction.styled.d.ts.map +1 -0
- package/dist/components/layout/header/HeaderIconAction.styled.js +35 -0
- package/dist/components/layout/header/HeaderIconAction.styled.js.map +1 -0
- package/dist/components/layout/header/StickyHeader.d.ts +2 -2
- package/dist/components/layout/header/StickyHeader.d.ts.map +1 -1
- package/dist/components/layout/header/StickyHeader.js +17 -8
- package/dist/components/layout/header/StickyHeader.js.map +1 -1
- package/dist/components/layout/header/StickyHeader.stories.d.ts +8 -0
- package/dist/components/layout/header/StickyHeader.stories.d.ts.map +1 -0
- package/dist/components/layout/header/StickyHeader.stories.js +30 -0
- package/dist/components/layout/header/StickyHeader.stories.js.map +1 -0
- package/dist/components/layout/header/StickyHeader.styled.d.ts +166 -0
- package/dist/components/layout/header/StickyHeader.styled.d.ts.map +1 -0
- package/dist/components/layout/header/StickyHeader.styled.js +40 -0
- package/dist/components/layout/header/StickyHeader.styled.js.map +1 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/Drawer.html +14 -14
- package/docs/classes/Pop.html +14 -14
- package/docs/classes/ToasterProvider.html +10 -10
- package/docs/enums/ICON.html +14 -14
- package/docs/functions/Action.html +5 -4
- package/docs/functions/Button.html +5 -4
- package/docs/functions/Card.html +5 -4
- package/docs/functions/Checkbox.html +5 -4
- package/docs/functions/Choice.html +6 -5
- package/docs/functions/CoveringLoader.html +5 -4
- package/docs/functions/DirectionPad.html +5 -4
- package/docs/functions/EqualActions.html +5 -4
- package/docs/functions/FullLoader.html +5 -4
- package/docs/functions/HandleEsc.html +5 -4
- package/docs/functions/Header.html +5 -4
- package/docs/functions/HeaderIconAction.html +8 -4
- package/docs/functions/Icon-1.html +7 -6
- package/docs/functions/If.html +5 -4
- package/docs/functions/Input.html +6 -5
- package/docs/functions/KeyValue.html +5 -4
- package/docs/functions/Label.html +5 -4
- package/docs/functions/List-1.html +5 -4
- package/docs/functions/Loader.html +5 -4
- package/docs/functions/Loading.html +5 -4
- package/docs/functions/Message.html +5 -4
- package/docs/functions/Modal-1.html +5 -4
- package/docs/functions/ModalButtons.html +5 -4
- package/docs/functions/PopLoader.html +5 -4
- package/docs/functions/PopOption.html +5 -4
- package/docs/functions/SearchContainer.html +5 -4
- package/docs/functions/Section.html +5 -4
- package/docs/functions/Select.html +5 -4
- package/docs/functions/Selector.html +6 -5
- package/docs/functions/Spacer.html +5 -4
- package/docs/functions/Stats.html +5 -4
- package/docs/functions/StickyHeader-1.html +5 -4
- package/docs/functions/StickyHeader.Content.html +5 -5
- package/docs/functions/Table.html +5 -4
- package/docs/functions/TextArea.html +5 -4
- package/docs/functions/Toggle.html +5 -4
- package/docs/functions/getCssText.html +5 -4
- package/docs/functions/styled.html +5 -4
- package/docs/functions/useToaster.html +6 -5
- package/docs/index.html +5 -4
- package/docs/interfaces/ActionProps.html +13 -13
- package/docs/interfaces/ChoiceProps.html +11 -11
- package/docs/interfaces/IconProps.html +79 -0
- package/docs/interfaces/InputCustomProps.html +10 -10
- package/docs/modules/List.html +7 -7
- package/docs/modules/Modal.html +6 -6
- package/docs/modules/StickyHeader.html +6 -6
- package/docs/modules.html +6 -4
- package/docs/pages/tutorials/Test.html +5 -4
- package/docs/types/InputProps.html +6 -5
- package/docs/types/ThemeCSS.html +6 -5
- package/docs/variables/List.Header.html +5 -5
- package/docs/variables/List.Item.html +5 -5
- package/docs/variables/Modal.RemovePadding.html +5 -5
- package/docs/variables/cssReset.html +6 -5
- package/docs/variables/miuiScrollbars.html +6 -5
- package/esm/components/icons/Icon.d.ts +1 -0
- package/esm/components/icons/Icon.d.ts.map +1 -1
- package/esm/components/layout/header/Header.d.ts +1 -1
- package/esm/components/layout/header/Header.d.ts.map +1 -1
- package/esm/components/layout/header/Header.js +7 -14
- package/esm/components/layout/header/Header.js.map +1 -1
- package/esm/components/layout/header/Header.stories.d.ts +11 -0
- package/esm/components/layout/header/Header.stories.d.ts.map +1 -0
- package/esm/components/layout/header/Header.stories.js +56 -0
- package/esm/components/layout/header/Header.stories.js.map +1 -0
- package/esm/components/layout/header/Header.styled.d.ts +326 -0
- package/esm/components/layout/header/Header.styled.d.ts.map +1 -0
- package/esm/components/layout/header/Header.styled.js +112 -0
- package/esm/components/layout/header/Header.styled.js.map +1 -0
- package/esm/components/layout/header/HeaderIconAction.d.ts +1 -2
- package/esm/components/layout/header/HeaderIconAction.d.ts.map +1 -1
- package/esm/components/layout/header/HeaderIconAction.js +6 -11
- package/esm/components/layout/header/HeaderIconAction.js.map +1 -1
- package/esm/components/layout/header/HeaderIconAction.stories.d.ts +9 -0
- package/esm/components/layout/header/HeaderIconAction.stories.d.ts.map +1 -0
- package/esm/components/layout/header/HeaderIconAction.stories.js +24 -0
- package/esm/components/layout/header/HeaderIconAction.stories.js.map +1 -0
- package/esm/components/layout/header/HeaderIconAction.styled.d.ts +243 -0
- package/esm/components/layout/header/HeaderIconAction.styled.d.ts.map +1 -0
- package/esm/components/layout/header/HeaderIconAction.styled.js +30 -0
- package/esm/components/layout/header/HeaderIconAction.styled.js.map +1 -0
- package/esm/components/layout/header/StickyHeader.d.ts +2 -2
- package/esm/components/layout/header/StickyHeader.d.ts.map +1 -1
- package/esm/components/layout/header/StickyHeader.js +6 -8
- package/esm/components/layout/header/StickyHeader.js.map +1 -1
- package/esm/components/layout/header/StickyHeader.stories.d.ts +8 -0
- package/esm/components/layout/header/StickyHeader.stories.d.ts.map +1 -0
- package/esm/components/layout/header/StickyHeader.stories.js +24 -0
- package/esm/components/layout/header/StickyHeader.stories.js.map +1 -0
- package/esm/components/layout/header/StickyHeader.styled.d.ts +166 -0
- package/esm/components/layout/header/StickyHeader.styled.d.ts.map +1 -0
- package/esm/components/layout/header/StickyHeader.styled.js +36 -0
- package/esm/components/layout/header/StickyHeader.styled.js.map +1 -0
- package/package.json +3 -3
- package/src/components/icons/Icon.tsx +4 -0
- package/src/components/layout/header/Header.stories.tsx +86 -0
- package/src/components/layout/header/Header.styled.ts +134 -0
- package/src/components/layout/header/Header.tsx +22 -19
- package/src/components/layout/header/HeaderIconAction.stories.tsx +47 -0
- package/src/components/layout/header/HeaderIconAction.styled.ts +40 -0
- package/src/components/layout/header/HeaderIconAction.tsx +30 -16
- package/src/components/layout/header/StickyHeader.stories.tsx +34 -0
- package/src/components/layout/header/StickyHeader.styled.ts +43 -0
- package/src/components/layout/header/StickyHeader.tsx +10 -19
- package/src/demo/componentsMap.ts +1 -67
- package/dist/components/layout/header/Header.module.scss +0 -108
- package/dist/components/layout/header/HeaderIconAction.module.scss +0 -26
- package/dist/components/layout/header/StickyHeader.module.scss +0 -18
- package/esm/components/layout/header/Header.module.scss +0 -108
- package/esm/components/layout/header/HeaderIconAction.module.scss +0 -26
- package/esm/components/layout/header/StickyHeader.module.scss +0 -18
- package/src/components/layout/header/Header.module.scss +0 -108
- package/src/components/layout/header/HeaderIconAction.module.scss +0 -26
- package/src/components/layout/header/StickyHeader.module.scss +0 -18
- package/src/demo/components/layout/header/Header.tsx +0 -118
- package/src/demo/components/layout/header/StickyHeader.module.scss +0 -14
- package/src/demo/components/layout/header/StickyHeader.tsx +0 -112
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Btn: import("@stitches/react/types/styled-component").StyledComponent<"button", {}, {}, import("@stitches/react/types/css-util").CSS<{}, {
|
|
3
|
+
colors: {
|
|
4
|
+
background: string;
|
|
5
|
+
mainColor: string;
|
|
6
|
+
mainColorAlt: string;
|
|
7
|
+
activeBg: string;
|
|
8
|
+
inactiveBg: string;
|
|
9
|
+
inactiveDarkBg: string;
|
|
10
|
+
toggleHandleBg: string;
|
|
11
|
+
toggleHandleBorder: string;
|
|
12
|
+
toggleBgDisabled: string;
|
|
13
|
+
toggleHandleBorderDisabled: string;
|
|
14
|
+
toggleHandleBgDisabled: string;
|
|
15
|
+
icon: string;
|
|
16
|
+
border: string;
|
|
17
|
+
buttonBorder: string;
|
|
18
|
+
headerBorder: string;
|
|
19
|
+
headerBg: string;
|
|
20
|
+
headerText: string;
|
|
21
|
+
text: string;
|
|
22
|
+
sub: string;
|
|
23
|
+
popText: string;
|
|
24
|
+
toolbarBorder: string;
|
|
25
|
+
toolbarBg: string;
|
|
26
|
+
modalBg: string;
|
|
27
|
+
modalButtonBg: string;
|
|
28
|
+
modalButtonBorder: string;
|
|
29
|
+
inputDisabledBg: string;
|
|
30
|
+
inputDisabledText: string;
|
|
31
|
+
choiceBg: string;
|
|
32
|
+
choiceText: string;
|
|
33
|
+
choiceActiveBg: string;
|
|
34
|
+
choiceActiveText: string;
|
|
35
|
+
choiceBorder: string;
|
|
36
|
+
selectorText: string;
|
|
37
|
+
selectorActive: string;
|
|
38
|
+
blue1: string;
|
|
39
|
+
blue2: string;
|
|
40
|
+
blue3: string;
|
|
41
|
+
orange1: string;
|
|
42
|
+
orange1Darker: string;
|
|
43
|
+
purple1: string;
|
|
44
|
+
green1: string;
|
|
45
|
+
green1Darker: string;
|
|
46
|
+
pink1: string;
|
|
47
|
+
red1: string;
|
|
48
|
+
yellow1: string;
|
|
49
|
+
yellow2: string;
|
|
50
|
+
yellow3: string;
|
|
51
|
+
pinky1: string;
|
|
52
|
+
pinky2: string;
|
|
53
|
+
pinky3: string;
|
|
54
|
+
grey1: string;
|
|
55
|
+
focusColor: string;
|
|
56
|
+
scrollbarsThumb: string;
|
|
57
|
+
scrollbarsBg: string;
|
|
58
|
+
tableStripedBg: string;
|
|
59
|
+
};
|
|
60
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
61
|
+
mx: (value: string | number) => {
|
|
62
|
+
marginLeft: string | number;
|
|
63
|
+
marginRight: string | number;
|
|
64
|
+
};
|
|
65
|
+
my: (value: string | number) => {
|
|
66
|
+
marginTop: string | number;
|
|
67
|
+
marginBottom: string | number;
|
|
68
|
+
};
|
|
69
|
+
px: (value: string | number) => {
|
|
70
|
+
paddingLeft: string | number;
|
|
71
|
+
paddingRight: string | number;
|
|
72
|
+
};
|
|
73
|
+
py: (value: string | number) => {
|
|
74
|
+
paddingTop: string | number;
|
|
75
|
+
paddingBottom: string | number;
|
|
76
|
+
};
|
|
77
|
+
size: (value: string | number) => {
|
|
78
|
+
width: string | number;
|
|
79
|
+
height: string | number;
|
|
80
|
+
};
|
|
81
|
+
}>>;
|
|
82
|
+
declare const A: import("@stitches/react/types/styled-component").StyledComponent<"a", {}, {}, import("@stitches/react/types/css-util").CSS<{}, {
|
|
83
|
+
colors: {
|
|
84
|
+
background: string;
|
|
85
|
+
mainColor: string;
|
|
86
|
+
mainColorAlt: string;
|
|
87
|
+
activeBg: string;
|
|
88
|
+
inactiveBg: string;
|
|
89
|
+
inactiveDarkBg: string;
|
|
90
|
+
toggleHandleBg: string;
|
|
91
|
+
toggleHandleBorder: string;
|
|
92
|
+
toggleBgDisabled: string;
|
|
93
|
+
toggleHandleBorderDisabled: string;
|
|
94
|
+
toggleHandleBgDisabled: string;
|
|
95
|
+
icon: string;
|
|
96
|
+
border: string;
|
|
97
|
+
buttonBorder: string;
|
|
98
|
+
headerBorder: string;
|
|
99
|
+
headerBg: string;
|
|
100
|
+
headerText: string;
|
|
101
|
+
text: string;
|
|
102
|
+
sub: string;
|
|
103
|
+
popText: string;
|
|
104
|
+
toolbarBorder: string;
|
|
105
|
+
toolbarBg: string;
|
|
106
|
+
modalBg: string;
|
|
107
|
+
modalButtonBg: string;
|
|
108
|
+
modalButtonBorder: string;
|
|
109
|
+
inputDisabledBg: string;
|
|
110
|
+
inputDisabledText: string;
|
|
111
|
+
choiceBg: string;
|
|
112
|
+
choiceText: string;
|
|
113
|
+
choiceActiveBg: string;
|
|
114
|
+
choiceActiveText: string;
|
|
115
|
+
choiceBorder: string;
|
|
116
|
+
selectorText: string;
|
|
117
|
+
selectorActive: string;
|
|
118
|
+
blue1: string;
|
|
119
|
+
blue2: string;
|
|
120
|
+
blue3: string;
|
|
121
|
+
orange1: string;
|
|
122
|
+
orange1Darker: string;
|
|
123
|
+
purple1: string;
|
|
124
|
+
green1: string;
|
|
125
|
+
green1Darker: string;
|
|
126
|
+
pink1: string;
|
|
127
|
+
red1: string;
|
|
128
|
+
yellow1: string;
|
|
129
|
+
yellow2: string;
|
|
130
|
+
yellow3: string;
|
|
131
|
+
pinky1: string;
|
|
132
|
+
pinky2: string;
|
|
133
|
+
pinky3: string;
|
|
134
|
+
grey1: string;
|
|
135
|
+
focusColor: string;
|
|
136
|
+
scrollbarsThumb: string;
|
|
137
|
+
scrollbarsBg: string;
|
|
138
|
+
tableStripedBg: string;
|
|
139
|
+
};
|
|
140
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
141
|
+
mx: (value: string | number) => {
|
|
142
|
+
marginLeft: string | number;
|
|
143
|
+
marginRight: string | number;
|
|
144
|
+
};
|
|
145
|
+
my: (value: string | number) => {
|
|
146
|
+
marginTop: string | number;
|
|
147
|
+
marginBottom: string | number;
|
|
148
|
+
};
|
|
149
|
+
px: (value: string | number) => {
|
|
150
|
+
paddingLeft: string | number;
|
|
151
|
+
paddingRight: string | number;
|
|
152
|
+
};
|
|
153
|
+
py: (value: string | number) => {
|
|
154
|
+
paddingTop: string | number;
|
|
155
|
+
paddingBottom: string | number;
|
|
156
|
+
};
|
|
157
|
+
size: (value: string | number) => {
|
|
158
|
+
width: string | number;
|
|
159
|
+
height: string | number;
|
|
160
|
+
};
|
|
161
|
+
}>>;
|
|
162
|
+
declare const StyledIcon: import("@stitches/react/types/styled-component").StyledComponent<import("react").FC<import("../../icons/Icon").IconProps>, {}, {}, import("@stitches/react/types/css-util").CSS<{}, {
|
|
163
|
+
colors: {
|
|
164
|
+
background: string;
|
|
165
|
+
mainColor: string;
|
|
166
|
+
mainColorAlt: string;
|
|
167
|
+
activeBg: string;
|
|
168
|
+
inactiveBg: string;
|
|
169
|
+
inactiveDarkBg: string;
|
|
170
|
+
toggleHandleBg: string;
|
|
171
|
+
toggleHandleBorder: string;
|
|
172
|
+
toggleBgDisabled: string;
|
|
173
|
+
toggleHandleBorderDisabled: string;
|
|
174
|
+
toggleHandleBgDisabled: string;
|
|
175
|
+
icon: string;
|
|
176
|
+
border: string;
|
|
177
|
+
buttonBorder: string;
|
|
178
|
+
headerBorder: string;
|
|
179
|
+
headerBg: string;
|
|
180
|
+
headerText: string;
|
|
181
|
+
text: string;
|
|
182
|
+
sub: string;
|
|
183
|
+
popText: string;
|
|
184
|
+
toolbarBorder: string;
|
|
185
|
+
toolbarBg: string;
|
|
186
|
+
modalBg: string;
|
|
187
|
+
modalButtonBg: string;
|
|
188
|
+
modalButtonBorder: string;
|
|
189
|
+
inputDisabledBg: string;
|
|
190
|
+
inputDisabledText: string;
|
|
191
|
+
choiceBg: string;
|
|
192
|
+
choiceText: string;
|
|
193
|
+
choiceActiveBg: string;
|
|
194
|
+
choiceActiveText: string;
|
|
195
|
+
choiceBorder: string;
|
|
196
|
+
selectorText: string;
|
|
197
|
+
selectorActive: string;
|
|
198
|
+
blue1: string;
|
|
199
|
+
blue2: string;
|
|
200
|
+
blue3: string;
|
|
201
|
+
orange1: string;
|
|
202
|
+
orange1Darker: string;
|
|
203
|
+
purple1: string;
|
|
204
|
+
green1: string;
|
|
205
|
+
green1Darker: string;
|
|
206
|
+
pink1: string;
|
|
207
|
+
red1: string;
|
|
208
|
+
yellow1: string;
|
|
209
|
+
yellow2: string;
|
|
210
|
+
yellow3: string;
|
|
211
|
+
pinky1: string;
|
|
212
|
+
pinky2: string;
|
|
213
|
+
pinky3: string;
|
|
214
|
+
grey1: string;
|
|
215
|
+
focusColor: string;
|
|
216
|
+
scrollbarsThumb: string;
|
|
217
|
+
scrollbarsBg: string;
|
|
218
|
+
tableStripedBg: string;
|
|
219
|
+
};
|
|
220
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
221
|
+
mx: (value: string | number) => {
|
|
222
|
+
marginLeft: string | number;
|
|
223
|
+
marginRight: string | number;
|
|
224
|
+
};
|
|
225
|
+
my: (value: string | number) => {
|
|
226
|
+
marginTop: string | number;
|
|
227
|
+
marginBottom: string | number;
|
|
228
|
+
};
|
|
229
|
+
px: (value: string | number) => {
|
|
230
|
+
paddingLeft: string | number;
|
|
231
|
+
paddingRight: string | number;
|
|
232
|
+
};
|
|
233
|
+
py: (value: string | number) => {
|
|
234
|
+
paddingTop: string | number;
|
|
235
|
+
paddingBottom: string | number;
|
|
236
|
+
};
|
|
237
|
+
size: (value: string | number) => {
|
|
238
|
+
width: string | number;
|
|
239
|
+
height: string | number;
|
|
240
|
+
};
|
|
241
|
+
}>>;
|
|
242
|
+
export { Btn, A, StyledIcon, };
|
|
243
|
+
//# sourceMappingURL=HeaderIconAction.styled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderIconAction.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/HeaderIconAction.styled.ts"],"names":[],"mappings":";AAyBA,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC;AAC3C,QAAA,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA4B,CAAC;AAEpC,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKd,CAAC;AAEH,OAAO,EACH,GAAG,EACH,CAAC,EACD,UAAU,GACb,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { styled } from "../../../theme.js";
|
|
2
|
+
import { Icon } from "../../icons/Icon.js";
|
|
3
|
+
const sharedStyles = {
|
|
4
|
+
"blockSize": "100%",
|
|
5
|
+
"aspectRatio": "1",
|
|
6
|
+
"background": "none",
|
|
7
|
+
"borderRadius": "666px",
|
|
8
|
+
"display": "inline-flex",
|
|
9
|
+
"alignItems": "center",
|
|
10
|
+
"justifyContent": "center",
|
|
11
|
+
"border": "calc(2px / var(--ratio-border)) solid transparent",
|
|
12
|
+
"color": "currentColor",
|
|
13
|
+
"&:hover": {
|
|
14
|
+
background: "#00000022",
|
|
15
|
+
},
|
|
16
|
+
"&:active": {
|
|
17
|
+
background: "#00000011",
|
|
18
|
+
color: "currentColor",
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
const Btn = styled("button", sharedStyles);
|
|
22
|
+
const A = styled("a", sharedStyles);
|
|
23
|
+
const StyledIcon = styled(Icon, {
|
|
24
|
+
width: "16px",
|
|
25
|
+
height: "16px",
|
|
26
|
+
display: "block",
|
|
27
|
+
fill: "currentColor",
|
|
28
|
+
});
|
|
29
|
+
export { Btn, A, StyledIcon, };
|
|
30
|
+
//# sourceMappingURL=HeaderIconAction.styled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderIconAction.styled.js","sourceRoot":"","sources":["../../../../src/components/layout/header/HeaderIconAction.styled.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,MAAM,YAAY,GAAa;IAC3B,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,GAAG;IAClB,YAAY,EAAE,MAAM;IACpB,cAAc,EAAE,OAAO;IACvB,SAAS,EAAE,aAAa;IACxB,YAAY,EAAE,QAAQ;IACtB,gBAAgB,EAAE,QAAQ;IAC1B,QAAQ,EAAE,mDAAmD;IAC7D,OAAO,EAAE,cAAc;IAEvB,SAAS,EAAE;QACP,UAAU,EAAE,WAAW;KAC1B;IACD,UAAU,EAAE;QACR,UAAU,EAAE,WAAW;QACvB,KAAK,EAAE,cAAc;KACxB;CACJ,CAAC;AAEF,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;AAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC;AAEpC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,EAAE;IAC5B,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,OAAO;IAChB,IAAI,EAAE,cAAc;CACvB,CAAC,CAAC;AAEH,OAAO,EACH,GAAG,EACH,CAAC,EACD,UAAU,GACb,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
interface
|
|
2
|
+
interface ContentComponent {
|
|
3
3
|
Content: React.FC<ContentProps>;
|
|
4
4
|
}
|
|
5
5
|
interface ContentProps {
|
|
@@ -11,6 +11,6 @@ interface Props {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
}
|
|
14
|
-
declare const StickyHeader: React.FC<Props> &
|
|
14
|
+
declare const StickyHeader: React.FC<Props> & ContentComponent;
|
|
15
15
|
export { StickyHeader };
|
|
16
16
|
//# sourceMappingURL=StickyHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/StickyHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StickyHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/StickyHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,UAAU,gBAAgB;IAEtB,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC;CACnC;AAED,UAAU,YAAY;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,UAAU,KAAK;IACX,QAAQ,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,gBA8BrC,CAAC;AAMF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import classnames from "classnames";
|
|
3
2
|
import { Header } from "./Header.js";
|
|
4
|
-
import
|
|
3
|
+
import { Content, StyledStickyHeader } from "./StickyHeader.styled.js";
|
|
5
4
|
const err = new TypeError("StickyHeader needs two children - Header and StickyHeader.Content");
|
|
6
5
|
const StickyHeader = (props) => {
|
|
7
|
-
const
|
|
8
|
-
const children = React.Children.toArray(
|
|
6
|
+
const { children: _children, position = "top", ...rest } = props;
|
|
7
|
+
const children = React.Children.toArray(_children);
|
|
9
8
|
if (children.length !== 2) {
|
|
10
9
|
throw err;
|
|
11
10
|
}
|
|
@@ -15,11 +14,10 @@ const StickyHeader = (props) => {
|
|
|
15
14
|
}
|
|
16
15
|
header = header;
|
|
17
16
|
content = content;
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
return (React.createElement("div", { className: cls },
|
|
17
|
+
const contentCls = content.props.className;
|
|
18
|
+
return (React.createElement(StyledStickyHeader, { ...rest, position: position },
|
|
21
19
|
React.cloneElement(header, { position }),
|
|
22
|
-
React.createElement(
|
|
20
|
+
React.createElement(Content, { className: contentCls, position: position }, content)));
|
|
23
21
|
};
|
|
24
22
|
StickyHeader.Content = ({ children }) => {
|
|
25
23
|
return React.createElement(React.Fragment, null, children);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyHeader.js","sourceRoot":"","sources":["../../../../src/components/layout/header/StickyHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
|
1
|
+
{"version":3,"file":"StickyHeader.js","sourceRoot":"","sources":["../../../../src/components/layout/header/StickyHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEpE,MAAM,GAAG,GAAG,IAAI,SAAS,CAAC,mEAAmE,CAAC,CAAC;AAkB/F,MAAM,YAAY,GAAuC,CAAC,KAAK,EAAE,EAAE;IAC/D,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEjE,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAGnD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxB,MAAM,GAAG,CAAC;IACd,CAAC;IAED,IAAI,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,EACtF,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,YAAY,CAAC,OAAO,CAAC,CAAC;IAE1G,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;QACtB,MAAM,GAAG,CAAC;IACd,CAAC;IAED,MAAM,GAAG,MAAe,CAAC;IACzB,OAAO,GAAG,OAAgB,CAAC;IAE3B,MAAM,UAAU,GAAI,OAAmC,CAAC,KAAK,CAAC,SAAS,CAAC;IAExE,OAAO,CACH,oBAAC,kBAAkB,OAAK,IAAI,EAAE,QAAQ,EAAE,QAAQ;QAC3C,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC;QACzC,oBAAC,OAAO,IAAC,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,IAC7C,OAAO,CACF,CACO,CACxB,CAAC;AACN,CAAC,CAAC;AAEF,YAAY,CAAC,OAAO,GAAG,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpC,OAAO,0CAAG,QAAQ,CAAI,CAAC;AAC3B,CAAC,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { StoryObj, Meta } from "@storybook/react";
|
|
2
|
+
import { StickyHeader } from "./StickyHeader";
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
type Story = StoryObj<typeof StickyHeader>;
|
|
5
|
+
declare const Primary: Story;
|
|
6
|
+
export { Primary, };
|
|
7
|
+
export default meta;
|
|
8
|
+
//# sourceMappingURL=StickyHeader.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StickyHeader.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/StickyHeader.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAG9C,QAAA,MAAM,IAAI,EAAE,IAIX,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAE3C,QAAA,MAAM,OAAO,EAAE,KAYd,CAAC;AAEF,OAAO,EACH,OAAO,GACV,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { StickyHeader } from "./StickyHeader.js";
|
|
3
|
+
import { Header } from "./Header.js";
|
|
4
|
+
const meta = {
|
|
5
|
+
title: "Components/Layout/Header/StickyHeader",
|
|
6
|
+
component: StickyHeader,
|
|
7
|
+
tags: ["autodocs", "layout"],
|
|
8
|
+
};
|
|
9
|
+
const Primary = {
|
|
10
|
+
render: (args) => {
|
|
11
|
+
const longContent = new Array(1000).fill(null).map((_, key) => React.createElement("div", { key: key }, "content"));
|
|
12
|
+
return (React.createElement(StickyHeader, { ...args },
|
|
13
|
+
React.createElement(Header, null,
|
|
14
|
+
"x",
|
|
15
|
+
React.createElement("br", null),
|
|
16
|
+
"x",
|
|
17
|
+
React.createElement("br", null),
|
|
18
|
+
"x"),
|
|
19
|
+
React.createElement(StickyHeader.Content, null, longContent)));
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
export { Primary, };
|
|
23
|
+
export default meta;
|
|
24
|
+
//# sourceMappingURL=StickyHeader.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StickyHeader.stories.js","sourceRoot":"","sources":["../../../../src/components/layout/header/StickyHeader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,IAAI,GAAS;IACf,KAAK,EAAE,uCAAuC;IAC9C,SAAS,EAAE,YAAY;IACvB,IAAI,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC;CAC/B,CAAC;AAIF,MAAM,OAAO,GAAU;IACnB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;QAEb,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,6BAAK,GAAG,EAAE,GAAG,cAAe,CAAC,CAAC;QAE7F,OAAO,CACH,oBAAC,YAAY,OAAK,IAAI;YAClB,oBAAC,MAAM;;gBAAE,+BAAM;;gBAAC,+BAAM;oBAAU;YAChC,oBAAC,YAAY,CAAC,OAAO,QAAE,WAAW,CAAwB,CAC/C,CAClB,CAAC;IACN,CAAC;CACJ,CAAC;AAEF,OAAO,EACH,OAAO,GACV,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
declare const StyledStickyHeader: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
2
|
+
position?: "left" | "bottom" | "right" | "top";
|
|
3
|
+
}, {}, import("@stitches/react/types/css-util").CSS<{}, {
|
|
4
|
+
colors: {
|
|
5
|
+
background: string;
|
|
6
|
+
mainColor: string;
|
|
7
|
+
mainColorAlt: string;
|
|
8
|
+
activeBg: string;
|
|
9
|
+
inactiveBg: string;
|
|
10
|
+
inactiveDarkBg: string;
|
|
11
|
+
toggleHandleBg: string;
|
|
12
|
+
toggleHandleBorder: string;
|
|
13
|
+
toggleBgDisabled: string;
|
|
14
|
+
toggleHandleBorderDisabled: string;
|
|
15
|
+
toggleHandleBgDisabled: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
border: string;
|
|
18
|
+
buttonBorder: string;
|
|
19
|
+
headerBorder: string;
|
|
20
|
+
headerBg: string;
|
|
21
|
+
headerText: string;
|
|
22
|
+
text: string;
|
|
23
|
+
sub: string;
|
|
24
|
+
popText: string;
|
|
25
|
+
toolbarBorder: string;
|
|
26
|
+
toolbarBg: string;
|
|
27
|
+
modalBg: string;
|
|
28
|
+
modalButtonBg: string;
|
|
29
|
+
modalButtonBorder: string;
|
|
30
|
+
inputDisabledBg: string;
|
|
31
|
+
inputDisabledText: string;
|
|
32
|
+
choiceBg: string;
|
|
33
|
+
choiceText: string;
|
|
34
|
+
choiceActiveBg: string;
|
|
35
|
+
choiceActiveText: string;
|
|
36
|
+
choiceBorder: string;
|
|
37
|
+
selectorText: string;
|
|
38
|
+
selectorActive: string;
|
|
39
|
+
blue1: string;
|
|
40
|
+
blue2: string;
|
|
41
|
+
blue3: string;
|
|
42
|
+
orange1: string;
|
|
43
|
+
orange1Darker: string;
|
|
44
|
+
purple1: string;
|
|
45
|
+
green1: string;
|
|
46
|
+
green1Darker: string;
|
|
47
|
+
pink1: string;
|
|
48
|
+
red1: string;
|
|
49
|
+
yellow1: string;
|
|
50
|
+
yellow2: string;
|
|
51
|
+
yellow3: string;
|
|
52
|
+
pinky1: string;
|
|
53
|
+
pinky2: string;
|
|
54
|
+
pinky3: string;
|
|
55
|
+
grey1: string;
|
|
56
|
+
focusColor: string;
|
|
57
|
+
scrollbarsThumb: string;
|
|
58
|
+
scrollbarsBg: string;
|
|
59
|
+
tableStripedBg: string;
|
|
60
|
+
};
|
|
61
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
62
|
+
mx: (value: string | number) => {
|
|
63
|
+
marginLeft: string | number;
|
|
64
|
+
marginRight: string | number;
|
|
65
|
+
};
|
|
66
|
+
my: (value: string | number) => {
|
|
67
|
+
marginTop: string | number;
|
|
68
|
+
marginBottom: string | number;
|
|
69
|
+
};
|
|
70
|
+
px: (value: string | number) => {
|
|
71
|
+
paddingLeft: string | number;
|
|
72
|
+
paddingRight: string | number;
|
|
73
|
+
};
|
|
74
|
+
py: (value: string | number) => {
|
|
75
|
+
paddingTop: string | number;
|
|
76
|
+
paddingBottom: string | number;
|
|
77
|
+
};
|
|
78
|
+
size: (value: string | number) => {
|
|
79
|
+
width: string | number;
|
|
80
|
+
height: string | number;
|
|
81
|
+
};
|
|
82
|
+
}>>;
|
|
83
|
+
declare const Content: import("@stitches/react/types/styled-component").StyledComponent<"div", {
|
|
84
|
+
position?: "left" | "bottom" | "right" | "top";
|
|
85
|
+
}, {}, import("@stitches/react/types/css-util").CSS<{}, {
|
|
86
|
+
colors: {
|
|
87
|
+
background: string;
|
|
88
|
+
mainColor: string;
|
|
89
|
+
mainColorAlt: string;
|
|
90
|
+
activeBg: string;
|
|
91
|
+
inactiveBg: string;
|
|
92
|
+
inactiveDarkBg: string;
|
|
93
|
+
toggleHandleBg: string;
|
|
94
|
+
toggleHandleBorder: string;
|
|
95
|
+
toggleBgDisabled: string;
|
|
96
|
+
toggleHandleBorderDisabled: string;
|
|
97
|
+
toggleHandleBgDisabled: string;
|
|
98
|
+
icon: string;
|
|
99
|
+
border: string;
|
|
100
|
+
buttonBorder: string;
|
|
101
|
+
headerBorder: string;
|
|
102
|
+
headerBg: string;
|
|
103
|
+
headerText: string;
|
|
104
|
+
text: string;
|
|
105
|
+
sub: string;
|
|
106
|
+
popText: string;
|
|
107
|
+
toolbarBorder: string;
|
|
108
|
+
toolbarBg: string;
|
|
109
|
+
modalBg: string;
|
|
110
|
+
modalButtonBg: string;
|
|
111
|
+
modalButtonBorder: string;
|
|
112
|
+
inputDisabledBg: string;
|
|
113
|
+
inputDisabledText: string;
|
|
114
|
+
choiceBg: string;
|
|
115
|
+
choiceText: string;
|
|
116
|
+
choiceActiveBg: string;
|
|
117
|
+
choiceActiveText: string;
|
|
118
|
+
choiceBorder: string;
|
|
119
|
+
selectorText: string;
|
|
120
|
+
selectorActive: string;
|
|
121
|
+
blue1: string;
|
|
122
|
+
blue2: string;
|
|
123
|
+
blue3: string;
|
|
124
|
+
orange1: string;
|
|
125
|
+
orange1Darker: string;
|
|
126
|
+
purple1: string;
|
|
127
|
+
green1: string;
|
|
128
|
+
green1Darker: string;
|
|
129
|
+
pink1: string;
|
|
130
|
+
red1: string;
|
|
131
|
+
yellow1: string;
|
|
132
|
+
yellow2: string;
|
|
133
|
+
yellow3: string;
|
|
134
|
+
pinky1: string;
|
|
135
|
+
pinky2: string;
|
|
136
|
+
pinky3: string;
|
|
137
|
+
grey1: string;
|
|
138
|
+
focusColor: string;
|
|
139
|
+
scrollbarsThumb: string;
|
|
140
|
+
scrollbarsBg: string;
|
|
141
|
+
tableStripedBg: string;
|
|
142
|
+
};
|
|
143
|
+
}, import("@stitches/react/types/config").DefaultThemeMap, {
|
|
144
|
+
mx: (value: string | number) => {
|
|
145
|
+
marginLeft: string | number;
|
|
146
|
+
marginRight: string | number;
|
|
147
|
+
};
|
|
148
|
+
my: (value: string | number) => {
|
|
149
|
+
marginTop: string | number;
|
|
150
|
+
marginBottom: string | number;
|
|
151
|
+
};
|
|
152
|
+
px: (value: string | number) => {
|
|
153
|
+
paddingLeft: string | number;
|
|
154
|
+
paddingRight: string | number;
|
|
155
|
+
};
|
|
156
|
+
py: (value: string | number) => {
|
|
157
|
+
paddingTop: string | number;
|
|
158
|
+
paddingBottom: string | number;
|
|
159
|
+
};
|
|
160
|
+
size: (value: string | number) => {
|
|
161
|
+
width: string | number;
|
|
162
|
+
height: string | number;
|
|
163
|
+
};
|
|
164
|
+
}>>;
|
|
165
|
+
export { Content, StyledStickyHeader, };
|
|
166
|
+
//# sourceMappingURL=StickyHeader.styled.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StickyHeader.styled.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/header/StickyHeader.styled.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiBtB,CAAC;AAEH,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBX,CAAC;AAEH,OAAO,EACH,OAAO,EACP,kBAAkB,GACrB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { styled } from "../../../theme.js";
|
|
2
|
+
const StyledStickyHeader = styled("div", {
|
|
3
|
+
height: "100%",
|
|
4
|
+
display: "flex",
|
|
5
|
+
flexDirection: "column",
|
|
6
|
+
variants: {
|
|
7
|
+
position: {
|
|
8
|
+
top: {},
|
|
9
|
+
left: {
|
|
10
|
+
flexDirection: "row",
|
|
11
|
+
},
|
|
12
|
+
bottom: {},
|
|
13
|
+
right: {
|
|
14
|
+
flexDirection: "row",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
const Content = styled("div", {
|
|
20
|
+
flex: 1,
|
|
21
|
+
overflow: "auto",
|
|
22
|
+
variants: {
|
|
23
|
+
position: {
|
|
24
|
+
top: {},
|
|
25
|
+
bottom: {
|
|
26
|
+
order: 1,
|
|
27
|
+
},
|
|
28
|
+
left: {},
|
|
29
|
+
right: {
|
|
30
|
+
order: 1,
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
export { Content, StyledStickyHeader, };
|
|
36
|
+
//# sourceMappingURL=StickyHeader.styled.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StickyHeader.styled.js","sourceRoot":"","sources":["../../../../src/components/layout/header/StickyHeader.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,MAAM,kBAAkB,GAAG,MAAM,CAAC,KAAK,EAAE;IACrC,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IAEvB,QAAQ,EAAE;QACN,QAAQ,EAAE;YACN,GAAG,EAAE,EAAE;YACP,IAAI,EAAE;gBACF,aAAa,EAAE,KAAK;aACvB;YACD,MAAM,EAAE,EAAE;YACV,KAAK,EAAE;gBACH,aAAa,EAAE,KAAK;aACvB;SACJ;KACJ;CACJ,CAAC,CAAC;AAEH,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,EAAE;IAC1B,IAAI,EAAE,CAAC;IACP,QAAQ,EAAE,MAAM;IAEhB,QAAQ,EAAE;QACN,QAAQ,EAAE;YACN,GAAG,EAAE,EAAE;YACP,MAAM,EAAE;gBACJ,KAAK,EAAE,CAAC;aACX;YACD,IAAI,EAAE,EAAE;YACR,KAAK,EAAE;gBACH,KAAK,EAAE,CAAC;aACX;SACJ;KACJ;CACJ,CAAC,CAAC;AAEH,OAAO,EACH,OAAO,EACP,kBAAkB,GACrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-miui",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.7-beta.0",
|
|
4
4
|
"author": "Jacek Nowacki",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
"react": "^18.2.0",
|
|
79
79
|
"react-dom": "^18.2.0",
|
|
80
80
|
"react-use": "^17.4.0",
|
|
81
|
+
"resolve-tspaths": "^0.8.15",
|
|
81
82
|
"sass": "^1.35.2",
|
|
82
83
|
"storybook": "^7.6.6",
|
|
83
84
|
"ts-node": "^10.9.1",
|
|
84
85
|
"typedoc": "^0.23.28",
|
|
85
|
-
"typescript": "^5.2.2"
|
|
86
|
-
"resolve-tspaths": "^0.8.15"
|
|
86
|
+
"typescript": "^5.2.2"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
89
|
"react": "^18.2.0",
|