@carto/meridian-ds 1.0.0-alpha-muiv6.1 → 1.1.0-alpha.1
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/CHANGELOG.md +7 -2
- package/dist/{Alert-CAXy8Ryb.js → Alert-DDz3-_16.js} +1 -1
- package/dist/{Alert-C0iusY_y.cjs → Alert-FLV5jJYV.cjs} +1 -1
- package/dist/{MenuItem-DlGBm9LU.js → MenuItem-BTaTqbU8.js} +300 -300
- package/dist/MenuItem-CxZTr9gk.cjs +9 -0
- package/dist/TablePaginationActions-DyJEKn3l.cjs +9 -0
- package/dist/{TablePaginationActions-DdTjHDJ5.js → TablePaginationActions-GazQOp5y.js} +479 -528
- package/dist/components/index.cjs +5 -5
- package/dist/components/index.js +1323 -1337
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.js +54 -62
- package/dist/types/components/molecules/Menu/MenuItem.d.ts.map +1 -1
- package/dist/types/components/molecules/MultipleSelectField/MultipleSelectField.d.ts.map +1 -1
- package/dist/types/components/molecules/UploadField/StyledUploadField.d.ts +8 -0
- package/dist/types/components/molecules/UploadField/StyledUploadField.d.ts.map +1 -0
- package/dist/types/theme/carto-theme.d.ts +120 -120
- package/dist/types/theme/sections/components/data-display.d.ts +1 -2
- package/dist/types/theme/sections/components/data-display.d.ts.map +1 -1
- package/dist/types/theme/sections/components/date-pickers.d.ts.map +1 -1
- package/dist/types/theme/sections/typography.d.ts +1 -1
- package/dist/types/theme/sections/typography.d.ts.map +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts +2 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -1
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +32 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -0
- package/dist/types/widgets/SkeletonWidgets.d.ts +20 -0
- package/dist/types/widgets/SkeletonWidgets.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.styled.d.ts +45 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.styled.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaLabel.d.ts.map +1 -1
- package/dist/types/widgets/legend/LegendLayer.d.ts.map +1 -1
- package/dist/types/widgets/legend/LegendWidgetUI.d.ts.map +1 -1
- package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts +31 -0
- package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/LegendProportion.d.ts.map +1 -1
- package/dist/widgets/index.cjs +13 -13
- package/dist/widgets/index.js +1547 -1539
- package/package.json +12 -10
- package/dist/MenuItem-CYbg2TdD.cjs +0 -9
- package/dist/TablePaginationActions-DfvzICj9.cjs +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## Not released
|
|
4
4
|
|
|
5
|
+
- UI fixes in MenuItem & MultipleSelectField & Typography components [#102](https://github.com/CartoDB/meridian-ds/pull/102)
|
|
6
|
+
|
|
7
|
+
## 1.0
|
|
8
|
+
|
|
9
|
+
### 1.1.0
|
|
10
|
+
|
|
5
11
|
- Linting missing files [#78](https://github.com/CartoDB/meridian-ds/pull/78)
|
|
6
12
|
- PasswordField: increase visibility and bugfixing icon [#81](https://github.com/CartoDB/meridian-ds/pull/81)
|
|
7
13
|
- New DatePicker component [#66](https://github.com/CartoDB/meridian-ds/pull/66)
|
|
8
14
|
- New DateRangePicker & PickersDay components [#71](https://github.com/CartoDB/meridian-ds/pull/71)
|
|
9
15
|
- New TimePicker & DateTimePicker components [#87](https://github.com/CartoDB/meridian-ds/pull/87)
|
|
10
|
-
|
|
11
|
-
## 1.0
|
|
16
|
+
- Simplify icon imports across components and consolidate MUI imports by removing unnecessary styles subpath [#97](https://github.com/CartoDB/meridian-ds/pull/97)
|
|
12
17
|
|
|
13
18
|
### 1.0.0
|
|
14
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l, jsxs as x } from "react/jsx-runtime";
|
|
2
|
-
import { b as c, T } from "./TablePaginationActions-
|
|
2
|
+
import { b as c, T } from "./TablePaginationActions-GazQOp5y.js";
|
|
3
3
|
import { styled as M, Alert as v, Fade as b, AlertTitle as I } from "@mui/material";
|
|
4
4
|
import { forwardRef as $, useState as k } from "react";
|
|
5
5
|
const S = M(v, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),c=require("./TablePaginationActions-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),c=require("./TablePaginationActions-DyJEKn3l.cjs"),l=require("@mui/material"),g=require("react"),T=l.styled(l.Alert,{shouldForwardProp:r=>!["isNeutral","content","hasCloseButton","hasAction","hasTitle","isSticky"].includes(r)})(({isNeutral:r,content:n,hasCloseButton:a,hasAction:e,hasTitle:t,isSticky:s,theme:i})=>({columnGap:i.spacing(1),minHeight:i.spacing(6),...e&&{display:"grid",gridTemplateAreas:n==="inline"||a?'"icon message actions"':`
|
|
2
2
|
"icon message"
|
|
3
3
|
"icon actions"
|
|
4
4
|
`,gridTemplateColumns:a?`${c.ICON_SIZE_MEDIUM} 1fr ${i.spacing(3)}`:`${c.ICON_SIZE_MEDIUM}`},...r&&{backgroundColor:i.palette.default.background,color:i.palette.text.primary},...s&&{borderRadius:0},".MuiAlert-message":{flex:1,paddingTop:t?i.spacing(.25):i.spacing(.5),"& a":{color:i.palette.primary.main,textDecoration:"none","&:hover":{textDecoration:"underline"}},...e&&{gridArea:"message"},...r&&{"& :not(.MuiAlertTitle-root)":{color:i.palette.text.secondary},a:{color:`${i.palette.primary.main} !important`}}},".MuiAlert-icon":{height:t?i.spacing(2.5):i.spacing(3),marginRight:0,...e&&{gridArea:"icon"},...r&&{color:i.palette.text.primary}},".MuiAlert-action":{alignItems:n==="inline"&&!a?"center":"flex-start",margin:n==="block"&&!a?i.spacing(1.5,0,.5):0,marginLeft:n==="inline"||a?"auto":0,padding:0,...e&&{gridArea:"actions"},".MuiIconButton-root svg path":{fill:a?i.palette.text.secondary:void 0}}}));function v({title:r,action:n,severity:a="neutral",content:e="inline",variant:t="standard",children:s,onClose:i,open:p,isSticky:u,...A},x){const[f,y]=g.useState(p??!0),m=i?I=>{i(I),y(!1)}:void 0,d=a==="neutral",M=p??f;return o.jsx(l.Fade,{in:M,appear:!1,children:o.jsxs(T,{ref:x,severity:d?"info":a,isNeutral:d,content:e,action:n,onClose:m,hasCloseButton:!!i,hasAction:!!n,hasTitle:!!r,isSticky:u,variant:t,...A,children:[r&&o.jsx(l.AlertTitle,{children:r}),o.jsx(c.Typography,{variant:"caption",color:"inherit",component:"div",children:s})]})})}const b=g.forwardRef(v);exports.Alert=b;
|