@mw-kit/mw-ui 1.8.3 → 1.8.5

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 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("p")};
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: 32px;
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
- font-family: ${({ theme: theme4 }) => theme4.fonts.lato};
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: 32px;
9136
- height: 32px;
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: calc(${sizes2.mini} - 1px);
9239
+ bottom: 1px;
9241
9240
  left: calc(50% - (${sizes2.mini} / 2) + 1px);
9242
9241
  `;
9243
9242
 
@@ -15196,8 +15195,8 @@ var Col = import_styled_components53.default.div`
15196
15195
  var import_jsx_runtime341 = require("react/jsx-runtime");
15197
15196
  var Col2 = import_react45.default.forwardRef((props, ref) => {
15198
15197
  const context = useContext4();
15199
- const _props = { ...context.cols, ...props };
15200
- const colProps = filterObject(_props, [
15198
+ const colProps = { ...context.cols, ...props };
15199
+ const htmlProps = filterObject(colProps, [
15201
15200
  "width",
15202
15201
  "spacing",
15203
15202
  "align",
@@ -15213,17 +15212,17 @@ var Col2 = import_react45.default.forwardRef((props, ref) => {
15213
15212
  Col,
15214
15213
  {
15215
15214
  ref,
15216
- ...colProps,
15217
- $width: props.width,
15218
- $spacing: props.spacing,
15219
- $spacingAround: props.spacingAround,
15220
- $align: props.align,
15221
- $bordered: props.bordered,
15222
- $fontColor: props.fontColor,
15223
- $backgroundColor: props.backgroundColor,
15224
- $hover: props.hover,
15225
- $pointer: props.pointer,
15226
- children: _props.ellipsis ? /* @__PURE__ */ (0, import_jsx_runtime341.jsx)(EllipsisContainer_default, { children: _props.children }) : _props.children
15215
+ ...htmlProps,
15216
+ $width: colProps.width,
15217
+ $spacing: colProps.spacing,
15218
+ $spacingAround: colProps.spacingAround,
15219
+ $align: colProps.align,
15220
+ $bordered: colProps.bordered,
15221
+ $fontColor: colProps.fontColor,
15222
+ $backgroundColor: colProps.backgroundColor,
15223
+ $hover: colProps.hover,
15224
+ $pointer: colProps.pointer,
15225
+ children: colProps.ellipsis ? /* @__PURE__ */ (0, import_jsx_runtime341.jsx)(EllipsisContainer_default, { children: colProps.children }) : colProps.children
15227
15226
  }
15228
15227
  );
15229
15228
  });
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("p")};
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: 32px;
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
- font-family: ${({ theme: theme4 }) => theme4.fonts.lato};
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: 32px;
9080
- height: 32px;
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: calc(${sizes2.mini} - 1px);
9183
+ bottom: 1px;
9185
9184
  left: calc(50% - (${sizes2.mini} / 2) + 1px);
9186
9185
  `;
9187
9186
 
@@ -15140,8 +15139,8 @@ var Col = styled50.div`
15140
15139
  import { jsx as jsx341 } from "react/jsx-runtime";
15141
15140
  var Col2 = React42.forwardRef((props, ref) => {
15142
15141
  const context = useContext4();
15143
- const _props = { ...context.cols, ...props };
15144
- const colProps = filterObject(_props, [
15142
+ const colProps = { ...context.cols, ...props };
15143
+ const htmlProps = filterObject(colProps, [
15145
15144
  "width",
15146
15145
  "spacing",
15147
15146
  "align",
@@ -15157,17 +15156,17 @@ var Col2 = React42.forwardRef((props, ref) => {
15157
15156
  Col,
15158
15157
  {
15159
15158
  ref,
15160
- ...colProps,
15161
- $width: props.width,
15162
- $spacing: props.spacing,
15163
- $spacingAround: props.spacingAround,
15164
- $align: props.align,
15165
- $bordered: props.bordered,
15166
- $fontColor: props.fontColor,
15167
- $backgroundColor: props.backgroundColor,
15168
- $hover: props.hover,
15169
- $pointer: props.pointer,
15170
- children: _props.ellipsis ? /* @__PURE__ */ jsx341(EllipsisContainer_default, { children: _props.children }) : _props.children
15159
+ ...htmlProps,
15160
+ $width: colProps.width,
15161
+ $spacing: colProps.spacing,
15162
+ $spacingAround: colProps.spacingAround,
15163
+ $align: colProps.align,
15164
+ $bordered: colProps.bordered,
15165
+ $fontColor: colProps.fontColor,
15166
+ $backgroundColor: colProps.backgroundColor,
15167
+ $hover: colProps.hover,
15168
+ $pointer: colProps.pointer,
15169
+ children: colProps.ellipsis ? /* @__PURE__ */ jsx341(EllipsisContainer_default, { children: colProps.children }) : colProps.children
15171
15170
  }
15172
15171
  );
15173
15172
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mw-kit/mw-ui",
3
- "version": "1.8.3",
3
+ "version": "1.8.5",
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"