@m4l/components 9.1.32 → 9.1.34
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/components/AccountPopover/AccountPopover.js +2 -2
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +1 -1
- package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
- package/components/Chip/slots/ChipSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/ControlIncrement/slots/ControltrolIncrementSlots.d.ts +2 -2
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +4 -4
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +4 -4
- package/components/SideBar/constants.d.ts +3 -0
- package/components/SideBar/constants.js +8 -2
- package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
- package/components/SideBar/slots/SideBarSlots.js +2 -2
- package/components/SideBar/subcomponents/ContentComponent/index.js +3 -1
- package/components/SideBar/subcomponents/ContentGroups/index.d.ts +4 -1
- package/components/SideBar/subcomponents/ContentGroups/index.js +8 -5
- package/components/SideBar/subcomponents/ContentGroups/styles.js +7 -3
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/index.js +14 -7
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +27 -7
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +4 -4
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/types.d.ts +2 -0
- package/components/SideBar/subcomponents/FooterSidebar/index.js +1 -1
- package/components/SideBar/subcomponents/FooterSidebar/styles.js +1 -0
- package/components/SideBar/subcomponents/SideBarDesktop/index.js +1 -1
- package/components/WindowBase/WindowBase.d.ts +1 -1
- package/components/WindowBase/WindowBase.js +3 -3
- package/components/WindowBase/WindowBase.styles.js +27 -15
- package/components/WindowBase/slots/WindowBaseEnum.d.ts +0 -2
- package/components/WindowBase/slots/WindowBaseEnum.js +0 -2
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +3 -20
- package/components/WindowBase/slots/WindowBaseSlots.js +19 -31
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.d.ts +1 -1
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +84 -34
- package/components/WindowBase/subcomponents/Header/types.d.ts +4 -2
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +14 -0
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +9 -0
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +32 -0
- package/components/WindowBase/types.d.ts +21 -1
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +2 -2
- package/components/maps/components/Map/subcomponents/LayersContainer/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +2 -0
- package/components/mui_extended/Autocomplete/slots /AutocompleteSlots.d.ts +1 -1
- package/components/mui_extended/Button/Button.d.ts +2 -2
- package/components/mui_extended/Dialog/Dialog.styles.js +3 -3
- package/components/mui_extended/IconButton/IconButton.d.ts +3 -3
- package/components/mui_extended/IconButton/IconButton.js +8 -4
- package/components/mui_extended/MenuActions/MenuActions.d.ts +6 -2
- package/components/mui_extended/MenuActions/MenuActions.js +119 -117
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.js +11 -7
- package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -13
- package/components/mui_extended/ToggleButton/ToggleButton.styles.js +2 -2
- package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/mui_extended/Typography/typography.styles.js +160 -160
- package/index.js +6 -8
- package/package.json +1 -1
- package/components/WindowBase/subcomponents/Header/index.js +0 -1
|
@@ -35,146 +35,146 @@ const typographyStyles = {
|
|
|
35
35
|
...ownerState.typographySize === "small" && {
|
|
36
36
|
// mobile - »small - »variant (h1) 💅
|
|
37
37
|
...ownerState.typographyVariant === "h1" && {
|
|
38
|
-
fontSize: theme.
|
|
39
|
-
fontWeight: theme.
|
|
40
|
-
lineHeight: theme.
|
|
41
|
-
letterSpacing: theme.
|
|
38
|
+
fontSize: theme.size.typography.mobile.small.h1.fontSize,
|
|
39
|
+
fontWeight: theme.size.typography.mobile.small.h1.weight,
|
|
40
|
+
lineHeight: theme.size.typography.mobile.small.h1.lineHeight,
|
|
41
|
+
letterSpacing: theme.size.typography.mobile.small.h1.letterSpacing
|
|
42
42
|
},
|
|
43
43
|
// mobile - »small - »variant (h2) 💅
|
|
44
44
|
...ownerState.typographyVariant === "h2" && {
|
|
45
|
-
fontSize: theme.
|
|
46
|
-
fontWeight: theme.
|
|
47
|
-
lineHeight: theme.
|
|
48
|
-
letterSpacing: theme.
|
|
45
|
+
fontSize: theme.size.typography.mobile.small.h2.fontSize,
|
|
46
|
+
fontWeight: theme.size.typography.mobile.small.h2.weight,
|
|
47
|
+
lineHeight: theme.size.typography.mobile.small.h2.lineHeight,
|
|
48
|
+
letterSpacing: theme.size.typography.mobile.small.h2.letterSpacing
|
|
49
49
|
},
|
|
50
50
|
// mobile - »small - »variant (h3) 💅
|
|
51
51
|
...ownerState.typographyVariant === "h3" && {
|
|
52
|
-
fontSize: theme.
|
|
53
|
-
fontWeight: theme.
|
|
54
|
-
lineHeight: theme.
|
|
55
|
-
letterSpacing: theme.
|
|
52
|
+
fontSize: theme.size.typography.mobile.small.h3.fontSize,
|
|
53
|
+
fontWeight: theme.size.typography.mobile.small.h3.weight,
|
|
54
|
+
lineHeight: theme.size.typography.mobile.small.h3.lineHeight,
|
|
55
|
+
letterSpacing: theme.size.typography.mobile.small.h3.letterSpacing
|
|
56
56
|
},
|
|
57
57
|
// mobile - »small - »variant(h5) 💅
|
|
58
58
|
...ownerState.typographyVariant === "h5" && {
|
|
59
|
-
fontSize: theme.
|
|
60
|
-
fontWeight: theme.
|
|
61
|
-
lineHeight: theme.
|
|
62
|
-
letterSpacing: theme.
|
|
59
|
+
fontSize: theme.size.typography.mobile.small.h5.fontSize,
|
|
60
|
+
fontWeight: theme.size.typography.mobile.small.h5.weight,
|
|
61
|
+
lineHeight: theme.size.typography.mobile.small.h5.lineHeight,
|
|
62
|
+
letterSpacing: theme.size.typography.mobile.small.h5.letterSpacing
|
|
63
63
|
},
|
|
64
64
|
// mobile - »small - »variant (subtitle) 💅
|
|
65
65
|
...ownerState.typographyVariant === "subtitle" && {
|
|
66
|
-
fontSize: theme.
|
|
67
|
-
fontWeight: theme.
|
|
68
|
-
lineHeight: theme.
|
|
69
|
-
letterSpacing: theme.
|
|
66
|
+
fontSize: theme.size.typography.mobile.small.subtitle.fontSize,
|
|
67
|
+
fontWeight: theme.size.typography.mobile.small.subtitle.weight,
|
|
68
|
+
lineHeight: theme.size.typography.mobile.small.subtitle.lineHeight,
|
|
69
|
+
letterSpacing: theme.size.typography.mobile.small.subtitle.letterSpacing
|
|
70
70
|
},
|
|
71
71
|
// mobile - »small - »variant (subtitleDens) 💅
|
|
72
72
|
...ownerState.typographyVariant === "subtitleDens" && {
|
|
73
|
-
fontSize: theme.
|
|
74
|
-
fontWeight: theme.
|
|
75
|
-
lineHeight: theme.
|
|
76
|
-
letterSpacing: theme.
|
|
73
|
+
fontSize: theme.size.typography.mobile.small.subtitleDens.fontSize,
|
|
74
|
+
fontWeight: theme.size.typography.mobile.small.subtitleDens.weight,
|
|
75
|
+
lineHeight: theme.size.typography.mobile.small.subtitleDens.lineHeight,
|
|
76
|
+
letterSpacing: theme.size.typography.mobile.small.subtitleDens.letterSpacing
|
|
77
77
|
},
|
|
78
78
|
// mobile - »small - »variant (paragraph) 💅
|
|
79
79
|
...ownerState.typographyVariant === "paragraph" && {
|
|
80
|
-
fontSize: theme.
|
|
81
|
-
fontWeight: theme.
|
|
82
|
-
lineHeight: theme.
|
|
83
|
-
letterSpacing: theme.
|
|
80
|
+
fontSize: theme.size.typography.mobile.small.paragraph.fontSize,
|
|
81
|
+
fontWeight: theme.size.typography.mobile.small.paragraph.weight,
|
|
82
|
+
lineHeight: theme.size.typography.mobile.small.paragraph.lineHeight,
|
|
83
|
+
letterSpacing: theme.size.typography.mobile.small.paragraph.letterSpacing
|
|
84
84
|
},
|
|
85
85
|
// mobile - »small - »variant (paragraphDens) 💅
|
|
86
86
|
...ownerState.typographyVariant === "paragraphDens" && {
|
|
87
|
-
fontSize: theme.
|
|
88
|
-
fontWeight: theme.
|
|
89
|
-
lineHeight: theme.
|
|
90
|
-
letterSpacing: theme.
|
|
87
|
+
fontSize: theme.size.typography.mobile.small.paragraphDens.fontSize,
|
|
88
|
+
fontWeight: theme.size.typography.mobile.small.paragraphDens.weight,
|
|
89
|
+
lineHeight: theme.size.typography.mobile.small.paragraphDens.lineHeight,
|
|
90
|
+
letterSpacing: theme.size.typography.mobile.small.paragraphDens.letterSpacing
|
|
91
91
|
},
|
|
92
92
|
// mobile - »small - »variant (body) 💅
|
|
93
93
|
...ownerState.typographyVariant === "body" && {
|
|
94
|
-
fontSize: theme.
|
|
95
|
-
fontWeight: theme.
|
|
96
|
-
lineHeight: theme.
|
|
97
|
-
letterSpacing: theme.
|
|
94
|
+
fontSize: theme.size.typography.mobile.small.body.fontSize,
|
|
95
|
+
fontWeight: theme.size.typography.mobile.small.body.weight,
|
|
96
|
+
lineHeight: theme.size.typography.mobile.small.body.lineHeight,
|
|
97
|
+
letterSpacing: theme.size.typography.mobile.small.body.letterSpacing
|
|
98
98
|
},
|
|
99
99
|
// mobile - »small - »variant (bodyDens) 💅
|
|
100
100
|
...ownerState.typographyVariant === "body" && {
|
|
101
|
-
fontSize: theme.
|
|
102
|
-
fontWeight: theme.
|
|
103
|
-
lineHeight: theme.
|
|
104
|
-
letterSpacing: theme.
|
|
101
|
+
fontSize: theme.size.typography.mobile.small.bodyDens.fontSize,
|
|
102
|
+
fontWeight: theme.size.typography.mobile.small.bodyDens.weight,
|
|
103
|
+
lineHeight: theme.size.typography.mobile.small.bodyDens.lineHeight,
|
|
104
|
+
letterSpacing: theme.size.typography.mobile.small.bodyDens.letterSpacing
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
// mobile - »medium - 👑 Predeterminado
|
|
108
108
|
...ownerState.typographySize === "medium" && {
|
|
109
109
|
// mobile - medium - »variant (h1) 💅
|
|
110
110
|
...ownerState.typographyVariant === "h1" && {
|
|
111
|
-
fontSize: theme.
|
|
112
|
-
fontWeight: theme.
|
|
113
|
-
lineHeight: theme.
|
|
114
|
-
letterSpacing: theme.
|
|
111
|
+
fontSize: theme.size.typography.mobile.medium.h1.fontSize,
|
|
112
|
+
fontWeight: theme.size.typography.mobile.medium.h1.weight,
|
|
113
|
+
lineHeight: theme.size.typography.mobile.medium.h1.lineHeight,
|
|
114
|
+
letterSpacing: theme.size.typography.mobile.medium.h1.letterSpacing
|
|
115
115
|
},
|
|
116
116
|
// mobile - medium - »variant (h2) 💅
|
|
117
117
|
...ownerState.typographyVariant === "h2" && {
|
|
118
|
-
fontSize: theme.
|
|
119
|
-
fontWeight: theme.
|
|
120
|
-
lineHeight: theme.
|
|
121
|
-
letterSpacing: theme.
|
|
118
|
+
fontSize: theme.size.typography.mobile.medium.h2.fontSize,
|
|
119
|
+
fontWeight: theme.size.typography.mobile.medium.h2.weight,
|
|
120
|
+
lineHeight: theme.size.typography.mobile.medium.h2.lineHeight,
|
|
121
|
+
letterSpacing: theme.size.typography.mobile.medium.h2.letterSpacing
|
|
122
122
|
},
|
|
123
123
|
// mobile - medium - »variant (h3) 💅
|
|
124
124
|
...ownerState.typographyVariant === "h3" && {
|
|
125
|
-
fontSize: theme.
|
|
126
|
-
fontWeight: theme.
|
|
127
|
-
lineHeight: theme.
|
|
128
|
-
letterSpacing: theme.
|
|
125
|
+
fontSize: theme.size.typography.mobile.medium.h3.fontSize,
|
|
126
|
+
fontWeight: theme.size.typography.mobile.medium.h3.weight,
|
|
127
|
+
lineHeight: theme.size.typography.mobile.medium.h3.lineHeight,
|
|
128
|
+
letterSpacing: theme.size.typography.mobile.medium.h3.letterSpacing
|
|
129
129
|
},
|
|
130
130
|
// mobile - medium - »variant(h5) 💅
|
|
131
131
|
...ownerState.typographyVariant === "h5" && {
|
|
132
|
-
fontSize: theme.
|
|
133
|
-
fontWeight: theme.
|
|
134
|
-
lineHeight: theme.
|
|
135
|
-
letterSpacing: theme.
|
|
132
|
+
fontSize: theme.size.typography.mobile.medium.h5.fontSize,
|
|
133
|
+
fontWeight: theme.size.typography.mobile.medium.h5.weight,
|
|
134
|
+
lineHeight: theme.size.typography.mobile.medium.h5.lineHeight,
|
|
135
|
+
letterSpacing: theme.size.typography.mobile.medium.h5.letterSpacing
|
|
136
136
|
},
|
|
137
137
|
// mobile - medium - »variant (subtitle) 💅
|
|
138
138
|
...ownerState.typographyVariant === "subtitle" && {
|
|
139
|
-
fontSize: theme.
|
|
140
|
-
fontWeight: theme.
|
|
141
|
-
lineHeight: theme.
|
|
142
|
-
letterSpacing: theme.
|
|
139
|
+
fontSize: theme.size.typography.mobile.medium.subtitle.fontSize,
|
|
140
|
+
fontWeight: theme.size.typography.mobile.medium.subtitle.weight,
|
|
141
|
+
lineHeight: theme.size.typography.mobile.medium.subtitle.lineHeight,
|
|
142
|
+
letterSpacing: theme.size.typography.mobile.medium.subtitle.letterSpacing
|
|
143
143
|
},
|
|
144
144
|
// mobile - medium - »variant (subtitleDens) 💅
|
|
145
145
|
...ownerState.typographyVariant === "subtitleDens" && {
|
|
146
|
-
fontSize: theme.
|
|
147
|
-
fontWeight: theme.
|
|
148
|
-
lineHeight: theme.
|
|
149
|
-
letterSpacing: theme.
|
|
146
|
+
fontSize: theme.size.typography.mobile.medium.subtitleDens.fontSize,
|
|
147
|
+
fontWeight: theme.size.typography.mobile.medium.subtitleDens.weight,
|
|
148
|
+
lineHeight: theme.size.typography.mobile.medium.subtitleDens.lineHeight,
|
|
149
|
+
letterSpacing: theme.size.typography.mobile.medium.subtitleDens.letterSpacing
|
|
150
150
|
},
|
|
151
151
|
// mobile - medium - »variant (paragraph) 💅
|
|
152
152
|
...ownerState.typographyVariant === "paragraph" && {
|
|
153
|
-
fontSize: theme.
|
|
154
|
-
fontWeight: theme.
|
|
155
|
-
lineHeight: theme.
|
|
156
|
-
letterSpacing: theme.
|
|
153
|
+
fontSize: theme.size.typography.mobile.medium.paragraph.fontSize,
|
|
154
|
+
fontWeight: theme.size.typography.mobile.medium.paragraph.weight,
|
|
155
|
+
lineHeight: theme.size.typography.mobile.medium.paragraph.lineHeight,
|
|
156
|
+
letterSpacing: theme.size.typography.mobile.medium.paragraph.letterSpacing
|
|
157
157
|
},
|
|
158
158
|
// mobile - medium - »variant (paragraphDens) 💅
|
|
159
159
|
...ownerState.typographyVariant === "paragraphDens" && {
|
|
160
|
-
fontSize: theme.
|
|
161
|
-
fontWeight: theme.
|
|
162
|
-
lineHeight: theme.
|
|
163
|
-
letterSpacing: theme.
|
|
160
|
+
fontSize: theme.size.typography.mobile.medium.paragraphDens.fontSize,
|
|
161
|
+
fontWeight: theme.size.typography.mobile.medium.paragraphDens.weight,
|
|
162
|
+
lineHeight: theme.size.typography.mobile.medium.paragraphDens.lineHeight,
|
|
163
|
+
letterSpacing: theme.size.typography.mobile.medium.paragraphDens.letterSpacing
|
|
164
164
|
},
|
|
165
165
|
// mobile - medium - »variant (body) 💅
|
|
166
166
|
...ownerState.typographyVariant === "body" && {
|
|
167
|
-
fontSize: theme.
|
|
168
|
-
fontWeight: theme.
|
|
169
|
-
lineHeight: theme.
|
|
170
|
-
letterSpacing: theme.
|
|
167
|
+
fontSize: theme.size.typography.mobile.medium.body.fontSize,
|
|
168
|
+
fontWeight: theme.size.typography.mobile.medium.body.weight,
|
|
169
|
+
lineHeight: theme.size.typography.mobile.medium.body.lineHeight,
|
|
170
|
+
letterSpacing: theme.size.typography.mobile.medium.body.letterSpacing
|
|
171
171
|
},
|
|
172
172
|
// mobile - medium - »variant (bodyDens) 💅
|
|
173
173
|
...ownerState.typographyVariant === "body" && {
|
|
174
|
-
fontSize: theme.
|
|
175
|
-
fontWeight: theme.
|
|
176
|
-
lineHeight: theme.
|
|
177
|
-
letterSpacing: theme.
|
|
174
|
+
fontSize: theme.size.typography.mobile.medium.bodyDens.fontSize,
|
|
175
|
+
fontWeight: theme.size.typography.mobile.medium.bodyDens.weight,
|
|
176
|
+
lineHeight: theme.size.typography.mobile.medium.bodyDens.lineHeight,
|
|
177
|
+
letterSpacing: theme.size.typography.mobile.medium.bodyDens.letterSpacing
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
},
|
|
@@ -184,146 +184,146 @@ const typographyStyles = {
|
|
|
184
184
|
...ownerState.typographySize === "small" && {
|
|
185
185
|
// desktop - »small - »variant (h1) 💅
|
|
186
186
|
...ownerState.typographyVariant === "h1" && {
|
|
187
|
-
fontSize: theme.
|
|
188
|
-
fontWeight: theme.
|
|
189
|
-
lineHeight: theme.
|
|
190
|
-
letterSpacing: theme.
|
|
187
|
+
fontSize: theme.size.typography.desktop.small.h1.fontSize,
|
|
188
|
+
fontWeight: theme.size.typography.desktop.small.h1.weight,
|
|
189
|
+
lineHeight: theme.size.typography.desktop.small.h1.lineHeight,
|
|
190
|
+
letterSpacing: theme.size.typography.desktop.small.h1.letterSpacing
|
|
191
191
|
},
|
|
192
192
|
// desktop - »small - »variant (h2) 💅
|
|
193
193
|
...ownerState.typographyVariant === "h2" && {
|
|
194
|
-
fontSize: theme.
|
|
195
|
-
fontWeight: theme.
|
|
196
|
-
lineHeight: theme.
|
|
197
|
-
letterSpacing: theme.
|
|
194
|
+
fontSize: theme.size.typography.desktop.small.h2.fontSize,
|
|
195
|
+
fontWeight: theme.size.typography.desktop.small.h2.weight,
|
|
196
|
+
lineHeight: theme.size.typography.desktop.small.h2.lineHeight,
|
|
197
|
+
letterSpacing: theme.size.typography.desktop.small.h2.letterSpacing
|
|
198
198
|
},
|
|
199
199
|
// desktop - »small - »variant (h3) 💅
|
|
200
200
|
...ownerState.typographyVariant === "h3" && {
|
|
201
|
-
fontSize: theme.
|
|
202
|
-
fontWeight: theme.
|
|
203
|
-
lineHeight: theme.
|
|
204
|
-
letterSpacing: theme.
|
|
201
|
+
fontSize: theme.size.typography.desktop.small.h3.fontSize,
|
|
202
|
+
fontWeight: theme.size.typography.desktop.small.h3.weight,
|
|
203
|
+
lineHeight: theme.size.typography.desktop.small.h3.lineHeight,
|
|
204
|
+
letterSpacing: theme.size.typography.desktop.small.h3.letterSpacing
|
|
205
205
|
},
|
|
206
206
|
// desktop - »small - »variant(h5) 💅
|
|
207
207
|
...ownerState.typographyVariant === "h5" && {
|
|
208
|
-
fontSize: theme.
|
|
209
|
-
fontWeight: theme.
|
|
210
|
-
lineHeight: theme.
|
|
211
|
-
letterSpacing: theme.
|
|
208
|
+
fontSize: theme.size.typography.desktop.small.h5.fontSize,
|
|
209
|
+
fontWeight: theme.size.typography.desktop.small.h5.weight,
|
|
210
|
+
lineHeight: theme.size.typography.desktop.small.h5.lineHeight,
|
|
211
|
+
letterSpacing: theme.size.typography.desktop.small.h5.letterSpacing
|
|
212
212
|
},
|
|
213
213
|
// desktop - »small - »variant (subtitle) 💅
|
|
214
214
|
...ownerState.typographyVariant === "subtitle" && {
|
|
215
|
-
fontSize: theme.
|
|
216
|
-
fontWeight: theme.
|
|
217
|
-
lineHeight: theme.
|
|
218
|
-
letterSpacing: theme.
|
|
215
|
+
fontSize: theme.size.typography.desktop.small.subtitle.fontSize,
|
|
216
|
+
fontWeight: theme.size.typography.desktop.small.subtitle.weight,
|
|
217
|
+
lineHeight: theme.size.typography.desktop.small.subtitle.lineHeight,
|
|
218
|
+
letterSpacing: theme.size.typography.desktop.small.subtitle.letterSpacing
|
|
219
219
|
},
|
|
220
220
|
// desktop - »small - »variant (subtitleDens) 💅
|
|
221
221
|
...ownerState.typographyVariant === "subtitleDens" && {
|
|
222
|
-
fontSize: theme.
|
|
223
|
-
fontWeight: theme.
|
|
224
|
-
lineHeight: theme.
|
|
225
|
-
letterSpacing: theme.
|
|
222
|
+
fontSize: theme.size.typography.desktop.small.subtitleDens.fontSize,
|
|
223
|
+
fontWeight: theme.size.typography.desktop.small.subtitleDens.weight,
|
|
224
|
+
lineHeight: theme.size.typography.desktop.small.subtitleDens.lineHeight,
|
|
225
|
+
letterSpacing: theme.size.typography.desktop.small.subtitleDens.letterSpacing
|
|
226
226
|
},
|
|
227
227
|
// desktop - »small - »variant (paragraph) 💅
|
|
228
228
|
...ownerState.typographyVariant === "paragraph" && {
|
|
229
|
-
fontSize: theme.
|
|
230
|
-
fontWeight: theme.
|
|
231
|
-
lineHeight: theme.
|
|
232
|
-
letterSpacing: theme.
|
|
229
|
+
fontSize: theme.size.typography.desktop.small.paragraph.fontSize,
|
|
230
|
+
fontWeight: theme.size.typography.desktop.small.paragraph.weight,
|
|
231
|
+
lineHeight: theme.size.typography.desktop.small.paragraph.lineHeight,
|
|
232
|
+
letterSpacing: theme.size.typography.desktop.small.paragraph.letterSpacing
|
|
233
233
|
},
|
|
234
234
|
// desktop - »small - »variant (paragraphDens) 💅
|
|
235
235
|
...ownerState.typographyVariant === "paragraphDens" && {
|
|
236
|
-
fontSize: theme.
|
|
237
|
-
fontWeight: theme.
|
|
238
|
-
lineHeight: theme.
|
|
239
|
-
letterSpacing: theme.
|
|
236
|
+
fontSize: theme.size.typography.desktop.small.paragraphDens.fontSize,
|
|
237
|
+
fontWeight: theme.size.typography.desktop.small.paragraphDens.weight,
|
|
238
|
+
lineHeight: theme.size.typography.desktop.small.paragraphDens.lineHeight,
|
|
239
|
+
letterSpacing: theme.size.typography.desktop.small.paragraphDens.letterSpacing
|
|
240
240
|
},
|
|
241
241
|
// desktop - »small - »variant (body) 💅
|
|
242
242
|
...ownerState.typographyVariant === "body" && {
|
|
243
|
-
fontSize: theme.
|
|
244
|
-
fontWeight: theme.
|
|
245
|
-
lineHeight: theme.
|
|
246
|
-
letterSpacing: theme.
|
|
243
|
+
fontSize: theme.size.typography.desktop.small.body.fontSize,
|
|
244
|
+
fontWeight: theme.size.typography.desktop.small.body.weight,
|
|
245
|
+
lineHeight: theme.size.typography.desktop.small.body.lineHeight,
|
|
246
|
+
letterSpacing: theme.size.typography.desktop.small.body.letterSpacing
|
|
247
247
|
},
|
|
248
248
|
// desktop - »small - »variant (bodyDens) 💅
|
|
249
249
|
...ownerState.typographyVariant === "bodyDens" && {
|
|
250
|
-
fontSize: theme.
|
|
251
|
-
fontWeight: theme.
|
|
252
|
-
lineHeight: theme.
|
|
253
|
-
letterSpacing: theme.
|
|
250
|
+
fontSize: theme.size.typography.desktop.small.bodyDens.fontSize,
|
|
251
|
+
fontWeight: theme.size.typography.desktop.small.bodyDens.weight,
|
|
252
|
+
lineHeight: theme.size.typography.desktop.small.bodyDens.lineHeight,
|
|
253
|
+
letterSpacing: theme.size.typography.desktop.small.bodyDens.letterSpacing
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
256
|
// desktop - »medium - 👑 Predeterminado
|
|
257
257
|
...ownerState.typographySize === "medium" && {
|
|
258
258
|
// desktop - medium - »variant (h1) 💅
|
|
259
259
|
...ownerState.typographyVariant === "h1" && {
|
|
260
|
-
fontSize: theme.
|
|
261
|
-
fontWeight: theme.
|
|
262
|
-
lineHeight: theme.
|
|
263
|
-
letterSpacing: theme.
|
|
260
|
+
fontSize: theme.size.typography.desktop.medium.h1.fontSize,
|
|
261
|
+
fontWeight: theme.size.typography.desktop.medium.h1.weight,
|
|
262
|
+
lineHeight: theme.size.typography.desktop.medium.h1.lineHeight,
|
|
263
|
+
letterSpacing: theme.size.typography.desktop.medium.h1.letterSpacing
|
|
264
264
|
},
|
|
265
265
|
// desktop - medium - »variant (h2) 💅
|
|
266
266
|
...ownerState.typographyVariant === "h2" && {
|
|
267
|
-
fontSize: theme.
|
|
268
|
-
fontWeight: theme.
|
|
269
|
-
lineHeight: theme.
|
|
270
|
-
letterSpacing: theme.
|
|
267
|
+
fontSize: theme.size.typography.desktop.medium.h2.fontSize,
|
|
268
|
+
fontWeight: theme.size.typography.desktop.medium.h2.weight,
|
|
269
|
+
lineHeight: theme.size.typography.desktop.medium.h2.lineHeight,
|
|
270
|
+
letterSpacing: theme.size.typography.desktop.medium.h2.letterSpacing
|
|
271
271
|
},
|
|
272
272
|
// desktop - medium - »variant (h3) 💅
|
|
273
273
|
...ownerState.typographyVariant === "h3" && {
|
|
274
|
-
fontSize: theme.
|
|
275
|
-
fontWeight: theme.
|
|
276
|
-
lineHeight: theme.
|
|
277
|
-
letterSpacing: theme.
|
|
274
|
+
fontSize: theme.size.typography.desktop.medium.h3.fontSize,
|
|
275
|
+
fontWeight: theme.size.typography.desktop.medium.h3.weight,
|
|
276
|
+
lineHeight: theme.size.typography.desktop.medium.h3.lineHeight,
|
|
277
|
+
letterSpacing: theme.size.typography.desktop.medium.h3.letterSpacing
|
|
278
278
|
},
|
|
279
279
|
// desktop - medium - »variant(h5) 💅
|
|
280
280
|
...ownerState.typographyVariant === "h5" && {
|
|
281
|
-
fontSize: theme.
|
|
282
|
-
fontWeight: theme.
|
|
283
|
-
lineHeight: theme.
|
|
284
|
-
letterSpacing: theme.
|
|
281
|
+
fontSize: theme.size.typography.desktop.medium.h5.fontSize,
|
|
282
|
+
fontWeight: theme.size.typography.desktop.medium.h5.weight,
|
|
283
|
+
lineHeight: theme.size.typography.desktop.medium.h5.lineHeight,
|
|
284
|
+
letterSpacing: theme.size.typography.desktop.medium.h5.letterSpacing
|
|
285
285
|
},
|
|
286
286
|
// desktop - medium - »variant (subtitle) 💅
|
|
287
287
|
...ownerState.typographyVariant === "subtitle" && {
|
|
288
|
-
fontSize: theme.
|
|
289
|
-
fontWeight: theme.
|
|
290
|
-
lineHeight: theme.
|
|
291
|
-
letterSpacing: theme.
|
|
288
|
+
fontSize: theme.size.typography.desktop.medium.subtitle.fontSize,
|
|
289
|
+
fontWeight: theme.size.typography.desktop.medium.subtitle.weight,
|
|
290
|
+
lineHeight: theme.size.typography.desktop.medium.subtitle.lineHeight,
|
|
291
|
+
letterSpacing: theme.size.typography.desktop.medium.subtitle.letterSpacing
|
|
292
292
|
},
|
|
293
293
|
// desktop - medium - »variant (subtitleDens) 💅
|
|
294
294
|
...ownerState.typographyVariant === "subtitleDens" && {
|
|
295
|
-
fontSize: theme.
|
|
296
|
-
fontWeight: theme.
|
|
297
|
-
lineHeight: theme.
|
|
298
|
-
letterSpacing: theme.
|
|
295
|
+
fontSize: theme.size.typography.desktop.medium.subtitleDens.fontSize,
|
|
296
|
+
fontWeight: theme.size.typography.desktop.medium.subtitleDens.weight,
|
|
297
|
+
lineHeight: theme.size.typography.desktop.medium.subtitleDens.lineHeight,
|
|
298
|
+
letterSpacing: theme.size.typography.desktop.medium.subtitleDens.letterSpacing
|
|
299
299
|
},
|
|
300
300
|
// desktop - medium - »variant (paragraph) 💅
|
|
301
301
|
...ownerState.typographyVariant === "paragraph" && {
|
|
302
|
-
fontSize: theme.
|
|
303
|
-
fontWeight: theme.
|
|
304
|
-
lineHeight: theme.
|
|
305
|
-
letterSpacing: theme.
|
|
302
|
+
fontSize: theme.size.typography.desktop.medium.paragraph.fontSize,
|
|
303
|
+
fontWeight: theme.size.typography.desktop.medium.paragraph.weight,
|
|
304
|
+
lineHeight: theme.size.typography.desktop.medium.paragraph.lineHeight,
|
|
305
|
+
letterSpacing: theme.size.typography.desktop.medium.paragraph.letterSpacing
|
|
306
306
|
},
|
|
307
307
|
// desktop - medium - »variant (paragraphDens) 💅
|
|
308
308
|
...ownerState.typographyVariant === "paragraphDens" && {
|
|
309
|
-
fontSize: theme.
|
|
310
|
-
fontWeight: theme.
|
|
311
|
-
lineHeight: theme.
|
|
312
|
-
letterSpacing: theme.
|
|
309
|
+
fontSize: theme.size.typography.desktop.medium.paragraphDens.fontSize,
|
|
310
|
+
fontWeight: theme.size.typography.desktop.medium.paragraphDens.weight,
|
|
311
|
+
lineHeight: theme.size.typography.desktop.medium.paragraphDens.lineHeight,
|
|
312
|
+
letterSpacing: theme.size.typography.desktop.medium.paragraphDens.letterSpacing
|
|
313
313
|
},
|
|
314
314
|
// desktop - medium - »variant (body) 💅
|
|
315
315
|
...ownerState.typographyVariant === "body" && {
|
|
316
|
-
fontSize: theme.
|
|
317
|
-
fontWeight: theme.
|
|
318
|
-
lineHeight: theme.
|
|
319
|
-
letterSpacing: theme.
|
|
316
|
+
fontSize: theme.size.typography.desktop.medium.body.fontSize,
|
|
317
|
+
fontWeight: theme.size.typography.desktop.medium.body.weight,
|
|
318
|
+
lineHeight: theme.size.typography.desktop.medium.body.lineHeight,
|
|
319
|
+
letterSpacing: theme.size.typography.desktop.medium.body.letterSpacing
|
|
320
320
|
},
|
|
321
321
|
// desktop - medium - »variant (bodyDens) 💅
|
|
322
322
|
...ownerState.typographyVariant === "bodyDens" && {
|
|
323
|
-
fontSize: theme.
|
|
324
|
-
fontWeight: theme.
|
|
325
|
-
lineHeight: theme.
|
|
326
|
-
letterSpacing: theme.
|
|
323
|
+
fontSize: theme.size.typography.desktop.medium.bodyDens.fontSize,
|
|
324
|
+
fontWeight: theme.size.typography.desktop.medium.bodyDens.weight,
|
|
325
|
+
lineHeight: theme.size.typography.desktop.medium.bodyDens.lineHeight,
|
|
326
|
+
letterSpacing: theme.size.typography.desktop.medium.bodyDens.letterSpacing
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
package/index.js
CHANGED
|
@@ -111,7 +111,7 @@ import { W as W3 } from "./components/WindowBase/WindowBase.js";
|
|
|
111
111
|
import { W as W4 } from "./components/WindowBase/constants.js";
|
|
112
112
|
import { I as I4 } from "./components/WindowBase/icons.js";
|
|
113
113
|
import { W as W5 } from "./components/WindowBase/slots/WindowBaseEnum.js";
|
|
114
|
-
import {
|
|
114
|
+
import { C as C12, a as a8, H as H2, I as I5, d as d5, M as M9, b as b3, P as P7, S as S2, c as c6, T as T2, W as W6 } from "./components/WindowBase/slots/WindowBaseSlots.js";
|
|
115
115
|
import { H as H3 } from "./components/WindowBase/subcomponents/Header/HeaderWindowBase.js";
|
|
116
116
|
import { L as L7 } from "./components/LoadingError/LoadingError.js";
|
|
117
117
|
import { g as g20 } from "./components/LoadingError/dictionary.js";
|
|
@@ -224,7 +224,6 @@ export {
|
|
|
224
224
|
B6 as Button,
|
|
225
225
|
C14 as CheckBox,
|
|
226
226
|
C13 as CircularProgress,
|
|
227
|
-
f as CloseWindowStyled,
|
|
228
227
|
C5 as ColumnBooleanFormatter,
|
|
229
228
|
C7 as ColumnConcatenatedValueFormatter,
|
|
230
229
|
C6 as ColumnDateFormatter,
|
|
@@ -247,10 +246,9 @@ export {
|
|
|
247
246
|
F as FormProviderCustom,
|
|
248
247
|
G as GridLayout,
|
|
249
248
|
H5 as HamburgerMenu,
|
|
250
|
-
|
|
249
|
+
a8 as HeaderContentStyled,
|
|
251
250
|
H3 as HeaderWindowBase,
|
|
252
|
-
|
|
253
|
-
H2 as HeaderWindowStyled,
|
|
251
|
+
H2 as HeaderWindowComponentStyled,
|
|
254
252
|
H4 as HelmetPage,
|
|
255
253
|
H as HelperError,
|
|
256
254
|
I4 as ICONS,
|
|
@@ -258,7 +256,7 @@ export {
|
|
|
258
256
|
I6 as IconButton,
|
|
259
257
|
I2 as IconButtonAnimate,
|
|
260
258
|
I5 as IconWindowStyled,
|
|
261
|
-
|
|
259
|
+
d5 as IconsWrapperStyled,
|
|
262
260
|
I3 as Image,
|
|
263
261
|
I7 as ImageButton,
|
|
264
262
|
L2 as LABEL_FILTER_BUTTON,
|
|
@@ -298,7 +296,7 @@ export {
|
|
|
298
296
|
P8 as PaperForm,
|
|
299
297
|
P10 as Period,
|
|
300
298
|
P3 as PeriodFormatter,
|
|
301
|
-
|
|
299
|
+
b3 as PointIconStyled,
|
|
302
300
|
P7 as PointStyled,
|
|
303
301
|
P2 as PointsFormatter,
|
|
304
302
|
P6 as PolylineWithArrows,
|
|
@@ -337,7 +335,7 @@ export {
|
|
|
337
335
|
S4 as SplitLayout,
|
|
338
336
|
S8 as Stack,
|
|
339
337
|
S2 as SubtitleContainerStyled,
|
|
340
|
-
|
|
338
|
+
c6 as SubtitleWindowStyled,
|
|
341
339
|
T13 as TOGGLE_BUTTON_KEY_COMPONENT,
|
|
342
340
|
T17 as TOGGLE_ICON_BUTTON_KEY_COMPONENT,
|
|
343
341
|
T6 as Tab,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|