@foxford/navigation-ui 1.0.1 → 1.0.2

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.
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
  import { Button, Text, IconButton } from "@foxford/ui";
21
- import { SupportDialog, ModalFooter, SocialButtons } from "./styled.js";
21
+ import { SupportDialog, ModalFooter, SocialButtons } from "./modal.styled.js";
22
22
  import { formatPhone } from "../../../shared/phone.js";
23
23
  import { BASE_ZINDEX } from "../../../shared/z-index.js";
24
24
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
@@ -0,0 +1,12 @@
1
+ export declare const ModalFooter: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("preact").JSX.HTMLAttributes<HTMLDivElement>, "style"> & {
2
+ style?: string | import("styled-components/dist/types").CSSPropertiesWithVars | import("preact").JSX.CSSProperties | import("preact").JSX.SignalLike<string | import("preact").JSX.CSSProperties | undefined> | undefined;
3
+ }> & string;
4
+ export declare const SocialButtons: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("preact").JSX.HTMLAttributes<HTMLDivElement>, "style"> & {
5
+ style?: string | import("styled-components/dist/types").CSSPropertiesWithVars | import("preact").JSX.CSSProperties | import("preact").JSX.SignalLike<string | import("preact").JSX.CSSProperties | undefined> | undefined;
6
+ }> & string;
7
+ export declare const SupportDialog: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("@foxford/ui").DialogProps, "style"> & {
8
+ style?: string | import("styled-components/dist/types").CSSPropertiesWithVars | import("preact").JSX.CSSProperties | import("preact").JSX.SignalLike<string | import("preact").JSX.CSSProperties | undefined> | undefined;
9
+ }> & string & Omit<import("react-dom/src").ForwardRefExoticComponent<import("@foxford/ui").DialogProps> & {
10
+ Component: import("react-dom/src").ForwardRefExoticComponent<import("@foxford/ui").DialogComponentProps>;
11
+ }, keyof import("preact").Component<any, {}>>;
12
+ //# sourceMappingURL=modal.styled.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modal.styled.d.ts","sourceRoot":"","sources":["../../../../src/header/molecules/support-button/modal.styled.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,WAAW;;WAIvB,CAAA;AAED,eAAO,MAAM,aAAa;;WAGzB,CAAA;AAQD,eAAO,MAAM,aAAa;;;;6CAEzB,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { styled } from "styled-components";
2
+ import { Dialog } from "@foxford/ui";
3
+ const ModalFooter = styled.div.withConfig({
4
+ displayName: "modalstyled__ModalFooter",
5
+ componentId: "sc-1w58sw-0"
6
+ })(["margin-top:20px;border-top:1px solid ", ";padding-top:16px;"], ({
7
+ theme
8
+ }) => theme.colors["border-onmain-soft-large"]);
9
+ const SocialButtons = styled.div.withConfig({
10
+ displayName: "modalstyled__SocialButtons",
11
+ componentId: "sc-1w58sw-1"
12
+ })(["display:flex;justify-content:space-between;"]);
13
+ const SupportDialog = styled(Dialog).withConfig({
14
+ displayName: "modalstyled__SupportDialog",
15
+ componentId: "sc-1w58sw-2"
16
+ })(["font-family:", ";"], ({
17
+ theme
18
+ }) => theme.fonts.primary);
19
+ export {
20
+ ModalFooter,
21
+ SocialButtons,
22
+ SupportDialog
23
+ };
@@ -17,15 +17,4 @@ export declare const TabletButton: import("styled-components/dist/types").IStyle
17
17
  export declare const IndicatorRoot: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("preact").JSX.HTMLAttributes<HTMLDivElement>, "style"> & {
18
18
  style?: string | import("styled-components/dist/types").CSSPropertiesWithVars | import("preact").JSX.CSSProperties | import("preact").JSX.SignalLike<string | import("preact").JSX.CSSProperties | undefined> | undefined;
19
19
  }> & string;
