Skip to content

Commit 5030b08

Browse files
committed
fix: fixed storybook and chromatic
1 parent 73e01b7 commit 5030b08

File tree

3 files changed

+3
-82
lines changed

3 files changed

+3
-82
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
run: yarn test
2121
- name: Visual regression tests
2222
env:
23-
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
23+
CHROMATIC_PROJECT_TOKEN: ${{ secrets.chpt_a1073d7bf2439e5 }}
2424
run: yarn test:chromatic

packages/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
"dev": "yarn build --watch",
4040
"test": "jest --verbose",
4141
"test:watch": "yarn test --watch",
42-
"test:chromatic": "chromatic --project-token=\"$CHROMATIC_PROJECT_TOKEN\"",
4342
"storybook": "storybook dev -p 6006",
44-
"build-storybook": "storybook build"
43+
"build-storybook": "storybook build",
44+
"test:chromatic": "chromatic --project-token=chpt_a1073d7bf2439e5"
4545
},
4646
"publishConfig": {
4747
"access": "public"

packages/scss/src/molecules/Select.scss

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,3 @@
1-
// @import "foundation/all";
2-
3-
// .dse-select {
4-
// display: flex;
5-
// flex-direction: column;
6-
7-
// position: relative;
8-
9-
// &__labe {
10-
11-
// @include padding("xs");
12-
// align-items: center;
13-
// background: $form-bg-color;
14-
// border: 1px solid $form-border-color;
15-
16-
// cursor: pointer;
17-
// display: flex;
18-
19-
// font-family: $body-font-family;
20-
// justify-content: space-between;
21-
// }
22-
23-
// &__caret {
24-
// transition: all 250ms ease;
25-
26-
// &--open {
27-
// transform: rotate(180deg);
28-
// }
29-
30-
// &--closed {
31-
// transform: rotate(0deg);
32-
// }
33-
// }
34-
35-
// &__overlay {
36-
// @include padding("none");
37-
// @include margin("none");
38-
// background-color: $form-bg-color;
39-
40-
// border: 1px solid $form-border-color;
41-
42-
// box-shadow: map-get($shadows, "base");
43-
// display: none;
44-
45-
// list-style-type: none;
46-
47-
// position: absolute;
48-
49-
// width: 100%;
50-
// z-index: 99;
51-
// }
52-
53-
// &__option {
54-
// @include padding("xs");
55-
// align-items: center;
56-
57-
// box-sizing: border-box;
58-
// cursor: pointer;
59-
// display: flex;
60-
// justify-content: space-between;
61-
// width: 100%;
62-
// }
63-
64-
// &__option--highlighted {
65-
// background-color: $form-bg-color-hover;
66-
// }
67-
68-
// &__option--selected {
69-
// background-color: $form-bg-option-selected;
70-
// color: $form-color-option-selected;
71-
// }
72-
// }
73-
74-
// .dse-select__overlay {
75-
// &--open {
76-
// display: block;
77-
// }
78-
// }
79-
801
@import "foundation/all";
812

823
.dse-select {

0 commit comments

Comments
 (0)