From a93fdb53fcbe51190ad3aa969849c7269184dca1 Mon Sep 17 00:00:00 2001 From: Jamie Henson Date: Wed, 14 Aug 2024 10:44:16 +0100 Subject: [PATCH] feat: integrate test-runner snapshot capabilities --- .github/workflows/push.yml | 6 +- .storybook/test-runner.ts | 12 + .swc | 5 +- README.md | 4 +- package.json | 8 +- .../__snapshots__/Accordion.stories.tsx.snap | 187 + .../Code/__snapshots__/Code.stories.tsx.snap | 274 + .../ContactFooter.stories.tsx.snap | 83 + .../CookieMessage.stories.tsx.snap | 17 + .../CustomerLogos.stories.tsx.snap | 44 + .../DropdownMenu.stories.tsx.snap | 21 + .../__snapshots__/Expander.stories.tsx.snap | 241 + .../FeaturedLink.stories.tsx.snap | 76 + .../__snapshots__/Flash.stories.tsx.snap | 127 + .../__snapshots__/Footer.stories.tsx.snap | 526 ++ .../Icon/__snapshots__/Icon.stories.tsx.snap | 2326 ++++++++ .../__snapshots__/Loader.stories.tsx.snap | 103 + .../Logo/__snapshots__/Logo.stories.tsx.snap | 13 + src/core/Meganav/Meganav.stories.tsx | 25 +- .../__snapshots__/Meganav.stories.tsx.snap | 4835 +++++++++++++++++ .../__snapshots__/Slider.stories.tsx.snap | 695 +++ src/core/Status/Status.stories.tsx | 8 - .../__snapshots__/Status.stories.tsx.snap | 92 + .../__snapshots__/Table.stories.tsx.snap | 1311 +++++ .../__snapshots__/Tooltip.stories.tsx.snap | 37 + .../__snapshots__/Button.stories.tsx.snap | 250 + .../__snapshots__/Dropdown.stories.tsx.snap | 105 + .../__snapshots__/Toggle.stories.tsx.snap | 37 + yarn.lock | 258 +- 29 files changed, 11636 insertions(+), 90 deletions(-) create mode 100644 .storybook/test-runner.ts create mode 100644 src/core/Accordion/__snapshots__/Accordion.stories.tsx.snap create mode 100644 src/core/Code/__snapshots__/Code.stories.tsx.snap create mode 100644 src/core/ContactFooter/__snapshots__/ContactFooter.stories.tsx.snap create mode 100644 src/core/CookieMessage/__snapshots__/CookieMessage.stories.tsx.snap create mode 100644 src/core/CustomerLogos/__snapshots__/CustomerLogos.stories.tsx.snap create mode 100644 src/core/DropdownMenu/__snapshots__/DropdownMenu.stories.tsx.snap create mode 100644 src/core/Expander/__snapshots__/Expander.stories.tsx.snap create mode 100644 src/core/FeaturedLink/__snapshots__/FeaturedLink.stories.tsx.snap create mode 100644 src/core/Flash/__snapshots__/Flash.stories.tsx.snap create mode 100644 src/core/Footer/__snapshots__/Footer.stories.tsx.snap create mode 100644 src/core/Icon/__snapshots__/Icon.stories.tsx.snap create mode 100644 src/core/Loader/__snapshots__/Loader.stories.tsx.snap create mode 100644 src/core/Logo/__snapshots__/Logo.stories.tsx.snap create mode 100644 src/core/Meganav/__snapshots__/Meganav.stories.tsx.snap create mode 100644 src/core/Slider/__snapshots__/Slider.stories.tsx.snap create mode 100644 src/core/Status/__snapshots__/Status.stories.tsx.snap create mode 100644 src/core/Table/__snapshots__/Table.stories.tsx.snap create mode 100644 src/core/Tooltip/__snapshots__/Tooltip.stories.tsx.snap create mode 100644 src/core/styles/__snapshots__/Button.stories.tsx.snap create mode 100644 src/core/styles/__snapshots__/Dropdown.stories.tsx.snap create mode 100644 src/core/styles/__snapshots__/Toggle.stories.tsx.snap diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f2bc9c780..951119ef9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -10,8 +10,8 @@ on: - main jobs: - run-linters: - name: Run linters + run-linters-and-tests: + name: Run linters and tests runs-on: ubuntu-latest env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -36,4 +36,4 @@ jobs: prettier_extensions: js,ts,tsx prettier_auto_fix: false - name: Run Storybook test-runner - run: yarn build-storybook && yarn test-storybook:ci + run: yarn test diff --git a/.storybook/test-runner.ts b/.storybook/test-runner.ts new file mode 100644 index 000000000..f9344480a --- /dev/null +++ b/.storybook/test-runner.ts @@ -0,0 +1,12 @@ +import type { TestRunnerConfig } from "@storybook/test-runner"; + +const config: TestRunnerConfig = { + async postVisit(page, context) { + // the #storybook-root element wraps the story. In Storybook 6.x, the selector is #root + const elementHandler = await page.$("#storybook-root"); + const innerHTML = await elementHandler.innerHTML(); + expect(innerHTML).toMatchSnapshot(); + }, +}; + +export default config; diff --git a/.swc b/.swc index cac180995..6c998f51d 100644 --- a/.swc +++ b/.swc @@ -5,9 +5,8 @@ "syntax": "typescript", "tsx": true, "decorators": false, - "dynamicImport": false - } + "dynamicImport": false, + }, }, "minify": true, - "exclude": ["stories.tsx"] } diff --git a/README.md b/README.md index f9f520f43..9ac57427c 100644 --- a/README.md +++ b/README.md @@ -291,6 +291,8 @@ This will release the packages and update library and create & push the commit & `ably-ui` uses Storybook's `test-runner`, which on push automatically turns all stories into executable tests, underpinned by Jest and Playright. This means that we don't have to explicitly write tests for stories, though we have the ability to write [https://storybook.js.org/docs/writing-stories/play-function](play functions), which allow us to test more detailed interactions. More information on the capabilities of `test-runner` can be found [https://storybook.js.org/docs/writing-tests/test-runner](here). -You can run the tests by either running a dev instance of Storybook locally and then running `yarn test-storybook`, or by pushing a branch to GitHub. +Snapshots are also assessed via `test-runner`. To generate new snapshots, run `yarn test:update-snapshots`. + +You can run the tests by either running a dev instance of Storybook locally and then running `yarn test`, or by pushing a branch to GitHub. A related quirk to mention here is that the SWC config has been renamed to `.swc` (away from the default `.swcrc`), as `test-runner` also uses SWC and its config conflicted with ours. diff --git a/package.json b/package.json index 407722222..6fadc7203 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ably/ui", - "version": "14.3.0", + "version": "14.3.1", "description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.", "repository": { "type": "git", @@ -44,7 +44,7 @@ }, "scripts": { "build:prebuild": "rm -rf core reset", - "build:swc": "swc src/core src/reset -d dist --quiet --copy-files --include-dotfiles --strip-leading-paths --config-file .swc", + "build:swc": "swc src/core src/reset -d dist --quiet --copy-files --include-dotfiles --strip-leading-paths --config-file .swc --ignore **/*.stories.tsx,**/*.snap" , "build:cleanup": "mv dist/* . && rm -r dist", "build": "yarn build:prebuild && yarn build:swc && node sprites.js && yarn build:cleanup", "watch": "yarn build:swc -w", @@ -57,7 +57,9 @@ "start": "vite --port 5000", "storybook": "yarn build && storybook dev -p 6006", "build-storybook": "yarn build && storybook build --quiet -o preview", - "test-storybook:ci": "npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npx http-server preview --port 6006 --silent\" \"wait-on tcp:6006 && yarn test-storybook\"" + "test": "npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook && npx http-server preview --port 6006 --silent\" \"wait-on tcp:6006 && yarn test-storybook\"", + "test:update-snapshots": "npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook && npx http-server preview --port 6006 --silent\" \"wait-on tcp:6006 && yarn test-storybook -u\"" + }, "dependencies": { "addsearch-js-client": "^0.8.11", diff --git a/src/core/Accordion/__snapshots__/Accordion.stories.tsx.snap b/src/core/Accordion/__snapshots__/Accordion.stories.tsx.snap new file mode 100644 index 000000000..6875df266 --- /dev/null +++ b/src/core/Accordion/__snapshots__/Accordion.stories.tsx.snap @@ -0,0 +1,187 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Accordion AutoClose smoke-test 1`] = ` +
+
+ +
+ Content 1 +
+
+
+ +
+ Content 2 +
+
+
+ +
+ Content 3 +
+
+
+ +
+ Content 4 +
+
+
+`; + +exports[`JS Components/Accordion Default smoke-test 1`] = ` +
+
+ +
+ Content 1 +
+
+
+ +
+ Content 2 +
+
+
+ +
+ Content 3 +
+
+
+ +
+ Content 4 +
+
+
+`; diff --git a/src/core/Code/__snapshots__/Code.stories.tsx.snap b/src/core/Code/__snapshots__/Code.stories.tsx.snap new file mode 100644 index 000000000..f0af95b8f --- /dev/null +++ b/src/core/Code/__snapshots__/Code.stories.tsx.snap @@ -0,0 +1,274 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Code Java smoke-test 1`] = ` +
+
+    
+      
+        AblyRealtime
+      
+      
+        ably
+      
+      
+        =
+      
+      
+        new
+      
+      
+        AblyRealtime
+      
+      (
+      
+        "1WChTA.mc0Biw:kNfiYG4KiPgmHHgH"
+      
+      );
+      
+        Channel
+      
+      
+        channel
+      
+      
+        =
+      
+      ably.channels.get(
+      
+        "web-pal"
+      
+      );
+      
+        /* Subscribe to messages on channel */
+      
+      MessageListener listener;
+listener =
+      
+        new
+      
+      
+        MessageListener
+      
+      () {
+      
+        @Override
+      
+      
+        public
+      
+      
+        void
+      
+      
+        onMessage
+      
+      
+        (Message message)
+      
+      {
+    System.out.print(message.data);
+  };
+};
+channel.subscribe(
+      
+        "greeting"
+      
+      , listener);
+    
+  
+
+`; + +exports[`JS Components/Code Javascript smoke-test 1`] = ` +
+
+    
+      
+        var
+      
+      ably =
+      
+        new
+      
+      
+        Ably
+      
+      .
+      
+        Realtime
+      
+      (
+      
+        '1WChTA.mc0Biw:kNfiYG4KiPgmHHgH'
+      
+      );
+      
+        var
+      
+      channel = ably.
+      
+        channels
+      
+      .
+      
+        get
+      
+      (
+      
+        'web-pal'
+      
+      );
+      
+        // Subscribe to messages on channel
+      
+      channel.
+      
+        subscribe
+      
+      (
+      
+        'greeting'
+      
+      ,
+      
+        function
+      
+      (
+      
+        message
+      
+      ) {
+      
+        alert
+      
+      (message.
+      
+        data
+      
+      );
+});
+    
+  
+
+`; + +exports[`JS Components/Code Kotlin smoke-test 1`] = ` +
+
+    
+      
+        var
+      
+      ably = new Ably.Realtime(
+      
+        '1WChTA.mc0Biw:kNfiYG4KiPgmHHgH'
+      
+      );
+      
+        val
+      
+      exampleConstraints = DefaultResolutionConstraints(
+  DefaultResolutionSet(
+      
+        // this constructor provides one Resolution for all states
+      
+      Resolution(
+          accuracy = Accuracy.BALANCED,
+          desiredInterval =
+      
+        1000L
+      
+      ,
+          minimumDisplacement =
+      
+        1.0
+      
+      )
+  ),
+  proximityThreshold = DefaultProximity(spatial =
+      
+        1.0
+      
+      ),
+  batteryLevelThreshold =
+      
+        10.0f
+      
+      ,
+  lowBatteryMultiplier =
+      
+        2.0f
+      
+      )
+    
+  
+
+`; + +exports[`JS Components/Code Swift smoke-test 1`] = ` +
+
+    
+      
+        let
+      
+      ably
+      
+        =
+      
+      
+        ARTRealtime
+      
+      (key:
+      
+        "1WChTA.mc0Biw:kNfiYG4KiPgmHHgH"
+      
+      )
+      
+        let
+      
+      channel
+      
+        =
+      
+      ably.channels.get(
+      
+        "web-pal"
+      
+      )
+      
+        // Subscribe to messages on channel
+      
+      channel.subscribe(
+      
+        "greeting"
+      
+      ) { message
+      
+        in
+      
+      
+        print
+      
+      (
+      
+        "
+        
+          \\(message.data)
+        
+        "
+      
+      )
+}
+    
+  
+
+`; diff --git a/src/core/ContactFooter/__snapshots__/ContactFooter.stories.tsx.snap b/src/core/ContactFooter/__snapshots__/ContactFooter.stories.tsx.snap new file mode 100644 index 000000000..9678682c5 --- /dev/null +++ b/src/core/ContactFooter/__snapshots__/ContactFooter.stories.tsx.snap @@ -0,0 +1,83 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Contact Footer Default smoke-test 1`] = ` + +`; diff --git a/src/core/CookieMessage/__snapshots__/CookieMessage.stories.tsx.snap b/src/core/CookieMessage/__snapshots__/CookieMessage.stories.tsx.snap new file mode 100644 index 000000000..a89b0ff98 --- /dev/null +++ b/src/core/CookieMessage/__snapshots__/CookieMessage.stories.tsx.snap @@ -0,0 +1,17 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Cookie Message Default smoke-test 1`] = ` + +`; diff --git a/src/core/CustomerLogos/__snapshots__/CustomerLogos.stories.tsx.snap b/src/core/CustomerLogos/__snapshots__/CustomerLogos.stories.tsx.snap new file mode 100644 index 000000000..35cc8e047 --- /dev/null +++ b/src/core/CustomerLogos/__snapshots__/CustomerLogos.stories.tsx.snap @@ -0,0 +1,44 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Customer Logos Default smoke-test 1`] = ` +
+ +
+`; diff --git a/src/core/DropdownMenu/__snapshots__/DropdownMenu.stories.tsx.snap b/src/core/DropdownMenu/__snapshots__/DropdownMenu.stories.tsx.snap new file mode 100644 index 000000000..9ed02649d --- /dev/null +++ b/src/core/DropdownMenu/__snapshots__/DropdownMenu.stories.tsx.snap @@ -0,0 +1,21 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Dropdown Menu Default smoke-test 1`] = ` + +`; diff --git a/src/core/Expander/__snapshots__/Expander.stories.tsx.snap b/src/core/Expander/__snapshots__/Expander.stories.tsx.snap new file mode 100644 index 000000000..b73ab66e0 --- /dev/null +++ b/src/core/Expander/__snapshots__/Expander.stories.tsx.snap @@ -0,0 +1,241 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Expander LongContent smoke-test 1`] = ` +
+
+
+
+
+

