@apia/theme 0.3.0 → 0.3.3
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/LICENSE.md +20 -20
- package/dist/apia-theme-0.1.3.tgz +0 -0
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/package.json +50 -0
- package/dist/watchChanges.js +10 -0
- package/package.json +3 -3
- package/cleanDist.json +0 -3
package/LICENSE.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) [year] [fullname]
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) [year] [fullname]
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -393,7 +393,7 @@ function getColorsAndStatesByPath(incomingPath, options) {
|
|
|
393
393
|
}, getColorsByPath(`${incomingPath}.readonly`, options));
|
|
394
394
|
const selected = getColorsByPath(`${incomingPath}.selected`, options);
|
|
395
395
|
return merge(
|
|
396
|
-
__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r({}, ((_b = options == null ? void 0 : options.states) == null ? void 0 : _b.default) !== false ? getColorsByPath(incomingPath, options) : null), ((_c = options == null ? void 0 : options.states) == null ? void 0 : _c.checked) !== false ? buildStateObject(checked, "checked") : null), buildStateObject(focus, "focus")), ((_d = options == null ? void 0 : options.states) == null ? void 0 : _d.hover) !== false ? buildStateObject(hover, "hover") : null), ((_e = options == null ? void 0 : options.states) == null ? void 0 : _e.selected) !== false ? buildStateObject(selected, "selected") : null), ((_f = options == null ? void 0 : options.states) == null ? void 0 : _f.active) !== false ? buildStateObject(active, "active") : null), ((_g = options == null ? void 0 : options.states) == null ? void 0 : _g.disabled) !== false ? buildStateObject(disabled, "disabled") : null), ((_h = options == null ? void 0 : options.states) == null ? void 0 : _h.readonly) !== false ? buildStateObject(readonly, "readonly") : null), ((_i = options == null ? void 0 : options.states) == null ? void 0 : _i.path) !== false ? { path: { fill:
|
|
396
|
+
__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r(__spreadValues$r({}, ((_b = options == null ? void 0 : options.states) == null ? void 0 : _b.default) !== false ? getColorsByPath(incomingPath, options) : null), ((_c = options == null ? void 0 : options.states) == null ? void 0 : _c.checked) !== false ? buildStateObject(checked, "checked") : null), buildStateObject(focus, "focus")), ((_d = options == null ? void 0 : options.states) == null ? void 0 : _d.hover) !== false ? buildStateObject(hover, "hover") : null), ((_e = options == null ? void 0 : options.states) == null ? void 0 : _e.selected) !== false ? buildStateObject(selected, "selected") : null), ((_f = options == null ? void 0 : options.states) == null ? void 0 : _f.active) !== false ? buildStateObject(active, "active") : null), ((_g = options == null ? void 0 : options.states) == null ? void 0 : _g.disabled) !== false ? buildStateObject(disabled, "disabled") : null), ((_h = options == null ? void 0 : options.states) == null ? void 0 : _h.readonly) !== false ? buildStateObject(readonly, "readonly") : null), ((_i = options == null ? void 0 : options.states) == null ? void 0 : _i.path) !== false ? { path: { fill: `currentColor` } } : null),
|
|
397
397
|
options == null ? void 0 : options.mergeObject
|
|
398
398
|
);
|
|
399
399
|
}
|
|
@@ -1552,8 +1552,8 @@ const buttons = {
|
|
|
1552
1552
|
link: __spreadValues$m({
|
|
1553
1553
|
variant: "inherit",
|
|
1554
1554
|
width: "auto",
|
|
1555
|
-
border: "none
|
|
1556
|
-
background: "transparent
|
|
1555
|
+
border: "none",
|
|
1556
|
+
background: "transparent",
|
|
1557
1557
|
textDecoration: "underline",
|
|
1558
1558
|
px: 2,
|
|
1559
1559
|
py: 1,
|
|
@@ -3202,9 +3202,6 @@ const accordion$1 = {
|
|
|
3202
3202
|
color: "palette.primary.contrastText"
|
|
3203
3203
|
}
|
|
3204
3204
|
},
|
|
3205
|
-
"& svg path": {
|
|
3206
|
-
fill: "palette.primary.main"
|
|
3207
|
-
},
|
|
3208
3205
|
".accordionElement__toggler__checkbox": {
|
|
3209
3206
|
flexShrink: 0,
|
|
3210
3207
|
m: spacing(2)
|
|
@@ -4076,7 +4073,7 @@ const accordion = {
|
|
|
4076
4073
|
height: "32px",
|
|
4077
4074
|
background: "palette.background.paper",
|
|
4078
4075
|
border: "1px solid",
|
|
4079
|
-
borderColor:
|
|
4076
|
+
// borderColor: 'palette.border.field',
|
|
4080
4077
|
cursor: "pointer",
|
|
4081
4078
|
display: "flex",
|
|
4082
4079
|
alignItems: "stretch",
|
|
@@ -4143,6 +4140,10 @@ const accordion = {
|
|
|
4143
4140
|
'.accordion__item__content[aria-hidden="true"]': {
|
|
4144
4141
|
border: "none"
|
|
4145
4142
|
},
|
|
4143
|
+
".accordion__item__button__check": {
|
|
4144
|
+
borderColor: "palette.border.section",
|
|
4145
|
+
borderRadius: "3px"
|
|
4146
|
+
},
|
|
4146
4147
|
".accordion__item__content": {
|
|
4147
4148
|
background: "palette.primary.light",
|
|
4148
4149
|
'[data-variant="link"]': {
|