@supersoniks/concorde 5.0.3 → 5.0.4
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/.github/workflows/ci.yml +21 -0
- package/.github-export-ignore +30 -0
- package/CONTRIBUTING.md +59 -0
- package/DEV.md +54 -0
- package/LICENSE +21 -0
- package/OPEN_SOURCE_CHECKPOINT.md +133 -0
- package/build-infos.json +1 -1
- package/concorde-core.bundle.js +66 -66
- package/concorde-core.es.js +1368 -1318
- package/dist/concorde-core.bundle.js +66 -66
- package/dist/concorde-core.es.js +1368 -1318
- package/docs/assets/{index-BnK6OS7w.js → index-D8MVWqY6.js} +1144 -1008
- package/docs/assets/index-DiD0qYvE.css +1 -0
- package/docs/crawl/core/components/ui/alert/alert.html +71 -101
- package/docs/crawl/core/components/ui/badge/badge.html +77 -106
- package/docs/crawl/core/components/ui/button/button.html +0 -1
- package/docs/crawl/core/components/ui/card/card.html +68 -112
- package/docs/crawl/core/components/ui/form/input/input.html +3 -3
- package/docs/crawl/core/components/ui/form/textarea/textarea.html +3 -3
- package/docs/crawl/core/components/ui/image/image.html +56 -132
- package/docs/crawl/core/components/ui/link/link.html +4 -4
- package/docs/crawl/core/components/ui/pop/pop.html +3 -79
- package/docs/crawl/docs/_getting-started/concorde-outside.html +3 -3
- package/docs/crawl/hubs/form-components.html +4 -4
- package/docs/index.html +5 -5
- package/docs/llms-full.txt +97 -281
- package/docs/llms.txt +8 -8
- package/docs/src/core/components/functional/fetch/fetch.md +0 -0
- package/docs/src/core/components/functional/if/if.md +0 -0
- package/docs/src/core/components/functional/list/list.md +0 -0
- package/docs/src/core/components/functional/router/router.md +0 -0
- package/docs/src/core/components/functional/sdui/sdui.md +0 -0
- package/docs/src/core/components/functional/states/states.md +0 -0
- package/docs/src/core/components/functional/submit/submit.md +0 -0
- package/docs/src/core/components/ui/alert/alert.md +72 -128
- package/docs/src/core/components/ui/badge/badge.md +78 -126
- package/docs/src/core/components/ui/button/button.md +0 -1
- package/docs/src/core/components/ui/captcha/captcha.md +0 -0
- package/docs/src/core/components/ui/card/card.md +65 -120
- package/docs/src/core/components/ui/form/input/input.md +1 -1
- package/docs/src/core/components/ui/form/radio/radio.md +0 -0
- package/docs/src/core/components/ui/form/select/select.md +0 -0
- package/docs/src/core/components/ui/form/switch/switch.md +0 -0
- package/docs/src/core/components/ui/form/textarea/textarea.md +1 -1
- package/docs/src/core/components/ui/image/image.md +53 -147
- package/docs/src/core/components/ui/link/link.md +2 -2
- package/docs/src/core/components/ui/loader/loader.md +0 -0
- package/docs/src/core/components/ui/menu/menu.md +0 -0
- package/docs/src/core/components/ui/modal/modal.md +0 -0
- package/docs/src/core/components/ui/pop/pop.md +1 -105
- package/docs/src/core/components/ui/table/table.md +0 -0
- package/docs/src/docs/_core-concept/subscriber.md +0 -0
- package/docs/src/docs/_getting-started/concorde-outside.md +3 -3
- package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -0
- package/docs/src/docs/_getting-started/pubsub.md +0 -0
- package/docs/src/docs/_getting-started/start.md +0 -0
- package/docs/src/docs/search/docs-search.json +25 -655
- package/docs/src/tsconfig.declarations.json +22 -0
- package/docs/src/tsconfig.emit.json +23 -0
- package/docs/src/tsconfig.json +3 -45
- package/gitlab/job_github_mirror.sh +39 -0
- package/gitlab/job_tests.sh +0 -0
- package/package.json +1 -1
- package/scripts/github-export.mjs +150 -0
- package/scripts/post-build-docs.js +0 -0
- package/scripts/post-build.mjs +0 -0
- package/src/core/components/functional/fetch/fetch.md +0 -0
- package/src/core/components/functional/if/if.md +0 -0
- package/src/core/components/functional/list/list.demo.ts +0 -0
- package/src/core/components/functional/list/list.md +0 -0
- package/src/core/components/functional/router/router.md +0 -0
- package/src/core/components/functional/router/router.ts +0 -0
- package/src/core/components/functional/sdui/sdui.md +0 -0
- package/src/core/components/functional/states/states.md +0 -0
- package/src/core/components/functional/submit/submit.md +0 -0
- package/src/core/components/functional/subscriber/subscriber.ts +0 -0
- package/src/core/components/ui/_css/size.ts +0 -0
- package/src/core/components/ui/captcha/altchaStyles.ts +0 -0
- package/src/core/components/ui/captcha/captcha.md +0 -0
- package/src/core/components/ui/form/radio/radio.md +0 -0
- package/src/core/components/ui/form/select/select.md +0 -0
- package/src/core/components/ui/form/switch/switch.md +0 -0
- package/src/core/components/ui/loader/loader.md +0 -0
- package/src/core/components/ui/menu/menu.md +0 -0
- package/src/core/components/ui/modal/modal.md +0 -0
- package/src/core/components/ui/table/table-caption.ts +0 -0
- package/src/core/components/ui/table/table.md +0 -0
- package/src/core/decorators/subscriber/ancestorAttribute.spec.ts +26 -0
- package/src/core/decorators/subscriber/ancestorAttribute.ts +3 -4
- package/src/core/mixins/Subscriber.ts +0 -0
- package/src/core/utils/AncestorAttributeObserver.ts +183 -70
- package/src/core/utils/DataBindObserver.ts +0 -0
- package/src/core/utils/Objects.ts +0 -0
- package/src/core/utils/route.ts +0 -0
- package/src/css.d.ts +19 -0
- package/src/docs/_core-concept/subscriber.md +0 -0
- package/src/docs/_decorators/ancestor-attribute.md +3 -2
- package/src/docs/_getting-started/my-first-subscriber.md +0 -0
- package/src/docs/_getting-started/pubsub.md +0 -0
- package/src/docs/_getting-started/start.md +0 -0
- package/src/docs/example/users.ts +0 -0
- package/src/docs/search/page.ts +0 -0
- package/src/tsconfig.declarations.json +22 -0
- package/src/tsconfig.emit.json +23 -0
- package/src/tsconfig.tsbuildinfo +1 -1
- package/docs/assets/index--GpD7R7a.css +0 -1
package/docs/llms-full.txt
CHANGED
|
@@ -962,99 +962,68 @@ I prefer
|
|
|
962
962
|
|
|
963
963
|
- URL: https://concorde.supersoniks.org/crawl/core/components/ui/alert/alert.html
|
|
964
964
|
- Doc ID: core/components/ui/alert/alert
|
|
965
|
-
- Keywords: Concorde, supersoniks, core/components/ui/alert/alert, alert, Alert, UI component, sonic-alert, web component
|
|
965
|
+
- Keywords: Concorde, supersoniks, core/components/ui/alert/alert, alert, Alert, UI component, sonic-alert, web component
|
|
966
966
|
|
|
967
967
|
Alert
|
|
968
968
|
|
|
969
|
-
Inline message in the page: title (label), body (text or default slot), icon from status. For HTML or actions, use the slot instead of label / text (plain text only).
|
|
970
|
-
|
|
971
|
-
Use status: default, info, success, warning, error.
|
|
972
|
-
|
|
973
969
|
Status
|
|
974
970
|
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
This address is already in use.
|
|
981
|
-
This address is already in use.
|
|
982
|
-
|
|
983
|
-
Accessibility (announce)
|
|
984
|
-
|
|
985
|
-
By default, an alert already in the DOM is not announced (no role / aria-live). Set announce when the message appears after user action (API response, validation, etc.): screen readers get role="alert" for error, otherwise role="status" and aria-live="polite".
|
|
986
|
-
|
|
987
|
-
sonic-alert-messages sets announce on every rendered alert.
|
|
988
|
-
|
|
989
|
-
Content and icon
|
|
990
|
-
|
|
991
|
-
label and text accept plain text only. The default slot is rendered after text. Use the icon slot to replace the default sonic-icon. noIcon hides the icon.
|
|
992
|
-
|
|
993
|
-
Custom icon slot
|
|
994
|
-
|
|
995
|
-
Project any markup into slot="icon" (emoji, image, custom component). Keep it decorative with aria-hidden="true" when the message text already conveys meaning.
|
|
996
|
-
|
|
997
|
-
🎉
|
|
998
|
-
You unlocked a new badge.
|
|
971
|
+
This address is already in use.
|
|
972
|
+
This address is already in use.
|
|
973
|
+
This address is already in use.
|
|
974
|
+
This address is already in use.
|
|
975
|
+
This address is already in use.
|
|
999
976
|
|
|
1000
977
|
Sizes
|
|
1001
978
|
|
|
1002
|
-
|
|
979
|
+
This address is already in use. Lorem ipsum dolor sit amet.
|
|
1003
980
|
|
|
1004
|
-
|
|
981
|
+
This address is already in use. Lorem ipsum dolor sit amet.
|
|
1005
982
|
|
|
1006
|
-
|
|
983
|
+
This address is already in use. Lorem ipsum dolor sit amet.
|
|
1007
984
|
|
|
1008
|
-
|
|
985
|
+
This address is already in use. Lorem ipsum dolor sit amet.
|
|
1009
986
|
|
|
1010
|
-
|
|
987
|
+
This address is already in use. Lorem ipsum dolor sit amet.
|
|
1011
988
|
|
|
1012
|
-
|
|
989
|
+
This address is already in use. Lorem ipsum dolor sit amet.
|
|
1013
990
|
|
|
1014
|
-
|
|
991
|
+
This address is already in use. Lorem ipsum dolor sit amet.
|
|
1015
992
|
|
|
1016
993
|
Alert with link
|
|
1017
994
|
|
|
1018
|
-
|
|
995
|
+
You have 2 unread messages
|
|
1019
996
|
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
See messages
|
|
1023
|
-
Dismiss
|
|
997
|
+
See messages
|
|
998
|
+
dismiss
|
|
1024
999
|
|
|
1025
1000
|
Background
|
|
1026
1001
|
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
This address is already in use.
|
|
1002
|
+
This address is already in use.
|
|
1030
1003
|
|
|
1031
|
-
|
|
1004
|
+
This address is already in use.
|
|
1032
1005
|
|
|
1033
|
-
|
|
1006
|
+
This address is already in use.
|
|
1034
1007
|
|
|
1035
|
-
|
|
1008
|
+
This address is already in use.
|
|
1036
1009
|
|
|
1037
|
-
|
|
1010
|
+
This address is already in use.
|
|
1038
1011
|
|
|
1039
1012
|
Dismissible
|
|
1040
1013
|
|
|
1041
|
-
|
|
1014
|
+
This address is already in use.
|
|
1042
1015
|
|
|
1043
|
-
|
|
1016
|
+
This address is already in use.
|
|
1044
1017
|
|
|
1045
|
-
|
|
1018
|
+
This address is already in use.
|
|
1046
1019
|
|
|
1047
|
-
|
|
1020
|
+
This address is already in use.
|
|
1048
1021
|
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
This address is already in use.
|
|
1022
|
+
This address is already in use.
|
|
1052
1023
|
|
|
1053
1024
|
Dismiss forever
|
|
1054
1025
|
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
This address is already in use.
|
|
1026
|
+
This address is already in use.
|
|
1058
1027
|
|
|
1059
1028
|
---
|
|
1060
1029
|
|
|
@@ -1062,92 +1031,68 @@ With dismissForever, dismissal is stored in localStorage (key sonic-alert-dismis
|
|
|
1062
1031
|
|
|
1063
1032
|
- URL: https://concorde.supersoniks.org/crawl/core/components/ui/badge/badge.html
|
|
1064
1033
|
- Doc ID: core/components/ui/badge/badge
|
|
1065
|
-
- Keywords: Concorde, supersoniks, core/components/ui/badge/badge, badge, Badge, UI component, sonic-badge, web component
|
|
1034
|
+
- Keywords: Concorde, supersoniks, core/components/ui/badge/badge, badge, Badge, UI component, sonic-badge, web component
|
|
1066
1035
|
|
|
1067
1036
|
Badge
|
|
1068
1037
|
|
|
1069
|
-
A non-interactive pill for labels, counts, or highlights (counter, status, category). The API mirrors sonic-button (type, variant, size) without focus or click states.
|
|
1070
|
-
|
|
1071
|
-
Colors come from theme tokens (--sc-primary, --sc-danger, …) or the semantic type values below.
|
|
1072
|
-
|
|
1073
1038
|
Type
|
|
1074
1039
|
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
Danger
|
|
1084
|
-
|
|
1085
|
-
Variant
|
|
1086
|
-
|
|
1087
|
-
outline — border and text in the type color. ghost — text only, no padding (except in forced-colors mode).
|
|
1040
|
+
Default
|
|
1041
|
+
Primary
|
|
1042
|
+
Neutral
|
|
1043
|
+
Warning
|
|
1044
|
+
Info
|
|
1045
|
+
Success
|
|
1046
|
+
Danger
|
|
1047
|
+
Contrast
|
|
1088
1048
|
|
|
1089
1049
|
Outline
|
|
1090
1050
|
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1051
|
+
Default
|
|
1052
|
+
Primary
|
|
1053
|
+
Neutral
|
|
1054
|
+
Warning
|
|
1055
|
+
Info
|
|
1056
|
+
Success
|
|
1057
|
+
Danger
|
|
1058
|
+
Contrast
|
|
1098
1059
|
|
|
1099
1060
|
Ghost
|
|
1100
1061
|
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1062
|
+
Default
|
|
1063
|
+
Primary
|
|
1064
|
+
Neutral
|
|
1065
|
+
Warning
|
|
1066
|
+
Info
|
|
1067
|
+
Success
|
|
1068
|
+
Danger
|
|
1069
|
+
Contrast
|
|
1108
1070
|
|
|
1109
1071
|
Size
|
|
1110
1072
|
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
Xl
|
|
1119
|
-
2Xl
|
|
1120
|
-
|
|
1121
|
-
Prefix and suffix slots
|
|
1122
|
-
|
|
1123
|
-
Icons or short text before / after the main label.
|
|
1124
|
-
|
|
1125
|
-
Info
|
|
1126
|
-
|
|
1127
|
-
Verified
|
|
1073
|
+
2Xs badge
|
|
1074
|
+
Xs badge
|
|
1075
|
+
Sm badge
|
|
1076
|
+
Md badge
|
|
1077
|
+
Lg badge
|
|
1078
|
+
Xl badge
|
|
1079
|
+
2Xl badge
|
|
1128
1080
|
|
|
1129
1081
|
Empty badges
|
|
1130
1082
|
|
|
1131
|
-
Badge with no text (visual dot). min-width / min-height keep a readable shape.
|
|
1132
|
-
|
|
1133
1083
|
Ellipsis
|
|
1134
1084
|
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod.
|
|
1138
|
-
|
|
1139
|
-
Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod.
|
|
1085
|
+
Lorem ipsum dolor sit consectetur adipiscing elit. Lorem ipsum dolor sit consectetur adipiscing elit.
|
|
1086
|
+
Lorem ipsum dolor sit consectetur adipiscing elit. Lorem ipsum dolor sit consectetur adipiscing elit.
|
|
1140
1087
|
|
|
1141
1088
|
Badge in button
|
|
1142
1089
|
|
|
1143
|
-
|
|
1090
|
+
Messages 5
|
|
1144
1091
|
|
|
1145
|
-
|
|
1092
|
+
Mon compte
|
|
1093
|
+
12
|
|
1146
1094
|
|
|
1147
|
-
|
|
1148
|
-
12
|
|
1149
|
-
|
|
1150
|
-
33
|
|
1095
|
+
33
|
|
1151
1096
|
|
|
1152
1097
|
---
|
|
1153
1098
|
|
|
@@ -1209,7 +1154,6 @@ Loading
|
|
|
1209
1154
|
The length of the button depends on the size of its content
|
|
1210
1155
|
|
|
1211
1156
|
Loading button
|
|
1212
|
-
🚀 Loading with prefix 😂
|
|
1213
1157
|
|
|
1214
1158
|
Swap
|
|
1215
1159
|
|
|
@@ -1271,67 +1215,49 @@ Captcha
|
|
|
1271
1215
|
|
|
1272
1216
|
- URL: https://concorde.supersoniks.org/crawl/core/components/ui/card/card.html
|
|
1273
1217
|
- Doc ID: core/components/ui/card/card
|
|
1274
|
-
- Keywords: Concorde, supersoniks, core/components/ui/card/card, card, Card, UI component, sonic-card, web component
|
|
1218
|
+
- Keywords: Concorde, supersoniks, core/components/ui/card/card, card, Card, UI component, sonic-card, web component
|
|
1275
1219
|
|
|
1276
1220
|
Card
|
|
1277
1221
|
|
|
1278
|
-
A surface for grouped content: padding, radius, shadow, and semantic type colors via shared theme tokens. Compose sonic-card-header, sonic-card-main, and sonic-card-footer inside the card, or put any markup in the default slot.
|
|
1279
|
-
|
|
1280
|
-
Default type is base (page background). Use light for a subtle gray panel, invert / neutral for high-contrast blocks, and primary, info, success, warning, or danger for tinted surfaces (divider tokens apply on colored types).
|
|
1281
|
-
|
|
1282
1222
|
Type
|
|
1283
1223
|
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1224
|
+
Base
|
|
1225
|
+
Light
|
|
1226
|
+
Primary
|
|
1227
|
+
Warning
|
|
1228
|
+
Danger
|
|
1229
|
+
Success
|
|
1230
|
+
Info
|
|
1231
|
+
Neutral
|
|
1232
|
+
Invert
|
|
1293
1233
|
|
|
1294
1234
|
Header
|
|
1295
1235
|
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
Body content goes in the card slot or in sonic-card-main .
|
|
1236
|
+
Description rendu via le composant : "sonic-card-header-description"
|
|
1299
1237
|
|
|
1300
|
-
|
|
1238
|
+
Suffix
|
|
1301
1239
|
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
Use the header slot when attributes are not enough.
|
|
1307
|
-
|
|
1308
|
-
label and description accept HTML (rendered as markup). Prefer plain text when possible; use the slot for structured content.
|
|
1240
|
+
Header custom
|
|
1241
|
+
Tout le contenu excepté l'icône ✈ passe par le slot du header
|
|
1242
|
+
✈
|
|
1309
1243
|
|
|
1310
1244
|
Main
|
|
1311
1245
|
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
Improved performance on large lists and fixed an issue with keyboard navigation in menus.
|
|
1315
|
-
|
|
1316
|
-
See the changelog for details.
|
|
1246
|
+
Main area
|
|
1247
|
+
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iure id dolor debitis deleniti eligendi natus dolorem a commodi sunt dicta? Ipsa asperiores magni consequuntur dolor voluptatibus. Maxime, nemo? Facere, odio.
|
|
1317
1248
|
|
|
1318
1249
|
Footer
|
|
1319
1250
|
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
This project and all of its data will be removed permanently.
|
|
1251
|
+
Footer area
|
|
1252
|
+
Debitis deleniti eligendi natus dolorem aufdh.
|
|
1323
1253
|
|
|
1324
|
-
|
|
1325
|
-
Delete
|
|
1254
|
+
🛫 ✈ ✈ ✈ ✈ ✈ 🛬
|
|
1326
1255
|
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
Header, media, body, and footer together.
|
|
1256
|
+
Example of use
|
|
1330
1257
|
|
|
1331
|
-
|
|
1258
|
+
Main - Lorem ipsum dolor sit, amet consectetur adipisicing elit. Iure id dolor debitis deleniti eligendi natus dolorem a commodi sunt dicta? Ipsa asperiores magni consequuntur dolor voluptatibus. Maxime, nemo? Facere, odio.
|
|
1332
1259
|
|
|
1333
|
-
|
|
1334
|
-
Book
|
|
1260
|
+
Footer - Amet consectetur adipisicing
|
|
1335
1261
|
|
|
1336
1262
|
---
|
|
1337
1263
|
|
|
@@ -1543,7 +1469,7 @@ data-keyboard-nav sur le champ et les items (flèches haut / bas).
|
|
|
1543
1469
|
|
|
1544
1470
|
Input
|
|
1545
1471
|
|
|
1546
|
-
Native
|
|
1472
|
+
Native attibutes list
|
|
1547
1473
|
|
|
1548
1474
|
Label
|
|
1549
1475
|
|
|
@@ -1714,7 +1640,7 @@ Same mock filter as Checkbox; switches can enable several flags (comma-separated
|
|
|
1714
1640
|
|
|
1715
1641
|
Textarea
|
|
1716
1642
|
|
|
1717
|
-
Native
|
|
1643
|
+
Native attibutes list
|
|
1718
1644
|
|
|
1719
1645
|
Label
|
|
1720
1646
|
|
|
@@ -1816,58 +1742,18 @@ Size
|
|
|
1816
1742
|
|
|
1817
1743
|
- URL: https://concorde.supersoniks.org/crawl/core/components/ui/image/image.html
|
|
1818
1744
|
- Doc ID: core/components/ui/image/image
|
|
1819
|
-
- Keywords: Concorde, supersoniks, core/components/ui/image/image, image, Image, UI component, sonic-image, web component
|
|
1745
|
+
- Keywords: Concorde, supersoniks, core/components/ui/image/image, image, Image, UI component, sonic-image, web component
|
|
1820
1746
|
|
|
1821
1747
|
Image
|
|
1822
1748
|
|
|
1823
|
-
Responsive wrapper: aspect ratio, object-fit: cover, rounded corners, and optional fade-in on load. The host uses a light placeholder background (--sc-placeholder-bg) until the file is ready. Default loading is lazy; set loading="eager" for above-the-fold heroes.
|
|
1824
|
-
|
|
1825
1749
|
Rounded
|
|
1826
1750
|
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
default
|
|
1830
|
-
|
|
1831
|
-
sm
|
|
1832
|
-
|
|
1833
|
-
rounded
|
|
1834
|
-
|
|
1835
|
-
md
|
|
1836
|
-
|
|
1837
|
-
lg
|
|
1838
|
-
|
|
1839
|
-
xl
|
|
1840
|
-
|
|
1841
|
-
full
|
|
1842
|
-
|
|
1843
|
-
Aspect ratio
|
|
1844
|
-
|
|
1845
|
-
ratio sets CSS aspect-ratio on the image (default auto). The image still fills the host width (width: 100%).
|
|
1751
|
+
Ratio
|
|
1846
1752
|
|
|
1847
1753
|
Object position
|
|
1848
1754
|
|
|
1849
|
-
objectPosition maps to CSS object-position (default center center). Useful on wide crops when the subject sits off-center.
|
|
1850
|
-
|
|
1851
1755
|
Cover
|
|
1852
1756
|
|
|
1853
|
-
cover stretches the image to fill a positioned parent (position: relative + fixed height or inset). Aspect ratio on the host is ignored while cover is set.
|
|
1854
|
-
|
|
1855
|
-
Load transition
|
|
1856
|
-
|
|
1857
|
-
Set transition to fade (default when the attribute is present) or fade-scale-out. The image stays at opacity: 0 until the browser fires load, then the loaded class runs the animation. Changing src on an existing element does not replay the effect — mount a new sonic-image when you need another entrance (galleries, infinite scroll).
|
|
1858
|
-
|
|
1859
|
-
Click Add image to append small thumbnails and replay the transition. Clear resets the row.
|
|
1860
|
-
|
|
1861
|
-
Add image (fade)
|
|
1862
|
-
|
|
1863
|
-
Add image (fade-scale-out)
|
|
1864
|
-
|
|
1865
|
-
Clear
|
|
1866
|
-
|
|
1867
|
-
Accessibility and parts
|
|
1868
|
-
|
|
1869
|
-
Always set meaningful alt text (empty string only for decorative images).
|
|
1870
|
-
|
|
1871
1757
|
---
|
|
1872
1758
|
|
|
1873
1759
|
## Link
|
|
@@ -1880,11 +1766,11 @@ Link
|
|
|
1880
1766
|
|
|
1881
1767
|
Href
|
|
1882
1768
|
|
|
1883
|
-
Basic link with href
|
|
1769
|
+
Basic link with href attibute
|
|
1884
1770
|
|
|
1885
1771
|
Target
|
|
1886
1772
|
|
|
1887
|
-
Link with target
|
|
1773
|
+
Link with target attibute
|
|
1888
1774
|
|
|
1889
1775
|
AutoActive
|
|
1890
1776
|
|
|
@@ -2157,7 +2043,7 @@ Fullscreen
|
|
|
2157
2043
|
|
|
2158
2044
|
- URL: https://concorde.supersoniks.org/crawl/core/components/ui/pop/pop.html
|
|
2159
2045
|
- Doc ID: core/components/ui/pop/pop
|
|
2160
|
-
- Keywords: Concorde, supersoniks, core/components/ui/pop/pop, pop, Pop, UI component, sonic-pop, web component
|
|
2046
|
+
- Keywords: Concorde, supersoniks, core/components/ui/pop/pop, pop, Pop, UI component, sonic-pop, web component
|
|
2161
2047
|
|
|
2162
2048
|
Pop
|
|
2163
2049
|
|
|
@@ -2179,30 +2065,8 @@ Placement
|
|
|
2179
2065
|
|
|
2180
2066
|
Notifications
|
|
2181
2067
|
|
|
2182
|
-
Default placement is bottom. Placement is written side-align, like sonic-tooltip: side is top, right, bottom or left, align is start, center or end. Without align, content is aligned on the start of the trigger. If there is not enough room, content flips to the opposite side and stays inside the viewport.
|
|
2183
|
-
|
|
2184
|
-
The former space syntax (placement="bottom center") still works but is deprecated.
|
|
2185
|
-
|
|
2186
|
-
Bottom center
|
|
2187
|
-
|
|
2188
|
-
Notifications
|
|
2189
|
-
|
|
2190
|
-
Top center
|
|
2191
|
-
|
|
2192
|
-
Notifications
|
|
2193
|
-
|
|
2194
|
-
Left center
|
|
2195
|
-
|
|
2196
|
-
Notifications
|
|
2197
|
-
|
|
2198
|
-
Right center
|
|
2199
|
-
|
|
2200
|
-
Notifications
|
|
2201
|
-
|
|
2202
2068
|
Shadow
|
|
2203
2069
|
|
|
2204
|
-
Default shadow is lg.
|
|
2205
|
-
|
|
2206
2070
|
None
|
|
2207
2071
|
|
|
2208
2072
|
Notifications
|
|
@@ -2219,19 +2083,6 @@ Default shadow is lg.
|
|
|
2219
2083
|
|
|
2220
2084
|
Notifications
|
|
2221
2085
|
|
|
2222
|
-
Inline
|
|
2223
|
-
|
|
2224
|
-
By default, pop is vertically aligned to the middle. Use inline to align it on the text baseline, e.g. inside a sentence.
|
|
2225
|
-
|
|
2226
|
-
The Concorde flew from Paris to
|
|
2227
|
-
|
|
2228
|
-
New York
|
|
2229
|
-
|
|
2230
|
-
See flights
|
|
2231
|
-
Book a seat
|
|
2232
|
-
|
|
2233
|
-
in about 3.5 hours.
|
|
2234
|
-
|
|
2235
2086
|
noToggle
|
|
2236
2087
|
|
|
2237
2088
|
No toggle on click
|
|
@@ -2250,41 +2101,6 @@ manual
|
|
|
2250
2101
|
|
|
2251
2102
|
Click to open pop
|
|
2252
2103
|
|
|
2253
|
-
Keep open on select
|
|
2254
|
-
|
|
2255
|
-
By default, a click inside the content closes the pop, as well as a click outside. Add data-on-select="keep" on the content, or on any of its elements, to keep the pop open when interacting with it.
|
|
2256
|
-
|
|
2257
|
-
Closes on select
|
|
2258
|
-
|
|
2259
|
-
Option A
|
|
2260
|
-
Option B
|
|
2261
|
-
|
|
2262
|
-
Stays open on select
|
|
2263
|
-
|
|
2264
|
-
Option A
|
|
2265
|
-
Option B
|
|
2266
|
-
|
|
2267
|
-
Keyboard
|
|
2268
|
-
|
|
2269
|
-
- ArrowDown on the trigger opens the pop.
|
|
2270
|
-
- Escape closes the last opened pop and gives focus back to its trigger.
|
|
2271
|
-
|
|
2272
|
-
Methods and events
|
|
2273
|
-
|
|
2274
|
-
show() and hide() open and close the pop programmatically (see manual above). The pop dispatches a show event when it opens and a hide event when it closes.
|
|
2275
|
-
|
|
2276
|
-
const pop = document.querySelector("sonic-pop");
|
|
2277
|
-
pop.addEventListener("hide", () => console.log("pop closed"));
|
|
2278
|
-
pop.show();
|
|
2279
|
-
|
|
2280
|
-
Styling
|
|
2281
|
-
|
|
2282
|
-
The content can be styled from outside with ::part(content).
|
|
2283
|
-
|
|
2284
|
-
sonic-pop::part(content) {
|
|
2285
|
-
border-radius: 0;
|
|
2286
|
-
}
|
|
2287
|
-
|
|
2288
2104
|
---
|
|
2289
2105
|
|
|
2290
2106
|
## Progress bar
|
|
@@ -4796,8 +4612,8 @@ In the HTML of a JS or TS component or in the HTML of the web page containing th
|
|
|
4796
4612
|
|
|
4797
4613
|
Installation
|
|
4798
4614
|
|
|
4799
|
-
|
|
4800
|
-
|
|
4615
|
+
For almost all new projects, use create-concorde-ts-starter .
|
|
4616
|
+
You get Vite + TypeScript + Lit + Tailwind, an example component, npx concorde enable-short-paths ready to run, and yarn ai:sync for AI agent skills ( AGENTS.md , Cursor / JetBrains rules) without extra setup.
|
|
4801
4617
|
|
|
4802
4618
|
Starter
|
|
4803
4619
|
|
package/docs/llms.txt
CHANGED
|
@@ -30,11 +30,11 @@ Full text: https://concorde.supersoniks.org/llms-full.txt
|
|
|
30
30
|
- [Subscriber](https://concorde.supersoniks.org/crawl/core/components/functional/subscriber/subscriber.html) (core/components/functional/subscriber/subscriber): La mixin Subscriber permet lier un composant à un publisher.
|
|
31
31
|
- [Value](https://concorde.supersoniks.org/crawl/core/components/functional/value/value.html) (core/components/functional/value/value): Simply shows a value from a data provider.
|
|
32
32
|
- [Concorde](https://concorde.supersoniks.org/crawl/core/components/ui/alert-messages/alert-messages.html) (core/components/ui/alert-messages/alert-messages): Concorde documentation: Concorde
|
|
33
|
-
- [Alert](https://concorde.supersoniks.org/crawl/core/components/ui/alert/alert.html) (core/components/ui/alert/alert):
|
|
34
|
-
- [Badge](https://concorde.supersoniks.org/crawl/core/components/ui/badge/badge.html) (core/components/ui/badge/badge):
|
|
33
|
+
- [Alert](https://concorde.supersoniks.org/crawl/core/components/ui/alert/alert.html) (core/components/ui/alert/alert): This address is already in use. Lorem ipsum dolor sit amet.
|
|
34
|
+
- [Badge](https://concorde.supersoniks.org/crawl/core/components/ui/badge/badge.html) (core/components/ui/badge/badge): Messages <sonic-badge slot="suffix" type="danger" size="xs">5</sonic-badge>
|
|
35
35
|
- [Button](https://concorde.supersoniks.org/crawl/core/components/ui/button/button.html) (core/components/ui/button/button): The length of the button depends on the size of its content
|
|
36
36
|
- [Captcha](https://concorde.supersoniks.org/crawl/core/components/ui/captcha/captcha.html) (core/components/ui/captcha/captcha): Captcha: Submit with captcha
|
|
37
|
-
- [Card](https://concorde.supersoniks.org/crawl/core/components/ui/card/card.html) (core/components/ui/card/card):
|
|
37
|
+
- [Card](https://concorde.supersoniks.org/crawl/core/components/ui/card/card.html) (core/components/ui/card/card): Suffix
|
|
38
38
|
- [Divider](https://concorde.supersoniks.org/crawl/core/components/ui/divider/divider.html) (core/components/ui/divider/divider): Default
|
|
39
39
|
|
|
40
40
|
Align
|
|
@@ -49,19 +49,19 @@ Custom
|
|
|
49
49
|
- [Form-actions](https://concorde.supersoniks.org/crawl/core/components/ui/form/form-actions/form-actions.html) (core/components/ui/form/form-actions/form-actions): Left seats
|
|
50
50
|
- [Form-layout](https://concorde.supersoniks.org/crawl/core/components/ui/form/form-layout/form-layout.html) (core/components/ui/form/form-layout/form-layout): autocomplete="email"
|
|
51
51
|
- [Input-autocomplete](https://concorde.supersoniks.org/crawl/core/components/ui/form/input-autocomplete/input-autocomplete.html) (core/components/ui/form/input-autocomplete/input-autocomplete): Champ formulaire + suggestions via queue. Valeur via formDataProvider + name ; la recherche filtre la queue (store interne).
|
|
52
|
-
- [Input](https://concorde.supersoniks.org/crawl/core/components/ui/form/input/input.html) (core/components/ui/form/input/input): Native
|
|
52
|
+
- [Input](https://concorde.supersoniks.org/crawl/core/components/ui/form/input/input.html) (core/components/ui/form/input/input): Native attibutes list
|
|
53
53
|
- [Radio](https://concorde.supersoniks.org/crawl/core/components/ui/form/radio/radio.html) (core/components/ui/form/radio/radio): >Already checked radio
|
|
54
54
|
- [Select](https://concorde.supersoniks.org/crawl/core/components/ui/form/select/select.html) (core/components/ui/form/select/select): {"value":"dark", "wording":"dark (set by \"attribute\")", "selected" : "true"}, {"value":"auto", "wording":"auto"}
|
|
55
55
|
- [Switch](https://concorde.supersoniks.org/crawl/core/components/ui/form/switch/switch.html) (core/components/ui/form/switch/switch): >Already checked switch
|
|
56
|
-
- [Textarea](https://concorde.supersoniks.org/crawl/core/components/ui/form/textarea/textarea.html) (core/components/ui/form/textarea/textarea): Native
|
|
56
|
+
- [Textarea](https://concorde.supersoniks.org/crawl/core/components/ui/form/textarea/textarea.html) (core/components/ui/form/textarea/textarea): Native attibutes list
|
|
57
57
|
- [Group](https://concorde.supersoniks.org/crawl/core/components/ui/group/group.html) (core/components/ui/group/group): Group: 😎 Standard ⭐ Premium 💎 Diamond
|
|
58
58
|
- [Icon](https://concorde.supersoniks.org/crawl/core/components/ui/icon/icon.html) (core/components/ui/icon/icon): customIconDefaultPrefix="regular">
|
|
59
|
-
- [Image](https://concorde.supersoniks.org/crawl/core/components/ui/image/image.html) (core/components/ui/image/image):
|
|
60
|
-
- [Link](https://concorde.supersoniks.org/crawl/core/components/ui/link/link.html) (core/components/ui/link/link): Link: Basic link with href
|
|
59
|
+
- [Image](https://concorde.supersoniks.org/crawl/core/components/ui/image/image.html) (core/components/ui/image/image): src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
60
|
+
- [Link](https://concorde.supersoniks.org/crawl/core/components/ui/link/link.html) (core/components/ui/link/link): Link: Basic link with href attibute
|
|
61
61
|
- [Loader](https://concorde.supersoniks.org/crawl/core/components/ui/loader/loader.html) (core/components/ui/loader/loader): import {Loader} from "@supersoniks/concorde/core/components/ui/loader/loader";
|
|
62
62
|
- [Menu](https://concorde.supersoniks.org/crawl/core/components/ui/menu/menu.html) (core/components/ui/menu/menu): Row
|
|
63
63
|
- [Concorde](https://concorde.supersoniks.org/crawl/core/components/ui/modal/modal.html) (core/components/ui/modal/modal): Concorde: Simple modal Lorem ipsum dolor sit amet +33 Donec sed vestibulum augue. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eget quam eu mi luctus faucibus. Click don't close Confir
|
|
64
|
-
- [Pop](https://concorde.supersoniks.org/crawl/core/components/ui/pop/pop.html) (core/components/ui/pop/pop):
|
|
64
|
+
- [Pop](https://concorde.supersoniks.org/crawl/core/components/ui/pop/pop.html) (core/components/ui/pop/pop): Click to open pop
|
|
65
65
|
- [Progress bar](https://concorde.supersoniks.org/crawl/core/components/ui/progress/progress.html) (core/components/ui/progress/progress): Displays an indicator showing the completion progress of a task.
|
|
66
66
|
- [Table](https://concorde.supersoniks.org/crawl/core/components/ui/table/table.html) (core/components/ui/table/table): Values available : primary, info, success, warning, danger
|
|
67
67
|
- [Toast](https://concorde.supersoniks.org/crawl/core/components/ui/toast/toast.html) (core/components/ui/toast/toast): Afficher un toast
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|