+ Ipsum +

+
    +
  • + Lorem ipsum dolor sit amet, consectetur adipiscing elit. +
  • +
  • + Sed convallis ex pharetra, tristique tellus vel, rhoncus velit. +
  • +
  • + Mauris molestie felis et scelerisque ullamcorper. +
  • +
  • + Maecenas congue ligula ut commodo tristique. +
  • +
  • + Pellentesque venenatis elit vitae urna condimentum, in mollis arcu venenatis. +
  • +
  • + Donec nec turpis vel urna egestas fringilla. +
  • +
+

+ Ipsum +

+
    +
  • + Mauris ut nibh vel metus cursus semper. +
  • +
  • + Ut mattis tortor eu urna accumsan gravida. +
  • +
  • + Nunc pellentesque neque at elit pretium tempor. +
  • +
  • + Curabitur finibus magna vitae nunc varius fermentum. +
  • +
+
    +
  • + Curabitur vehicula mi iaculis, luctus augue eu, venenatis quam. +
  • +
  • + Praesent in eros efficitur, consequat ante eu, faucibus arcu. +
  • +
  • + Nulla laoreet nibh a odio interdum, non molestie diam auctor. +
  • +
+

+ Ipsum +

+
    +
  • + Praesent aliquam diam tincidunt, sollicitudin tortor eget, vulputate lacus. +
  • +
  • + Quisque in mi sed ex vulputate varius in a leo. +
  • +
  • + Etiam posuere dolor at tortor aliquam imperdiet. +
  • +
  • + Maecenas quis neque consequat, ultricies est sit amet, congue est. +
  • +
  • + Aenean a elit sed nibh pretium lacinia sed convallis sapien. +
  • +
