@pie-element/graphing 4.2.1 → 4.3.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.
@@ -455,9 +455,258 @@ Indicates the maximum value for the graph width and height
455
455
 
456
456
  Indicates the increase/decrease value for the graph width and height
457
457
 
458
- ## `ConfigurePropWithEnabled` (object)
458
+ ## `GridConfigurationsProp` (object)
459
459
 
460
- Properties of the `ConfigurePropWithEnabled` object:
460
+ Properties of the `GridConfigurationsProp` object:
461
+
462
+ ### `label` (string)
463
+
464
+ Indicates the label for the configuration
465
+
466
+ ### `arrows` (object)
467
+
468
+ Properties of the `arrows` object:
469
+
470
+ #### `left` (boolean, required)
471
+
472
+ Indicates if left arrow is enabled
473
+
474
+ #### `right` (boolean, required)
475
+
476
+ Indicates if right arrow is enabled
477
+
478
+ #### `up` (boolean, required)
479
+
480
+ Indicates if up arrow is enabled
481
+
482
+ #### `down` (boolean, required)
483
+
484
+ Indicates if down arrow is enabled
485
+
486
+ ### `domain` (object, required)
487
+
488
+ Properties of the `domain` object:
489
+
490
+ #### `min` (number, required)
491
+
492
+ Min value
493
+
494
+ #### `max` (number, required)
495
+
496
+ Max value
497
+
498
+ #### `padding` (number, required)
499
+
500
+ Padding value
501
+
502
+ #### `step` (number, required)
503
+
504
+ Step value
505
+
506
+ #### `labelStep` (number, required)
507
+
508
+ Label step value
509
+
510
+ #### `axisLabel` (string, required)
511
+
512
+ Axis Label
513
+
514
+ ### `graph` (object, required)
515
+
516
+ Properties of the `graph` object:
517
+
518
+ #### `width` (number, required)
519
+
520
+ Width for graph representation
521
+
522
+ #### `height` (number, required)
523
+
524
+ Height for graph representation
525
+
526
+ ### `includeAxes` (boolean)
527
+
528
+ Indicates if the graph axes and labels are enabled
529
+
530
+ ### `labels` (object)
531
+
532
+ Properties of the `labels` object:
533
+
534
+ #### `top` (string, required)
535
+
536
+ Label for top side of the graph
537
+
538
+ #### `bottom` (string, required)
539
+
540
+ Label for bottom side of the graph
541
+
542
+ #### `left` (string, required)
543
+
544
+ Label for left side of the graph
545
+
546
+ #### `right` (string, required)
547
+
548
+ Label for right side of the graph
549
+
550
+ ### `padding` (boolean)
551
+
552
+ Indicates if padding is enabled
553
+
554
+ ### `range` (object, required)
555
+
556
+ Properties of the `range` object:
557
+
558
+ #### `min` (number, required)
559
+
560
+ Min value
561
+
562
+ #### `max` (number, required)
563
+
564
+ Max value
565
+
566
+ #### `padding` (number, required)
567
+
568
+ Padding value
569
+
570
+ #### `step` (number, required)
571
+
572
+ Step value
573
+
574
+ #### `labelStep` (number, required)
575
+
576
+ Label step value
577
+
578
+ #### `axisLabel` (string, required)
579
+
580
+ Axis Label
581
+
582
+ ### `standardGrid` (boolean)
583
+
584
+ Indicates if some domain values will be synched to the range values
585
+
586
+ ### `title` (string)
587
+
588
+ Indicates graph title
589
+
590
+ ## `Arrows` (object)
591
+
592
+ Properties of the `Arrows` object:
593
+
594
+ ### `left` (boolean, required)
595
+
596
+ Indicates if left arrow is enabled
597
+
598
+ ### `right` (boolean, required)
599
+
600
+ Indicates if right arrow is enabled
601
+
602
+ ### `up` (boolean, required)
603
+
604
+ Indicates if up arrow is enabled
605
+
606
+ ### `down` (boolean, required)
607
+
608
+ Indicates if down arrow is enabled
609
+
610
+ ## `GraphSettings` (object)
611
+
612
+ Properties of the `GraphSettings` object:
613
+
614
+ ### `min` (number, required)
615
+
616
+ Min value
617
+
618
+ ### `max` (number, required)
619
+
620
+ Max value
621
+
622
+ ### `padding` (number, required)
623
+
624
+ Padding value
625
+
626
+ ### `step` (number, required)
627
+
628
+ Step value
629
+
630
+ ### `labelStep` (number, required)
631
+
632
+ Label step value
633
+
634
+ ### `axisLabel` (string, required)
635
+
636
+ Axis Label
637
+
638
+ ## `Graph` (object)
639
+
640
+ Properties of the `Graph` object:
641
+
642
+ ### `width` (number, required)
643
+
644
+ Width for graph representation
645
+
646
+ ### `height` (number, required)
647
+
648
+ Height for graph representation
649
+
650
+ ## `Labels` (object)
651
+
652
+ Properties of the `Labels` object:
653
+
654
+ ### `top` (string, required)
655
+
656
+ Label for top side of the graph
657
+
658
+ ### `bottom` (string, required)
659
+
660
+ Label for bottom side of the graph
661
+
662
+ ### `left` (string, required)
663
+
664
+ Label for left side of the graph
665
+
666
+ ### `right` (string, required)
667
+
668
+ Label for right side of the graph
669
+
670
+ ## `LabelsConfigProp` (object)
671
+
672
+ Properties of the `LabelsConfigProp` object:
673
+
674
+ ### `top` (string)
675
+
676
+ Indicates the placeholder for the top label
677
+
678
+ ### `right` (string)
679
+
680
+ Indicates the placeholder for the right label
681
+
682
+ ### `bottom` (string)
683
+
684
+ Indicates the placeholder for the bottom label
685
+
686
+ ### `left` (string)
687
+
688
+ Indicates the placeholder for the left label
689
+
690
+ ### `settings` (boolean)
691
+
692
+ Indicates if the item has to be displayed in the Settings Panel
693
+
694
+ ### `label` (string)
695
+
696
+ Indicates the label for the item that has to be displayed in the Settings Panel
697
+
698
+ ### `enabled` (boolean)
699
+
700
+ Indicates the value of the item if it affects config-ui
701
+ (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
702
+
703
+ ## `TitleConfigProp` (object)
704
+
705
+ Properties of the `TitleConfigProp` object:
706
+
707
+ ### `placeholder` (string)
708
+
709
+ Indicates the placeholder for the title label
461
710
 
462
711
  ### `settings` (boolean)
463
712
 
@@ -639,83 +888,3 @@ Indicates x coordinate
639
888
  ### `y` (number, required)
640
889
 
641
890
  Indicates y coordinate
642
-
643
- ## `Arrows` (object)
644
-
645
- Properties of the `Arrows` object:
646
-
647
- ### `left` (boolean, required)
648
-
649
- Indicates if left arrow is enabled
650
-
651
- ### `right` (boolean, required)
652
-
653
- Indicates if right arrow is enabled
654
-
655
- ### `up` (boolean, required)
656
-
657
- Indicates if up arrow is enabled
658
-
659
- ### `down` (boolean, required)
660
-
661
- Indicates if down arrow is enabled
662
-
663
- ## `GraphSettings` (object)
664
-
665
- Properties of the `GraphSettings` object:
666
-
667
- ### `min` (number, required)
668
-
669
- Min value
670
-
671
- ### `max` (number, required)
672
-
673
- Max value
674
-
675
- ### `padding` (number, required)
676
-
677
- Padding value
678
-
679
- ### `step` (number, required)
680
-
681
- Step value
682
-
683
- ### `labelStep` (number, required)
684
-
685
- Label step value
686
-
687
- ### `axisLabel` (string, required)
688
-
689
- Axis Label
690
-
691
- ## `Graph` (object)
692
-
693
- Properties of the `Graph` object:
694
-
695
- ### `width` (number, required)
696
-
697
- Width for graph representation
698
-
699
- ### `height` (number, required)
700
-
701
- Height for graph representation
702
-
703
- ## `Labels` (object)
704
-
705
- Properties of the `Labels` object:
706
-
707
- ### `top` (string, required)
708
-
709
- Label for top side of the graph
710
-
711
- ### `bottom` (string, required)
712
-
713
- Label for bottom side of the graph
714
-
715
- ### `left` (string, required)
716
-
717
- Label for left side of the graph
718
-
719
- ### `right` (string, required)
720
-
721
- Label for right side of the graph
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "4.2.1",
7
+ "version": "4.3.0",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -13,10 +13,10 @@
13
13
  "dependencies": {
14
14
  "@material-ui/core": "^3.9.2",
15
15
  "@pie-framework/pie-player-events": "^0.1.0",
16
- "@pie-lib/correct-answer-toggle": "2.3.42",
17
- "@pie-lib/graphing": "^2.9.1",
16
+ "@pie-lib/correct-answer-toggle": "2.3.43",
17
+ "@pie-lib/graphing": "^2.10.0",
18
18
  "@pie-lib/math-rendering": "^2.4.5",
19
- "@pie-lib/render-ui": "^4.13.2",
19
+ "@pie-lib/render-ui": "^4.13.3",
20
20
  "classnames": "^2.2.5",
21
21
  "debug": "^4.1.1",
22
22
  "react": "^16.8.1",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "author": "",
26
26
  "license": "ISC",
27
- "gitHead": "7a41ce7e1b9d7711d0068eee0c62bd6e22063457",
27
+ "gitHead": "ede3dabf5cc1cb5c07cc275f2b27ac3e4e9eecae",
28
28
  "main": "lib/index.js",
29
29
  "module": "src/index.js"
30
30
  }