@solace-health/ui 0.9.43 → 0.9.44
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.cjs +13 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -5
- package/dist/index.d.ts +4 -5
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { CSSProperties } from 'react';
|
|
|
5
5
|
import * as contentful from 'contentful';
|
|
6
6
|
import * as preact from 'preact';
|
|
7
7
|
import { FunctionalComponent } from 'preact';
|
|
8
|
-
import { TabsProps, MenuProps as MenuProps$1, SubMenuProps } from 'antd';
|
|
8
|
+
import { TabsProps, MenuProps as MenuProps$1, DropDownProps, SubMenuProps } from 'antd';
|
|
9
9
|
import { MenuProps } from '@szhsin/react-menu';
|
|
10
10
|
import * as _emotion_styled from '@emotion/styled';
|
|
11
11
|
export { default as styled } from '@emotion/styled';
|
|
@@ -421,12 +421,11 @@ declare const _default$3: {
|
|
|
421
421
|
}) => react_jsx_runtime.JSX.Element;
|
|
422
422
|
};
|
|
423
423
|
|
|
424
|
-
declare
|
|
424
|
+
declare const Dropdown: _emotion_styled.StyledComponent<{
|
|
425
425
|
items: MenuProps$1["items"];
|
|
426
426
|
children: React.ReactNode;
|
|
427
|
-
className?: string;
|
|
428
|
-
}
|
|
429
|
-
declare const Dropdown: _emotion_styled.StyledComponent<DropdownProps & {
|
|
427
|
+
className?: string | undefined;
|
|
428
|
+
} & DropDownProps & {
|
|
430
429
|
theme?: _emotion_react.Theme | undefined;
|
|
431
430
|
}, {}, {
|
|
432
431
|
ref?: preact_hooks.Ref<any> | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { CSSProperties } from 'react';
|
|
|
5
5
|
import * as contentful from 'contentful';
|
|
6
6
|
import * as preact from 'preact';
|
|
7
7
|
import { FunctionalComponent } from 'preact';
|
|
8
|
-
import { TabsProps, MenuProps as MenuProps$1, SubMenuProps } from 'antd';
|
|
8
|
+
import { TabsProps, MenuProps as MenuProps$1, DropDownProps, SubMenuProps } from 'antd';
|
|
9
9
|
import { MenuProps } from '@szhsin/react-menu';
|
|
10
10
|
import * as _emotion_styled from '@emotion/styled';
|
|
11
11
|
export { default as styled } from '@emotion/styled';
|
|
@@ -421,12 +421,11 @@ declare const _default$3: {
|
|
|
421
421
|
}) => react_jsx_runtime.JSX.Element;
|
|
422
422
|
};
|
|
423
423
|
|
|
424
|
-
declare
|
|
424
|
+
declare const Dropdown: _emotion_styled.StyledComponent<{
|
|
425
425
|
items: MenuProps$1["items"];
|
|
426
426
|
children: React.ReactNode;
|
|
427
|
-
className?: string;
|
|
428
|
-
}
|
|
429
|
-
declare const Dropdown: _emotion_styled.StyledComponent<DropdownProps & {
|
|
427
|
+
className?: string | undefined;
|
|
428
|
+
} & DropDownProps & {
|
|
430
429
|
theme?: _emotion_react.Theme | undefined;
|
|
431
430
|
}, {}, {
|
|
432
431
|
ref?: preact_hooks.Ref<any> | undefined;
|
package/dist/index.js
CHANGED
|
@@ -812,11 +812,23 @@ var r1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
|
|
|
812
812
|
font-size: 16px;
|
|
813
813
|
font-weight: 400;
|
|
814
814
|
line-height: normal;
|
|
815
|
-
`,d3=({steps:e})=>{let t=e.map((o,r)=>jsxs(W0,{children:[jsx("div",{children:jsx(X0,{children:r+1})}),jsxs(J0,{children:[jsx(K0,{children:o.title}),jsx(Y0,{children:o.description})]})]},o.title));return jsx(U0,{children:t})};var q0={Horizontal:l3,Vertical:d3};var e4=n(({items:e,children:t,className:o=""})=>jsx(Dropdown,{menu:{items:e,style:{backgroundColor:"#fff",borderRadius:8,padding:0}},overlayClassName:o,placement:"bottomLeft",arrow:{pointAtCenter:!0},children:t}))`
|
|
815
|
+
`,d3=({steps:e})=>{let t=e.map((o,r)=>jsxs(W0,{children:[jsx("div",{children:jsx(X0,{children:r+1})}),jsxs(J0,{children:[jsx(K0,{children:o.title}),jsx(Y0,{children:o.description})]})]},o.title));return jsx(U0,{children:t})};var q0={Horizontal:l3,Vertical:d3};var e4=n(({items:e,children:t,className:o="",...r})=>jsx(Dropdown,{menu:{items:e,style:{backgroundColor:"#fff",borderRadius:8,padding:0}},overlayClassName:o,placement:"bottomLeft",arrow:{pointAtCenter:!0},...r,children:t}))`
|
|
816
816
|
.ant-dropdown-menu-item:hover {
|
|
817
817
|
background-color: #e9f0ee !important;
|
|
818
818
|
border-radius: 0px;
|
|
819
819
|
}
|
|
820
|
+
ul > li {
|
|
821
|
+
border-radius: 0px !important;
|
|
822
|
+
}
|
|
823
|
+
ul > li:first-child {
|
|
824
|
+
border-top-left-radius: 8px !important;
|
|
825
|
+
border-top-right-radius: 8px !important;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
ul > li:last-child {
|
|
829
|
+
border-bottom-left-radius: 8px !important;
|
|
830
|
+
border-bottom-right-radius: 8px !important;
|
|
831
|
+
}
|
|
820
832
|
`,t4=e4;var a4=n(animated.div)`
|
|
821
833
|
position: absolute;
|
|
822
834
|
display: block;
|