+

+ Ipsum +

+
    +
  • + Nulla malesuada libero id dolor aliquam, non sagittis mi scelerisque. +
  • +
  • + Etiam tincidunt lacus eu diam laoreet consectetur sit amet non est. +
  • +
  • + In porta arcu nec purus tincidunt vulputate. +
  • +
+
+
+
+
+ View all + +
+`; + +exports[`JS Components/Expander OverriddenStyles smoke-test 1`] = ` +
+
+
+
+
+

+ Ipsum +

+
    +
  • + Lorem ipsum dolor sit amet, consectetur adipiscing elit. +
  • +
  • + Sed convallis ex pharetra, tristique tellus vel, rhoncus velit. +
  • +
  • + Mauris molestie felis et scelerisque ullamcorper. +
  • +
  • + Maecenas congue ligula ut commodo tristique. +
  • +
  • + Pellentesque venenatis elit vitae urna condimentum, in mollis arcu venenatis. +
  • +
  • + Donec nec turpis vel urna egestas fringilla. +
  • +
+

+ Ipsum +

+
    +
  • + Mauris ut nibh vel metus cursus semper. +
  • +
  • + Ut mattis tortor eu urna accumsan gravida. +
  • +
  • + Nunc pellentesque neque at elit pretium tempor. +
  • +
  • + Curabitur finibus magna vitae nunc varius fermentum. +
  • +
+
    +
  • + Curabitur vehicula mi iaculis, luctus augue eu, venenatis quam. +
  • +
  • + Praesent in eros efficitur, consequat ante eu, faucibus arcu. +
  • +
  • + Nulla laoreet nibh a odio interdum, non molestie diam auctor. +
  • +
+

+ Ipsum +

+
    +
  • + Praesent aliquam diam tincidunt, sollicitudin tortor eget, vulputate lacus. +
  • +
  • + Quisque in mi sed ex vulputate varius in a leo. +
  • +
  • + Etiam posuere dolor at tortor aliquam imperdiet. +
  • +
  • + Maecenas quis neque consequat, ultricies est sit amet, congue est. +
  • +
  • + Aenean a elit sed nibh pretium lacinia sed convallis sapien. +
  • +
+

+ Ipsum +

+
    +
  • + Nulla malesuada libero id dolor aliquam, non sagittis mi scelerisque. +
  • +
  • + Etiam tincidunt lacus eu diam laoreet consectetur sit amet non est. +
  • +
  • + In porta arcu nec purus tincidunt vulputate. +
  • +
+
+
+
+
+ View all + +
+`; + +exports[`JS Components/Expander ShortContent smoke-test 1`] = ` +
+
+
+

+ Ipsum +

+
    +
  • + Lorem ipsum dolor sit amet, consectetur adipiscing elit. +
  • +
  • + Sed convallis ex pharetra, tristique tellus vel, rhoncus velit. +
  • +
  • + Mauris molestie felis et scelerisque ullamcorper. +
  • +
  • + Maecenas congue ligula ut commodo tristique. +
  • +
  • + Pellentesque venenatis elit vitae urna condimentum, in mollis arcu venenatis. +
  • +
  • + Donec nec turpis vel urna egestas fringilla. +
  • +
+
+
+
+`; diff --git a/src/core/FeaturedLink/__snapshots__/FeaturedLink.stories.tsx.snap b/src/core/FeaturedLink/__snapshots__/FeaturedLink.stories.tsx.snap new file mode 100644 index 000000000..dc23694c2 --- /dev/null +++ b/src/core/FeaturedLink/__snapshots__/FeaturedLink.stories.tsx.snap @@ -0,0 +1,76 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Featured Link Default smoke-test 1`] = ` + + Featured link + + + + + +`; + +exports[`JS Components/Featured Link Large smoke-test 1`] = ` + + Featured link + + + + + +`; + +exports[`JS Components/Featured Link Pink smoke-test 1`] = ` + + Featured link + + + + + +`; + +exports[`JS Components/Featured Link Reverse smoke-test 1`] = ` + + + + + + Featured link + +`; + +exports[`JS Components/Featured Link Small smoke-test 1`] = ` + + Featured link + + + + + +`; diff --git a/src/core/Flash/__snapshots__/Flash.stories.tsx.snap b/src/core/Flash/__snapshots__/Flash.stories.tsx.snap new file mode 100644 index 000000000..2444dd5a4 --- /dev/null +++ b/src/core/Flash/__snapshots__/Flash.stories.tsx.snap @@ -0,0 +1,127 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Flash Default smoke-test 1`] = ` +
+
+
+ + + + +

+ Congratulations! You've won the Oscar +

+ +
+
+
+
+ + + + +

+ This is a notice +

+ +
+
+
+
+ + + + +

+ This is an error, very bad +

+ +
+
+
+
+ + + + +

+ This is an alert +

+ +
+
+
+
+

+ Some useful information, you are welcome +

