@sbb-esta/lyne-elements-experimental-dev 4.7.0-dev.1773090237 → 4.7.0-dev.1773128242
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/custom-elements.json +213 -213
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -638,219 +638,6 @@
|
|
|
638
638
|
}
|
|
639
639
|
]
|
|
640
640
|
},
|
|
641
|
-
{
|
|
642
|
-
"kind": "javascript-module",
|
|
643
|
-
"path": "pearl-chain-time/pearl-chain-time.component.js",
|
|
644
|
-
"declarations": [
|
|
645
|
-
{
|
|
646
|
-
"kind": "class",
|
|
647
|
-
"description": "Combined with `sbb-pearl-chain`, it displays walk time information.",
|
|
648
|
-
"name": "SbbPearlChainTimeElement",
|
|
649
|
-
"members": [
|
|
650
|
-
{
|
|
651
|
-
"kind": "field",
|
|
652
|
-
"name": "legs",
|
|
653
|
-
"type": {
|
|
654
|
-
"text": "(Leg | PtRideLeg)[]"
|
|
655
|
-
},
|
|
656
|
-
"privacy": "public",
|
|
657
|
-
"default": "[]",
|
|
658
|
-
"description": "define the legs of the pearl-chain.\nFormat:\n`{\"legs\": [{\"duration\": 25}, ...]}`\n`duration` in minutes. Duration of the leg is relative\nto the total travel time. Example: departure 16:30, change at 16:40,\narrival at 17:00. So the change should have a duration of 33.33%.",
|
|
659
|
-
"attribute": "legs"
|
|
660
|
-
},
|
|
661
|
-
{
|
|
662
|
-
"kind": "field",
|
|
663
|
-
"name": "departureTime",
|
|
664
|
-
"type": {
|
|
665
|
-
"text": "string"
|
|
666
|
-
},
|
|
667
|
-
"privacy": "public",
|
|
668
|
-
"default": "''",
|
|
669
|
-
"description": "Prop to render the departure time - will be formatted as \"H:mm\"",
|
|
670
|
-
"attribute": "departure-time"
|
|
671
|
-
},
|
|
672
|
-
{
|
|
673
|
-
"kind": "field",
|
|
674
|
-
"name": "arrivalTime",
|
|
675
|
-
"type": {
|
|
676
|
-
"text": "string"
|
|
677
|
-
},
|
|
678
|
-
"privacy": "public",
|
|
679
|
-
"default": "''",
|
|
680
|
-
"description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
|
|
681
|
-
"attribute": "arrival-time"
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
"kind": "field",
|
|
685
|
-
"name": "departureWalk",
|
|
686
|
-
"type": {
|
|
687
|
-
"text": "number"
|
|
688
|
-
},
|
|
689
|
-
"privacy": "public",
|
|
690
|
-
"default": "NaN",
|
|
691
|
-
"description": "Optional prop to render the walk time (in minutes) before departure",
|
|
692
|
-
"attribute": "departure-walk"
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
"kind": "field",
|
|
696
|
-
"name": "arrivalWalk",
|
|
697
|
-
"type": {
|
|
698
|
-
"text": "number"
|
|
699
|
-
},
|
|
700
|
-
"privacy": "public",
|
|
701
|
-
"default": "NaN",
|
|
702
|
-
"description": "Optional prop to render the walk time (in minutes) after arrival",
|
|
703
|
-
"attribute": "arrival-walk"
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
"kind": "field",
|
|
707
|
-
"name": "disableAnimation",
|
|
708
|
-
"type": {
|
|
709
|
-
"text": "boolean"
|
|
710
|
-
},
|
|
711
|
-
"privacy": "public",
|
|
712
|
-
"default": "false",
|
|
713
|
-
"description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
|
|
714
|
-
"attribute": "disable-animation"
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
"kind": "field",
|
|
718
|
-
"name": "a11yFootpath",
|
|
719
|
-
"type": {
|
|
720
|
-
"text": "boolean"
|
|
721
|
-
},
|
|
722
|
-
"privacy": "public",
|
|
723
|
-
"default": "false",
|
|
724
|
-
"description": "Optional prop to render wheelchair-small instead of walk-small",
|
|
725
|
-
"attribute": "a11y-footpath"
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
"kind": "field",
|
|
729
|
-
"name": "now",
|
|
730
|
-
"privacy": "public",
|
|
731
|
-
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
732
|
-
"type": {
|
|
733
|
-
"text": "Date"
|
|
734
|
-
},
|
|
735
|
-
"attribute": "now",
|
|
736
|
-
"default": "null"
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
"kind": "field",
|
|
740
|
-
"name": "_now",
|
|
741
|
-
"type": {
|
|
742
|
-
"text": "Date | null"
|
|
743
|
-
},
|
|
744
|
-
"privacy": "private",
|
|
745
|
-
"default": "null"
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
"kind": "field",
|
|
749
|
-
"name": "_language",
|
|
750
|
-
"privacy": "private",
|
|
751
|
-
"default": "new SbbLanguageController(this)"
|
|
752
|
-
}
|
|
753
|
-
],
|
|
754
|
-
"attributes": [
|
|
755
|
-
{
|
|
756
|
-
"name": "legs",
|
|
757
|
-
"type": {
|
|
758
|
-
"text": "(Leg | PtRideLeg)[]"
|
|
759
|
-
},
|
|
760
|
-
"default": "[]",
|
|
761
|
-
"description": "define the legs of the pearl-chain.\nFormat:\n`{\"legs\": [{\"duration\": 25}, ...]}`\n`duration` in minutes. Duration of the leg is relative\nto the total travel time. Example: departure 16:30, change at 16:40,\narrival at 17:00. So the change should have a duration of 33.33%.",
|
|
762
|
-
"fieldName": "legs"
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
"name": "departure-time",
|
|
766
|
-
"type": {
|
|
767
|
-
"text": "string"
|
|
768
|
-
},
|
|
769
|
-
"default": "''",
|
|
770
|
-
"description": "Prop to render the departure time - will be formatted as \"H:mm\"",
|
|
771
|
-
"fieldName": "departureTime"
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
"name": "arrival-time",
|
|
775
|
-
"type": {
|
|
776
|
-
"text": "string"
|
|
777
|
-
},
|
|
778
|
-
"default": "''",
|
|
779
|
-
"description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
|
|
780
|
-
"fieldName": "arrivalTime"
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
"name": "departure-walk",
|
|
784
|
-
"type": {
|
|
785
|
-
"text": "number"
|
|
786
|
-
},
|
|
787
|
-
"default": "NaN",
|
|
788
|
-
"description": "Optional prop to render the walk time (in minutes) before departure",
|
|
789
|
-
"fieldName": "departureWalk"
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
"name": "arrival-walk",
|
|
793
|
-
"type": {
|
|
794
|
-
"text": "number"
|
|
795
|
-
},
|
|
796
|
-
"default": "NaN",
|
|
797
|
-
"description": "Optional prop to render the walk time (in minutes) after arrival",
|
|
798
|
-
"fieldName": "arrivalWalk"
|
|
799
|
-
},
|
|
800
|
-
{
|
|
801
|
-
"name": "disable-animation",
|
|
802
|
-
"type": {
|
|
803
|
-
"text": "boolean"
|
|
804
|
-
},
|
|
805
|
-
"default": "false",
|
|
806
|
-
"description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
|
|
807
|
-
"fieldName": "disableAnimation"
|
|
808
|
-
},
|
|
809
|
-
{
|
|
810
|
-
"name": "a11y-footpath",
|
|
811
|
-
"type": {
|
|
812
|
-
"text": "boolean"
|
|
813
|
-
},
|
|
814
|
-
"default": "false",
|
|
815
|
-
"description": "Optional prop to render wheelchair-small instead of walk-small",
|
|
816
|
-
"fieldName": "a11yFootpath"
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
"name": "now",
|
|
820
|
-
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
821
|
-
"type": {
|
|
822
|
-
"text": "Date"
|
|
823
|
-
},
|
|
824
|
-
"fieldName": "now"
|
|
825
|
-
}
|
|
826
|
-
],
|
|
827
|
-
"superclass": {
|
|
828
|
-
"name": "LitElement",
|
|
829
|
-
"package": "lit"
|
|
830
|
-
},
|
|
831
|
-
"tagName": "sbb-pearl-chain-time",
|
|
832
|
-
"customElement": true
|
|
833
|
-
}
|
|
834
|
-
],
|
|
835
|
-
"exports": [
|
|
836
|
-
{
|
|
837
|
-
"kind": "js",
|
|
838
|
-
"name": "SbbPearlChainTimeElement",
|
|
839
|
-
"declaration": {
|
|
840
|
-
"name": "SbbPearlChainTimeElement",
|
|
841
|
-
"module": "pearl-chain-time/pearl-chain-time.component.js"
|
|
842
|
-
}
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
"kind": "custom-element-definition",
|
|
846
|
-
"name": "sbb-pearl-chain-time",
|
|
847
|
-
"declaration": {
|
|
848
|
-
"name": "SbbPearlChainTimeElement",
|
|
849
|
-
"module": "pearl-chain-time/pearl-chain-time.component.js"
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
]
|
|
853
|
-
},
|
|
854
641
|
{
|
|
855
642
|
"kind": "javascript-module",
|
|
856
643
|
"path": "pearl-chain/pearl-chain.component.js",
|
|
@@ -1114,6 +901,219 @@
|
|
|
1114
901
|
}
|
|
1115
902
|
]
|
|
1116
903
|
},
|
|
904
|
+
{
|
|
905
|
+
"kind": "javascript-module",
|
|
906
|
+
"path": "pearl-chain-time/pearl-chain-time.component.js",
|
|
907
|
+
"declarations": [
|
|
908
|
+
{
|
|
909
|
+
"kind": "class",
|
|
910
|
+
"description": "Combined with `sbb-pearl-chain`, it displays walk time information.",
|
|
911
|
+
"name": "SbbPearlChainTimeElement",
|
|
912
|
+
"members": [
|
|
913
|
+
{
|
|
914
|
+
"kind": "field",
|
|
915
|
+
"name": "legs",
|
|
916
|
+
"type": {
|
|
917
|
+
"text": "(Leg | PtRideLeg)[]"
|
|
918
|
+
},
|
|
919
|
+
"privacy": "public",
|
|
920
|
+
"default": "[]",
|
|
921
|
+
"description": "define the legs of the pearl-chain.\nFormat:\n`{\"legs\": [{\"duration\": 25}, ...]}`\n`duration` in minutes. Duration of the leg is relative\nto the total travel time. Example: departure 16:30, change at 16:40,\narrival at 17:00. So the change should have a duration of 33.33%.",
|
|
922
|
+
"attribute": "legs"
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"kind": "field",
|
|
926
|
+
"name": "departureTime",
|
|
927
|
+
"type": {
|
|
928
|
+
"text": "string"
|
|
929
|
+
},
|
|
930
|
+
"privacy": "public",
|
|
931
|
+
"default": "''",
|
|
932
|
+
"description": "Prop to render the departure time - will be formatted as \"H:mm\"",
|
|
933
|
+
"attribute": "departure-time"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"kind": "field",
|
|
937
|
+
"name": "arrivalTime",
|
|
938
|
+
"type": {
|
|
939
|
+
"text": "string"
|
|
940
|
+
},
|
|
941
|
+
"privacy": "public",
|
|
942
|
+
"default": "''",
|
|
943
|
+
"description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
|
|
944
|
+
"attribute": "arrival-time"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"kind": "field",
|
|
948
|
+
"name": "departureWalk",
|
|
949
|
+
"type": {
|
|
950
|
+
"text": "number"
|
|
951
|
+
},
|
|
952
|
+
"privacy": "public",
|
|
953
|
+
"default": "NaN",
|
|
954
|
+
"description": "Optional prop to render the walk time (in minutes) before departure",
|
|
955
|
+
"attribute": "departure-walk"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"kind": "field",
|
|
959
|
+
"name": "arrivalWalk",
|
|
960
|
+
"type": {
|
|
961
|
+
"text": "number"
|
|
962
|
+
},
|
|
963
|
+
"privacy": "public",
|
|
964
|
+
"default": "NaN",
|
|
965
|
+
"description": "Optional prop to render the walk time (in minutes) after arrival",
|
|
966
|
+
"attribute": "arrival-walk"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
"kind": "field",
|
|
970
|
+
"name": "disableAnimation",
|
|
971
|
+
"type": {
|
|
972
|
+
"text": "boolean"
|
|
973
|
+
},
|
|
974
|
+
"privacy": "public",
|
|
975
|
+
"default": "false",
|
|
976
|
+
"description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
|
|
977
|
+
"attribute": "disable-animation"
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"kind": "field",
|
|
981
|
+
"name": "a11yFootpath",
|
|
982
|
+
"type": {
|
|
983
|
+
"text": "boolean"
|
|
984
|
+
},
|
|
985
|
+
"privacy": "public",
|
|
986
|
+
"default": "false",
|
|
987
|
+
"description": "Optional prop to render wheelchair-small instead of walk-small",
|
|
988
|
+
"attribute": "a11y-footpath"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"kind": "field",
|
|
992
|
+
"name": "now",
|
|
993
|
+
"privacy": "public",
|
|
994
|
+
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
995
|
+
"type": {
|
|
996
|
+
"text": "Date"
|
|
997
|
+
},
|
|
998
|
+
"attribute": "now",
|
|
999
|
+
"default": "null"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"kind": "field",
|
|
1003
|
+
"name": "_now",
|
|
1004
|
+
"type": {
|
|
1005
|
+
"text": "Date | null"
|
|
1006
|
+
},
|
|
1007
|
+
"privacy": "private",
|
|
1008
|
+
"default": "null"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"kind": "field",
|
|
1012
|
+
"name": "_language",
|
|
1013
|
+
"privacy": "private",
|
|
1014
|
+
"default": "new SbbLanguageController(this)"
|
|
1015
|
+
}
|
|
1016
|
+
],
|
|
1017
|
+
"attributes": [
|
|
1018
|
+
{
|
|
1019
|
+
"name": "legs",
|
|
1020
|
+
"type": {
|
|
1021
|
+
"text": "(Leg | PtRideLeg)[]"
|
|
1022
|
+
},
|
|
1023
|
+
"default": "[]",
|
|
1024
|
+
"description": "define the legs of the pearl-chain.\nFormat:\n`{\"legs\": [{\"duration\": 25}, ...]}`\n`duration` in minutes. Duration of the leg is relative\nto the total travel time. Example: departure 16:30, change at 16:40,\narrival at 17:00. So the change should have a duration of 33.33%.",
|
|
1025
|
+
"fieldName": "legs"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"name": "departure-time",
|
|
1029
|
+
"type": {
|
|
1030
|
+
"text": "string"
|
|
1031
|
+
},
|
|
1032
|
+
"default": "''",
|
|
1033
|
+
"description": "Prop to render the departure time - will be formatted as \"H:mm\"",
|
|
1034
|
+
"fieldName": "departureTime"
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"name": "arrival-time",
|
|
1038
|
+
"type": {
|
|
1039
|
+
"text": "string"
|
|
1040
|
+
},
|
|
1041
|
+
"default": "''",
|
|
1042
|
+
"description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
|
|
1043
|
+
"fieldName": "arrivalTime"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "departure-walk",
|
|
1047
|
+
"type": {
|
|
1048
|
+
"text": "number"
|
|
1049
|
+
},
|
|
1050
|
+
"default": "NaN",
|
|
1051
|
+
"description": "Optional prop to render the walk time (in minutes) before departure",
|
|
1052
|
+
"fieldName": "departureWalk"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"name": "arrival-walk",
|
|
1056
|
+
"type": {
|
|
1057
|
+
"text": "number"
|
|
1058
|
+
},
|
|
1059
|
+
"default": "NaN",
|
|
1060
|
+
"description": "Optional prop to render the walk time (in minutes) after arrival",
|
|
1061
|
+
"fieldName": "arrivalWalk"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"name": "disable-animation",
|
|
1065
|
+
"type": {
|
|
1066
|
+
"text": "boolean"
|
|
1067
|
+
},
|
|
1068
|
+
"default": "false",
|
|
1069
|
+
"description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
|
|
1070
|
+
"fieldName": "disableAnimation"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"name": "a11y-footpath",
|
|
1074
|
+
"type": {
|
|
1075
|
+
"text": "boolean"
|
|
1076
|
+
},
|
|
1077
|
+
"default": "false",
|
|
1078
|
+
"description": "Optional prop to render wheelchair-small instead of walk-small",
|
|
1079
|
+
"fieldName": "a11yFootpath"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "now",
|
|
1083
|
+
"description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
|
|
1084
|
+
"type": {
|
|
1085
|
+
"text": "Date"
|
|
1086
|
+
},
|
|
1087
|
+
"fieldName": "now"
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"superclass": {
|
|
1091
|
+
"name": "LitElement",
|
|
1092
|
+
"package": "lit"
|
|
1093
|
+
},
|
|
1094
|
+
"tagName": "sbb-pearl-chain-time",
|
|
1095
|
+
"customElement": true
|
|
1096
|
+
}
|
|
1097
|
+
],
|
|
1098
|
+
"exports": [
|
|
1099
|
+
{
|
|
1100
|
+
"kind": "js",
|
|
1101
|
+
"name": "SbbPearlChainTimeElement",
|
|
1102
|
+
"declaration": {
|
|
1103
|
+
"name": "SbbPearlChainTimeElement",
|
|
1104
|
+
"module": "pearl-chain-time/pearl-chain-time.component.js"
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"kind": "custom-element-definition",
|
|
1109
|
+
"name": "sbb-pearl-chain-time",
|
|
1110
|
+
"declaration": {
|
|
1111
|
+
"name": "SbbPearlChainTimeElement",
|
|
1112
|
+
"module": "pearl-chain-time/pearl-chain-time.component.js"
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
]
|
|
1116
|
+
},
|
|
1117
1117
|
{
|
|
1118
1118
|
"kind": "javascript-module",
|
|
1119
1119
|
"path": "pearl-chain-vertical/pearl-chain-vertical.component.js",
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-experimental-dev",
|
|
3
|
-
"version": "4.7.0-dev.
|
|
3
|
+
"version": "4.7.0-dev.1773128242",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
9
|
"storybook",
|
|
10
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
10
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/5a2ee6f19f7a50846fc2d671c0e80f9d4d9406b4"
|
|
11
11
|
],
|
|
12
12
|
"type": "module",
|
|
13
13
|
"exports": {
|