@pfct/purple 1.3.8-rc.2 → 1.4.0-npm-test.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.
- package/.history/.eslintrc.config_20240620114140.js +39 -0
- package/.history/.eslintrc.config_20240620130453.js +164 -0
- package/.history/.eslintrc_20230510193851.json +164 -0
- package/.history/.eslintrc_20240620114141.json +39 -0
- package/.history/.eslintrc_20240620131751.js +164 -0
- package/.history/.eslintrc_20240620132945.js +164 -0
- package/.history/.eslintrc_20240620133123.js +163 -0
- package/.history/.eslintrc_20240620133153.js +164 -0
- package/.history/.gitignore_20240620105113 +21 -0
- package/.history/.husky/commit-msg_20230510193851 +4 -0
- package/.history/.husky/commit-msg_20240620132755 +4 -0
- package/.history/.storybook/main_20230511183243.ts +15 -0
- package/.history/.storybook/main_20240620103059.ts +9 -0
- package/.history/.storybook/main_20240620103349.ts +15 -0
- package/.history/config-overrides_20230523140429.js +7 -0
- package/.history/config-overrides_20230523140438.js +7 -0
- package/.history/config-overrides_20230523140456.js +7 -0
- package/.history/config-overrides_20230523140500.js +7 -0
- package/.history/config-overrides_20230523141258.js +8 -0
- package/.history/config-overrides_20230523141523.js +15 -0
- package/.history/config-overrides_20230523141527.js +14 -0
- package/.history/config-overrides_20230523141528.js +14 -0
- package/.history/config-overrides_20230523141828.js +7 -0
- package/.history/config-overrides_20230523142043.js +7 -0
- package/.history/config-overrides_20230523144759.js +7 -0
- package/.history/config-overrides_20230523144844.js +7 -0
- package/.history/config-overrides_20230523145025.js +8 -0
- package/.history/config-overrides_20230523145244.js +8 -0
- package/.history/config-overrides_20230523145557.js +8 -0
- package/.history/config-overrides_20230523145640.js +8 -0
- package/.history/config-overrides_20230523145642.js +8 -0
- package/.history/config-overrides_20230523150101.js +8 -0
- package/.history/config-overrides_20230523150817.js +8 -0
- package/.history/config-overrides_20230523151011.js +8 -0
- package/.history/config-overrides_20230523151022.js +8 -0
- package/.history/config-overrides_20230523151050.js +8 -0
- package/.history/config-overrides_20230523151057.js +8 -0
- package/.history/config-overrides_20230523155303.js +5 -0
- package/.history/config-overrides_20230524135448.js +6 -0
- package/.history/e2e/pages/dist/index_20230518173449.html +15 -0
- package/.history/e2e/pages/dist/index_20230518182705.html +20 -0
- package/.history/e2e/pages/dist/index_20230522152456.html +18 -0
- package/.history/e2e/pages/dist/index_20230522152506.html +16 -0
- package/.history/e2e/pages/index_20230511135904.html +15 -0
- package/.history/e2e/pages/index_20230511173402.html +21 -0
- package/.history/e2e/pages/index_20230511173459.html +21 -0
- package/.history/e2e/pages/index_20230511173549.html +17 -0
- package/.history/e2e/pages/index_20230511174725.html +366 -0
- package/.history/e2e/pages/index_20230511174818.html +18 -0
- package/.history/e2e/pages/index_20230511175151.html +366 -0
- package/.history/e2e/pages/index_20230511180114.html +15 -0
- package/.history/e2e/pages/index_20230518182740.html +20 -0
- package/.history/e2e/pages/index_20230518182804.html +21 -0
- package/.history/e2e/pages/index_20230522153300.html +15 -0
- package/.history/e2e/pages/public/index_20230523135713.html +15 -0
- package/.history/e2e/pages/public/index_20230523141954.html +14 -0
- package/.history/e2e/pages/src/api/index_20230510193933.ts +26 -0
- package/.history/e2e/pages/src/api/index_20230511113640.ts +26 -0
- package/.history/e2e/pages/src/api/index_20230511151752.ts +26 -0
- package/.history/e2e/pages/src/components/Loading_20230511175734.tsx +12 -0
- package/.history/e2e/pages/src/components/Loading_20230511175931.tsx +14 -0
- package/.history/e2e/pages/src/index.styled_20230510193933.ts +13 -0
- package/.history/e2e/pages/src/index.styled_20230511151410.ts +13 -0
- package/.history/e2e/pages/src/index.styled_20230511151526.ts +13 -0
- package/.history/e2e/pages/src/index.styled_20230511151814.ts +13 -0
- package/.history/e2e/pages/src/index.styled_20230511172842.ts +14 -0
- package/.history/e2e/pages/src/index.styled_20230511172927.ts +15 -0
- package/.history/e2e/pages/src/index.styled_20230511172936.ts +16 -0
- package/.history/e2e/pages/src/index.styled_20230511173014.ts +13 -0
- package/.history/e2e/pages/src/index_20230510193933.tsx +64 -0
- package/.history/e2e/pages/src/index_20230511112721.tsx +64 -0
- package/.history/e2e/pages/src/index_20230511124302.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511124322.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511124506.tsx +72 -0
- package/.history/e2e/pages/src/index_20230511124716.tsx +72 -0
- package/.history/e2e/pages/src/index_20230511133409.tsx +72 -0
- package/.history/e2e/pages/src/index_20230511141608.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511141609.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511142059.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511144242.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511145239.tsx +81 -0
- package/.history/e2e/pages/src/index_20230511145611.tsx +81 -0
- package/.history/e2e/pages/src/index_20230511150038.tsx +81 -0
- package/.history/e2e/pages/src/index_20230511150332.tsx +87 -0
- package/.history/e2e/pages/src/index_20230511150409.tsx +87 -0
- package/.history/e2e/pages/src/index_20230511150806.tsx +96 -0
- package/.history/e2e/pages/src/index_20230511150921.tsx +96 -0
- package/.history/e2e/pages/src/index_20230511151119.tsx +96 -0
- package/.history/e2e/pages/src/index_20230511151212.tsx +89 -0
- package/.history/e2e/pages/src/index_20230511151213.tsx +89 -0
- package/.history/e2e/pages/src/index_20230511151402.tsx +86 -0
- package/.history/e2e/pages/src/index_20230511151506.tsx +79 -0
- package/.history/e2e/pages/src/index_20230511151508.tsx +75 -0
- package/.history/e2e/pages/src/index_20230511153005.tsx +71 -0
- package/.history/e2e/pages/src/index_20230511153107.tsx +73 -0
- package/.history/e2e/pages/src/index_20230511153108.tsx +73 -0
- package/.history/e2e/pages/src/index_20230511153531.tsx +76 -0
- package/.history/e2e/pages/src/index_20230511153708.tsx +73 -0
- package/.history/e2e/pages/src/index_20230511153839.tsx +75 -0
- package/.history/e2e/pages/src/index_20230511154213.tsx +81 -0
- package/.history/e2e/pages/src/index_20230511154216.tsx +79 -0
- package/.history/e2e/pages/src/index_20230511154409.tsx +83 -0
- package/.history/e2e/pages/src/index_20230511154449.tsx +85 -0
- package/.history/e2e/pages/src/index_20230511154635.tsx +91 -0
- package/.history/e2e/pages/src/index_20230511154636.tsx +91 -0
- package/.history/e2e/pages/src/index_20230511154930.tsx +96 -0
- package/.history/e2e/pages/src/index_20230511154944.tsx +94 -0
- package/.history/e2e/pages/src/index_20230511154945.tsx +93 -0
- package/.history/e2e/pages/src/index_20230511155010.tsx +91 -0
- package/.history/e2e/pages/src/index_20230511160112.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511160930.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161050.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161157.tsx +93 -0
- package/.history/e2e/pages/src/index_20230511161212.tsx +93 -0
- package/.history/e2e/pages/src/index_20230511161244.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161304.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161307.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161344.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161426.tsx +98 -0
- package/.history/e2e/pages/src/index_20230511161627.tsx +101 -0
- package/.history/e2e/pages/src/index_20230511161654.tsx +101 -0
- package/.history/e2e/pages/src/index_20230511161714.tsx +102 -0
- package/.history/e2e/pages/src/index_20230511161721.tsx +103 -0
- package/.history/e2e/pages/src/index_20230511161739.tsx +105 -0
- package/.history/e2e/pages/src/index_20230511161856.tsx +104 -0
- package/.history/e2e/pages/src/index_20230511162002.tsx +105 -0
- package/.history/e2e/pages/src/index_20230511162106.tsx +106 -0
- package/.history/e2e/pages/src/index_20230511163614.tsx +109 -0
- package/.history/e2e/pages/src/index_20230511163744.tsx +109 -0
- package/.history/e2e/pages/src/index_20230511165031.tsx +112 -0
- package/.history/e2e/pages/src/index_20230511165033.tsx +111 -0
- package/.history/e2e/pages/src/index_20230511165356.tsx +112 -0
- package/.history/e2e/pages/src/index_20230511165613.tsx +113 -0
- package/.history/e2e/pages/src/index_20230511165615.tsx +113 -0
- package/.history/e2e/pages/src/index_20230511170431.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511170448.tsx +122 -0
- package/.history/e2e/pages/src/index_20230511170740.tsx +123 -0
- package/.history/e2e/pages/src/index_20230511170856.tsx +123 -0
- package/.history/e2e/pages/src/index_20230511170952.tsx +124 -0
- package/.history/e2e/pages/src/index_20230511171513.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511171555.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511171611.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511171832.tsx +120 -0
- package/.history/e2e/pages/src/index_20230511171850.tsx +120 -0
- package/.history/e2e/pages/src/index_20230511172356.tsx +113 -0
- package/.history/e2e/pages/src/index_20230511172732.tsx +118 -0
- package/.history/e2e/pages/src/index_20230511172752.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511172825.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511173028.tsx +115 -0
- package/.history/e2e/pages/src/index_20230511173124.tsx +114 -0
- package/.history/e2e/pages/src/index_20230511173144.tsx +115 -0
- package/.history/e2e/pages/src/index_20230511173209.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511173213.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511173235.tsx +123 -0
- package/.history/e2e/pages/src/index_20230511173238.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173303.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173312.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173604.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173623.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173628.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511174842.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175122.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175133.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175327.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175329.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175343.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175344.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175345.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175412.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175422.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175426.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175501.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175515.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175521.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175530.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175538.tsx +123 -0
- package/.history/e2e/pages/src/index_20230511175542.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175602.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175621.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175813.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511175819.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511175844.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511175845.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511180023.tsx +118 -0
- package/.history/e2e/pages/src/index_20230511182316.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182608.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182609.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182757.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182903.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182937.tsx +126 -0
- package/.history/e2e/pages/src/index_20230511182948.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511183018.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511183133.tsx +125 -0
- package/.history/e2e/pages/src/index_20230512155015.tsx +125 -0
- package/.history/e2e/pages/src/index_20230523142330.tsx +126 -0
- package/.history/e2e/pages/src/index_20230523142331.tsx +126 -0
- package/.history/e2e/pages/src/index_20230524135532.tsx +125 -0
- package/.history/e2e/pages/src/index_20230524221001.tsx +125 -0
- package/.history/e2e/pages/src/index_20230524221118.tsx +125 -0
- package/.history/e2e/pages/src/util/index_20230510193933.ts +72 -0
- package/.history/e2e/pages/src/util/index_20230511160018.ts +73 -0
- package/.history/e2e/pages/src/util/index_20230511160344.ts +74 -0
- package/.history/e2e/pages/src/util/index_20230511160737.ts +75 -0
- package/.history/e2e/pages/src/util/index_20230511160755.ts +75 -0
- package/.history/e2e/pages/src/util/index_20230511160837.ts +73 -0
- package/.history/e2e/pages/src/util/index_20230511161107.ts +72 -0
- package/.history/e2e/pages/src/util/index_20230511172301.ts +81 -0
- package/.history/e2e/pages/src/util/index_20230512154151.ts +89 -0
- package/.history/e2e/pages/src/util/index_20230512154521.ts +98 -0
- package/.history/e2e/pages/src/util/index_20230512154722.ts +98 -0
- package/.history/e2e/pages/src/util/index_20230512154913.ts +91 -0
- package/.history/e2e/pages/src/util/index_20230512155144.ts +91 -0
- package/.history/e2e/pages/src/util/index_20230512155145.ts +91 -0
- package/.history/e2e/pages/src/util/index_20230512155146.ts +91 -0
- package/.history/e2e/pages/src/util/index_20230512155153.ts +90 -0
- package/.history/e2e/pages/src/util/index_20230512155624.ts +90 -0
- package/.history/e2e/pages/src/util/index_20230512155741.ts +90 -0
- package/.history/e2e/pages/src/util/index_20230512155917.ts +90 -0
- package/.history/e2e/pages/src/util/index_20230524221047.ts +97 -0
- package/.history/e2e/pages/webpack.config_20230510193933.js +30 -0
- package/.history/e2e/pages/webpack.config_20230511144239.js +39 -0
- package/.history/e2e/pages/webpack.config_20230511144341.js +39 -0
- package/.history/e2e/pages/webpack.config_20230511144430.js +39 -0
- package/.history/e2e/pages/webpack.config_20230511144644.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144645.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144753.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144802.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144845.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144926.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144934.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144943.js +40 -0
- package/.history/e2e/pages/webpack.config_20230511145020.js +39 -0
- package/.history/e2e/pages/webpack.config_20230511145106.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511145716.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511145916.js +36 -0
- package/.history/e2e/pages/webpack.config_20230518173344.js +37 -0
- package/.history/e2e/pages/webpack.config_20230518174552.js +36 -0
- package/.history/e2e/pages/webpack.config_20230523133653.js +35 -0
- package/.history/e2e/public/index_20230524155527.html +43 -0
- package/.history/e2e/public/index_20230524162254.html +43 -0
- package/.history/e2e/public/index_20230524185229.html +37 -0
- package/.history/e2e/public/index_20230524215646.html +13 -0
- package/.history/e2e/public/index_20230524215648.html +12 -0
- package/.history/e2e/src/api/index_20230524161035.ts +26 -0
- package/.history/e2e/src/api/index_20230524215532.ts +26 -0
- package/.history/e2e/src/components/Home/index_20230524161228.tsx +125 -0
- package/.history/e2e/src/components/Home/index_20230524161356.tsx +116 -0
- package/.history/e2e/src/components/Home/index_20230524161420.tsx +115 -0
- package/.history/e2e/src/components/Home/index_20230524161442.tsx +115 -0
- package/.history/e2e/src/components/Home/index_20230525002542.tsx +123 -0
- package/.history/e2e/src/components/Home/index_20230525002658.tsx +125 -0
- package/.history/e2e/src/components/Home/index_20230525002730.tsx +126 -0
- package/.history/e2e/src/index_20230524155527.tsx +19 -0
- package/.history/e2e/src/index_20230524161122.tsx +125 -0
- package/.history/e2e/src/index_20230524161206.tsx +19 -0
- package/.history/e2e/src/index_20230524161343.tsx +17 -0
- package/.history/e2e/src/index_20230524161927.tsx +12 -0
- package/.history/e2e/src/index_20230524161943.tsx +11 -0
- package/.history/e2e/src/index_20230524215444.tsx +16 -0
- package/.history/e2e/src/util/index_20230524222013.ts +96 -0
- package/.history/e2e/src/util/index_20230525000927.ts +96 -0
- package/.history/e2e/src/util/index_20230525000928.ts +96 -0
- package/.history/e2e/src/util/index_20230525001227.ts +97 -0
- package/.history/e2e/src/util/index_20230525001229.ts +97 -0
- package/.history/e2e/src/util/index_20230525001439.ts +97 -0
- package/.history/e2e/src/util/index_20230525001641.ts +101 -0
- package/.history/e2e/src/util/index_20230525001953.ts +100 -0
- package/.history/e2e/src/util/index_20230525002514.ts +100 -0
- package/.history/e2e/src/util/index_20230525002533.ts +100 -0
- package/.history/ops/buildspec_20240620105123.yml +17 -0
- package/.history/package_20240620101011.json +176 -0
- package/.history/package_20240620102132.json +180 -0
- package/.history/package_20240620102136.json +179 -0
- package/.history/package_20240620102151.json +179 -0
- package/.history/package_20240620102153.json +179 -0
- package/.history/package_20240620102228.json +180 -0
- package/.history/package_20240620102534.json +181 -0
- package/.history/package_20240620102955.json +180 -0
- package/.history/package_20240620103103.json +181 -0
- package/.history/package_20240620103105.json +180 -0
- package/.history/package_20240620103120.json +181 -0
- package/.history/package_20240620103532.json +181 -0
- package/.history/package_20240620103741.json +181 -0
- package/.history/package_20240620103803.json +181 -0
- package/.history/package_20240620105356.json +181 -0
- package/.history/package_20240620110005.json +181 -0
- package/.history/package_20240620110042.json +172 -0
- package/.history/package_20240620131821.json +181 -0
- package/.history/package_20240620133118.json +179 -0
- package/.history/package_20240620133317.json +179 -0
- package/.history/package_20240620133341.json +179 -0
- package/.history/package_20240620135524.json +178 -0
- package/.history/public/index_20230523141735.html +15 -0
- package/.history/public/index_20230523141958.html +14 -0
- package/.history/src/components/Button/BaseButton/index_20240620100732.tsx +101 -0
- package/.history/src/components/Button/BaseButton/index_20240704140342.tsx +103 -0
- package/.history/src/components/Button/BaseButton/index_20240704140358.tsx +103 -0
- package/.history/src/components/Button/BaseButton/index_20240704140500.tsx +101 -0
- package/.history/src/components/Button/BaseButton/index_20240704140632.tsx +103 -0
- package/.history/src/components/Button/BaseButton/index_20240704140652.tsx +106 -0
- package/.history/src/components/Button/BaseButton/index_20240704140700.tsx +107 -0
- package/.history/src/components/Button/BaseButton/index_20240704140711.tsx +108 -0
- package/.history/src/components/Button/BaseButton/index_20240704140714.tsx +106 -0
- package/.history/src/components/Button/BaseButton/index_20240704140717.tsx +106 -0
- package/.history/src/components/Button/BaseButton/index_20240704140900.tsx +105 -0
- package/.history/src/components/Button/BaseButton/index_20240704140926.tsx +106 -0
- package/.history/src/components/Button/BaseButton/index_20240704140954.tsx +105 -0
- package/.history/src/components/Button/BaseButton/index_20240704141107.tsx +105 -0
- package/.history/src/components/Button/BaseButton/index_20240704141112.tsx +103 -0
- package/.history/src/components/Button/DoubleButton/index_20240620100732.tsx +53 -0
- package/.history/src/components/Button/DoubleButton/index_20240620133519.tsx +53 -0
- package/.history/src/components/Button/DoubleButton/index_20240620133607.tsx +53 -0
- package/.history/src/components/Control/CheckBox/index_20231208085202.tsx +51 -0
- package/.history/src/components/Control/CheckBox/index_20240102131509.tsx +53 -0
- package/.history/src/components/Control/CheckMark/index_20231208110651.tsx +33 -0
- package/.history/src/components/Control/CheckMark/index_20240104141745.tsx +35 -0
- package/.history/src/components/Input/BaseInput/index.styled_20230518172815.ts +149 -0
- package/.history/src/components/Input/BaseInput/index.styled_20230620134104.ts +150 -0
- package/.history/src/components/Input/BaseInput/index.styled_20230620153553.ts +150 -0
- package/.history/src/components/Input/BaseInput/index.styled_20230620162224.ts +151 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230518172815.ts +71 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181154.ts +72 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181243.ts +71 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181840.ts +70 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181843.ts +70 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181844.ts +70 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230620110646.ts +70 -0
- package/.history/src/components/Input/PostfixInput/index_20231208085501.tsx +173 -0
- package/.history/src/components/Input/PostfixInput/index_20231208085544.tsx +174 -0
- package/.history/src/components/Input/PostfixInput/index_20231208085701.tsx +175 -0
- package/.history/src/components/Input/PostfixInput/index_20231208090034.tsx +175 -0
- package/.history/src/components/Input/PostfixInput/index_20231208110722.tsx +174 -0
- package/.history/src/components/Input/PostfixInput/index_20231208110738.tsx +175 -0
- package/.history/src/components/Input/PostfixInput/index_20231208110752.tsx +176 -0
- package/.history/src/components/Input/index.stories_20230523113113.tsx +209 -0
- package/.history/src/components/Input/index.stories_20230619181021.tsx +210 -0
- package/.history/src/components/Input/index.stories_20230619181656.tsx +210 -0
- package/.history/src/components/Input/index.stories_20230619184317.tsx +210 -0
- package/.history/src/components/Loading/index_20230510193851.ts +4 -0
- package/.history/src/components/Loading/index_20230511140917.ts +5 -0
- package/.history/src/components/Loading/index_20230511151553.ts +4 -0
- package/.history/src/core/TextStyles/index_20230518172815.ts +158 -0
- package/.history/src/core/TextStyles/index_20230522164636.ts +158 -0
- package/.history/src/hooks/useLayoutIsMobile_20230510193851.ts +23 -0
- package/.history/src/hooks/useLayoutIsMobile_20240112115425.ts +23 -0
- package/.history/src/library/BasicLayout/index_20240620100732.tsx +89 -0
- package/.history/src/library/BasicLayout/index_20240620101635.tsx +89 -0
- package/.history/src/library/BasicLayout/index_20240620101752.tsx +89 -0
- package/.history/src/library/Flex/index.stories_20231208085202.tsx +41 -0
- package/.history/src/library/Flex/index.stories_20240620133414.tsx +41 -0
- package/.history/src/storybook/extend-color-type.stories_20240620100732.tsx +613 -0
- package/.history/src/storybook/extend-color-type.stories_20240620133449.tsx +613 -0
- package/.history/src/storybook/extend-color-type.stories_20240620133541.tsx +611 -0
- package/.history/src/storybook/extend-color-type.stories_20240620133550.tsx +609 -0
- package/.history/src/storybook/extend-color-type.stories_20240620133554.tsx +609 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240620100732.ts +109 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153725.ts +110 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153726.ts +110 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153826.ts +105 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153909.ts +110 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153934.ts +111 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153935.ts +111 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240704141120.ts +109 -0
- package/.history/yarn_20230510193944.lock +11943 -0
- package/.history/yarn_20230510194159.lock +11941 -0
- package/.vscode/settings.json +3 -0
- package/dist/components/Button/BaseButton/index.js +4 -2
- package/package.json +1 -1
- package/.build-storybook/1341.036b0413.iframe.bundle.js +0 -1
- package/.build-storybook/172.ea02123e.iframe.bundle.js +0 -1
- package/.build-storybook/1965.108e3614.iframe.bundle.js +0 -121
- package/.build-storybook/1965.108e3614.iframe.bundle.js.map +0 -1
- package/.build-storybook/2109.fd83da5e.iframe.bundle.js +0 -46
- package/.build-storybook/2109.fd83da5e.iframe.bundle.js.map +0 -1
- package/.build-storybook/2333.5709f3ed.iframe.bundle.js +0 -1
- package/.build-storybook/2991.a6871641.iframe.bundle.js +0 -1
- package/.build-storybook/4441.b93be02f.iframe.bundle.js +0 -1
- package/.build-storybook/4446.d823cd23.iframe.bundle.js +0 -1
- package/.build-storybook/4463.3b9d4be9.iframe.bundle.js +0 -44
- package/.build-storybook/4463.3b9d4be9.iframe.bundle.js.map +0 -1
- package/.build-storybook/4582.f3cf3997.iframe.bundle.js +0 -2
- package/.build-storybook/4582.f3cf3997.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/4698.02da77bd.iframe.bundle.js +0 -1
- package/.build-storybook/5661.6b60a6b3.iframe.bundle.js +0 -1
- package/.build-storybook/5898.17981f3a.iframe.bundle.js +0 -1
- package/.build-storybook/7058.5208eb63.iframe.bundle.js +0 -1
- package/.build-storybook/782.4c3df606.iframe.bundle.js +0 -402
- package/.build-storybook/782.4c3df606.iframe.bundle.js.LICENSE.txt +0 -56
- package/.build-storybook/782.4c3df606.iframe.bundle.js.map +0 -1
- package/.build-storybook/7856.80667440.iframe.bundle.js +0 -2
- package/.build-storybook/7856.80667440.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/8923.8ce812a9.iframe.bundle.js +0 -1
- package/.build-storybook/9469.3298ca9c.iframe.bundle.js +0 -1
- package/.build-storybook/Icon-index-stories.323a8702.iframe.bundle.js +0 -2
- package/.build-storybook/Icon-index-stories.323a8702.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/components-Badge-IconBadge-index-stories.ea59237d.iframe.bundle.js +0 -1
- package/.build-storybook/components-Badge-TextBadge-index-stories.09b543af.iframe.bundle.js +0 -1
- package/.build-storybook/components-BottomSheet-NavBottomSheet-index-stories.e989d5db.iframe.bundle.js +0 -1
- package/.build-storybook/components-BottomSheet-TitleBottomSheet-index-stories.45cac11e.iframe.bundle.js +0 -1
- package/.build-storybook/components-Button-DoubleButton-index-stories.843a0709.iframe.bundle.js +0 -1
- package/.build-storybook/components-Button-SingleButton-index-stories.6c3c9169.iframe.bundle.js +0 -1
- package/.build-storybook/components-Card-index-stories.d9989606.iframe.bundle.js +0 -1
- package/.build-storybook/components-Chips-index-stories.70495338.iframe.bundle.js +0 -1
- package/.build-storybook/components-Comment-index-stories.52d9bd9f.iframe.bundle.js +0 -2
- package/.build-storybook/components-Comment-index-stories.52d9bd9f.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/components-Control-CheckBox-index-stories.9c69b383.iframe.bundle.js +0 -1
- package/.build-storybook/components-Control-CheckMark-index-stories.9e0607ae.iframe.bundle.js +0 -1
- package/.build-storybook/components-Control-RadioButton-index-stories.2cdab497.iframe.bundle.js +0 -1
- package/.build-storybook/components-Control-Switch-index-stories.9918db98.iframe.bundle.js +0 -1
- package/.build-storybook/components-DatePicker-RangeDatePicker-index-stories.fc1ae3bb.iframe.bundle.js +0 -1
- package/.build-storybook/components-DatePicker-RangeDatePickerModal-index-stories.29a5990b.iframe.bundle.js +0 -1
- package/.build-storybook/components-DatePicker-SingleDatePicker-index-stories.237e8b4a.iframe.bundle.js +0 -1
- package/.build-storybook/components-DatePicker-SingleDatePickerModal-index-stories.05f2092c.iframe.bundle.js +0 -1
- package/.build-storybook/components-Divider-index-stories.f22689f5.iframe.bundle.js +0 -1
- package/.build-storybook/components-Input-index-stories.e686b65f.iframe.bundle.js +0 -1
- package/.build-storybook/components-Loading-index-stories.5fa13c58.iframe.bundle.js +0 -1
- package/.build-storybook/components-MiniButton-BoxMiniButton-index-stories.b3781690.iframe.bundle.js +0 -1
- package/.build-storybook/components-MiniButton-IconMiniButton-index-stories.6f91f33b.iframe.bundle.js +0 -1
- package/.build-storybook/components-MiniButton-UnderLineMiniButton-index-stories.daf8e4df.iframe.bundle.js +0 -1
- package/.build-storybook/components-Modal-index-stories.31e11593.iframe.bundle.js +0 -1
- package/.build-storybook/components-Navigation-index-stories.adf0819d.iframe.bundle.js +0 -1
- package/.build-storybook/components-Segment-index-stories.d40d4099.iframe.bundle.js +0 -2
- package/.build-storybook/components-Segment-index-stories.d40d4099.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/components-Tabs-FillTabs-index-stories.7e21ec77.iframe.bundle.js +0 -1
- package/.build-storybook/components-Tabs-TextTabs-index-stories.103ffbf6.iframe.bundle.js +0 -1
- package/.build-storybook/components-Tag-index-stories.a07da1a1.iframe.bundle.js +0 -1
- package/.build-storybook/components-Title-index-stories.afe0b53e.iframe.bundle.js +0 -1
- package/.build-storybook/components-ToastMessage-Toast-index-stories.ea34d5d9.iframe.bundle.js +0 -1
- package/.build-storybook/components-Tooltip-BasicTooltip-index-stories.e7b43bfc.iframe.bundle.js +0 -1
- package/.build-storybook/components-Tooltip-ImpactTooltip-index-stories.347b401c.iframe.bundle.js +0 -1
- package/.build-storybook/core-Colors-index-stories.03b34bb2.iframe.bundle.js +0 -1
- package/.build-storybook/core-Typography-index-stories.f364e712.iframe.bundle.js +0 -1
- package/.build-storybook/favicon.svg +0 -7
- package/.build-storybook/iframe.html +0 -406
- package/.build-storybook/index.html +0 -130
- package/.build-storybook/index.json +0 -1
- package/.build-storybook/library-BasicForm-index-stories.9bbd932c.iframe.bundle.js +0 -1
- package/.build-storybook/library-BasicLayout-3All-stories.8bc671b6.iframe.bundle.js +0 -1
- package/.build-storybook/library-BasicLayout-NoFooter-stories.7eda6ecd.iframe.bundle.js +0 -1
- package/.build-storybook/library-BasicLayout-NoHeader-stories.25727f30.iframe.bundle.js +0 -1
- package/.build-storybook/library-BasicLayout-OnlyBody-stories.002e7d7a.iframe.bundle.js +0 -1
- package/.build-storybook/library-Flex-index-stories.96c3c13c.iframe.bundle.js +0 -1
- package/.build-storybook/library-Spacing-index-stories.79b820c2.iframe.bundle.js +0 -1
- package/.build-storybook/main.736e2fbc.iframe.bundle.js +0 -1
- package/.build-storybook/project.json +0 -1
- package/.build-storybook/runtime~main.8e84fcf6.iframe.bundle.js +0 -1
- package/.build-storybook/sb-addons/essentials-actions-2/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-actions-2/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-backgrounds-3/manager-bundle.mjs +0 -13
- package/.build-storybook/sb-addons/essentials-backgrounds-3/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-backgrounds-3/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-controls-1/manager-bundle.mjs +0 -117
- package/.build-storybook/sb-addons/essentials-controls-1/manager-bundle.mjs.LEGAL.txt +0 -18
- package/.build-storybook/sb-addons/essentials-controls-1/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-measure-6/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-measure-6/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-measure-6/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-outline-7/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-outline-7/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-outline-7/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-toolbars-5/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-toolbars-5/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-toolbars-5/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-viewport-4/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-viewport-4/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-viewport-4/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/interactions-8/manager-bundle.mjs +0 -31
- package/.build-storybook/sb-addons/interactions-8/manager-bundle.mjs.LEGAL.txt +0 -18
- package/.build-storybook/sb-addons/interactions-8/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/links-0/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/links-0/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/links-0/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-common-assets/fonts.css +0 -31
- package/.build-storybook/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.build-storybook/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.build-storybook/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.build-storybook/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.build-storybook/sb-manager/GlobalScrollAreaStyles-XIHNDKUY-IPHQ3X5E.mjs +0 -1
- package/.build-storybook/sb-manager/OverlayScrollbars-VAV6LJAB-ZCK6WCDR.mjs +0 -6
- package/.build-storybook/sb-manager/WithTooltip-FBT32F6Q-4UGX56G2.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-2HSPAR27.mjs +0 -207
- package/.build-storybook/sb-manager/chunk-2ZRMZUFB.mjs +0 -140
- package/.build-storybook/sb-manager/chunk-7NJ6NIF4.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-CGFORC26.mjs +0 -7
- package/.build-storybook/sb-manager/chunk-CGGDZUA2.mjs +0 -15
- package/.build-storybook/sb-manager/chunk-GPWZILNL.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-JCTATS4D.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-KQFPYAFV.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-TZHETJRI.mjs +0 -406
- package/.build-storybook/sb-manager/chunk-WCYDYUGX.mjs +0 -1
- package/.build-storybook/sb-manager/formatter-S4K5WUZV-X2U232II.mjs +0 -156
- package/.build-storybook/sb-manager/globals.mjs +0 -1
- package/.build-storybook/sb-manager/index.mjs +0 -1
- package/.build-storybook/sb-manager/runtime.mjs +0 -1
- package/.build-storybook/sb-manager/syntaxhighlighter-QTQ2UBB4-FBPGUO4L.mjs +0 -1
- package/.build-storybook/sb-preview/chunk-M7Z73WKF.mjs +0 -1
- package/.build-storybook/sb-preview/globals.mjs +0 -1
- package/.build-storybook/sb-preview/runtime.mjs +0 -105
- package/.build-storybook/stories.json +0 -1
- package/.build-storybook/storybook-extend-color-type-stories.90a332f4.iframe.bundle.js +0 -1
- package/dist/components/NavigationBar/BottomNavigationBar/index.d.ts +0 -14
- package/dist/components/NavigationBar/BottomNavigationBar/index.js +0 -44
- package/dist/components/NavigationBar/BottomNavigationBar/index.stories.d.ts +0 -6
- package/dist/components/NavigationBar/BottomNavigationBar/index.stories.js +0 -43
- package/dist/components/NavigationBar/BottomNavigationBar/index.styled.d.ts +0 -17
- package/dist/components/NavigationBar/BottomNavigationBar/index.styled.js +0 -29
- package/dist/components/NavigationBar/PageNavigationBar/constant.d.ts +0 -7
- package/dist/components/NavigationBar/PageNavigationBar/constant.js +0 -18
- package/dist/components/NavigationBar/PageNavigationBar/index.d.ts +0 -34
- package/dist/components/NavigationBar/PageNavigationBar/index.js +0 -88
- package/dist/components/NavigationBar/PageNavigationBar/index.spec.d.ts +0 -1
- package/dist/components/NavigationBar/PageNavigationBar/index.spec.js +0 -20
- package/dist/components/NavigationBar/PageNavigationBar/index.stories.d.ts +0 -18
- package/dist/components/NavigationBar/PageNavigationBar/index.stories.js +0 -146
- package/dist/components/NavigationBar/PageNavigationBar/index.styled.d.ts +0 -41
- package/dist/components/NavigationBar/PageNavigationBar/index.styled.js +0 -48
- package/dist/components/NavigationBar/TitleNavigationBar/index.d.ts +0 -14
- package/dist/components/NavigationBar/TitleNavigationBar/index.js +0 -59
- package/dist/components/NavigationBar/TitleNavigationBar/index.stories.d.ts +0 -7
- package/dist/components/NavigationBar/TitleNavigationBar/index.stories.js +0 -54
- package/dist/components/NavigationBar/TitleNavigationBar/index.styled.d.ts +0 -23
- package/dist/components/NavigationBar/TitleNavigationBar/index.styled.js +0 -25
- package/dist/components/NavigationBar/index.d.ts +0 -3
- package/dist/components/NavigationBar/index.js +0 -19
- package/dist/components/Tab/index.d.ts +0 -11
- package/dist/components/Tab/index.js +0 -38
- package/dist/components/Tab/index.spec.d.ts +0 -1
- package/dist/components/Tab/index.spec.js +0 -21
- package/dist/components/Tab/index.stories.d.ts +0 -16
- package/dist/components/Tab/index.stories.js +0 -107
- package/dist/components/Tab/index.styled.d.ts +0 -18
- package/dist/components/Tab/index.styled.js +0 -71
- package/dist/components/Tag/BaseTag/index.d.ts +0 -14
- package/dist/components/Tag/BaseTag/index.js +0 -37
- package/dist/components/Tag/BaseTag/index.styled.d.ts +0 -10
- package/dist/components/Tag/BaseTag/index.styled.js +0 -17
- package/dist/components/Tag/BlueTag.d.ts +0 -4
- package/dist/components/Tag/BlueTag.js +0 -10
- package/dist/components/Tag/GrayTag.d.ts +0 -4
- package/dist/components/Tag/GrayTag.js +0 -10
- package/dist/components/Tag/GreenTag.d.ts +0 -4
- package/dist/components/Tag/GreenTag.js +0 -10
- package/dist/components/Tag/LimeTag.d.ts +0 -4
- package/dist/components/Tag/LimeTag.js +0 -10
- package/dist/components/Tag/PinkTag.d.ts +0 -4
- package/dist/components/Tag/PinkTag.js +0 -10
- package/dist/components/Tag/PurpleTag.d.ts +0 -4
- package/dist/components/Tag/PurpleTag.js +0 -10
- package/dist/components/Tag/RedTag.d.ts +0 -4
- package/dist/components/Tag/RedTag.js +0 -10
- package/dist/components/Tag/YellowTag.d.ts +0 -4
- package/dist/components/Tag/YellowTag.js +0 -10
- package/dist/components/Tag/index.spec.d.ts +0 -1
- package/dist/components/Tag/index.spec.js +0 -14
- package/dist/library/ShareUI/Buttons.d.ts +0 -7
- package/dist/library/ShareUI/Buttons.js +0 -20
- package/dist/library/ShareUI/index.d.ts +0 -14
- package/dist/library/ShareUI/index.js +0 -59
- package/dist/library/ShareUI/index.stories.d.ts +0 -6
- package/dist/library/ShareUI/index.stories.js +0 -32
- package/dist/library/ShareUI/index.styled.d.ts +0 -60
- package/dist/library/ShareUI/index.styled.js +0 -60
- /package/{.build-storybook/image.png → .history/config-overrides_20230523140418.js} +0 -0
- /package/{.build-storybook/sb-addons/essentials-actions-2/manager-bundle.mjs.LEGAL.txt → .history/e2e/pages/src/components/Loading_20230511175658.tsx} +0 -0
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const react_2 = require("@testing-library/react");
|
|
8
|
-
const _1 = require(".");
|
|
9
|
-
const props = {
|
|
10
|
-
contentColor: 'gray',
|
|
11
|
-
hasBackgroundColor: true,
|
|
12
|
-
};
|
|
13
|
-
describe('<PageNavigationBar />', () => {
|
|
14
|
-
it('렌더링 체크', () => {
|
|
15
|
-
(0, react_2.render)(react_1.default.createElement(react_1.default.Fragment, null,
|
|
16
|
-
"\uD655\uC778",
|
|
17
|
-
react_1.default.createElement(_1.PageNavigationBar, Object.assign({}, props))));
|
|
18
|
-
expect(react_2.screen.getByText('확인')).toBeInTheDocument();
|
|
19
|
-
});
|
|
20
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { PageNavigationProps } from '.';
|
|
3
|
-
type Story = StoryObj<PageNavigationProps>;
|
|
4
|
-
/**
|
|
5
|
-
* updated 230523
|
|
6
|
-
*
|
|
7
|
-
* 현재 사용자가 위치한 화면의 정보와 액션 기능을 담고 있는 컴포넌트입니다.
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
declare const meta: Meta<PageNavigationProps>;
|
|
11
|
-
export default meta;
|
|
12
|
-
export declare const Story1: Story;
|
|
13
|
-
export declare const Story2: Story;
|
|
14
|
-
export declare const Story3: Story;
|
|
15
|
-
export declare const Story4: Story;
|
|
16
|
-
export declare const Story5: Story;
|
|
17
|
-
export declare const Story6: Story;
|
|
18
|
-
export declare const Story7: Story;
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Story7 = exports.Story6 = exports.Story5 = exports.Story4 = exports.Story3 = exports.Story2 = exports.Story1 = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const _1 = require(".");
|
|
9
|
-
/**
|
|
10
|
-
* updated 230523
|
|
11
|
-
*
|
|
12
|
-
* 현재 사용자가 위치한 화면의 정보와 액션 기능을 담고 있는 컴포넌트입니다.
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
const meta = {
|
|
16
|
-
title: 'Component/NavigationBar/PageNavigationBar(개발중)',
|
|
17
|
-
component: _1.PageNavigationBar,
|
|
18
|
-
tags: ['autodocs'],
|
|
19
|
-
};
|
|
20
|
-
exports.default = meta;
|
|
21
|
-
// Props 교체 가능
|
|
22
|
-
exports.Story1 = {
|
|
23
|
-
render: (props) => react_1.default.createElement(_1.PageNavigationBar, Object.assign({}, props)),
|
|
24
|
-
args: {
|
|
25
|
-
contentColor: 'gray',
|
|
26
|
-
hasBackgroundColor: true,
|
|
27
|
-
title: '타이틀',
|
|
28
|
-
leftArea: {
|
|
29
|
-
type: 'backIcon',
|
|
30
|
-
handleClickButton: () => {
|
|
31
|
-
console.log('left button click');
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
rightArea: {
|
|
35
|
-
type: 'text',
|
|
36
|
-
children: '텍스트',
|
|
37
|
-
handleClickButton: () => {
|
|
38
|
-
console.log('right button click');
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
exports.Story1.storyName = '배경컬러 있음';
|
|
44
|
-
exports.Story2 = {
|
|
45
|
-
render: (props) => (react_1.default.createElement("div", { style: { background: 'transparent' } },
|
|
46
|
-
react_1.default.createElement(_1.PageNavigationBar, Object.assign({}, props)))),
|
|
47
|
-
args: {
|
|
48
|
-
contentColor: 'gray',
|
|
49
|
-
hasBackgroundColor: false,
|
|
50
|
-
title: '타이틀',
|
|
51
|
-
leftArea: {
|
|
52
|
-
type: 'backIcon',
|
|
53
|
-
handleClickButton: () => {
|
|
54
|
-
console.log('left button click');
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
rightArea: {
|
|
58
|
-
type: 'text',
|
|
59
|
-
children: '텍스트',
|
|
60
|
-
handleClickButton: () => {
|
|
61
|
-
console.log('right button click');
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
exports.Story2.storyName = '배경컬러 없음';
|
|
67
|
-
exports.Story3 = {
|
|
68
|
-
render: (props) => (react_1.default.createElement("div", { style: { background: 'transparent' } },
|
|
69
|
-
react_1.default.createElement(_1.PageNavigationBar, Object.assign({}, props)))),
|
|
70
|
-
args: {
|
|
71
|
-
contentColor: 'gray',
|
|
72
|
-
hasBackgroundColor: true,
|
|
73
|
-
title: '타이틀',
|
|
74
|
-
},
|
|
75
|
-
};
|
|
76
|
-
exports.Story3.storyName = 'leftArea / rightArea - 없음';
|
|
77
|
-
exports.Story4 = {
|
|
78
|
-
render: (props) => (react_1.default.createElement("div", { style: { background: 'transparent' } },
|
|
79
|
-
react_1.default.createElement(_1.PageNavigationBar, Object.assign({}, props)))),
|
|
80
|
-
args: {
|
|
81
|
-
contentColor: 'gray',
|
|
82
|
-
hasBackgroundColor: true,
|
|
83
|
-
title: '타이틀',
|
|
84
|
-
rightArea: {
|
|
85
|
-
type: 'text',
|
|
86
|
-
children: '텍스트',
|
|
87
|
-
handleClickButton: () => {
|
|
88
|
-
console.log('right button click');
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
};
|
|
93
|
-
exports.Story4.storyName = 'rightArea - Text';
|
|
94
|
-
exports.Story5 = {
|
|
95
|
-
render: (props) => (react_1.default.createElement("div", { style: { background: 'transparent' } },
|
|
96
|
-
react_1.default.createElement(_1.PageNavigationBar, Object.assign({}, props)))),
|
|
97
|
-
args: {
|
|
98
|
-
contentColor: 'gray',
|
|
99
|
-
hasBackgroundColor: true,
|
|
100
|
-
title: '타이틀',
|
|
101
|
-
rightArea: {
|
|
102
|
-
type: 'closeIcon',
|
|
103
|
-
handleClickButton: () => {
|
|
104
|
-
console.log('right button click');
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
};
|
|
109
|
-
exports.Story5.storyName = 'rightArea - 취소 아이콘';
|
|
110
|
-
exports.Story6 = {
|
|
111
|
-
render: (props) => (react_1.default.createElement("div", { style: { background: 'transparent' } },
|
|
112
|
-
react_1.default.createElement(_1.PageNavigationBar, Object.assign({}, props)))),
|
|
113
|
-
args: {
|
|
114
|
-
contentColor: 'white',
|
|
115
|
-
hasBackgroundColor: true,
|
|
116
|
-
title: '타이틀',
|
|
117
|
-
rightArea: {
|
|
118
|
-
type: 'closeIcon',
|
|
119
|
-
handleClickButton: () => {
|
|
120
|
-
console.log('right button click');
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
};
|
|
125
|
-
exports.Story6.storyName = 'contentColor - white';
|
|
126
|
-
exports.Story7 = {
|
|
127
|
-
render: (props) => (react_1.default.createElement("div", { style: { background: 'transparent' } },
|
|
128
|
-
react_1.default.createElement(_1.PageNavigationBar, Object.assign({}, props)))),
|
|
129
|
-
args: {
|
|
130
|
-
contentColor: 'gray',
|
|
131
|
-
hasBackgroundColor: true,
|
|
132
|
-
leftArea: {
|
|
133
|
-
type: 'backIcon',
|
|
134
|
-
handleClickButton: () => {
|
|
135
|
-
console.log('left button click');
|
|
136
|
-
},
|
|
137
|
-
},
|
|
138
|
-
rightArea: {
|
|
139
|
-
type: 'closeIcon',
|
|
140
|
-
handleClickButton: () => {
|
|
141
|
-
console.log('right button click');
|
|
142
|
-
},
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
};
|
|
146
|
-
exports.Story7.storyName = 'title 없음';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type WrapperProps = {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
zIndex?: number;
|
|
5
|
-
};
|
|
6
|
-
type ClickableProps = {
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
10
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
-
as?: import("react").ElementType<any> | undefined;
|
|
12
|
-
} & WrapperProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
-
export declare const LeftChildrenWrapper: import("@emotion/styled").StyledComponent<{
|
|
14
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
-
as?: import("react").ElementType<any> | undefined;
|
|
16
|
-
} & ClickableProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
} & {
|
|
19
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
-
}, {}, {}>;
|
|
21
|
-
export declare const RightChildrenWrapper: import("@emotion/styled").StyledComponent<{
|
|
22
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
-
as?: import("react").ElementType<any> | undefined;
|
|
24
|
-
} & ClickableProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
25
|
-
children?: import("react").ReactNode;
|
|
26
|
-
} & {
|
|
27
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
28
|
-
}, {}, {}>;
|
|
29
|
-
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
30
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
-
as?: import("react").ElementType<any> | undefined;
|
|
32
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
33
|
-
export declare const TextWrapper: import("@emotion/styled").StyledComponent<{
|
|
34
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
-
as?: import("react").ElementType<any> | undefined;
|
|
36
|
-
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
37
|
-
children?: import("react").ReactNode;
|
|
38
|
-
} & {
|
|
39
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
40
|
-
}, {}, {}>;
|
|
41
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.TextWrapper = exports.IconWrapper = exports.RightChildrenWrapper = exports.LeftChildrenWrapper = exports.Wrapper = void 0;
|
|
7
|
-
const styled_1 = __importDefault(require("@emotion/styled"));
|
|
8
|
-
exports.Wrapper = styled_1.default.div `
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 55px;
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
top: ${({ zIndex }) => (zIndex && zIndex > 0 ? '0' : 'initial')};
|
|
13
|
-
position: ${({ zIndex }) => (zIndex && zIndex > 0 ? 'sticky' : 'relative')};
|
|
14
|
-
z-index: ${({ zIndex }) => zIndex || 'initial'};
|
|
15
|
-
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
|
|
20
|
-
background-color: ${({ backgroundColor }) => backgroundColor};
|
|
21
|
-
|
|
22
|
-
padding: 15px 0;
|
|
23
|
-
text-overflow: ellipsis;
|
|
24
|
-
`;
|
|
25
|
-
const CommonChildrenWrapper = styled_1.default.div `
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 0;
|
|
28
|
-
bottom: 0;
|
|
29
|
-
|
|
30
|
-
cursor: ${({ onClick }) => (onClick ? 'pointer' : 'auto')};
|
|
31
|
-
`;
|
|
32
|
-
exports.LeftChildrenWrapper = (0, styled_1.default)(CommonChildrenWrapper) `
|
|
33
|
-
left: 15px;
|
|
34
|
-
`;
|
|
35
|
-
exports.RightChildrenWrapper = (0, styled_1.default)(CommonChildrenWrapper) `
|
|
36
|
-
right: 15px;
|
|
37
|
-
`;
|
|
38
|
-
// Extra
|
|
39
|
-
const VerticalCenterizeWrapper = styled_1.default.div `
|
|
40
|
-
height: 100%;
|
|
41
|
-
display: flex;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
align-items: center;
|
|
44
|
-
`;
|
|
45
|
-
exports.IconWrapper = VerticalCenterizeWrapper;
|
|
46
|
-
exports.TextWrapper = (0, styled_1.default)(VerticalCenterizeWrapper) `
|
|
47
|
-
margin-right: 5px;
|
|
48
|
-
`;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IconProps } from '../../../Icon';
|
|
3
|
-
type TitleNavigationBarProps = {
|
|
4
|
-
title: string;
|
|
5
|
-
iconList?: {
|
|
6
|
-
Icon: React.FC<IconProps>;
|
|
7
|
-
handleClick: () => void;
|
|
8
|
-
}[];
|
|
9
|
-
contentsColor: 'white' | 'gray';
|
|
10
|
-
hasBackgroundColor: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare const TitleNavigationBar: React.FC<TitleNavigationBarProps>;
|
|
13
|
-
export type { TitleNavigationBarProps };
|
|
14
|
-
export { TitleNavigationBar };
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.TitleNavigationBar = void 0;
|
|
27
|
-
const react_1 = __importStar(require("react"));
|
|
28
|
-
const core_1 = require("../../../core");
|
|
29
|
-
const Styled = __importStar(require("./index.styled"));
|
|
30
|
-
const TitleNavigationBar = (props) => {
|
|
31
|
-
var _a;
|
|
32
|
-
const styleProps = (0, react_1.useMemo)(() => {
|
|
33
|
-
let fontColor = '';
|
|
34
|
-
let backgroundColor = '';
|
|
35
|
-
let iconColor = '';
|
|
36
|
-
switch (props.contentsColor) {
|
|
37
|
-
case 'white':
|
|
38
|
-
fontColor = core_1.basicColors.white;
|
|
39
|
-
backgroundColor = core_1.basicColors.gray900;
|
|
40
|
-
iconColor = core_1.basicColors.white;
|
|
41
|
-
break;
|
|
42
|
-
case 'gray':
|
|
43
|
-
fontColor = core_1.basicColors.gray900;
|
|
44
|
-
backgroundColor = core_1.basicColors.white;
|
|
45
|
-
iconColor = core_1.basicColors.gray200;
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
fontColor,
|
|
50
|
-
backgroundColor: props.hasBackgroundColor ? backgroundColor : 'transparent',
|
|
51
|
-
iconColor,
|
|
52
|
-
};
|
|
53
|
-
}, [props]);
|
|
54
|
-
return (react_1.default.createElement(Styled.Container, Object.assign({}, styleProps),
|
|
55
|
-
react_1.default.createElement(Styled.Title, Object.assign({}, styleProps), props.title),
|
|
56
|
-
props.iconList && (react_1.default.createElement(Styled.IconListWrapper, Object.assign({}, styleProps), (_a = props.iconList) === null || _a === void 0 ? void 0 : _a.map((item, index) => (react_1.default.createElement(Styled.IconWrapper, { key: index, onClick: item.handleClick },
|
|
57
|
-
react_1.default.createElement(item.Icon, { fillColor: styleProps.iconColor }))))))));
|
|
58
|
-
};
|
|
59
|
-
exports.TitleNavigationBar = TitleNavigationBar;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { TitleNavigationBarProps } from '.';
|
|
3
|
-
type Story = StoryObj<TitleNavigationBarProps>;
|
|
4
|
-
declare const meta: Meta<TitleNavigationBarProps>;
|
|
5
|
-
export default meta;
|
|
6
|
-
export declare const Story1: Story;
|
|
7
|
-
export declare const Story2: Story;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Story2 = exports.Story1 = void 0;
|
|
7
|
-
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const _1 = require(".");
|
|
9
|
-
const Icon_1 = require("../../../Icon");
|
|
10
|
-
const meta = {
|
|
11
|
-
title: 'Component/NavigationBar/TitleNavigationBar(개발중)',
|
|
12
|
-
component: _1.TitleNavigationBar,
|
|
13
|
-
tags: ['autodocs'],
|
|
14
|
-
};
|
|
15
|
-
exports.default = meta;
|
|
16
|
-
// Props 교체 가능
|
|
17
|
-
exports.Story1 = {
|
|
18
|
-
render: (props) => react_1.default.createElement(_1.TitleNavigationBar, Object.assign({}, props)),
|
|
19
|
-
args: {
|
|
20
|
-
title: '타이틀',
|
|
21
|
-
iconList: [
|
|
22
|
-
{
|
|
23
|
-
Icon: Icon_1.PlusMIcon,
|
|
24
|
-
handleClick: () => {
|
|
25
|
-
console.log('handleClick');
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
Icon: Icon_1.AlarmFillIcon,
|
|
30
|
-
handleClick: () => {
|
|
31
|
-
console.log('handleClick');
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
Icon: Icon_1.MenuIcon,
|
|
36
|
-
handleClick: () => {
|
|
37
|
-
console.log('handleClick');
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
hasBackgroundColor: true,
|
|
42
|
-
contentsColor: 'gray',
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
exports.Story1.storyName = '아이콘 3개';
|
|
46
|
-
exports.Story2 = {
|
|
47
|
-
render: (props) => react_1.default.createElement(_1.TitleNavigationBar, Object.assign({}, props)),
|
|
48
|
-
args: {
|
|
49
|
-
title: '타이틀',
|
|
50
|
-
hasBackgroundColor: true,
|
|
51
|
-
contentsColor: 'white',
|
|
52
|
-
},
|
|
53
|
-
};
|
|
54
|
-
exports.Story2.storyName = '아이콘 0개';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type StyleProps = {
|
|
3
|
-
fontColor: string;
|
|
4
|
-
backgroundColor: string;
|
|
5
|
-
iconColor: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const Title: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
-
as?: import("react").ElementType<any> | undefined;
|
|
10
|
-
} & StyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
|
-
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any> | undefined;
|
|
14
|
-
} & StyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
-
export declare const IconListWrapper: import("@emotion/styled").StyledComponent<{
|
|
16
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
17
|
-
as?: import("react").ElementType<any> | undefined;
|
|
18
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
19
|
-
export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
20
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
21
|
-
as?: import("react").ElementType<any> | undefined;
|
|
22
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.IconWrapper = exports.IconListWrapper = exports.Container = exports.Title = void 0;
|
|
7
|
-
const styled_1 = __importDefault(require("@emotion/styled"));
|
|
8
|
-
const core_1 = require("../../../core");
|
|
9
|
-
exports.Title = styled_1.default.div `
|
|
10
|
-
${({ fontColor }) => (0, core_1.headline3)({ color: fontColor })}
|
|
11
|
-
`;
|
|
12
|
-
exports.Container = styled_1.default.div `
|
|
13
|
-
display: flex;
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
padding: 30px 20px 15px 25px;
|
|
16
|
-
background-color: ${({ backgroundColor }) => backgroundColor};
|
|
17
|
-
`;
|
|
18
|
-
exports.IconListWrapper = styled_1.default.div `
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
gap: 15px;
|
|
22
|
-
`;
|
|
23
|
-
exports.IconWrapper = styled_1.default.div `
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
`;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./PageNavigationBar"), exports);
|
|
18
|
-
__exportStar(require("./TitleNavigationBar"), exports);
|
|
19
|
-
__exportStar(require("./BottomNavigationBar"), exports);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type TabTypeProps = 'fixed' | 'scroll';
|
|
3
|
-
type TabProps = {
|
|
4
|
-
list: string[];
|
|
5
|
-
onChange: (index: number) => void;
|
|
6
|
-
defaultActiveIndex?: number;
|
|
7
|
-
tabType?: TabTypeProps;
|
|
8
|
-
};
|
|
9
|
-
declare const Tab: React.FC<TabProps>;
|
|
10
|
-
export type { TabProps, TabTypeProps };
|
|
11
|
-
export { Tab };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Tab = void 0;
|
|
27
|
-
const react_1 = __importStar(require("react"));
|
|
28
|
-
const Styled = __importStar(require("./index.styled"));
|
|
29
|
-
const Tab = ({ list, onChange, defaultActiveIndex, tabType = 'fixed' }) => {
|
|
30
|
-
const [activeIndex, setActiveIndex] = (0, react_1.useState)(defaultActiveIndex !== null && defaultActiveIndex !== void 0 ? defaultActiveIndex : 0);
|
|
31
|
-
const widthPerItem = 100 / (list.length || 1);
|
|
32
|
-
const handleClick = (0, react_1.useCallback)((idx) => {
|
|
33
|
-
setActiveIndex(idx);
|
|
34
|
-
onChange(idx);
|
|
35
|
-
}, [onChange]);
|
|
36
|
-
return (react_1.default.createElement(Styled.Wrapper, { tabType: tabType }, list.map((item, idx) => (react_1.default.createElement(Styled.Item, { key: idx, widthPerItem: widthPerItem, active: activeIndex === idx, onClick: () => handleClick(idx), tabType: tabType }, item)))));
|
|
37
|
-
};
|
|
38
|
-
exports.Tab = Tab;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = __importDefault(require("react"));
|
|
7
|
-
const react_2 = require("@testing-library/react");
|
|
8
|
-
const _1 = require(".");
|
|
9
|
-
const props = {
|
|
10
|
-
list: ['라벨1', '라벨2', '라벨3'],
|
|
11
|
-
tabType: 'fixed',
|
|
12
|
-
onChange: () => {
|
|
13
|
-
console.log('onChange');
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
describe('<Tab />', () => {
|
|
17
|
-
it('렌더링 체크', () => {
|
|
18
|
-
(0, react_2.render)(react_1.default.createElement(_1.Tab, Object.assign({}, props)));
|
|
19
|
-
expect(react_2.screen.getByText('라벨1')).toBeInTheDocument();
|
|
20
|
-
});
|
|
21
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { TabProps } from '.';
|
|
3
|
-
type Story = StoryObj<TabProps>;
|
|
4
|
-
/**
|
|
5
|
-
* updated 230523
|
|
6
|
-
*
|
|
7
|
-
* <a href="https://www.notion.so/Tabs-532da8d4d94b48e4a92f954b678e1870?pvs=4" target="_blank">노션페이지</a>
|
|
8
|
-
* <br/>
|
|
9
|
-
* 화면 내 연관된 콘텐츠들을 카테고리로 분류하여 제공할 때 사용합니다.
|
|
10
|
-
* 사용자는 페이지를 벗어나지 않고 탭을 통해 카테고리 별 콘텐츠를 확인할 수 있습니다.
|
|
11
|
-
*
|
|
12
|
-
*/
|
|
13
|
-
declare const meta: Meta<TabProps>;
|
|
14
|
-
export default meta;
|
|
15
|
-
export declare const Story1: Story;
|
|
16
|
-
export declare const Story2: Story;
|