+ +
+
+
+`; diff --git a/src/core/Footer/__snapshots__/Footer.stories.tsx.snap b/src/core/Footer/__snapshots__/Footer.stories.tsx.snap new file mode 100644 index 000000000..16877b82a --- /dev/null +++ b/src/core/Footer/__snapshots__/Footer.stories.tsx.snap @@ -0,0 +1,526 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Footer Default smoke-test 1`] = ` + +`; diff --git a/src/core/Icon/__snapshots__/Icon.stories.tsx.snap b/src/core/Icon/__snapshots__/Icon.stories.tsx.snap new file mode 100644 index 000000000..98f4e3873 --- /dev/null +++ b/src/core/Icon/__snapshots__/Icon.stories.tsx.snap @@ -0,0 +1,2326 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Icon DisplayIcons smoke-test 1`] = ` +
+
+ + icon-display-48hrs + +
+
+ + + + +
+
+
+
+ + icon-display-ably-channels + +
+
+ + + + +
+
+
+
+ + icon-display-about-ably-col + +
+
+ + + + +
+
+
+
+ + icon-display-api-keys + +
+
+ + + + +
+
+
+
+ + icon-display-api + +
+
+ + + + +
+
+
+
+ + icon-display-architectural-guidance + +
+
+ + + + +
+
+
+
+ + icon-display-asset-tracking-col + +
+
+ + + + +
+
+
+
+ + icon-display-authentication + +
+
+ + + + +
+
+
+
+ + icon-display-avatar-stack + +
+
+ + + + +
+
+
+
+ + icon-display-browser + +
+
+ + + + +
+
+
+
+ + icon-display-calendar + +
+
+ + + + +
+
+
+
+ + icon-display-call-mobile + +
+
+ + + + +
+
+
+
+ + icon-display-careers-col + +
+
+ + + + +
+
+
+
+ + icon-display-case-studies-col + +
+
+ + + + +
+
+
+
+ + icon-display-chat-col + +
+
+ + + + +
+
+
+
+ + icon-display-chat-stack-col + +
+
+ + + + +
+
+
+
+ + icon-display-cloud-servers + +
+
+ + + + +
+
+
+
+ + icon-display-compare-tech-col + +
+
+ + + + +
+
+
+
+ + icon-display-connection-state-&-recovery + +
+
+ + + + +
+
+
+
+ + icon-display-consumer-groups + +
+
+ + + + +
+
+
+
+ + icon-display-custom-cname + +
+
+ + + + +
+
+
+
+ + icon-display-customers-col + +
+
+ + + + +
+
+
+
+ + icon-display-dedicated-cluster + +
+
+ + + + +
+
+
+
+ + icon-display-deltas + +
+
+ + + + +
+
+
+
+ + icon-display-docs-col + +
+
+ + + + +
+
+
+
+ + icon-display-documentation + +
+
+ + + + +
+
+
+
+ + icon-display-dynamic-channel-groups + +
+
+ + + + +
+
+
+
+ + icon-display-edge-network + +
+
+ + + + +
+
+
+
+ + icon-display-elasticity + +
+
+ + + + +
+
+
+
+ + icon-display-exactly-once-delivery + +
+
+ + + + +
+
+
+
+ + icon-display-examples-col + +
+
+ + + + +
+
+
+
+ + icon-display-fan-out + +
+
+ + + + +
+
+
+
+ + icon-display-firehose + +
+
+ + + + +
+
+
+
+ + icon-display-gdpr + +
+
+ + + + +
+
+
+
+ + icon-display-general-comms + +
+
+ + + + +
+
+
+
+ + icon-display-granular-permissions + +
+
+ + + + +
+
+
+
+ + icon-display-hipaa-mono + +
+
+ + + + +
+
+
+
+ + icon-display-hipaa + +
+
+ + + + +
+
+
+
+ + icon-display-history + +
+
+ + + + +
+
+
+
+ + icon-display-integrations-col + +
+
+ + + + +
+
+
+
+ + icon-display-it-support-access + +
+
+ + + + +
+
+
+
+ + icon-display-it-support-helpdesk + +
+
+ + + + +
+
+
+
+ + icon-display-laptop + +
+
+ + + + +
+
+
+
+ + icon-display-lightbulb-col + +
+
+ + + + +
+
+
+
+ + icon-display-live-chat + +
+
+ + + + +
+
+
+
+ + icon-display-map-pin + +
+
+ + + + +
+
+
+
+ + icon-display-message-batching + +
+
+ + + + +
+
+
+
+ + icon-display-message-persistence + +
+
+ + + + +
+
+
+
+ + icon-display-message-queues + +
+
+ + + + +
+
+
+
+ + icon-display-message + +
+
+ + + + +
+
+
+
+ + icon-display-observe-analytics + +
+
+ + + + +
+
+
+
+ + icon-display-padlock-closed + +
+
+ + + + +
+
+
+
+ + icon-display-platform + +
+
+ + + + +
+
+
+
+ + icon-display-play + +
+
+ + + + +
+
+
+
+ + icon-display-premium-support + +
+
+ + + + +
+
+
+
+ + icon-display-privacy-shield-framework + +
+
+ + + + +
+
+
+
+ + icon-display-push-notifications + +
+
+ + + + +
+
+
+
+ + icon-display-quickstart-guides-col + +
+
+ + + + +
+
+
+
+ + icon-display-resources-col + +
+
+ + + + +
+
+
+
+ + icon-display-rewind + +
+
+ + + + +
+
+
+
+ + icon-display-sdks-col + +
+
+ + + + +
+
+
+
+ + icon-display-send-received-messages + +
+
+ + + + +
+
+
+
+ + icon-display-servers + +
+
+ + + + +
+
+
+
+ + icon-display-shopping-cart + +
+
+ + + + +
+
+
+
+ + icon-display-sla + +
+
+ + + + +
+
+
+
+ + icon-display-soc2-type2-mono + +
+
+ + + + +
+
+
+
+ + icon-display-soc2-type2 + +
+
+ + + + +
+
+
+
+ + icon-display-subscription-filters + +
+
+ + + + +
+
+
+
+ + icon-display-system-metadata + +
+
+ + + + +
+
+
+
+ + icon-display-tech-account-comms + +
+
+ + + + +
+
+
+
+ + icon-display-tutorials-demos-col + +
+
+ + + + +
+
+
+
+ + icon-display-virtual-events-col + +
+
+ + + + +
+
+
+
+ + icon-live-updates-results-metrics-col + +
+
+ + + + +
+
+
+
+ + icon-multi-user-spaces-col + +
+
+ + + + +
+
+
+
+`; + +exports[`JS Components/Icon GUIIcons smoke-test 1`] = ` +
+
+ + icon-gui-ably-badge + +
+
+ + + + +
+
+
+
+ + icon-gui-arrow-bidirectional-horizontal + +
+
+ + + + +
+
+
+
+ + icon-gui-arrow-bidirectional-vertical + +
+
+ + + + +
+
+
+
+ + icon-gui-arrow-down + +
+
+ + + + +
+
+
+
+ + icon-gui-arrow-left + +
+
+ + + + +
+
+
+
+ + icon-gui-arrow-right + +
+
+ + + + +
+
+
+
+ + icon-gui-arrow-up + +
+
+ + + + +
+
+
+
+ + icon-gui-burger-menu + +
+
+ + + + +
+
+
+
+ + icon-gui-check-circled-fill + +
+
+ + + + +
+
+
+
+ + icon-gui-check-circled-fill-black + +
+
+ + + + +
+
+
+
+ + icon-gui-check-circled + +
+
+ + + + +
+
+
+
+ + icon-gui-checklist-checked + +
+
+ + + + +
+
+
+
+ + icon-gui-clock + +
+
+ + + + +
+
+
+
+ + icon-gui-close + +
+
+ + + + +
+
+
+
+ + icon-gui-cross-circled-fill + +
+
+ + + + +
+
+
+
+ + icon-gui-cross-circled + +
+
+ + + + +
+
+
+
+ + icon-gui-copy + +
+
+ + + + +
+
+
+
+ + icon-gui-dash-circled + +
+
+ + + + +
+
+
+
+ + icon-gui-disclosure-arrow + +
+
+ + + + +
+
+
+
+ + icon-gui-document-generic + +
+
+ + + + +
+
+
+
+ + icon-gui-enlarge + +
+
+ + + + +
+
+
+
+ + icon-gui-external-link + +
+
+ + + + +
+
+
+
+ + icon-gui-history + +
+
+ + + + +
+
+
+
+ + icon-gui-info + +
+
+ + + + +
+
+
+
+ + icon-gui-link-arrow + +
+
+ + + + +
+
+
+
+ + icon-gui-live-chat + +
+
+ + + + +
+
+
+
+ + icon-gui-minus + +
+
+ + + + +
+
+
+
+ + icon-gui-partial + +
+
+ + + + +
+
+
+
+ + icon-gui-plus + +
+
+ + + + +
+
+
+
+ + icon-gui-quote-marks-solid + +
+
+ + + + +
+
+
+
+ + icon-gui-refresh + +
+
+ + + + +
+
+
+
+ + icon-gui-search + +
+
+ + + + +
+
+
+
+ + icon-gui-tick + +
+
+ + + + +
+
+
+
+ + icon-gui-warning + +
+
+ + + + +
+
+
+
+ + icon-gui-link + +
+
+ + + + +
+
+
+
+ + icon-gui-filter-flow-step-1 + +
+
+ + + + +
+
+
+
+ + icon-gui-filter-flow-step-2 + +
+
+ + + + +
+
+
+
+ + icon-gui-filter-flow-step-3 + +
+
+ + + + +
+
+
+
+ + icon-gui-resources + +
+
+ + + + +
+
+
+
+`; + +exports[`JS Components/Icon Other smoke-test 1`] = ` +
+
+ + quote + +
+
+ + + + +
+
+
+
+`; + +exports[`JS Components/Icon ProductIcons smoke-test 1`] = ` +
+
+ + icon-product-asset-tracking + +
+
+ + + + +
+
+
+
+ + icon-product-chat + +
+
+ + + + +
+
+
+
+ + icon-product-liveobjects + +
+
+ + + + +
+
+
+
+ + icon-product-livesync + +
+
+ + + + +
+
+
+
+ + icon-product-pubsub + +
+
+ + + + +
+
+
+
+ + icon-product-spaces + +
+
+ + + + +
+
+
+
+`; + +exports[`JS Components/Icon SocialIcons smoke-test 1`] = ` +
+
+ + discord + +
+
+ + + + +
+
+
+
+ + facebook + +
+
+ + + + +
+
+
+
+ + github + +
+
+ + + + +
+
+
+
+ + glassdoor + +
+
+ + + + +
+
+
+
+ + linkedin + +
+
+ + + + +
+
+
+
+ + twitter + +
+
+ + + + +
+
+
+
+ + google + +
+
+ + + + +
+
+
+
+ + stackoverflow + +
+
+ + + + +
+
+
+
+ + youtube + +
+
+ + + + +
+
+
+
+`; + +exports[`JS Components/Icon TechIcons smoke-test 1`] = ` +
+
+ + icon-tech-amqp10 + +
+
+ + + + +
+
+
+
+ + icon-tech-apache-kafka + +
+
+ + + + +
+
+
+
+ + icon-tech-apachepulsar + +
+
+ + + + +
+
+
+
+ + icon-tech-awskinesis + +
+
+ + + + +
+
+
+
+ + icon-tech-awslambda + +
+
+ + + + +
+
+
+
+ + icon-tech-awssqs + +
+
+ + + + +
+
+
+
+ + icon-tech-azureservicebus + +
+
+ + + + +
+
+
+
+ + icon-tech-cloudflareworkers + +
+
+ + + + +
+
+
+
+ + icon-tech-csharp + +
+
+ + + + +
+
+
+
+ + icon-tech-flutter + +
+
+ + + + +
+
+
+
+ + icon-tech-gcloudfunctions + +
+
+ + + + +
+
+
+
+ + icon-tech-go + +
+
+ + + + +
+
+
+
+ + icon-tech-ifttt + +
+
+ + + + +
+
+
+
+ + icon-tech-java + +
+
+ + + + +
+
+
+
+ + icon-tech-javascript + +
+
+ + + + +
+
+
+
+ + icon-tech-net + +
+
+ + + + +
+
+
+
+ + icon-tech-objectivec + +
+
+ + + + +
+
+
+
+ + icon-tech-php + +
+
+ + + + +
+
+
+
+ + icon-tech-python + +
+
+ + + + +
+
+
+
+ + icon-tech-react + +
+
+ + + + +
+
+
+
+ + icon-tech-ruby + +
+
+ + + + +
+
+
+
+ + icon-tech-swift + +
+
+ + + + +
+
+
+
+ + icon-tech-terraform + +
+
+ + + + +
+
+
+
+ + icon-tech-zapier + +
+
+ + + + +
+
+
+
+`; diff --git a/src/core/Loader/__snapshots__/Loader.stories.tsx.snap b/src/core/Loader/__snapshots__/Loader.stories.tsx.snap new file mode 100644 index 000000000..a9d5b2de9 --- /dev/null +++ b/src/core/Loader/__snapshots__/Loader.stories.tsx.snap @@ -0,0 +1,103 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Loader ChangedRingColor smoke-test 1`] = ` + + + + + + + +`; + +exports[`JS Components/Loader Default smoke-test 1`] = ` + + + + + + + +`; + +exports[`JS Components/Loader HalfSize smoke-test 1`] = ` + + + + + + + +`; diff --git a/src/core/Logo/__snapshots__/Logo.stories.tsx.snap b/src/core/Logo/__snapshots__/Logo.stories.tsx.snap new file mode 100644 index 000000000..558412cb6 --- /dev/null +++ b/src/core/Logo/__snapshots__/Logo.stories.tsx.snap @@ -0,0 +1,13 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Logo Default smoke-test 1`] = ` + + Ably logo + +`; diff --git a/src/core/Meganav/Meganav.stories.tsx b/src/core/Meganav/Meganav.stories.tsx index efc95be5d..f8da3e695 100644 --- a/src/core/Meganav/Meganav.stories.tsx +++ b/src/core/Meganav/Meganav.stories.tsx @@ -2,9 +2,6 @@ import React, { useEffect } from "react"; import { delay, http, HttpResponse } from "msw"; import Meganav from "../Meganav"; import loadIcons from "../icons.js"; -import logo from "../images/ably-logo.png"; -import ablyStack from "../images/ably-stack.svg"; -import awsLogo from "../images/icon-tech-aws.svg"; import { attachStoreToWindow, @@ -94,10 +91,15 @@ const Page = () => { return ( ); @@ -118,11 +120,16 @@ const PageSignedIn = () => { return ( ); }; diff --git a/src/core/Meganav/__snapshots__/Meganav.stories.tsx.snap b/src/core/Meganav/__snapshots__/Meganav.stories.tsx.snap new file mode 100644 index 000000000..09ed12e6f --- /dev/null +++ b/src/core/Meganav/__snapshots__/Meganav.stories.tsx.snap @@ -0,0 +1,4835 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Meganav Default smoke-test 1`] = ` + +`; + +exports[`JS Components/Meganav SignedIn smoke-test 1`] = ` + +`; diff --git a/src/core/Slider/__snapshots__/Slider.stories.tsx.snap b/src/core/Slider/__snapshots__/Slider.stories.tsx.snap new file mode 100644 index 000000000..ade9273f2 --- /dev/null +++ b/src/core/Slider/__snapshots__/Slider.stories.tsx.snap @@ -0,0 +1,695 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Slider FloatingControlPosition smoke-test 1`] = ` +
+
+
+
+
+
+
+

