@sbb-esta/lyne-elements-experimental-dev 4.13.0-dev.1780925802 → 4.13.0-dev.1780955602

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.
Files changed (2) hide show
  1. package/custom-elements.json +216 -216
  2. package/package.json +2 -2
@@ -816,222 +816,6 @@
816
816
  }
817
817
  ]
818
818
  },
819
- {
820
- "kind": "javascript-module",
821
- "path": "pearl-chain-time/pearl-chain-time.component.js",
822
- "declarations": [
823
- {
824
- "kind": "class",
825
- "description": "Combined with `sbb-pearl-chain`, it displays walk time information.",
826
- "name": "SbbPearlChainTimeElement",
827
- "members": [
828
- {
829
- "kind": "field",
830
- "name": "elementName",
831
- "type": {
832
- "text": "string"
833
- },
834
- "privacy": "public",
835
- "static": true,
836
- "readonly": true,
837
- "default": "'sbb-pearl-chain-time'"
838
- },
839
- {
840
- "kind": "field",
841
- "name": "legs",
842
- "type": {
843
- "text": "(Leg | PtRideLeg)[]"
844
- },
845
- "privacy": "public",
846
- "default": "[]",
847
- "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%.",
848
- "attribute": "legs"
849
- },
850
- {
851
- "kind": "field",
852
- "name": "departureTime",
853
- "type": {
854
- "text": "string"
855
- },
856
- "privacy": "public",
857
- "default": "''",
858
- "description": "Prop to render the departure time - will be formatted as \"H:mm\"",
859
- "attribute": "departure-time"
860
- },
861
- {
862
- "kind": "field",
863
- "name": "arrivalTime",
864
- "type": {
865
- "text": "string"
866
- },
867
- "privacy": "public",
868
- "default": "''",
869
- "description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
870
- "attribute": "arrival-time"
871
- },
872
- {
873
- "kind": "field",
874
- "name": "departureWalk",
875
- "type": {
876
- "text": "number"
877
- },
878
- "privacy": "public",
879
- "default": "NaN",
880
- "description": "Optional prop to render the walk time (in minutes) before departure",
881
- "attribute": "departure-walk"
882
- },
883
- {
884
- "kind": "field",
885
- "name": "arrivalWalk",
886
- "type": {
887
- "text": "number"
888
- },
889
- "privacy": "public",
890
- "default": "NaN",
891
- "description": "Optional prop to render the walk time (in minutes) after arrival",
892
- "attribute": "arrival-walk"
893
- },
894
- {
895
- "kind": "field",
896
- "name": "disableAnimation",
897
- "type": {
898
- "text": "boolean"
899
- },
900
- "privacy": "public",
901
- "default": "false",
902
- "description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
903
- "attribute": "disable-animation"
904
- },
905
- {
906
- "kind": "field",
907
- "name": "a11yFootpath",
908
- "type": {
909
- "text": "boolean"
910
- },
911
- "privacy": "public",
912
- "default": "false",
913
- "description": "Optional prop to render wheelchair-small instead of walk-small",
914
- "attribute": "a11y-footpath"
915
- },
916
- {
917
- "kind": "field",
918
- "name": "now",
919
- "privacy": "public",
920
- "description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
921
- "type": {
922
- "text": "Date"
923
- },
924
- "attribute": "now",
925
- "default": "null"
926
- },
927
- {
928
- "kind": "field",
929
- "name": "_now",
930
- "type": {
931
- "text": "Date | null"
932
- },
933
- "privacy": "private",
934
- "default": "null"
935
- },
936
- {
937
- "kind": "field",
938
- "name": "_language",
939
- "privacy": "private",
940
- "default": "new SbbLanguageController(this)"
941
- }
942
- ],
943
- "attributes": [
944
- {
945
- "name": "legs",
946
- "type": {
947
- "text": "(Leg | PtRideLeg)[]"
948
- },
949
- "default": "[]",
950
- "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%.",
951
- "fieldName": "legs"
952
- },
953
- {
954
- "name": "departure-time",
955
- "type": {
956
- "text": "string"
957
- },
958
- "default": "''",
959
- "description": "Prop to render the departure time - will be formatted as \"H:mm\"",
960
- "fieldName": "departureTime"
961
- },
962
- {
963
- "name": "arrival-time",
964
- "type": {
965
- "text": "string"
966
- },
967
- "default": "''",
968
- "description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
969
- "fieldName": "arrivalTime"
970
- },
971
- {
972
- "name": "departure-walk",
973
- "type": {
974
- "text": "number"
975
- },
976
- "default": "NaN",
977
- "description": "Optional prop to render the walk time (in minutes) before departure",
978
- "fieldName": "departureWalk"
979
- },
980
- {
981
- "name": "arrival-walk",
982
- "type": {
983
- "text": "number"
984
- },
985
- "default": "NaN",
986
- "description": "Optional prop to render the walk time (in minutes) after arrival",
987
- "fieldName": "arrivalWalk"
988
- },
989
- {
990
- "name": "disable-animation",
991
- "type": {
992
- "text": "boolean"
993
- },
994
- "default": "false",
995
- "description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
996
- "fieldName": "disableAnimation"
997
- },
998
- {
999
- "name": "a11y-footpath",
1000
- "type": {
1001
- "text": "boolean"
1002
- },
1003
- "default": "false",
1004
- "description": "Optional prop to render wheelchair-small instead of walk-small",
1005
- "fieldName": "a11yFootpath"
1006
- },
1007
- {
1008
- "name": "now",
1009
- "description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
1010
- "type": {
1011
- "text": "Date"
1012
- },
1013
- "fieldName": "now"
1014
- }
1015
- ],
1016
- "superclass": {
1017
- "name": "SbbElement",
1018
- "package": "@sbb-esta/lyne-elements/core/base-elements.js"
1019
- },
1020
- "tagName": "sbb-pearl-chain-time",
1021
- "customElement": true
1022
- }
1023
- ],
1024
- "exports": [
1025
- {
1026
- "kind": "js",
1027
- "name": "SbbPearlChainTimeElement",
1028
- "declaration": {
1029
- "name": "SbbPearlChainTimeElement",
1030
- "module": "pearl-chain-time/pearl-chain-time.component.js"
1031
- }
1032
- }
1033
- ]
1034
- },
1035
819
  {
1036
820
  "kind": "javascript-module",
1037
821
  "path": "pearl-chain/pearl-chain.component.js",
@@ -1298,6 +1082,222 @@
1298
1082
  }
