@charcoal-ui/react-sandbox 3.7.0 → 3.8.0
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/package.json +7 -7
- package/src/components/Carousel/__snapshots__/index.story.storyshot +1 -1
- package/src/components/CarouselButton/__snapshots__/index.story.storyshot +2 -2
- package/src/components/Filter/__snapshots__/index.story.storyshot +3 -3
- package/src/components/HintText/__snapshots__/index.story.storyshot +1 -1
- package/src/components/Layout/__snapshots__/index.story.storyshot +4 -4
- package/src/components/MenuListItem/__snapshots__/index.story.storyshot +11 -11
- package/src/components/Pager/__snapshots__/index.story.storyshot +7 -7
- package/src/components/SwitchCheckbox/__snapshots__/index.story.storyshot +4 -4
- package/src/components/TextEllipsis/__snapshots__/index.story.storyshot +1 -1
- package/src/components/WithIcon/__snapshots__/index.story.storyshot +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@charcoal-ui/react-sandbox",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"typescript": "^4.9.5"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@charcoal-ui/foundation": "^3.
|
|
51
|
-
"@charcoal-ui/react": "^3.
|
|
52
|
-
"@charcoal-ui/styled": "^3.
|
|
53
|
-
"@charcoal-ui/theme": "^3.
|
|
54
|
-
"@charcoal-ui/utils": "^3.
|
|
50
|
+
"@charcoal-ui/foundation": "^3.8.0",
|
|
51
|
+
"@charcoal-ui/react": "^3.8.0",
|
|
52
|
+
"@charcoal-ui/styled": "^3.8.0",
|
|
53
|
+
"@charcoal-ui/theme": "^3.8.0",
|
|
54
|
+
"@charcoal-ui/utils": "^3.8.0",
|
|
55
55
|
"polished": "^4.1.4",
|
|
56
56
|
"react-spring": "^9.0.0",
|
|
57
57
|
"warning": "^4.0.3"
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"url": "https://github.com/pixiv/charcoal.git",
|
|
74
74
|
"directory": "packages/react-sandbox"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "939ab20e11455ff9cba840c38c7dfd33cd739b59"
|
|
77
77
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Storybook Tests Sandbox/Carousel/CarouselButton _CarouselButton 1`] = `
|
|
4
4
|
.c3 {
|
|
5
5
|
stroke: none;
|
|
6
6
|
fill: currentColor;
|
|
@@ -99,7 +99,7 @@ exports[`Storyshots Sandbox/Carousel/CarouselButton Carousel Button 1`] = `
|
|
|
99
99
|
</div>
|
|
100
100
|
`;
|
|
101
101
|
|
|
102
|
-
exports[`
|
|
102
|
+
exports[`Storybook Tests Sandbox/Carousel/CarouselButton _ScrollHintButton 1`] = `
|
|
103
103
|
.c2 {
|
|
104
104
|
stroke: none;
|
|
105
105
|
fill: currentColor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Storybook Tests Sandbox/Filter Button 1`] = `
|
|
4
4
|
.c0 {
|
|
5
5
|
display: block;
|
|
6
6
|
outline: none;
|
|
@@ -45,7 +45,7 @@ exports[`Storyshots Sandbox/Filter Button 1`] = `
|
|
|
45
45
|
</div>
|
|
46
46
|
`;
|
|
47
47
|
|
|
48
|
-
exports[`
|
|
48
|
+
exports[`Storybook Tests Sandbox/Filter Default 1`] = `
|
|
49
49
|
.c3 {
|
|
50
50
|
display: block;
|
|
51
51
|
outline: none;
|
|
@@ -193,7 +193,7 @@ exports[`Storyshots Sandbox/Filter Default 1`] = `
|
|
|
193
193
|
</div>
|
|
194
194
|
`;
|
|
195
195
|
|
|
196
|
-
exports[`
|
|
196
|
+
exports[`Storybook Tests Sandbox/Filter Link 1`] = `
|
|
197
197
|
.c0 {
|
|
198
198
|
display: block;
|
|
199
199
|
outline: none;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Storybook Tests Sandbox/Layout Basic 1`] = `
|
|
4
4
|
.c2 {
|
|
5
5
|
display: -webkit-box;
|
|
6
6
|
display: -webkit-flex;
|
|
@@ -441,7 +441,7 @@ exports[`Storyshots Sandbox/Layout Basic 1`] = `
|
|
|
441
441
|
</div>
|
|
442
442
|
`;
|
|
443
443
|
|
|
444
|
-
exports[`
|
|
444
|
+
exports[`Storybook Tests Sandbox/Layout Center 1`] = `
|
|
445
445
|
.c0 {
|
|
446
446
|
display: -webkit-box;
|
|
447
447
|
display: -webkit-flex;
|
|
@@ -650,7 +650,7 @@ exports[`Storyshots Sandbox/Layout Center 1`] = `
|
|
|
650
650
|
</div>
|
|
651
651
|
`;
|
|
652
652
|
|
|
653
|
-
exports[`
|
|
653
|
+
exports[`Storybook Tests Sandbox/Layout NoMenu 1`] = `
|
|
654
654
|
.c0 {
|
|
655
655
|
display: -webkit-box;
|
|
656
656
|
display: -webkit-flex;
|
|
@@ -989,7 +989,7 @@ exports[`Storyshots Sandbox/Layout No Menu 1`] = `
|
|
|
989
989
|
</div>
|
|
990
990
|
`;
|
|
991
991
|
|
|
992
|
-
exports[`
|
|
992
|
+
exports[`Storybook Tests Sandbox/Layout Wide 1`] = `
|
|
993
993
|
.c2 {
|
|
994
994
|
display: -webkit-box;
|
|
995
995
|
display: -webkit-flex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Storybook Tests Sandbox/MenuListItem Default 1`] = `
|
|
4
4
|
.c3 {
|
|
5
5
|
overflow: hidden;
|
|
6
6
|
line-height: 22px;
|
|
@@ -97,7 +97,7 @@ exports[`Storyshots Sandbox/MenuListItem Default 1`] = `
|
|
|
97
97
|
</div>
|
|
98
98
|
`;
|
|
99
99
|
|
|
100
|
-
exports[`
|
|
100
|
+
exports[`Storybook Tests Sandbox/MenuListItem Disabled 1`] = `
|
|
101
101
|
.c3 {
|
|
102
102
|
overflow: hidden;
|
|
103
103
|
line-height: 22px;
|
|
@@ -194,7 +194,7 @@ exports[`Storyshots Sandbox/MenuListItem Disabled 1`] = `
|
|
|
194
194
|
</div>
|
|
195
195
|
`;
|
|
196
196
|
|
|
197
|
-
exports[`
|
|
197
|
+
exports[`Storybook Tests Sandbox/MenuListItem HardLink 1`] = `
|
|
198
198
|
.c4 {
|
|
199
199
|
overflow: hidden;
|
|
200
200
|
line-height: 22px;
|
|
@@ -303,7 +303,7 @@ exports[`Storyshots Sandbox/MenuListItem Hard Link 1`] = `
|
|
|
303
303
|
</div>
|
|
304
304
|
`;
|
|
305
305
|
|
|
306
|
-
exports[`
|
|
306
|
+
exports[`Storybook Tests Sandbox/MenuListItem Icon 1`] = `
|
|
307
307
|
.c4 {
|
|
308
308
|
overflow: hidden;
|
|
309
309
|
line-height: 22px;
|
|
@@ -445,7 +445,7 @@ exports[`Storyshots Sandbox/MenuListItem Icon 1`] = `
|
|
|
445
445
|
</div>
|
|
446
446
|
`;
|
|
447
447
|
|
|
448
|
-
exports[`
|
|
448
|
+
exports[`Storybook Tests Sandbox/MenuListItem InlineIcon 1`] = `
|
|
449
449
|
.c3 {
|
|
450
450
|
overflow: hidden;
|
|
451
451
|
line-height: 22px;
|
|
@@ -623,7 +623,7 @@ exports[`Storyshots Sandbox/MenuListItem Inline Icon 1`] = `
|
|
|
623
623
|
</div>
|
|
624
624
|
`;
|
|
625
625
|
|
|
626
|
-
exports[`
|
|
626
|
+
exports[`Storybook Tests Sandbox/MenuListItem Label 1`] = `
|
|
627
627
|
.c4 {
|
|
628
628
|
overflow: hidden;
|
|
629
629
|
line-height: 22px;
|
|
@@ -733,7 +733,7 @@ exports[`Storyshots Sandbox/MenuListItem Label 1`] = `
|
|
|
733
733
|
</div>
|
|
734
734
|
`;
|
|
735
735
|
|
|
736
|
-
exports[`
|
|
736
|
+
exports[`Storybook Tests Sandbox/MenuListItem Link 1`] = `
|
|
737
737
|
.c4 {
|
|
738
738
|
overflow: hidden;
|
|
739
739
|
line-height: 22px;
|
|
@@ -840,7 +840,7 @@ exports[`Storyshots Sandbox/MenuListItem Link 1`] = `
|
|
|
840
840
|
</div>
|
|
841
841
|
`;
|
|
842
842
|
|
|
843
|
-
exports[`
|
|
843
|
+
exports[`Storybook Tests Sandbox/MenuListItem NoHoverEffect 1`] = `
|
|
844
844
|
.c3 {
|
|
845
845
|
overflow: hidden;
|
|
846
846
|
line-height: 22px;
|
|
@@ -1050,7 +1050,7 @@ exports[`Storyshots Sandbox/MenuListItem No Hover Effect 1`] = `
|
|
|
1050
1050
|
</div>
|
|
1051
1051
|
`;
|
|
1052
1052
|
|
|
1053
|
-
exports[`
|
|
1053
|
+
exports[`Storybook Tests Sandbox/MenuListItem Simple 1`] = `
|
|
1054
1054
|
.c3 {
|
|
1055
1055
|
overflow: hidden;
|
|
1056
1056
|
line-height: 22px;
|
|
@@ -1163,7 +1163,7 @@ exports[`Storyshots Sandbox/MenuListItem Simple 1`] = `
|
|
|
1163
1163
|
</div>
|
|
1164
1164
|
`;
|
|
1165
1165
|
|
|
1166
|
-
exports[`
|
|
1166
|
+
exports[`Storybook Tests Sandbox/MenuListItem Spacer 1`] = `
|
|
1167
1167
|
.c3 {
|
|
1168
1168
|
overflow: hidden;
|
|
1169
1169
|
line-height: 22px;
|
|
@@ -1286,7 +1286,7 @@ exports[`Storyshots Sandbox/MenuListItem Spacer 1`] = `
|
|
|
1286
1286
|
</div>
|
|
1287
1287
|
`;
|
|
1288
1288
|
|
|
1289
|
-
exports[`
|
|
1289
|
+
exports[`Storybook Tests Sandbox/MenuListItem TextEllipsis 1`] = `
|
|
1290
1290
|
.c3 {
|
|
1291
1291
|
overflow: hidden;
|
|
1292
1292
|
line-height: 22px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Storybook Tests Sandbox/Pager CollapsedWithDots 1`] = `
|
|
4
4
|
.c5 {
|
|
5
5
|
fill: currentColor;
|
|
6
6
|
}
|
|
@@ -305,7 +305,7 @@ exports[`Storyshots Sandbox/Pager Collapsed With Dots 1`] = `
|
|
|
305
305
|
</div>
|
|
306
306
|
`;
|
|
307
307
|
|
|
308
|
-
exports[`
|
|
308
|
+
exports[`Storybook Tests Sandbox/Pager Default 1`] = `
|
|
309
309
|
.c2 {
|
|
310
310
|
fill: none;
|
|
311
311
|
stroke-linejoin: round;
|
|
@@ -561,7 +561,7 @@ exports[`Storyshots Sandbox/Pager Default 1`] = `
|
|
|
561
561
|
</div>
|
|
562
562
|
`;
|
|
563
563
|
|
|
564
|
-
exports[`
|
|
564
|
+
exports[`Storybook Tests Sandbox/Pager LastPage 1`] = `
|
|
565
565
|
.c5 {
|
|
566
566
|
fill: currentColor;
|
|
567
567
|
}
|
|
@@ -866,7 +866,7 @@ exports[`Storyshots Sandbox/Pager Last Page 1`] = `
|
|
|
866
866
|
</div>
|
|
867
867
|
`;
|
|
868
868
|
|
|
869
|
-
exports[`
|
|
869
|
+
exports[`Storybook Tests Sandbox/Pager Link 1`] = `
|
|
870
870
|
.c2 {
|
|
871
871
|
fill: none;
|
|
872
872
|
stroke-linejoin: round;
|
|
@@ -1152,7 +1152,7 @@ exports[`Storyshots Sandbox/Pager Link 1`] = `
|
|
|
1152
1152
|
</div>
|
|
1153
1153
|
`;
|
|
1154
1154
|
|
|
1155
|
-
exports[`
|
|
1155
|
+
exports[`Storybook Tests Sandbox/Pager LittlePageRangeDisplayed 1`] = `
|
|
1156
1156
|
.c2 {
|
|
1157
1157
|
fill: none;
|
|
1158
1158
|
stroke-linejoin: round;
|
|
@@ -1399,7 +1399,7 @@ exports[`Storyshots Sandbox/Pager Little Page Range Displayed 1`] = `
|
|
|
1399
1399
|
</div>
|
|
1400
1400
|
`;
|
|
1401
1401
|
|
|
1402
|
-
exports[`
|
|
1402
|
+
exports[`Storybook Tests Sandbox/Pager NotCollapsed 1`] = `
|
|
1403
1403
|
.c2 {
|
|
1404
1404
|
fill: none;
|
|
1405
1405
|
stroke-linejoin: round;
|
|
@@ -1685,7 +1685,7 @@ exports[`Storyshots Sandbox/Pager Not Collapsed 1`] = `
|
|
|
1685
1685
|
</div>
|
|
1686
1686
|
`;
|
|
1687
1687
|
|
|
1688
|
-
exports[`
|
|
1688
|
+
exports[`Storybook Tests Sandbox/Pager One 1`] = `
|
|
1689
1689
|
.c2 {
|
|
1690
1690
|
fill: none;
|
|
1691
1691
|
stroke-linejoin: round;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Storybook Tests Sandbox/Selection Control/SwitchCheckbox Default 1`] = `
|
|
4
4
|
.c7 {
|
|
5
5
|
margin-left: 8px;
|
|
6
6
|
}
|
|
@@ -135,7 +135,7 @@ exports[`Storyshots Sandbox/Selection Control/SwitchCheckbox Default 1`] = `
|
|
|
135
135
|
</div>
|
|
136
136
|
`;
|
|
137
137
|
|
|
138
|
-
exports[`
|
|
138
|
+
exports[`Storybook Tests Sandbox/Selection Control/SwitchCheckbox Disabled 1`] = `
|
|
139
139
|
.c0 {
|
|
140
140
|
display: -webkit-inline-box;
|
|
141
141
|
display: -webkit-inline-flex;
|
|
@@ -260,7 +260,7 @@ exports[`Storyshots Sandbox/Selection Control/SwitchCheckbox Disabled 1`] = `
|
|
|
260
260
|
</div>
|
|
261
261
|
`;
|
|
262
262
|
|
|
263
|
-
exports[`
|
|
263
|
+
exports[`Storybook Tests Sandbox/Selection Control/SwitchCheckbox Off 1`] = `
|
|
264
264
|
.c0 {
|
|
265
265
|
display: -webkit-inline-box;
|
|
266
266
|
display: -webkit-inline-flex;
|
|
@@ -383,7 +383,7 @@ exports[`Storyshots Sandbox/Selection Control/SwitchCheckbox Off 1`] = `
|
|
|
383
383
|
</div>
|
|
384
384
|
`;
|
|
385
385
|
|
|
386
|
-
exports[`
|
|
386
|
+
exports[`Storybook Tests Sandbox/Selection Control/SwitchCheckbox On 1`] = `
|
|
387
387
|
.c0 {
|
|
388
388
|
display: -webkit-inline-box;
|
|
389
389
|
display: -webkit-inline-flex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
3
|
+
exports[`Storybook Tests Sandbox/WithIcon Collapse 1`] = `
|
|
4
4
|
.c0 {
|
|
5
5
|
display: -webkit-box;
|
|
6
6
|
display: -webkit-flex;
|
|
@@ -101,7 +101,7 @@ exports[`Storyshots Sandbox/WithIcon Collapse 1`] = `
|
|
|
101
101
|
</div>
|
|
102
102
|
`;
|
|
103
103
|
|
|
104
|
-
exports[`
|
|
104
|
+
exports[`Storybook Tests Sandbox/WithIcon Default 1`] = `
|
|
105
105
|
.c0 {
|
|
106
106
|
display: -webkit-box;
|
|
107
107
|
display: -webkit-flex;
|
|
@@ -221,7 +221,7 @@ exports[`Storyshots Sandbox/WithIcon Default 1`] = `
|
|
|
221
221
|
</div>
|
|
222
222
|
`;
|
|
223
223
|
|
|
224
|
-
exports[`
|
|
224
|
+
exports[`Storybook Tests Sandbox/WithIcon Hide 1`] = `
|
|
225
225
|
.c0 {
|
|
226
226
|
display: -webkit-box;
|
|
227
227
|
display: -webkit-flex;
|
|
@@ -322,7 +322,7 @@ exports[`Storyshots Sandbox/WithIcon Hide 1`] = `
|
|
|
322
322
|
</div>
|
|
323
323
|
`;
|
|
324
324
|
|
|
325
|
-
exports[`
|
|
325
|
+
exports[`Storybook Tests Sandbox/WithIcon LongText 1`] = `
|
|
326
326
|
.c0 {
|
|
327
327
|
display: -webkit-box;
|
|
328
328
|
display: -webkit-flex;
|
|
@@ -417,7 +417,7 @@ exports[`Storyshots Sandbox/WithIcon Long Text 1`] = `
|
|
|
417
417
|
</div>
|
|
418
418
|
`;
|
|
419
419
|
|
|
420
|
-
exports[`
|
|
420
|
+
exports[`Storybook Tests Sandbox/WithIcon LongTextOverflow 1`] = `
|
|
421
421
|
.c0 {
|
|
422
422
|
display: -webkit-box;
|
|
423
423
|
display: -webkit-flex;
|
|
@@ -510,7 +510,7 @@ exports[`Storyshots Sandbox/WithIcon Long Text Overflow 1`] = `
|
|
|
510
510
|
</div>
|
|
511
511
|
`;
|
|
512
512
|
|
|
513
|
-
exports[`
|
|
513
|
+
exports[`Storybook Tests Sandbox/WithIcon Naive 1`] = `
|
|
514
514
|
.c0 {
|
|
515
515
|
display: -webkit-box;
|
|
516
516
|
display: -webkit-flex;
|
|
@@ -626,7 +626,7 @@ exports[`Storyshots Sandbox/WithIcon Naive 1`] = `
|
|
|
626
626
|
</div>
|
|
627
627
|
`;
|
|
628
628
|
|
|
629
|
-
exports[`
|
|
629
|
+
exports[`Storybook Tests Sandbox/WithIcon Performance 1`] = `
|
|
630
630
|
.c0 {
|
|
631
631
|
display: -webkit-box;
|
|
632
632
|
display: -webkit-flex;
|
|
@@ -746,7 +746,7 @@ exports[`Storyshots Sandbox/WithIcon Performance 1`] = `
|
|
|
746
746
|
</div>
|
|
747
747
|
`;
|
|
748
748
|
|
|
749
|
-
exports[`
|
|
749
|
+
exports[`Storybook Tests Sandbox/WithIcon Prefix 1`] = `
|
|
750
750
|
.c0 {
|
|
751
751
|
display: -webkit-box;
|
|
752
752
|
display: -webkit-flex;
|