+ “Ably seamlessly absorbs sudden bursts in load during unexpected client events. The integration was easy and we were live in under a month.” +

+
+
+
+ test-image +
+
+

+ Aleksandar Kostadinov +

+

+ Co-Founder & Technical Leader +

+
+
+
+
+
+ test-image +

+ Mentimeter +

+
+
+ + Read case study + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+

+ “Ably seamlessly absorbs sudden bursts in load during unexpected client events. The integration was easy and we were live in under a month.” +

+
+
+
+ test-image +
+
+

+ Johan Bengtsson +

+

+ Co-Founder & Technical Leader +

+
+
+
+
+
+ test-image +

+ Mentimeter +

+
+
+ + Read case study + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+

+ “Ably seamlessly absorbs sudden bursts in load during unexpected client events. The integration was easy and we were live in under a month.” +

+
+
+
+ test-image +
+
+

+ Mirko Bergman +

+

+ Co-Founder & Technical Leader +

+
+
+
+
+
+ test-image +

+ Mentimeter +

+
+
+ + Read case study + + + + + +
+
+
+
+
+
+
+
+
+
+
+ +
    +
  • + + +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+ +
+
+`; + +exports[`JS Components/Slider InlineControlPosition smoke-test 1`] = ` +
+
+
+
+
+
+
+

+ “Ably seamlessly absorbs sudden bursts in load during unexpected client events. The integration was easy and we were live in under a month.” +

+
+
+
+ test-image +
+
+

+ Aleksandar Kostadinov +

+

+ Co-Founder & Technical Leader +

+
+
+
+
+
+ test-image +

+ Mentimeter +

+
+
+ + Read case study + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+

+ “Ably seamlessly absorbs sudden bursts in load during unexpected client events. The integration was easy and we were live in under a month.” +

+
+
+
+ test-image +
+
+

+ Johan Bengtsson +

+

+ Co-Founder & Technical Leader +

+
+
+
+
+
+ test-image +

+ Mentimeter +

+
+
+ + Read case study + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+

+ “Ably seamlessly absorbs sudden bursts in load during unexpected client events. The integration was easy and we were live in under a month.” +

+
+
+
+ test-image +
+
+

+ Mirko Bergman +

+

+ Co-Founder & Technical Leader +

+
+
+
+
+
+ test-image +

+ Mentimeter +

+
+
+ + Read case study + + + + + +
+
+
+
+
+
+
+
+
+
+
+ +
    +
  • + + +
  • +
  • +
  • +
  • +
  • +
  • +
  • +
+ +
+
+`; + +exports[`JS Components/Slider WithoutIntervalIndicator smoke-test 1`] = ` +
+
+
+
+
+
+
+

+ “Ably seamlessly absorbs sudden bursts in load during unexpected client events. The integration was easy and we were live in under a month.” +

+
+
+
+ test-image +
+
+

+ Aleksandar Kostadinov +

+

+ Co-Founder & Technical Leader +

+
+
+
+
+
+ test-image +

+ Mentimeter +

+
+
+ + Read case study + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+