1299
1083
  ]
1300
1084
  },
1085
+ {
1086
+ "kind": "javascript-module",
1087
+ "path": "pearl-chain-time/pearl-chain-time.component.js",
1088
+ "declarations": [
1089
+ {
1090
+ "kind": "class",
1091
+ "description": "Combined with `sbb-pearl-chain`, it displays walk time information.",
1092
+ "name": "SbbPearlChainTimeElement",
1093
+ "members": [
1094
+ {
1095
+ "kind": "field",
1096
+ "name": "elementName",
1097
+ "type": {
1098
+ "text": "string"
1099
+ },
1100
+ "privacy": "public",
1101
+ "static": true,
1102
+ "readonly": true,
1103
+ "default": "'sbb-pearl-chain-time'"
1104
+ },
1105
+ {
1106
+ "kind": "field",
1107
+ "name": "legs",
1108
+ "type": {
1109
+ "text": "(Leg | PtRideLeg)[]"
1110
+ },
1111
+ "privacy": "public",
1112
+ "default": "[]",
1113
+ "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%.",
1114
+ "attribute": "legs"
1115
+ },
1116
+ {
1117
+ "kind": "field",
1118
+ "name": "departureTime",
1119
+ "type": {
1120
+ "text": "string"
1121
+ },
1122
+ "privacy": "public",
1123
+ "default": "''",
1124
+ "description": "Prop to render the departure time - will be formatted as \"H:mm\"",
1125
+ "attribute": "departure-time"
1126
+ },
1127
+ {
1128
+ "kind": "field",
1129
+ "name": "arrivalTime",
1130
+ "type": {
1131
+ "text": "string"
1132
+ },
1133
+ "privacy": "public",
1134
+ "default": "''",
1135
+ "description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
1136
+ "attribute": "arrival-time"
1137
+ },
1138
+ {
1139
+ "kind": "field",
1140
+ "name": "departureWalk",
1141
+ "type": {
1142
+ "text": "number"
1143
+ },
1144
+ "privacy": "public",
1145
+ "default": "NaN",
1146
+ "description": "Optional prop to render the walk time (in minutes) before departure",
1147
+ "attribute": "departure-walk"
1148
+ },
1149
+ {
1150
+ "kind": "field",
1151
+ "name": "arrivalWalk",
1152
+ "type": {
1153
+ "text": "number"
1154
+ },
1155
+ "privacy": "public",
1156
+ "default": "NaN",
1157
+ "description": "Optional prop to render the walk time (in minutes) after arrival",
1158
+ "attribute": "arrival-walk"
1159
+ },
1160
+ {
1161
+ "kind": "field",
1162
+ "name": "disableAnimation",
1163
+ "type": {
1164
+ "text": "boolean"
1165
+ },
1166
+ "privacy": "public",
1167
+ "default": "false",
1168
+ "description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
1169
+ "attribute": "disable-animation"
1170
+ },
1171
+ {
1172
+ "kind": "field",
1173
+ "name": "a11yFootpath",
1174
+ "type": {
1175
+ "text": "boolean"
1176
+ },
1177
+ "privacy": "public",
1178
+ "default": "false",
1179
+ "description": "Optional prop to render wheelchair-small instead of walk-small",
1180
+ "attribute": "a11y-footpath"
1181
+ },
1182
+ {
1183
+ "kind": "field",
1184
+ "name": "now",
1185
+ "privacy": "public",
1186
+ "description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
1187
+ "type": {
1188
+ "text": "Date"
1189
+ },
1190
+ "attribute": "now",
1191
+ "default": "null"
1192
+ },
1193
+ {
1194
+ "kind": "field",
1195
+ "name": "_now",
1196
+ "type": {
1197
+ "text": "Date | null"
1198
+ },
1199
+ "privacy": "private",
1200
+ "default": "null"
1201
+ },
1202
+ {
1203
+ "kind": "field",
1204
+ "name": "_language",
1205
+ "privacy": "private",
1206
+ "default": "new SbbLanguageController(this)"
1207
+ }
1208
+ ],
1209
+ "attributes": [
1210
+ {
1211
+ "name": "legs",
1212
+ "type": {
1213
+ "text": "(Leg | PtRideLeg)[]"
1214
+ },
1215
+ "default": "[]",
1216
+ "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%.",
1217
+ "fieldName": "legs"
1218
+ },
1219
+ {
1220
+ "name": "departure-time",
1221
+ "type": {
1222
+ "text": "string"
1223
+ },
1224
+ "default": "''",
1225
+ "description": "Prop to render the departure time - will be formatted as \"H:mm\"",
1226
+ "fieldName": "departureTime"
1227
+ },
1228
+ {
1229
+ "name": "arrival-time",
1230
+ "type": {
1231
+ "text": "string"
1232
+ },
1233
+ "default": "''",
1234
+ "description": "Prop to render the arrival time - will be formatted as \"H:mm\"",
1235
+ "fieldName": "arrivalTime"
1236
+ },
1237
+ {
1238
+ "name": "departure-walk",
1239
+ "type": {
1240
+ "text": "number"
1241
+ },
1242
+ "default": "NaN",
1243
+ "description": "Optional prop to render the walk time (in minutes) before departure",
1244
+ "fieldName": "departureWalk"
1245
+ },
1246
+ {
1247
+ "name": "arrival-walk",
1248
+ "type": {
1249
+ "text": "number"
1250
+ },
1251
+ "default": "NaN",
1252
+ "description": "Optional prop to render the walk time (in minutes) after arrival",
1253
+ "fieldName": "arrivalWalk"
1254
+ },
1255
+ {
1256
+ "name": "disable-animation",
1257
+ "type": {
1258
+ "text": "boolean"
1259
+ },
1260
+ "default": "false",
1261
+ "description": "Per default, the current location has a pulsating animation. You can\ndisable the animation with this property.",
1262
+ "fieldName": "disableAnimation"
1263
+ },
1264
+ {
1265
+ "name": "a11y-footpath",
1266
+ "type": {
1267
+ "text": "boolean"
1268
+ },
1269
+ "default": "false",
1270
+ "description": "Optional prop to render wheelchair-small instead of walk-small",
1271
+ "fieldName": "a11yFootpath"
1272
+ },
1273
+ {
1274
+ "name": "now",
1275
+ "description": "A configured date which acts as the current date instead of the real current date.\nOnly recommended for testing purposes.",
1276
+ "type": {
1277
+ "text": "Date"
1278
+ },
1279
+ "fieldName": "now"
1280
+ }
1281
+ ],
1282
+ "superclass": {
1283
+ "name": "SbbElement",
1284
+ "package": "@sbb-esta/lyne-elements/core/base-elements.js"
1285
+ },
1286
+ "tagName": "sbb-pearl-chain-time",
1287
+ "customElement": true
1288
+ }
1289
+ ],
1290
+ "exports": [
1291
+ {
1292
+ "kind": "js",
1293
+ "name": "SbbPearlChainTimeElement",
1294
+ "declaration": {
1295
+ "name": "SbbPearlChainTimeElement",
1296
+ "module": "pearl-chain-time/pearl-chain-time.component.js"
1297
+ }
1298
+ }
1299
+ ]
1300
+ },
1301
1301
  {
1302
1302
  "kind": "javascript-module",
1303
1303
  "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.13.0-dev.1780925802",
3
+ "version": "4.13.0-dev.1780955602",
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/ef64ac923a1d80351b18f8d34c646589c2fa2fca"
10
+ "https://github.com/sbb-design-systems/lyne-components/commit/30007db8146df49a28421b4cac5ef3128eaafd08"
11
11
  ],
12
12
  "type": "module",
13
13
  "exports": {