@ably/ui 14.0.0-dev.6d5cd62 → 14.0.0-dev.968e4a2
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/README.md +10 -8
- package/core/.DS_Store +0 -0
- package/core/Accordion/component.js +0 -0
- package/core/Accordion.js +1 -1
- package/core/Code.js +1 -1
- package/core/ConnectStateWrapper/component.js +0 -0
- package/core/ConnectStateWrapper.js +1 -1
- package/core/ContactFooter.js +1 -1
- package/core/CookieMessage/component.js +1 -0
- package/core/CookieMessage.js +1 -1
- package/core/CustomerLogos/component.js +0 -0
- package/core/DropdownMenu/component.js +0 -0
- package/core/DropdownMenu.js +1 -1
- package/core/FeaturedLink/component.js +0 -0
- package/core/FeaturedLink.js +1 -1
- package/core/Flash/component.js +1 -0
- package/core/Flash.js +1 -1
- package/core/Footer/component.js +1 -0
- package/core/Footer.js +1 -1
- package/core/Icon/component.js +0 -0
- package/core/Loader/component.js +0 -0
- package/core/Logo/component.js +0 -0
- package/core/Meganav.js +1 -1
- package/core/MeganavBlogPostsList.js +1 -1
- package/core/MeganavContentCompany/.DS_Store +0 -0
- package/core/MeganavContentCompany/component.js +0 -0
- package/core/MeganavContentCompany.js +1 -1
- package/core/MeganavContentDevelopers/.DS_Store +0 -0
- package/core/MeganavContentDevelopers/component.js +0 -0
- package/core/MeganavContentDevelopers.js +1 -1
- package/core/MeganavContentProducts/.DS_Store +0 -0
- package/core/MeganavContentProducts/component.js +0 -0
- package/core/MeganavContentProducts.js +1 -1
- package/core/MeganavContentUseCases/.DS_Store +0 -0
- package/core/MeganavContentUseCases/component.js +0 -0
- package/core/MeganavContentUseCases.js +1 -1
- package/core/MeganavControl.js +1 -1
- package/core/MeganavControlMobileDropdown.js +1 -1
- package/core/MeganavControlMobilePanelClose.js +1 -1
- package/core/MeganavControlMobilePanelOpen.js +1 -1
- package/core/MeganavItemsDesktop/.DS_Store +0 -0
- package/core/MeganavItemsDesktop/component.js +0 -0
- package/core/MeganavItemsDesktop.js +1 -1
- package/core/MeganavItemsMobile/.DS_Store +0 -0
- package/core/MeganavItemsMobile/component.js +0 -0
- package/core/MeganavItemsMobile.js +1 -1
- package/core/MeganavItemsSignedIn/.DS_Store +0 -0
- package/core/MeganavItemsSignedIn/component.js +0 -0
- package/core/MeganavItemsSignedIn.js +1 -1
- package/core/MeganavSearch/.DS_Store +0 -0
- package/core/MeganavSearch/component.js +0 -0
- package/core/MeganavSearch.js +1 -1
- package/core/MeganavSearchPanel/.DS_Store +0 -0
- package/core/MeganavSearchPanel/component.js +0 -0
- package/core/MeganavSearchPanel.js +1 -1
- package/core/MeganavSearchSuggestions.js +1 -1
- package/core/Notice/component.js +1 -1
- package/core/Notice.js +1 -1
- package/core/SignOutLink/.DS_Store +0 -0
- package/core/SignOutLink/component.js +0 -0
- package/core/Slider.js +1 -1
- package/core/Table/TableCell.js +1 -1
- package/core/Table/data.js +1 -1
- package/core/Table.js +1 -1
- package/core/Tooltip.js +1 -1
- package/package.json +2 -1
- package/src/core/.DS_Store +0 -0
- package/src/core/Accordion/Accordion.stories.tsx +1 -1
- package/src/core/Accordion/component.js +0 -0
- package/src/core/Accordion.tsx +1 -1
- package/src/core/Code/Code.stories.tsx +1 -1
- package/src/core/Code.tsx +3 -3
- package/src/core/ConnectStateWrapper/component.js +0 -0
- package/src/core/ConnectStateWrapper.tsx +1 -1
- package/src/core/ContactFooter/ContactFooter.stories.tsx +1 -1
- package/src/core/ContactFooter.tsx +4 -4
- package/src/core/CookieMessage/CookieMessage.stories.tsx +1 -1
- package/src/core/CookieMessage/component.js +1 -0
- package/src/core/CookieMessage.tsx +2 -2
- package/src/core/CustomerLogos/CustomerLogos.stories.tsx +1 -1
- package/src/core/CustomerLogos/component.js +0 -0
- package/src/core/DropdownMenu/DropdownMenu.stories.tsx +2 -2
- package/src/core/DropdownMenu/component.js +0 -0
- package/src/core/DropdownMenu.tsx +1 -1
- package/src/core/FeaturedLink/FeaturedLink.stories.tsx +1 -1
- package/src/core/FeaturedLink/component.js +0 -0
- package/src/core/FeaturedLink.tsx +1 -1
- package/src/core/Flash/Flash.stories.tsx +1 -1
- package/src/core/Flash/component.js +1 -0
- package/src/core/Flash.tsx +4 -4
- package/src/core/Footer/Footer.stories.tsx +1 -1
- package/src/core/Footer/component.js +1 -0
- package/src/core/Footer.tsx +3 -3
- package/src/core/Icon/Icon.stories.tsx +1 -1
- package/src/core/Icon/component.js +0 -0
- package/src/core/Loader/Loader.stories.tsx +1 -1
- package/src/core/Loader/component.js +0 -0
- package/src/core/Logo/Logo.stories.tsx +1 -1
- package/src/core/Logo/component.js +0 -0
- package/src/core/Meganav/Meganav.stories.tsx +1 -1
- package/src/core/Meganav.tsx +19 -17
- package/src/core/MeganavBlogPostsList.tsx +2 -2
- package/src/core/MeganavContentCompany/.DS_Store +0 -0
- package/src/core/MeganavContentCompany/component.js +0 -0
- package/src/core/MeganavContentCompany.tsx +5 -5
- package/src/core/MeganavContentDevelopers/.DS_Store +0 -0
- package/src/core/MeganavContentDevelopers/component.js +0 -0
- package/src/core/MeganavContentDevelopers.tsx +2 -2
- package/src/core/MeganavContentProducts/.DS_Store +0 -0
- package/src/core/MeganavContentProducts/component.js +0 -0
- package/src/core/MeganavContentProducts.tsx +2 -2
- package/src/core/MeganavContentUseCases/.DS_Store +0 -0
- package/src/core/MeganavContentUseCases/component.js +1 -0
- package/src/core/MeganavContentUseCases.tsx +2 -2
- package/src/core/MeganavControl.tsx +2 -2
- package/src/core/MeganavControlMobileDropdown.tsx +2 -2
- package/src/core/MeganavControlMobilePanelClose.tsx +2 -1
- package/src/core/MeganavControlMobilePanelOpen.tsx +2 -1
- package/src/core/MeganavItemsDesktop/.DS_Store +0 -0
- package/src/core/MeganavItemsDesktop/component.js +0 -0
- package/src/core/MeganavItemsDesktop.tsx +3 -3
- package/src/core/MeganavItemsMobile/.DS_Store +0 -0
- package/src/core/MeganavItemsMobile/component.js +0 -0
- package/src/core/MeganavItemsMobile.tsx +9 -9
- package/src/core/MeganavItemsSignedIn/.DS_Store +0 -0
- package/src/core/MeganavItemsSignedIn/component.js +0 -0
- package/src/core/MeganavItemsSignedIn.tsx +8 -4
- package/src/core/MeganavSearch/.DS_Store +0 -0
- package/src/core/MeganavSearch/component.js +0 -0
- package/src/core/MeganavSearch.tsx +3 -3
- package/src/core/MeganavSearchPanel/.DS_Store +0 -0
- package/src/core/MeganavSearchPanel/component.js +0 -0
- package/src/core/MeganavSearchPanel.tsx +4 -4
- package/src/core/MeganavSearchSuggestions.tsx +2 -2
- package/src/core/Notice/component.js +1 -1
- package/src/core/Notice.tsx +4 -3
- package/src/core/SignOutLink/.DS_Store +0 -0
- package/src/core/SignOutLink/component.js +0 -0
- package/src/core/SignOutLink.tsx +1 -1
- package/src/core/Slider/Slider.stories.tsx +1 -1
- package/src/core/Slider.tsx +3 -3
- package/src/core/Table/TableCell.tsx +1 -1
- package/src/core/Table/data.tsx +3 -3
- package/src/core/Table.tsx +3 -3
- package/src/core/Tooltip/Tooltip.stories.tsx +1 -1
- package/src/core/Tooltip.tsx +2 -1
- package/src/pages/Buttons.mdx +1 -1
- package/src/pages/Chips.mdx +1 -1
- package/src/pages/Forms.mdx +2 -2
|
File without changes
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
import SignOutLink from "
|
|
4
|
-
import MeganavSearchSuggestions from "
|
|
5
|
-
import Icon from "
|
|
6
|
-
import MeganavData from "
|
|
7
|
-
import MeganavControlMobileDropdown from "
|
|
8
|
-
import MeganavControlMobilePanelClose from "
|
|
9
|
-
import MeganavControlMobilePanelOpen from "
|
|
10
|
-
import MeganavSearchAutocomplete from "
|
|
3
|
+
import SignOutLink from "../SignOutLink/component.tsx";
|
|
4
|
+
import MeganavSearchSuggestions from "../MeganavSearchSuggestions/component.tsx";
|
|
5
|
+
import Icon from "../Icon/component.tsx";
|
|
6
|
+
import MeganavData from "../Meganav/component.json";
|
|
7
|
+
import MeganavControlMobileDropdown from "../MeganavControlMobileDropdown/component.tsx";
|
|
8
|
+
import MeganavControlMobilePanelClose from "../MeganavControlMobilePanelClose/component.tsx";
|
|
9
|
+
import MeganavControlMobilePanelOpen from "../MeganavControlMobilePanelOpen/component.tsx";
|
|
10
|
+
import MeganavSearchAutocomplete from "../MeganavSearchAutocomplete/component.tsx";
|
|
11
11
|
import {
|
|
12
12
|
AbsUrl,
|
|
13
13
|
MeganavPanels,
|
|
14
14
|
MeganavSessionState,
|
|
15
15
|
MeganavTheme,
|
|
16
|
-
} from "
|
|
16
|
+
} from "../Meganav/component.tsx";
|
|
17
17
|
|
|
18
18
|
type MeganavItemsMobileProps = {
|
|
19
19
|
panels: MeganavPanels;
|
|
Binary file
|
|
File without changes
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
import MeganavControl from "
|
|
4
|
-
import SignOutLink from "
|
|
5
|
-
import MeganavSearch from "
|
|
6
|
-
import {
|
|
3
|
+
import MeganavControl from "../MeganavControl/component.tsx";
|
|
4
|
+
import SignOutLink from "../SignOutLink/component.tsx";
|
|
5
|
+
import MeganavSearch from "../MeganavSearch/component.tsx";
|
|
6
|
+
import {
|
|
7
|
+
AbsUrl,
|
|
8
|
+
MeganavSessionState,
|
|
9
|
+
MeganavTheme,
|
|
10
|
+
} from "../Meganav/component.tsx";
|
|
7
11
|
|
|
8
12
|
type MeganavItemsSignedIn = {
|
|
9
13
|
sessionState: MeganavSessionState;
|
|
Binary file
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
import Icon from "
|
|
4
|
-
import MeganavSearchPanel from "
|
|
5
|
-
import { AbsUrl } from "
|
|
3
|
+
import Icon from "../Icon/component.tsx";
|
|
4
|
+
import MeganavSearchPanel from "../MeganavSearchPanel/component.tsx";
|
|
5
|
+
import { AbsUrl } from "../Meganav/component.tsx";
|
|
6
6
|
|
|
7
7
|
const MeganavSearch = ({ absUrl }: { absUrl: AbsUrl }) => (
|
|
8
8
|
<>
|
|
Binary file
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
import Icon from "
|
|
4
|
-
import MeganavSearchSuggestions from "
|
|
5
|
-
import MeganavSearchAutocomplete from "
|
|
6
|
-
import { AbsUrl } from "
|
|
3
|
+
import Icon from "../Icon/component.tsx";
|
|
4
|
+
import MeganavSearchSuggestions from "../MeganavSearchSuggestions/component.tsx";
|
|
5
|
+
import MeganavSearchAutocomplete from "../MeganavSearchAutocomplete/component.tsx";
|
|
6
|
+
import { AbsUrl } from "../Meganav/component.tsx";
|
|
7
7
|
|
|
8
8
|
const MeganavSearchPanel = ({ absUrl }: { absUrl: AbsUrl }) => (
|
|
9
9
|
<section className="ui-meganav-content grid-cols-12">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
|
-
import FeaturedLink from "
|
|
4
|
-
import { AbsUrl } from "
|
|
3
|
+
import FeaturedLink from "../FeaturedLink/component.tsx";
|
|
4
|
+
import { AbsUrl } from "../Meganav/component.tsx";
|
|
5
5
|
|
|
6
6
|
type MeganavSearchSuggestionsProps = {
|
|
7
7
|
absUrl: AbsUrl;
|
|
@@ -3,7 +3,7 @@ import Cookie from "js-cookie";
|
|
|
3
3
|
import throttle from "lodash.throttle";
|
|
4
4
|
|
|
5
5
|
import { queryId } from "../dom-query";
|
|
6
|
-
import { FLASH_DATA_ID } from "../Flash";
|
|
6
|
+
import { FLASH_DATA_ID } from "../Flash/component.tsx";
|
|
7
7
|
|
|
8
8
|
const COOKIE_EXPIRY = 90;
|
|
9
9
|
const COLLAPSE_TRIGGER_DISTANCE = 5;
|
package/src/core/Notice.tsx
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React, { ReactNode, useEffect } from "react";
|
|
2
2
|
|
|
3
|
-
import NoticeScripts from "./
|
|
4
|
-
import "./
|
|
5
|
-
import Icon from "
|
|
3
|
+
import NoticeScripts from "./component.js";
|
|
4
|
+
import "./component.css";
|
|
5
|
+
import Icon from "../Icon/component.tsx";
|
|
6
|
+
|
|
6
7
|
type ContentWrapperProps = {
|
|
7
8
|
buttonLink: string;
|
|
8
9
|
children: ReactNode;
|
|
Binary file
|
|
File without changes
|
package/src/core/SignOutLink.tsx
CHANGED
package/src/core/Slider.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { CSSProperties, ReactNode, useEffect, useRef } from "react";
|
|
2
2
|
|
|
3
|
-
import Icon from "
|
|
4
|
-
import SliderScripts from "./
|
|
5
|
-
import "./
|
|
3
|
+
import Icon from "../Icon/component.tsx";
|
|
4
|
+
import SliderScripts from "./component.js";
|
|
5
|
+
import "./component.css";
|
|
6
6
|
|
|
7
7
|
type SliderProps = {
|
|
8
8
|
slides?: ReactNode[];
|
package/src/core/Table/data.tsx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { Fragment } from "react";
|
|
2
2
|
|
|
3
|
-
import Tooltip from "
|
|
4
|
-
import { Supported, Unsupported } from "
|
|
5
|
-
import Table from "
|
|
3
|
+
import Tooltip from "../../Tooltip/component";
|
|
4
|
+
import { Supported, Unsupported } from "../TableCell";
|
|
5
|
+
import Table from "..";
|
|
6
6
|
|
|
7
7
|
const testRow = (index) => ({
|
|
8
8
|
label: `Label ${index + 1}`,
|
package/src/core/Table.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Table, TableRowHeader, TableHeader, TableBody } from "./Table
|
|
2
|
-
import { TableRow } from "./
|
|
1
|
+
import { Table, TableRowHeader, TableHeader, TableBody } from "./Table";
|
|
2
|
+
import { TableRow } from "./TableRow";
|
|
3
3
|
import {
|
|
4
4
|
TableCell,
|
|
5
5
|
LabelCell,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
CtaCell,
|
|
8
8
|
Supported,
|
|
9
9
|
Unsupported,
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./TableCell";
|
|
11
11
|
|
|
12
12
|
export default {
|
|
13
13
|
Root: Table,
|
package/src/core/Tooltip.tsx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { PropsWithChildren, useEffect, useRef, useState } from "react";
|
|
2
|
-
import Icon from "
|
|
2
|
+
import Icon from "../Icon/component.tsx";
|
|
3
|
+
|
|
3
4
|
const Tooltip = ({ children }: PropsWithChildren) => {
|
|
4
5
|
const [open, setOpen] = useState(false);
|
|
5
6
|
const [position, setPosition] = useState({ x: 0, y: 0 });
|
package/src/pages/Buttons.mdx
CHANGED
package/src/pages/Chips.mdx
CHANGED
package/src/pages/Forms.mdx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, Unstyled } from "@storybook/blocks";
|
|
2
2
|
import { formsHtml } from "./utils";
|
|
3
|
-
import Code from "../core/Code";
|
|
4
|
-
import Icon from "../core/Icon";
|
|
3
|
+
import Code from "../core/Code/component.tsx";
|
|
4
|
+
import Icon from "../core/Icon/component.tsx";
|
|
5
5
|
|
|
6
6
|
<Meta title="Brand/Forms" />
|
|
7
7
|
|