+ “Ably seamlessly absorbs sudden bursts in load during unexpected client events. The integration was easy and we were live in under a month.” +

+
+
+
+ test-image +
+
+

+ Johan Bengtsson +

+

+ Co-Founder & Technical Leader +

+
+
+
+
+
+ test-image +

+ Mentimeter +

+
+
+ + Read case study + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+

+ “Ably seamlessly absorbs sudden bursts in load during unexpected client events. The integration was easy and we were live in under a month.” +

+
+
+
+ test-image +
+
+

+ Mirko Bergman +

+

+ Co-Founder & Technical Leader +

+
+
+
+
+
+ test-image +

+ Mentimeter +

+
+
+ + Read case study + + + + + +
+
+
+
+
+
+
+
+
+
+
+ +
    +
  • + + ⬤ + +
  • +
  • + + ⬤ + +
  • +
  • + + ⬤ + +
  • +
  • + + ⬤ + +
  • +
+ +
+
+`; diff --git a/src/core/Status/Status.stories.tsx b/src/core/Status/Status.stories.tsx index 70e6328d9..4f5eb213a 100644 --- a/src/core/Status/Status.stories.tsx +++ b/src/core/Status/Status.stories.tsx @@ -13,14 +13,6 @@ export default { tags: ["!autodocs"], }; -export const Live = { - render: () => ( -

- System status -

- ), -}; - export const Loading = { parameters: { msw: { diff --git a/src/core/Status/__snapshots__/Status.stories.tsx.snap b/src/core/Status/__snapshots__/Status.stories.tsx.snap new file mode 100644 index 000000000..846ba0825 --- /dev/null +++ b/src/core/Status/__snapshots__/Status.stories.tsx.snap @@ -0,0 +1,92 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Status Critical smoke-test 1`] = ` + + + + + + +`; + +exports[`JS Components/Status Loading smoke-test 1`] = ` + + + + + + +`; + +exports[`JS Components/Status Major smoke-test 1`] = ` + + + + + + +`; + +exports[`JS Components/Status Minor smoke-test 1`] = ` + + + + + + +`; + +exports[`JS Components/Status None smoke-test 1`] = ` + + + + + + +`; + +exports[`JS Components/Status Operational smoke-test 1`] = ` + + + + + + +`; + +exports[`JS Components/Status Unknown smoke-test 1`] = ` + + + + + + +`; diff --git a/src/core/Table/__snapshots__/Table.stories.tsx.snap b/src/core/Table/__snapshots__/Table.stories.tsx.snap new file mode 100644 index 000000000..7639cbdb6 --- /dev/null +++ b/src/core/Table/__snapshots__/Table.stories.tsx.snap @@ -0,0 +1,1311 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Table PricingPage smoke-test 1`] = ` +
+

+ Pricing Page Table +

+

