From 27ffdf01b09eb69d0ce61212017f3f292176da0e Mon Sep 17 00:00:00 2001 From: Tristan Timblin Date: Wed, 2 Aug 2023 15:44:08 -0400 Subject: [PATCH] CEC-4564: add visual nesting to CAN signal control (#406) * add TrieSelect * setup menu button * CEC-4564: add trie select component * add visual nesting * remove unused imports --- .../__snapshots__/index.test.jsx.snap | 73 +- .../CANSelfServe/SelfServe/index.jsx | 2 +- .../Controls/TrieSelect/TrieSelect.jsx | 86 +- .../Controls/TrieSelect/TrieSelect.test.tsx | 4 +- .../__snapshots__/TrieSelect.test.tsx.snap | 1620 +++++++++-------- src/components/Controls/TrieSelect/index.js | 2 +- src/components/useStyles.jsx | 1 + 7 files changed, 852 insertions(+), 936 deletions(-) diff --git a/src/components/CANSelfServe/SelfServe/__snapshots__/index.test.jsx.snap b/src/components/CANSelfServe/SelfServe/__snapshots__/index.test.jsx.snap index 5e55a76..907fc20 100644 --- a/src/components/CANSelfServe/SelfServe/__snapshots__/index.test.jsx.snap +++ b/src/components/CANSelfServe/SelfServe/__snapshots__/index.test.jsx.snap @@ -338,76 +338,9 @@ exports[`Render Render 1`] = `
-
- - -
-
-
-
-
    -
-
-
+
+ + +
  • +
    +
    +
    + + bev + +

    + 4 Signal +

    +
    +
    +
    +
    +
    + + +
    +
    +
  • +
    +
    +
    +
      +
    • +
      +
      + + + + + + + +
      +
      + + bev + +
      +
      +
    • +
    • +
      +
      +
      + + bev_chaz + +

      + 3 Signal +

      +
      +
      +
      +
      +
      +
      -
      -
    • -
      + + + + Select All + + +
      + +
      +
      + +
      +
      +
      +
        +
      • -
          -
        • -
          -
          +

          + 3 Signal +

          +
          +
          +
        +
        +
        +
        -
        -
        + + + + + + Select All + + + +
        +
      + +
      +
      +
      +
        +
      • - -
        - - + + bev_chaz_deep + +
        -
      - -
      -
      +
    • -
        -
      • -
        - + - - - - - -
        -
        - - bev_chaz_deep - -
        -
      • -
      • + + + +
      +
      + -
      - - - - - - - -
      -
      - - bev_chaz_deep_one - -
      -
    • -
    • -
      - - - - - - - -
      -
      - - bev_chaz_deep_two - -
      -
    • -
    + bev_chaz_deep_one + +
    -
    - - + +
  • +
    +
    + + + + + + + +
    +
    + + bev_chaz_deep_two + +
    +
    +
  • + +
    + - - + +
    + - - + + - - + +
    + - +