20
- export declare const ModalFooter: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("preact").JSX.HTMLAttributes<HTMLDivElement>, "style"> & {
21
- style?: string | import("styled-components/dist/types").CSSPropertiesWithVars | import("preact").JSX.CSSProperties | import("preact").JSX.SignalLike<string | import("preact").JSX.CSSProperties | undefined> | undefined;
22
- }> & string;
23
- export declare const SocialButtons: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("preact").JSX.HTMLAttributes<HTMLDivElement>, "style"> & {
24
- style?: string | import("styled-components/dist/types").CSSPropertiesWithVars | import("preact").JSX.CSSProperties | import("preact").JSX.SignalLike<string | import("preact").JSX.CSSProperties | undefined> | undefined;
25
- }> & string;
26
- export declare const SupportDialog: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("@foxford/ui").DialogProps, "style"> & {
27
- style?: string | import("styled-components/dist/types").CSSPropertiesWithVars | import("preact").JSX.CSSProperties | import("preact").JSX.SignalLike<string | import("preact").JSX.CSSProperties | undefined> | undefined;
28
- }> & string & Omit<import("react-dom/src").ForwardRefExoticComponent<import("@foxford/ui").DialogProps> & {
29
- Component: import("react-dom/src").ForwardRefExoticComponent<import("@foxford/ui").DialogComponentProps>;
30
- }, keyof import("preact").Component<any, {}>>;
31
20
  //# sourceMappingURL=styled.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../../src/header/molecules/support-button/styled.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;WAEhB,CAAA;AAED,eAAO,MAAM,UAAU;;;;;;;;;WAEtB,CAAA;AAED,eAAO,MAAM,YAAY;;uJAExB,CAAA;AAED,eAAO,MAAM,aAAa;;WAIzB,CAAA;AAED,eAAO,MAAM,WAAW;;WAIvB,CAAA;AAED,eAAO,MAAM,aAAa;;WAGzB,CAAA;AAQD,eAAO,MAAM,aAAa;;;;6CAEzB,CAAA"}
1
+ {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../../src/header/molecules/support-button/styled.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;WAEhB,CAAA;AAED,eAAO,MAAM,UAAU;;;;;;;;;WAEtB,CAAA;AAED,eAAO,MAAM,YAAY;;uJAExB,CAAA;AAED,eAAO,MAAM,aAAa;;WAIzB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { styled } from "styled-components";
2
- import { IconButton, Dialog } from "@foxford/ui";
2
+ import { IconButton } from "@foxford/ui";
3
3
  const Root = styled.div.withConfig({
4
4
  displayName: "styled__Root",
5
5
  componentId: "sc-mwa5sc-0"
@@ -16,28 +16,9 @@ const IndicatorRoot = styled.div.withConfig({
16
16
  displayName: "styled__IndicatorRoot",
17
17
  componentId: "sc-mwa5sc-3"
18
18
  })(["position:absolute;top:-5px;right:2px;"]);
19
- const ModalFooter = styled.div.withConfig({
20
- displayName: "styled__ModalFooter",
21
- componentId: "sc-mwa5sc-4"
22
- })(["margin-top:20px;border-top:1px solid ", ";padding-top:16px;"], ({
23
- theme
24
- }) => theme.colors["border-onmain-soft-large"]);
25
- const SocialButtons = styled.div.withConfig({
26
- displayName: "styled__SocialButtons",
27
- componentId: "sc-mwa5sc-5"
28
- })(["display:flex;justify-content:space-between;"]);
29
- const SupportDialog = styled(Dialog).withConfig({
30
- displayName: "styled__SupportDialog",
31
- componentId: "sc-mwa5sc-6"
32
- })(["font-family:", ";"], ({
33
- theme
34
- }) => theme.fonts.primary);
35
19
  export {
36
20
  IndicatorRoot,
37
- ModalFooter,
38
21
  Root,
39
- SocialButtons,
40
- SupportDialog,
41
22
  TabletButton,
42
23
  TabletRoot
43
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxford/navigation-ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Презентационная вёрстка шапки и подвала портала Фоксфорда",
5
5
  "keywords": [
6
6
  "foxford",
@@ -60,6 +60,6 @@
60
60
  "package.json",
61
61
  "shared"
62
62
  ],
63
- "sha": "8ba3d93",
63
+ "sha": "84a5c28",
64
64
  "scripts": {}
65
65
  }