+ Example content +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ Features +
+ + Label 1 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 2 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 3 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 4 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 5 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ Support +
+ + Label 1 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 2 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 3 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 4 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 5 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ Technical Support +
+ + Label 1 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 2 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 3 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 4 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+ + Label 5 + +
+ +
+
+
+ Free +
+ Cell content +
+
+ PAYG +
+
+ + Supported + + + + + + + +
+
+
+ Custom +
+
+ + Unsupported + + + + + + + +
+
+
+
+`; diff --git a/src/core/Tooltip/__snapshots__/Tooltip.stories.tsx.snap b/src/core/Tooltip/__snapshots__/Tooltip.stories.tsx.snap new file mode 100644 index 000000000..9a262fdf8 --- /dev/null +++ b/src/core/Tooltip/__snapshots__/Tooltip.stories.tsx.snap @@ -0,0 +1,37 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JS Components/Tooltip Central smoke-test 1`] = ` +
+
+ +
+
+`; + +exports[`JS Components/Tooltip LeftBound smoke-test 1`] = ` +
+
+ +
+
+`; diff --git a/src/core/styles/__snapshots__/Button.stories.tsx.snap b/src/core/styles/__snapshots__/Button.stories.tsx.snap new file mode 100644 index 000000000..f4f8f7e41 --- /dev/null +++ b/src/core/styles/__snapshots__/Button.stories.tsx.snap @@ -0,0 +1,250 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`CSS/Button ExtraSmall smoke-test 1`] = ` +
+ + + + +
+`; + +exports[`CSS/Button Inverted smoke-test 1`] = ` +
+ + + + +
+`; + +exports[`CSS/Button Large smoke-test 1`] = ` +
+ + + + +
+`; + +exports[`CSS/Button LinkStyledAsButton smoke-test 1`] = ` + +`; + +exports[`CSS/Button Small smoke-test 1`] = ` +
+ + + + +
+`; + +exports[`CSS/Button Standard smoke-test 1`] = ` +
+ + + + + + +
+`; + +exports[`CSS/Button WithIcons smoke-test 1`] = ` +
+ + + + + + +
+`; diff --git a/src/core/styles/__snapshots__/Dropdown.stories.tsx.snap b/src/core/styles/__snapshots__/Dropdown.stories.tsx.snap new file mode 100644 index 000000000..a1661688f --- /dev/null +++ b/src/core/styles/__snapshots__/Dropdown.stories.tsx.snap @@ -0,0 +1,105 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`CSS/Dropdown DarkMode smoke-test 1`] = ` +
+ +
+`; + +exports[`CSS/Dropdown Default smoke-test 1`] = ` + +`; + +exports[`CSS/Dropdown Disabled smoke-test 1`] = ` + +`; + +exports[`CSS/Dropdown Small smoke-test 1`] = ` + +`; + +exports[`CSS/Dropdown Synthetic smoke-test 1`] = ` +
+ Select language +
+`; diff --git a/src/core/styles/__snapshots__/Toggle.stories.tsx.snap b/src/core/styles/__snapshots__/Toggle.stories.tsx.snap new file mode 100644 index 000000000..e26c87480 --- /dev/null +++ b/src/core/styles/__snapshots__/Toggle.stories.tsx.snap @@ -0,0 +1,37 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`CSS/Toggle CustomisedSliderColor smoke-test 1`] = ` + +`; + +exports[`CSS/Toggle Default smoke-test 1`] = ` + +`; + +exports[`CSS/Toggle Disabled smoke-test 1`] = ` + +`; + +exports[`CSS/Toggle Toggled smoke-test 1`] = ` + +`; diff --git a/yarn.lock b/yarn.lock index 3bf6cca91..e82b2e085 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,11 @@ # yarn lockfile v1 +"@adobe/css-tools@^4.3.2": + version "4.4.0" + resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.4.0.tgz#728c484f4e10df03d5a3acd0d8adcbbebff8ad63" + integrity sha512-Ff9+ksdQQB3rMncgqDK78uLznstjyfIf2Arnh22pW8kBpLs6rpKDwgnZT46hin5Hl1WzazzK64DOrhSwYpS7bQ== + "@alloc/quick-lru@^5.2.0": version "5.2.0" resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" @@ -15,7 +20,7 @@ "@jridgewell/gen-mapping" "^0.3.0" "@jridgewell/trace-mapping" "^0.3.9" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.24.7": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.24.7": version "7.24.7" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.7.tgz#882fd9e09e8ee324e496bd040401c6f046ef4465" integrity sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA== @@ -1452,6 +1457,13 @@ resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== +"@babel/runtime@^7.12.5": + version "7.25.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.25.0.tgz#3af9a91c1b739c569d5d80cc917280919c544ecb" + integrity sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/runtime@^7.17.8": version "7.23.6" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.6.tgz#c05e610dc228855dc92ef1b53d07389ed8ab521d" @@ -2766,17 +2778,6 @@ telejson "^7.2.0" tiny-invariant "^1.3.1" -"@storybook/channels@8.1.7": - version "8.1.7" - resolved "https://registry.yarnpkg.com/@storybook/channels/-/channels-8.1.7.tgz#1d6be2b55dbd0948f70d404cc02c435c6aafec91" - integrity sha512-L1jrgaleNBTLNRH35iNxmIDWEqFhouDbq7Vii9FgjSOJdScUHVdtxzC8A2ymXlQCiD5ggQ5HzmUJaY6RTfwGRg== - dependencies: - "@storybook/client-logger" "8.1.7" - "@storybook/core-events" "8.1.7" - "@storybook/global" "^5.0.0" - telejson "^7.2.0" - tiny-invariant "^1.3.1" - "@storybook/client-logger@8.1.6": version "8.1.6" resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-8.1.6.tgz#79fcd54e58d5ec72fa2ea53bdb16a98d10ee712f" @@ -2784,13 +2785,6 @@ dependencies: "@storybook/global" "^5.0.0" -"@storybook/client-logger@8.1.7": - version "8.1.7" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-8.1.7.tgz#dc7595b1a2ed1dc04239a931a9e339d68c1a4c63" - integrity sha512-Cmdt9qpyIQZcVR3y16464vrO06YFaWice+wQZ1OIror8XBqkpUxgZldQ95uTed6Wz9igf0PEYyaV8jJrGcHMrA== - dependencies: - "@storybook/global" "^5.0.0" - "@storybook/codemod@8.2.9": version "8.2.9" resolved "https://registry.yarnpkg.com/@storybook/codemod/-/codemod-8.2.9.tgz#f6c7f43a5aa326b64544ad6f10038edc32293827" @@ -2858,14 +2852,6 @@ "@storybook/csf" "^0.1.7" ts-dedent "^2.0.0" -"@storybook/core-events@8.1.7": - version "8.1.7" - resolved "https://registry.yarnpkg.com/@storybook/core-events/-/core-events-8.1.7.tgz#4d5c0c6040a380433ed8e812189f87cf5ec4dfa6" - integrity sha512-cASpI+C+S1DUiO7schq7jKwvEuFwkqR24PTQxe4o77DMiryCJZgw+YlUHXS8EodKJW5cLVB3wd3fHAYYfeyWGg== - dependencies: - "@storybook/csf" "^0.1.7" - ts-dedent "^2.0.0" - "@storybook/core@8.2.9": version "8.2.9" resolved "https://registry.yarnpkg.com/@storybook/core/-/core-8.2.9.tgz#68f8659014e06f4f65f6dbdf1dd10850f31d23b3" @@ -2905,21 +2891,6 @@ recast "^0.23.5" ts-dedent "^2.0.0" -"@storybook/csf-tools@8.1.7": - version "8.1.7" - resolved "https://registry.yarnpkg.com/@storybook/csf-tools/-/csf-tools-8.1.7.tgz#147f3f35564abead7957dad9b7d803a66b34692b" - integrity sha512-rHrd3nv2MtjUr0hjR5CmhFEZECpBxefWFV+za6lt12g6jsaYxjeP8DEPVUQNDKi5dyQV8zSZl+8kc2xKUf72vw== - dependencies: - "@babel/generator" "^7.24.4" - "@babel/parser" "^7.24.4" - "@babel/traverse" "^7.24.1" - "@babel/types" "^7.24.0" - "@storybook/csf" "^0.1.7" - "@storybook/types" "8.1.7" - fs-extra "^11.1.0" - recast "^0.23.5" - ts-dedent "^2.0.0" - "@storybook/csf@0.1.11", "@storybook/csf@^0.1.11": version "0.1.11" resolved "https://registry.yarnpkg.com/@storybook/csf/-/csf-0.1.11.tgz#ad685a4fe564a47a6b73571c2e7c07b526f4f71b" @@ -2970,11 +2941,6 @@ resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-8.1.6.tgz#a2ccb644c252516d4f3bedffc43816fba50b8ad3" integrity sha512-IZEiTLFHu8Oom/vdEGpisSw5CfU+cw6/fTaX1P3EVClFOWVuy8/3X5MPu4wJH3jPym6E2DBduIUFeRsiuq61gA== -"@storybook/node-logger@8.1.7": - version "8.1.7" - resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-8.1.7.tgz#e2fe2306b80d95e49c78c2228903ed17043be5c2" - integrity sha512-85/ViW0N1EdLopNUwRXBfOqMZxlP4c3UwzeyOMqS0pP6acf43Nsj9R8sSXAxzt5Rf05mDEKwu4ILeNIQ1L5b7A== - "@storybook/preview-api@^8.0.0": version "8.1.6" resolved "https://registry.yarnpkg.com/@storybook/preview-api/-/preview-api-8.1.6.tgz#2a5e461934596c513f43516935fed7747bd5f503" @@ -3103,15 +3069,6 @@ "@types/express" "^4.7.0" file-system-cache "2.3.0" -"@storybook/types@8.1.7": - version "8.1.7" - resolved "https://registry.yarnpkg.com/@storybook/types/-/types-8.1.7.tgz#e0114eec5d9eafea5a7c5dd4779858604d174775" - integrity sha512-OkdxFvqvRc6eCOMwLyx8zCTAox71PcEW+0BZgZGeL7uunF5pA615LFCU79LfwY/dUQNjbv9HhQu/feTu16GVvQ== - dependencies: - "@storybook/channels" "8.1.7" - "@types/express" "^4.7.0" - file-system-cache "2.3.0" - "@swc/cli@^0.4.0": version "0.4.0" resolved "https://registry.yarnpkg.com/@swc/cli/-/cli-0.4.0.tgz#8f55091d660f24977f62dabcf5d3649505cd0eb0" @@ -3224,6 +3181,39 @@ dependencies: defer-to-connect "^2.0.0" +"@testing-library/dom@10.1.0": + version "10.1.0" + resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-10.1.0.tgz#2d073e49771ad614da999ca48f199919e5176fb6" + integrity sha512-wdsYKy5zupPyLCW2Je5DLHSxSfbIp6h80WoHOQc+RPtmPGA52O9x5MJEkv92Sjonpq+poOAtUKhh1kBGAXBrNA== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/runtime" "^7.12.5" + "@types/aria-query" "^5.0.1" + aria-query "5.3.0" + chalk "^4.1.0" + dom-accessibility-api "^0.5.9" + lz-string "^1.5.0" + pretty-format "^27.0.2" + +"@testing-library/jest-dom@6.4.5": + version "6.4.5" + resolved "https://registry.yarnpkg.com/@testing-library/jest-dom/-/jest-dom-6.4.5.tgz#badb40296477149136dabef32b572ddd3b56adf1" + integrity sha512-AguB9yvTXmCnySBP1lWjfNNUwpbElsaQ567lt2VdGqAdHtpieLgjmcVyv1q7PMIvLbgpDdkWV5Ydv3FEejyp2A== + dependencies: + "@adobe/css-tools" "^4.3.2" + "@babel/runtime" "^7.9.2" + aria-query "^5.0.0" + chalk "^3.0.0" + css.escape "^1.5.1" + dom-accessibility-api "^0.6.3" + lodash "^4.17.21" + redent "^3.0.0" + +"@testing-library/user-event@14.5.2": + version "14.5.2" + resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.5.2.tgz#db7257d727c891905947bd1c1a99da20e03c2ebd" + integrity sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ== + "@tokenizer/token@^0.3.0": version "0.3.0" resolved "https://registry.yarnpkg.com/@tokenizer/token/-/token-0.3.0.tgz#fe98a93fe789247e998c75e74e9c7c63217aa276" @@ -3234,6 +3224,11 @@ resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== +"@types/aria-query@^5.0.1": + version "5.0.4" + resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-5.0.4.tgz#1a31c3d378850d2778dabb6374d036dcba4ba708" + integrity sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw== + "@types/babel__core@^7.1.14", "@types/babel__core@^7.18.0", "@types/babel__core@^7.20.5": version "7.20.5" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" @@ -3353,7 +3348,7 @@ "@types/range-parser" "*" "@types/send" "*" -"@types/express@^4.7.0": +"@types/express@^4.17.21", "@types/express@^4.7.0": version "4.17.21" resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.21.tgz#c26d4a151e60efe0084b23dc3369ebc631ed192d" integrity sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ== @@ -3788,7 +3783,23 @@ "@types/babel__core" "^7.20.5" react-refresh "^0.14.2" -"@vitest/utils@^1.3.1": +"@vitest/expect@1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-1.6.0.tgz#0b3ba0914f738508464983f4d811bc122b51fb30" + integrity sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ== + dependencies: + "@vitest/spy" "1.6.0" + "@vitest/utils" "1.6.0" + chai "^4.3.10" + +"@vitest/spy@1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-1.6.0.tgz#362cbd42ccdb03f1613798fde99799649516906d" + integrity sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw== + dependencies: + tinyspy "^2.2.0" + +"@vitest/utils@1.6.0", "@vitest/utils@^1.3.1": version "1.6.0" resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-1.6.0.tgz#5c5675ca7d6f546a7b4337de9ae882e6c57896a1" integrity sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw== @@ -3990,6 +4001,13 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== +aria-query@5.3.0, aria-query@^5.0.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e" + integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A== + dependencies: + dequal "^2.0.3" + array-buffer-byte-length@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" @@ -4083,6 +4101,11 @@ assert@^2.0.0: object.assign "^4.1.4" util "^0.12.5" +assertion-error@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" + integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== + ast-types@^0.16.1: version "0.16.1" resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.16.1.tgz#7a9da1617c9081bc121faafe91711b4c8bb81da2" @@ -4457,6 +4480,19 @@ caniuse-lite@^1.0.30001646: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001649.tgz#3ec700309ca0da2b0d3d5fb03c411b191761c992" integrity sha512-fJegqZZ0ZX8HOWr6rcafGr72+xcgJKI9oWfDW5DrD7ExUtgZC7a7R7ZYmZqplh7XDocFdGeIFn7roAxhOeYrPQ== +chai@^4.3.10: + version "4.5.0" + resolved "https://registry.yarnpkg.com/chai/-/chai-4.5.0.tgz#707e49923afdd9b13a8b0b47d33d732d13812fd8" + integrity sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw== + dependencies: + assertion-error "^1.1.0" + check-error "^1.0.3" + deep-eql "^4.1.3" + get-func-name "^2.0.2" + loupe "^2.3.6" + pathval "^1.1.1" + type-detect "^4.1.0" + chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -4466,6 +4502,14 @@ chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" +chalk@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4" + integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" @@ -4489,6 +4533,13 @@ char-regex@^2.0.0: resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-2.0.1.tgz#6dafdb25f9d3349914079f010ba8d0e6ff9cd01e" integrity sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw== +check-error@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.3.tgz#a6502e4312a7ee969f646e83bb3ddd56281bd694" + integrity sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg== + dependencies: + get-func-name "^2.0.2" + chokidar@^3.5.3: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" @@ -4837,6 +4888,11 @@ css-what@^6.0.1: resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== +css.escape@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb" + integrity sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg== + cssesc@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" @@ -4932,6 +4988,13 @@ dedent@^1.0.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.5.3.tgz#99aee19eb9bae55a67327717b6e848d0bf777e5a" integrity sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ== +deep-eql@^4.1.3: + version "4.1.4" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-4.1.4.tgz#d0d3912865911bb8fac5afb4e3acfa6a28dc72b7" + integrity sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg== + dependencies: + type-detect "^4.0.0" + deep-is@^0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" @@ -5010,7 +5073,7 @@ depd@2.0.0: resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -dequal@^2.0.2: +dequal@^2.0.2, dequal@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== @@ -5073,6 +5136,16 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" +dom-accessibility-api@^0.5.9: + version "0.5.16" + resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz#5a7429e6066eb3664d911e33fb0e45de8eb08453" + integrity sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg== + +dom-accessibility-api@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz#993e925cc1d73f2c662e7d75dd5a5445259a8fd8" + integrity sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w== + dom-serializer@0: version "0.2.2" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.2.2.tgz#1afb81f533717175d478655debc5e332d9f9bb51" @@ -5387,7 +5460,7 @@ esbuild-register@^3.5.0: "@esbuild/win32-ia32" "0.20.2" "@esbuild/win32-x64" "0.20.2" -esbuild@^0.21.3: +"esbuild@^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0", esbuild@^0.21.3: version "0.21.5" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.21.5.tgz#9ca301b120922959b766360d8ac830da0d02997d" integrity sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw== @@ -6083,7 +6156,7 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-func-name@^2.0.1: +get-func-name@^2.0.1, get-func-name@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.2.tgz#0d7cf20cd13fda808669ffa88f4ffc7a3943fc41" integrity sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ== @@ -7732,7 +7805,7 @@ loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" -loupe@^2.3.7: +loupe@^2.3.6, loupe@^2.3.7: version "2.3.7" resolved "https://registry.yarnpkg.com/loupe/-/loupe-2.3.7.tgz#6e69b7d4db7d3ab436328013d37d1c8c3540c697" integrity sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA== @@ -7771,6 +7844,11 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lz-string@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.5.0.tgz#c1ab50f77887b712621201ba9fd4e3a6ed099941" + integrity sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ== + magic-string@^0.27.0: version "0.27.0" resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.27.0.tgz#e4a3413b4bab6d98d2becffd48b4a257effdbbf3" @@ -7913,7 +7991,7 @@ mimic-response@^3.1.0: resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== -min-indent@^1.0.1: +min-indent@^1.0.0, min-indent@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== @@ -8513,6 +8591,11 @@ pathe@^1.1.1: resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.1.tgz#1dd31d382b974ba69809adc9a7a347e65d84829a" integrity sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q== +pathval@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.1.tgz#8534e77a77ce7ac5a2512ea21e0fdb8fcf6c3d8d" + integrity sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ== + peek-readable@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/peek-readable/-/peek-readable-5.0.0.tgz#7ead2aff25dc40458c60347ea76cfdfd63efdfec" @@ -8675,6 +8758,15 @@ prettier@^3.1.1, prettier@^3.2.5: resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.3.tgz#30c54fe0be0d8d12e6ae61dbb10109ea00d53105" integrity sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew== +pretty-format@^27.0.2: + version "27.5.1" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" + integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== + dependencies: + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" + react-is "^17.0.1" + pretty-format@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" @@ -8706,6 +8798,11 @@ process-on-spawn@^1.0.0: dependencies: fromentries "^1.2.0" +process@^0.11.10: + version "0.11.10" + resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" + integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== + prompts@^2.0.1, prompts@^2.4.0, prompts@^2.4.1: version "2.4.2" resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" @@ -8871,6 +8968,11 @@ react-is@^16.13.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== +react-is@^17.0.1: + version "17.0.2" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== + react-is@^18.0.0: version "18.2.0" resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" @@ -8953,6 +9055,14 @@ recast@^0.23.5: tiny-invariant "^1.3.3" tslib "^2.0.1" +redent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" + integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== + dependencies: + indent-string "^4.0.0" + strip-indent "^3.0.0" + redux@^4.0.5: version "4.2.1" resolved "https://registry.yarnpkg.com/redux/-/redux-4.2.1.tgz#c08f4306826c49b5e9dc901dee0452ea8fce6197" @@ -9771,6 +9881,13 @@ strip-final-newline@^2.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== +strip-indent@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" + integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== + dependencies: + min-indent "^1.0.0" + strip-indent@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-4.0.0.tgz#b41379433dd06f5eae805e21d631e07ee670d853" @@ -9983,6 +10100,11 @@ tiny-invariant@^1.3.3: resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.3.3.tgz#46680b7a873a0d5d10005995eb90a70d74d60127" integrity sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg== +tinyspy@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/tinyspy/-/tinyspy-2.2.1.tgz#117b2342f1f38a0dbdcc73a50a454883adf861d1" + integrity sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A== + tmpl@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -10098,6 +10220,11 @@ type-detect@4.0.8: resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== +type-detect@^4.0.0, type-detect@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.1.0.tgz#deb2453e8f08dcae7ae98c626b13dddb0155906c" + integrity sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw== + type-fest@^0.20.2: version "0.20.2" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" @@ -10638,6 +10765,11 @@ write-file-atomic@^4.0.2: imurmurhash "^0.1.4" signal-exit "^3.0.7" +ws@^8.2.3: + version "8.18.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.0.tgz#0d7505a6eafe2b0e712d232b42279f53bc289bbc" + integrity sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw== + xml@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"