@mw-kit/mw-ui 1.8.3 → 1.8.4
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/dist/index.js +7 -8
- package/dist/index.mjs +7 -8
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -8926,7 +8926,7 @@ var MonthContainer = import_styled_components14.default.div`
|
|
|
8926
8926
|
}
|
|
8927
8927
|
`;
|
|
8928
8928
|
var MonthName = import_styled_components14.default.div`
|
|
8929
|
-
${({ theme: theme4 }) => theme4.useTypography("
|
|
8929
|
+
${({ theme: theme4 }) => theme4.useTypography("h6")};
|
|
8930
8930
|
line-height: ${({ theme: theme4 }) => theme4.spacings.s3};
|
|
8931
8931
|
color: ${({ theme: theme4 }) => theme4.colors.darkBlue};
|
|
8932
8932
|
text-align: center;
|
|
@@ -8935,7 +8935,7 @@ var MonthBtn = import_styled_components14.default.div`
|
|
|
8935
8935
|
display: flex;
|
|
8936
8936
|
justify-content: center;
|
|
8937
8937
|
align-items: center;
|
|
8938
|
-
gap: ${({ theme: theme4 }) => theme4.spacings.s1};
|
|
8938
|
+
gap: calc(${({ theme: theme4 }) => theme4.spacings.s1} / 2);
|
|
8939
8939
|
|
|
8940
8940
|
${({ onClick }) => {
|
|
8941
8941
|
if (!onClick) return;
|
|
@@ -8947,7 +8947,7 @@ var MonthBtn = import_styled_components14.default.div`
|
|
|
8947
8947
|
var NavBtn = import_styled_components14.default.button`
|
|
8948
8948
|
${({ theme: theme4 }) => theme4.useTypography("p")}
|
|
8949
8949
|
line-height: 14px;
|
|
8950
|
-
width:
|
|
8950
|
+
width: 21px;
|
|
8951
8951
|
height: 32px;
|
|
8952
8952
|
box-shadow: none;
|
|
8953
8953
|
border: none;
|
|
@@ -9129,11 +9129,10 @@ var WeekContainer = import_styled_components16.default.div`
|
|
|
9129
9129
|
}
|
|
9130
9130
|
|
|
9131
9131
|
> * {
|
|
9132
|
-
|
|
9133
|
-
font-size: ${({ theme: theme4 }) => theme4.spacings.s3};
|
|
9132
|
+
${({ theme: theme4 }) => theme4.useTypography("h6")}
|
|
9134
9133
|
line-height: ${({ theme: theme4 }) => theme4.spacings.s3};
|
|
9135
|
-
width:
|
|
9136
|
-
height:
|
|
9134
|
+
width: 25px;
|
|
9135
|
+
height: 25px;
|
|
9137
9136
|
|
|
9138
9137
|
color: ${({ theme: theme4 }) => theme4.colors.darkBlue};
|
|
9139
9138
|
box-shadow: none;
|
|
@@ -9237,7 +9236,7 @@ var DayIndicator = (0, import_styled_components16.default)(Indicator_default).at
|
|
|
9237
9236
|
size: "mini"
|
|
9238
9237
|
})`
|
|
9239
9238
|
position: absolute;
|
|
9240
|
-
bottom:
|
|
9239
|
+
bottom: 1px;
|
|
9241
9240
|
left: calc(50% - (${sizes2.mini} / 2) + 1px);
|
|
9242
9241
|
`;
|
|
9243
9242
|
|
package/dist/index.mjs
CHANGED
|
@@ -8870,7 +8870,7 @@ var MonthContainer = styled11.div`
|
|
|
8870
8870
|
}
|
|
8871
8871
|
`;
|
|
8872
8872
|
var MonthName = styled11.div`
|
|
8873
|
-
${({ theme: theme4 }) => theme4.useTypography("
|
|
8873
|
+
${({ theme: theme4 }) => theme4.useTypography("h6")};
|
|
8874
8874
|
line-height: ${({ theme: theme4 }) => theme4.spacings.s3};
|
|
8875
8875
|
color: ${({ theme: theme4 }) => theme4.colors.darkBlue};
|
|
8876
8876
|
text-align: center;
|
|
@@ -8879,7 +8879,7 @@ var MonthBtn = styled11.div`
|
|
|
8879
8879
|
display: flex;
|
|
8880
8880
|
justify-content: center;
|
|
8881
8881
|
align-items: center;
|
|
8882
|
-
gap: ${({ theme: theme4 }) => theme4.spacings.s1};
|
|
8882
|
+
gap: calc(${({ theme: theme4 }) => theme4.spacings.s1} / 2);
|
|
8883
8883
|
|
|
8884
8884
|
${({ onClick }) => {
|
|
8885
8885
|
if (!onClick) return;
|
|
@@ -8891,7 +8891,7 @@ var MonthBtn = styled11.div`
|
|
|
8891
8891
|
var NavBtn = styled11.button`
|
|
8892
8892
|
${({ theme: theme4 }) => theme4.useTypography("p")}
|
|
8893
8893
|
line-height: 14px;
|
|
8894
|
-
width:
|
|
8894
|
+
width: 21px;
|
|
8895
8895
|
height: 32px;
|
|
8896
8896
|
box-shadow: none;
|
|
8897
8897
|
border: none;
|
|
@@ -9073,11 +9073,10 @@ var WeekContainer = styled13.div`
|
|
|
9073
9073
|
}
|
|
9074
9074
|
|
|
9075
9075
|
> * {
|
|
9076
|
-
|
|
9077
|
-
font-size: ${({ theme: theme4 }) => theme4.spacings.s3};
|
|
9076
|
+
${({ theme: theme4 }) => theme4.useTypography("h6")}
|
|
9078
9077
|
line-height: ${({ theme: theme4 }) => theme4.spacings.s3};
|
|
9079
|
-
width:
|
|
9080
|
-
height:
|
|
9078
|
+
width: 25px;
|
|
9079
|
+
height: 25px;
|
|
9081
9080
|
|
|
9082
9081
|
color: ${({ theme: theme4 }) => theme4.colors.darkBlue};
|
|
9083
9082
|
box-shadow: none;
|
|
@@ -9181,7 +9180,7 @@ var DayIndicator = styled13(Indicator_default).attrs({
|
|
|
9181
9180
|
size: "mini"
|
|
9182
9181
|
})`
|
|
9183
9182
|
position: absolute;
|
|
9184
|
-
bottom:
|
|
9183
|
+
bottom: 1px;
|
|
9185
9184
|
left: calc(50% - (${sizes2.mini} / 2) + 1px);
|
|
9186
9185
|
`;
|
|
9187
9186
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mw-kit/mw-ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.4",
|
|
4
4
|
"description": "Made with create-react-library",
|
|
5
5
|
"author": "fmgusmao",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"lint": "eslint {src,stories}/**/*.{js,ts,jsx,tsx}",
|
|
47
47
|
"lint:fix": "eslint {src,stories}/**/*.{js,ts,jsx,tsx} --fix",
|
|
48
48
|
"prettier": "prettier --write src/**/*.{ts,tsx}",
|
|
49
|
-
"storybook": "storybook dev -p 6006 --no-open",
|
|
49
|
+
"storybook": "storybook dev --quiet -p 6006 --no-open",
|
|
50
50
|
"build-storybook": "storybook build",
|
|
51
51
|
"typescript": "tsc --project ./tsconfig.json",
|
|
52
52
|
"depcheck": "depcheck"
|