@supersoniks/concorde 5.1.0 → 5.1.1
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/.claude/launch.json +15 -0
- package/.claude/vite.http.config.mjs +7 -0
- package/.taste-skill/after/desktop-fold.jpg +0 -0
- package/.taste-skill/after/desktop-page-01.jpg +0 -0
- package/.taste-skill/after/desktop-page-02.jpg +0 -0
- package/.taste-skill/after/desktop-page-03.jpg +0 -0
- package/.taste-skill/after/mobile-fold.jpg +0 -0
- package/.taste-skill/after/mobile-page-01.jpg +0 -0
- package/.taste-skill/after/report.json +4103 -0
- package/.taste-skill/after/tablet-fold.jpg +0 -0
- package/.taste-skill/after/tablet-page-01.jpg +0 -0
- package/.taste-skill/after/tablet-page-02.jpg +0 -0
- package/.taste-skill/before/desktop-fold.jpg +0 -0
- package/.taste-skill/before/desktop-page-01.jpg +0 -0
- package/.taste-skill/before/desktop-page-02.jpg +0 -0
- package/.taste-skill/before/mobile-fold.jpg +0 -0
- package/.taste-skill/before/mobile-page-01.jpg +0 -0
- package/.taste-skill/before/report.json +2556 -0
- package/.taste-skill/before/tablet-fold.jpg +0 -0
- package/.taste-skill/before/tablet-page-01.jpg +0 -0
- package/.taste-skill/direction.json +510 -0
- package/.taste-skill/notes.md +84 -0
- package/.taste-skill/prod/desktop-fold.jpg +0 -0
- package/.taste-skill/prod/desktop-page-01.jpg +0 -0
- package/.taste-skill/prod/desktop-page-02.jpg +0 -0
- package/.taste-skill/prod/desktop-page-03.jpg +0 -0
- package/.taste-skill/prod/mobile-fold.jpg +0 -0
- package/.taste-skill/prod/mobile-page-01.jpg +0 -0
- package/.taste-skill/prod/mobile-page-02.jpg +0 -0
- package/.taste-skill/prod/report.json +1973 -0
- package/.taste-skill/prod/tablet-fold.jpg +0 -0
- package/.taste-skill/prod/tablet-page-01.jpg +0 -0
- package/.taste-skill/prod/tablet-page-02.jpg +0 -0
- package/.tmp-cem/custom-elements.json +1939 -1939
- package/AUDIT.md +228 -0
- package/PLAN-AMELIORATION.md +220 -0
- package/build-infos.json +1 -1
- package/concorde-core.bundle.js +16 -16
- package/concorde-core.es.js +235 -233
- package/dist/concorde-core.bundle.js +16 -16
- package/dist/concorde-core.es.js +235 -233
- package/dist/img/archive/concorde-001-2cv.webp +0 -0
- package/dist/img/archive/concorde-red-arrows-2002-poster.jpg +0 -0
- package/dist/img/archive/concorde-red-arrows-2002.webm +0 -0
- package/dist/img/archive/credits.json +28 -0
- package/docs/assets/index-Bb-_LRyY.js +12280 -0
- package/docs/assets/index-CD4WyL6o.css +1 -0
- package/docs/docs-mock-api-sw.js +2 -0
- package/docs/docs-mock-api-sw.js.map +2 -2
- package/docs/index.html +9 -7
- package/index.html +27 -63
- package/package.json +11 -4
- package/public/img/archive/concorde-001-2cv.webp +0 -0
- package/public/img/archive/concorde-red-arrows-2002-poster.jpg +0 -0
- package/public/img/archive/concorde-red-arrows-2002.webm +0 -0
- package/public/img/archive/credits.json +28 -0
- package/scripts/post-build-docs.js +0 -0
- package/scripts/post-build.mjs +0 -0
- package/src/core/components/functional/fetch/fetch.md +2 -2
- package/src/core/components/functional/if/if.md +0 -0
- package/src/core/components/functional/if/if.ts +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/SDUIDescriptorTransformer.ts +0 -0
- package/src/core/components/functional/sdui/component-catalog.gaps.json +1 -1
- package/src/core/components/functional/sdui/component-catalog.json +1 -1
- package/src/core/components/functional/sdui/types.ts +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/functional/value/value.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/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/modal/modal.ts +14 -11
- package/src/core/mixins/Subscriber.ts +0 -0
- 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/docs/_core-concept/subscriber.md +0 -0
- package/src/docs/_getting-started/components.md +5 -0
- 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/theming.md +2 -2
- package/src/docs/code.ts +88 -75
- package/src/docs/components/docs-demo-sources.ts +16 -8
- package/src/docs/components/docs-lit-demo.ts +19 -37
- package/src/docs/docs.ts +5 -0
- package/src/docs/example/docs-boarding-pass-demo.ts +134 -0
- package/src/docs/example/docs-provider-keys.ts +12 -0
- package/src/docs/example/users.ts +0 -0
- package/src/docs/header/header.ts +233 -69
- package/src/docs/home/catalog.ts +44 -0
- package/src/docs/home/home.ts +513 -0
- package/src/docs/home/mach-stage.ts +389 -0
- package/src/docs/layout.ts +3 -1
- package/src/docs/navigation/components-index.ts +56 -0
- package/src/docs/navigation/navigation.ts +240 -232
- package/src/docs/navigation/pager.ts +67 -0
- package/src/docs/navigation/toc.ts +98 -0
- package/src/docs/search/docs-search.json +330 -20
- package/src/docs/search/markdown-renderer.ts +11 -3
- package/src/docs/search/page.ts +0 -0
- package/src/docs/shiki/index.ts +109 -0
- package/src/docs/tailwind/css/base/scrollbar.css +22 -0
- package/src/docs/tailwind/css/base/theme.css +96 -0
- package/src/docs/tailwind/css/base/typography.css +4 -0
- package/src/docs/tailwind/css/docs/boarding-pass.css +65 -0
- package/src/docs/tailwind/css/docs/content.css +32 -0
- package/src/docs/tailwind/css/docs/page.css +10 -0
- package/src/docs/tailwind/css/docs.css +9 -0
- package/src/docs/tailwind/css/home/hero.css +210 -0
- package/src/docs/tailwind/css/home/motion.css +84 -0
- package/src/docs/tailwind/css/home/sections.css +416 -0
- package/src/docs/tailwind/css/tailwind.css +7 -185
- package/src/tsconfig.json +23 -2
- package/src/tsconfig.tsbuildinfo +1 -1
- package/tailwind.config.js +8 -4
- package/.github/workflows/ci.yml +0 -21
- package/.github-export-ignore +0 -30
- package/CONTRIBUTING.md +0 -59
- package/DEV.md +0 -54
- package/LICENSE +0 -21
- package/OPEN_SOURCE_CHECKPOINT.md +0 -133
- package/concorde-3d.bundle.js +0 -3960
- package/concorde-3d.es.js +0 -33433
- package/concorde-hugging-face-infer.bundle.js +0 -32
- package/concorde-hugging-face-infer.es.js +0 -2952
- package/concorde-interactive.bundle.js +0 -1157
- package/concorde-interactive.es.js +0 -10734
- package/concorde-shader.bundle.js +0 -116
- package/concorde-shader.es.js +0 -8353
- package/concorde-webgpu.bundle.js +0 -307
- package/concorde-webgpu.es.js +0 -8627
- package/docs/assets/index-D8MVWqY6.js +0 -12251
- package/docs/assets/index-DiD0qYvE.css +0 -1
- package/docs/crawl/core/components/functional/date/date.html +0 -190
- package/docs/crawl/core/components/functional/fetch/fetch.html +0 -109
- package/docs/crawl/core/components/functional/if/if.html +0 -27
- package/docs/crawl/core/components/functional/jsonata/jsonata.html +0 -79
- package/docs/crawl/core/components/functional/list/list.html +0 -70
- package/docs/crawl/core/components/functional/mix/mix.html +0 -45
- package/docs/crawl/core/components/functional/queue/queue.html +0 -96
- package/docs/crawl/core/components/functional/router/router.html +0 -106
- package/docs/crawl/core/components/functional/sdui/sdui.html +0 -269
- package/docs/crawl/core/components/functional/states/states.html +0 -66
- package/docs/crawl/core/components/functional/submit/submit.html +0 -160
- package/docs/crawl/core/components/functional/subscriber/subscriber.html +0 -67
- package/docs/crawl/core/components/functional/value/value.html +0 -51
- package/docs/crawl/core/components/ui/alert/alert.html +0 -110
- package/docs/crawl/core/components/ui/alert-messages/alert-messages.html +0 -23
- package/docs/crawl/core/components/ui/badge/badge.html +0 -119
- package/docs/crawl/core/components/ui/button/button.html +0 -149
- package/docs/crawl/core/components/ui/captcha/captcha.html +0 -30
- package/docs/crawl/core/components/ui/card/card.html +0 -99
- package/docs/crawl/core/components/ui/divider/divider.html +0 -58
- package/docs/crawl/core/components/ui/form/checkbox/checkbox.html +0 -73
- package/docs/crawl/core/components/ui/form/fieldset/fieldset.html +0 -135
- package/docs/crawl/core/components/ui/form/form-actions/form-actions.html +0 -79
- package/docs/crawl/core/components/ui/form/form-layout/form-layout.html +0 -62
- package/docs/crawl/core/components/ui/form/input/input.html +0 -109
- package/docs/crawl/core/components/ui/form/input-autocomplete/input-autocomplete.html +0 -38
- package/docs/crawl/core/components/ui/form/radio/radio.html +0 -56
- package/docs/crawl/core/components/ui/form/select/select.html +0 -73
- package/docs/crawl/core/components/ui/form/switch/switch.html +0 -56
- package/docs/crawl/core/components/ui/form/textarea/textarea.html +0 -59
- package/docs/crawl/core/components/ui/group/group.html +0 -82
- package/docs/crawl/core/components/ui/icon/icon.html +0 -133
- package/docs/crawl/core/components/ui/image/image.html +0 -110
- package/docs/crawl/core/components/ui/link/link.html +0 -42
- package/docs/crawl/core/components/ui/loader/loader.html +0 -50
- package/docs/crawl/core/components/ui/menu/menu.html +0 -322
- package/docs/crawl/core/components/ui/modal/modal.html +0 -117
- package/docs/crawl/core/components/ui/pop/pop.html +0 -102
- package/docs/crawl/core/components/ui/progress/progress.html +0 -58
- package/docs/crawl/core/components/ui/table/table.html +0 -413
- package/docs/crawl/core/components/ui/toast/toast.html +0 -122
- package/docs/crawl/core/components/ui/tooltip/tooltip.html +0 -79
- package/docs/crawl/docs/_core-concept/dataFlow.html +0 -177
- package/docs/crawl/docs/_core-concept/overview.html +0 -66
- package/docs/crawl/docs/_core-concept/subscriber.html +0 -75
- package/docs/crawl/docs/_decorators/ancestor-attribute.html +0 -116
- package/docs/crawl/docs/_decorators/auto-subscribe.html +0 -202
- package/docs/crawl/docs/_decorators/bind.html +0 -141
- package/docs/crawl/docs/_decorators/get.html +0 -149
- package/docs/crawl/docs/_decorators/handle.html +0 -165
- package/docs/crawl/docs/_decorators/on-assign.html +0 -355
- package/docs/crawl/docs/_decorators/patch.html +0 -78
- package/docs/crawl/docs/_decorators/post.html +0 -139
- package/docs/crawl/docs/_decorators/publish.html +0 -61
- package/docs/crawl/docs/_decorators/put.html +0 -78
- package/docs/crawl/docs/_decorators/subscribe.html +0 -109
- package/docs/crawl/docs/_decorators/wait-for-ancestors.html +0 -137
- package/docs/crawl/docs/_directives/sub.html +0 -93
- package/docs/crawl/docs/_getting-started/ai-agents.html +0 -173
- package/docs/crawl/docs/_getting-started/concorde-manual-install.html +0 -100
- package/docs/crawl/docs/_getting-started/concorde-outside.html +0 -58
- package/docs/crawl/docs/_getting-started/create-a-component.html +0 -111
- package/docs/crawl/docs/_getting-started/my-first-component.html +0 -189
- package/docs/crawl/docs/_getting-started/my-first-subscriber.html +0 -110
- package/docs/crawl/docs/_getting-started/pubsub.html +0 -62
- package/docs/crawl/docs/_getting-started/start.html +0 -76
- package/docs/crawl/docs/_getting-started/theming.html +0 -85
- package/docs/crawl/docs/_misc/api-configuration.html +0 -149
- package/docs/crawl/docs/_misc/dataProviderKey.html +0 -135
- package/docs/crawl/docs/_misc/docs-mock-api.html +0 -158
- package/docs/crawl/docs/_misc/dynamic-path.html +0 -180
- package/docs/crawl/docs/_misc/endpoint.html +0 -50
- package/docs/crawl/docs/_misc/formelement-subscriber-removal.html +0 -138
- package/docs/crawl/docs/_misc/html-integration.html +0 -48
- package/docs/crawl/hubs/decorators.html +0 -547
- package/docs/crawl/hubs/form-components.html +0 -359
- package/docs/crawl/hubs/remote-data.html +0 -452
- package/docs/crawl/index.html +0 -101
- package/docs/llms-full.txt +0 -5761
- package/docs/llms.txt +0 -104
- package/docs/sitemap.xml +0 -237
- package/docs/src/core/components/functional/date/date.md +0 -290
- package/docs/src/core/components/functional/fetch/fetch.md +0 -125
- package/docs/src/core/components/functional/if/if.md +0 -9
- package/docs/src/core/components/functional/jsonata/jsonata.md +0 -56
- package/docs/src/core/components/functional/list/list.md +0 -65
- package/docs/src/core/components/functional/mix/mix.md +0 -41
- package/docs/src/core/components/functional/queue/queue.md +0 -72
- package/docs/src/core/components/functional/router/router.md +0 -94
- package/docs/src/core/components/functional/sdui/default-library.json +0 -108
- package/docs/src/core/components/functional/sdui/example.json +0 -99
- package/docs/src/core/components/functional/sdui/sdui.md +0 -356
- package/docs/src/core/components/functional/states/states.md +0 -87
- package/docs/src/core/components/functional/submit/submit.md +0 -114
- package/docs/src/core/components/functional/subscriber/subscriber.md +0 -91
- package/docs/src/core/components/functional/value/value.md +0 -35
- package/docs/src/core/components/ui/alert/alert.md +0 -121
- package/docs/src/core/components/ui/alert-messages/alert-messages.md +0 -0
- package/docs/src/core/components/ui/badge/badge.md +0 -127
- package/docs/src/core/components/ui/button/button.md +0 -182
- package/docs/src/core/components/ui/captcha/captcha.md +0 -12
- package/docs/src/core/components/ui/card/card.md +0 -97
- package/docs/src/core/components/ui/divider/divider.md +0 -35
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +0 -77
- package/docs/src/core/components/ui/form/fieldset/fieldset.md +0 -129
- package/docs/src/core/components/ui/form/form-actions/form-actions.md +0 -77
- package/docs/src/core/components/ui/form/form-layout/form-layout.md +0 -44
- package/docs/src/core/components/ui/form/input/input.md +0 -142
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -29
- package/docs/src/core/components/ui/form/radio/radio.md +0 -57
- package/docs/src/core/components/ui/form/select/select.md +0 -71
- package/docs/src/core/components/ui/form/switch/switch.md +0 -57
- package/docs/src/core/components/ui/form/textarea/textarea.md +0 -65
- package/docs/src/core/components/ui/group/group.md +0 -75
- package/docs/src/core/components/ui/icon/icon.md +0 -125
- package/docs/src/core/components/ui/icon/icons.json +0 -1
- package/docs/src/core/components/ui/image/image.md +0 -107
- package/docs/src/core/components/ui/link/link.md +0 -43
- package/docs/src/core/components/ui/loader/loader.md +0 -55
- package/docs/src/core/components/ui/menu/menu.md +0 -329
- package/docs/src/core/components/ui/modal/modal.md +0 -119
- package/docs/src/core/components/ui/pop/pop.md +0 -96
- package/docs/src/core/components/ui/progress/progress.md +0 -63
- package/docs/src/core/components/ui/table/table.md +0 -455
- package/docs/src/core/components/ui/toast/toast.md +0 -166
- package/docs/src/core/components/ui/tooltip/tooltip.md +0 -82
- package/docs/src/docs/_core-concept/dataFlow.md +0 -88
- package/docs/src/docs/_core-concept/overview.md +0 -57
- package/docs/src/docs/_core-concept/subscriber.md +0 -75
- package/docs/src/docs/_decorators/ancestor-attribute.md +0 -127
- package/docs/src/docs/_decorators/auto-subscribe.md +0 -202
- package/docs/src/docs/_decorators/bind.md +0 -167
- package/docs/src/docs/_decorators/get.md +0 -162
- package/docs/src/docs/_decorators/handle.md +0 -175
- package/docs/src/docs/_decorators/on-assign.md +0 -390
- package/docs/src/docs/_decorators/patch.md +0 -70
- package/docs/src/docs/_decorators/post.md +0 -146
- package/docs/src/docs/_decorators/publish.md +0 -55
- package/docs/src/docs/_decorators/put.md +0 -70
- package/docs/src/docs/_decorators/subscribe.md +0 -100
- package/docs/src/docs/_decorators/wait-for-ancestors.md +0 -163
- package/docs/src/docs/_directives/sub.md +0 -91
- package/docs/src/docs/_getting-started/ai-agents.md +0 -76
- package/docs/src/docs/_getting-started/concorde-manual-install.md +0 -133
- package/docs/src/docs/_getting-started/concorde-outside.md +0 -33
- package/docs/src/docs/_getting-started/create-a-component.md +0 -139
- package/docs/src/docs/_getting-started/my-first-component.md +0 -236
- package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -120
- package/docs/src/docs/_getting-started/pubsub.md +0 -37
- package/docs/src/docs/_getting-started/start.md +0 -47
- package/docs/src/docs/_getting-started/theming.md +0 -91
- package/docs/src/docs/_misc/api-configuration.md +0 -81
- package/docs/src/docs/_misc/dataProviderKey.md +0 -168
- package/docs/src/docs/_misc/docs-mock-api.md +0 -63
- package/docs/src/docs/_misc/dynamic-path.md +0 -71
- package/docs/src/docs/_misc/endpoint.md +0 -45
- package/docs/src/docs/_misc/formelement-subscriber-removal.md +0 -115
- package/docs/src/docs/_misc/html-integration.md +0 -15
- package/docs/src/docs/search/docs-search.json +0 -9507
- package/docs/src/tag-list.json +0 -1
- package/docs/src/tsconfig-model.json +0 -23
- package/docs/src/tsconfig.declarations.json +0 -22
- package/docs/src/tsconfig.emit.json +0 -23
- package/docs/src/tsconfig.json +0 -1182
- package/gitlab/job_github_mirror.sh +0 -39
- package/scripts/github-export.mjs +0 -150
- package/src/css.d.ts +0 -19
- package/src/docs/prism/index.ts +0 -6
- package/src/docs/prism/prism.css +0 -158
- package/src/docs/prism/prism.js +0 -1022
- package/src/tsconfig.declarations.json +0 -22
- package/src/tsconfig.emit.json +0 -23
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# Group
|
|
2
|
-
|
|
3
|
-
## Radio group
|
|
4
|
-
<sonic-code>
|
|
5
|
-
<template>
|
|
6
|
-
<sonic-group formDataProvider="subscriptionData">
|
|
7
|
-
<sonic-button radio name="subscription" value="standard" type="default">😎 Standard</sonic-button>
|
|
8
|
-
<sonic-button radio checked name="subscription" value="premium" type="default">⭐ Premium</sonic-button>
|
|
9
|
-
<sonic-button radio name="subscription" value="diamond" type="default">💎 Diamond</sonic-button>
|
|
10
|
-
</sonic-group>
|
|
11
|
-
</template>
|
|
12
|
-
</sonic-code>
|
|
13
|
-
|
|
14
|
-
## Button group
|
|
15
|
-
<sonic-code>
|
|
16
|
-
<template>
|
|
17
|
-
<sonic-group>
|
|
18
|
-
<sonic-button type="info" target="_blank" href="https://wwws.airfrance.fr/">🗼Air France</sonic-button>
|
|
19
|
-
<sonic-button type="success" target="_blank" href="https://www.airtahitinui.com/">🌴 Air Tahiti</sonic-button>
|
|
20
|
-
<sonic-button type="danger" target="_blank" href="https://www.aircorsica.com/">💣 Air Corsica</sonic-button>
|
|
21
|
-
</sonic-group>
|
|
22
|
-
</template>
|
|
23
|
-
</sonic-code>
|
|
24
|
-
|
|
25
|
-
## Input actions prefix
|
|
26
|
-
<sonic-code>
|
|
27
|
-
<template>
|
|
28
|
-
<div class="grid grid-cols-3 gap-3">
|
|
29
|
-
<sonic-group>
|
|
30
|
-
<sonic-button type="info" shape="square">
|
|
31
|
-
<sonic-icon library="iconoir" library="iconoir" name="info-empty"></sonic-icon>
|
|
32
|
-
</sonic-button>
|
|
33
|
-
<sonic-input placeholder="placeholder" ></sonic-input>
|
|
34
|
-
</sonic-group>
|
|
35
|
-
<sonic-group label="Label">
|
|
36
|
-
<sonic-button type="info" shape="square">
|
|
37
|
-
<sonic-icon library="iconoir" library="iconoir" name="info-empty"></sonic-icon>
|
|
38
|
-
</sonic-button>
|
|
39
|
-
<sonic-input ></sonic-input>
|
|
40
|
-
</sonic-group>
|
|
41
|
-
<sonic-group description="Description">
|
|
42
|
-
<sonic-button type="info" shape="square">
|
|
43
|
-
<sonic-icon library="iconoir" library="iconoir" name="info-empty"></sonic-icon>
|
|
44
|
-
</sonic-button>
|
|
45
|
-
<sonic-input ></sonic-input>
|
|
46
|
-
</sonic-group>
|
|
47
|
-
</div>
|
|
48
|
-
</template>
|
|
49
|
-
</sonic-code>
|
|
50
|
-
|
|
51
|
-
## Input actions suffix
|
|
52
|
-
<sonic-code>
|
|
53
|
-
<template>
|
|
54
|
-
<div class="grid grid-cols-3 gap-3">
|
|
55
|
-
<sonic-group>
|
|
56
|
-
<sonic-input placeholder="placeholder" ></sonic-input>
|
|
57
|
-
<sonic-button type="primary" shape="square">
|
|
58
|
-
<sonic-icon library="iconoir" library="iconoir" name="check"></sonic-icon>
|
|
59
|
-
</sonic-button>
|
|
60
|
-
</sonic-group>
|
|
61
|
-
<sonic-group label="Label">
|
|
62
|
-
<sonic-input ></sonic-input>
|
|
63
|
-
<sonic-button type="primary" shape="square">
|
|
64
|
-
<sonic-icon library="iconoir" library="iconoir" name="check"></sonic-icon>
|
|
65
|
-
</sonic-button>
|
|
66
|
-
</sonic-group>
|
|
67
|
-
<sonic-group description="Description">
|
|
68
|
-
<sonic-input ></sonic-input>
|
|
69
|
-
<sonic-button type="primary" shape="square">
|
|
70
|
-
<sonic-icon library="iconoir" library="iconoir" name="check"></sonic-icon>
|
|
71
|
-
</sonic-button>
|
|
72
|
-
</sonic-group>
|
|
73
|
-
</div>
|
|
74
|
-
</template>
|
|
75
|
-
</sonic-code>
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
# Icon
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Custom
|
|
5
|
-
|
|
6
|
-
<p >Icons located in the following folder : <span class="text-info">/svg/$prefix/$name.svg<span></p>
|
|
7
|
-
|
|
8
|
-
<sonic-code customIconLibraryPath="/svg/$prefix/$name.svg"
|
|
9
|
-
customIconDefaultPrefix="regular">
|
|
10
|
-
<template>
|
|
11
|
-
<sonic-scope customIconLibraryPath="/svg/$prefix/$name.svg"
|
|
12
|
-
customIconDefaultPrefix="regular">
|
|
13
|
-
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8">
|
|
14
|
-
<div class="text-center">
|
|
15
|
-
<sonic-icon library="custom" prefix="regular" name="plane"></sonic-icon>
|
|
16
|
-
<br>
|
|
17
|
-
<div class="text-xs mt-1">regular</div>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="text-center">
|
|
20
|
-
<sonic-icon library="custom" prefix="solid" name="plane"></sonic-icon>
|
|
21
|
-
<br>
|
|
22
|
-
<div class="text-xs mt-1">solid</div>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="text-center">
|
|
25
|
-
<sonic-icon library="custom" name="plane"></sonic-icon>
|
|
26
|
-
<br>
|
|
27
|
-
<div class="text-xs mt-1">default prefix</div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</sonic-scope>
|
|
31
|
-
</template>
|
|
32
|
-
</sonic-code>
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## External
|
|
36
|
-
<sonic-code>
|
|
37
|
-
<template>
|
|
38
|
-
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8">
|
|
39
|
-
<sonic-link href="https://heroicons.com/" target="_blank" class="text-center underline">
|
|
40
|
-
<sonic-icon library="heroicons" prefix="outline" name="academic-cap" size="lg"></sonic-icon>
|
|
41
|
-
<br>
|
|
42
|
-
<div class="text-xs mt-1">heroicons</div>
|
|
43
|
-
</sonic-link>
|
|
44
|
-
<sonic-link href="https://iconoir.com/" target="_blank" class="text-center underline">
|
|
45
|
-
<sonic-icon library="iconoir" name="2x2-cell" size="lg"></sonic-icon>
|
|
46
|
-
<br>
|
|
47
|
-
<div class="text-xs mt-1">iconoir</div>
|
|
48
|
-
</sonic-link>
|
|
49
|
-
<sonic-link href="https://materialdesignicons.com/" target="_blank" class="text-center underline">
|
|
50
|
-
<sonic-icon library="material" prefix="outline" name="email" size="lg"></sonic-icon>
|
|
51
|
-
<br>
|
|
52
|
-
<div class="text-xs mt-1">material design</div>
|
|
53
|
-
</sonic-link>
|
|
54
|
-
<sonic-link href="https://fontawesome.com/search?o=r&m=free&s=regular" target="_blank" class="text-center underline">
|
|
55
|
-
<sonic-icon library="fontAwesome" prefix="regular" name="user" size="lg"></sonic-icon>
|
|
56
|
-
<br>
|
|
57
|
-
<div class="text-xs mt-1">fontAwesome regular</div>
|
|
58
|
-
</sonic-link>
|
|
59
|
-
<sonic-link href="https://fontawesome.com/search?o=r&m=free&s=solid" target="_blank" class="text-center underline">
|
|
60
|
-
<sonic-icon library="fontAwesome" prefix="solid" name="book" size="lg"></sonic-icon>
|
|
61
|
-
<br>
|
|
62
|
-
<div class="text-xs mt-1">fontAwesome solid</div>
|
|
63
|
-
</sonic-link>
|
|
64
|
-
<sonic-link href="https://feathericons.com/" target="_blank" class="text-center underline">
|
|
65
|
-
<sonic-icon library="feathers" name="activity" size="lg"></sonic-icon>
|
|
66
|
-
<br>
|
|
67
|
-
<div class="text-xs mt-1">feathers</div>
|
|
68
|
-
</sonic-link>
|
|
69
|
-
<sonic-link href="https://lucide.dev/" target="_blank" class="text-center underline">
|
|
70
|
-
<sonic-icon library="lucide" name="album" size="lg"></sonic-icon>
|
|
71
|
-
<br>
|
|
72
|
-
<div class="text-xs mt-1">lucide</div>
|
|
73
|
-
</sonic-link>
|
|
74
|
-
</div>
|
|
75
|
-
</template>
|
|
76
|
-
</sonic-code>
|
|
77
|
-
|
|
78
|
-
## Size
|
|
79
|
-
<sonic-code>
|
|
80
|
-
<template>
|
|
81
|
-
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-8">
|
|
82
|
-
<div class="text-center">
|
|
83
|
-
<sonic-icon library="heroicons" prefix="outline" name="academic-cap" size="2xs"></sonic-icon>
|
|
84
|
-
<br>
|
|
85
|
-
<div class="text-xs mt-1">2xs</div>
|
|
86
|
-
</div>
|
|
87
|
-
<div class="text-center">
|
|
88
|
-
<sonic-icon library="heroicons" prefix="outline" name="academic-cap" size="xs"></sonic-icon>
|
|
89
|
-
<br>
|
|
90
|
-
<div class="text-xs mt-1">xs</div>
|
|
91
|
-
</div>
|
|
92
|
-
<div class="text-center">
|
|
93
|
-
<sonic-icon library="heroicons" prefix="outline" name="academic-cap" size="sm"></sonic-icon>
|
|
94
|
-
<br>
|
|
95
|
-
<div class="text-xs mt-1">sm</div>
|
|
96
|
-
</div>
|
|
97
|
-
<div class="text-center">
|
|
98
|
-
<sonic-icon library="heroicons" prefix="outline" name="academic-cap"></sonic-icon>
|
|
99
|
-
<br>
|
|
100
|
-
<div class="text-xs mt-1">default</div>
|
|
101
|
-
</div>
|
|
102
|
-
<div class="text-center">
|
|
103
|
-
<sonic-icon library="heroicons" prefix="outline" name="academic-cap" size="lg"></sonic-icon>
|
|
104
|
-
<br>
|
|
105
|
-
<div class="text-xs mt-1">lg</div>
|
|
106
|
-
</div>
|
|
107
|
-
<div class="text-center">
|
|
108
|
-
<sonic-icon library="heroicons" prefix="outline" name="academic-cap" size="xl"></sonic-icon>
|
|
109
|
-
<br>
|
|
110
|
-
<div class="text-xs mt-1">xl</div>
|
|
111
|
-
</div>
|
|
112
|
-
<div class="text-center">
|
|
113
|
-
<sonic-icon library="heroicons" prefix="outline" name="academic-cap" size="2xl"></sonic-icon>
|
|
114
|
-
<br>
|
|
115
|
-
<div class="text-xs mt-1">2xl</div>
|
|
116
|
-
</div>
|
|
117
|
-
<div class="text-center">
|
|
118
|
-
<sonic-icon library="heroicons" prefix="outline" name="academic-cap" size="3xl"></sonic-icon>
|
|
119
|
-
<br>
|
|
120
|
-
<div class="text-xs mt-1">3xl</div>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
</template>
|
|
124
|
-
</sonic-code>
|
|
125
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"core":{"cancel":"<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n","check-circled-outline":"<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M7 12.5L10 15.5L17 8.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n","check":"<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M5 13L9 17L19 7\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n","emoji-puzzled":"<svg width=\"24px\" height=\"24px\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" ><path d=\"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M11.5 15.5s1.5-2 4.5-2 4.5 2 4.5 2M3 4c0-2.754 4-2.754 4 0 0 1.967-2 1.64-2 4M5 11.01l.01-.011\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M17.5 9a.5.5 0 110-1 .5.5 0 010 1zM10.5 9a.5.5 0 110-1 .5.5 0 010 1z\" fill=\"#000\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path></svg>","info-empty":"<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12 11.5V16.5\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 7.51L12.01 7.49889\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n","loader":"<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-loader\"><line x1=\"12\" y1=\"2\" x2=\"12\" y2=\"6\"></line><line x1=\"12\" y1=\"18\" x2=\"12\" y2=\"22\"></line><line x1=\"4.93\" y1=\"4.93\" x2=\"7.76\" y2=\"7.76\"></line><line x1=\"16.24\" y1=\"16.24\" x2=\"19.07\" y2=\"19.07\"></line><line x1=\"2\" y1=\"12\" x2=\"6\" y2=\"12\"></line><line x1=\"18\" y1=\"12\" x2=\"22\" y2=\"12\"></line><line x1=\"4.93\" y1=\"19.07\" x2=\"7.76\" y2=\"16.24\"></line><line x1=\"16.24\" y1=\"7.76\" x2=\"19.07\" y2=\"4.93\"></line></svg>","minus-small":"<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"w-6 h-6\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M18 12H6\" />\n</svg>\n","more-horiz":"<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M18 12.5C18.2761 12.5 18.5 12.2761 18.5 12C18.5 11.7239 18.2761 11.5 18 11.5C17.7239 11.5 17.5 11.7239 17.5 12C17.5 12.2761 17.7239 12.5 18 12.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 12.5C12.2761 12.5 12.5 12.2761 12.5 12C12.5 11.7239 12.2761 11.5 12 11.5C11.7239 11.5 11.5 11.7239 11.5 12C11.5 12.2761 11.7239 12.5 12 12.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M6 12.5C6.27614 12.5 6.5 12.2761 6.5 12C6.5 11.7239 6.27614 11.5 6 11.5C5.72386 11.5 5.5 11.7239 5.5 12C5.5 12.2761 5.72386 12.5 6 12.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n","more-vert":"<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12 12.5C12.2761 12.5 12.5 12.2761 12.5 12C12.5 11.7239 12.2761 11.5 12 11.5C11.7239 11.5 11.5 11.7239 11.5 12C11.5 12.2761 11.7239 12.5 12 12.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 18.5C12.2761 18.5 12.5 18.2761 12.5 18C12.5 17.7239 12.2761 17.5 12 17.5C11.7239 17.5 11.5 17.7239 11.5 18C11.5 18.2761 11.7239 18.5 12 18.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 6.5C12.2761 6.5 12.5 6.27614 12.5 6C12.5 5.72386 12.2761 5.5 12 5.5C11.7239 5.5 11.5 5.72386 11.5 6C11.5 6.27614 11.7239 6.5 12 6.5Z\" fill=\"currentColor\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n","nav-arrow-down":"<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M6 9L12 15L18 9\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n","warning-circled-outline":"<svg width=\"24\" height=\"24\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12 7L12 13\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 17.01L12.01 16.9989\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n"}}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
# Image
|
|
2
|
-
|
|
3
|
-
## Rounded
|
|
4
|
-
|
|
5
|
-
<sonic-code>
|
|
6
|
-
<template>
|
|
7
|
-
<div class="grid gap-8 grid-cols-3 items-center">
|
|
8
|
-
<sonic-image
|
|
9
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
10
|
-
ratio="1/1"
|
|
11
|
-
>
|
|
12
|
-
</sonic-image>
|
|
13
|
-
<sonic-image
|
|
14
|
-
rounded="sm"
|
|
15
|
-
ratio="1/1"
|
|
16
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
17
|
-
>
|
|
18
|
-
</sonic-image>
|
|
19
|
-
<sonic-image
|
|
20
|
-
rounded
|
|
21
|
-
ratio="1/1"
|
|
22
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
23
|
-
>
|
|
24
|
-
</sonic-image>
|
|
25
|
-
<sonic-image
|
|
26
|
-
rounded="md"
|
|
27
|
-
ratio="1/1"
|
|
28
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
29
|
-
>
|
|
30
|
-
</sonic-image>
|
|
31
|
-
<sonic-image
|
|
32
|
-
rounded="lg"
|
|
33
|
-
ratio="1/1"
|
|
34
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
35
|
-
>
|
|
36
|
-
</sonic-image>
|
|
37
|
-
<sonic-image
|
|
38
|
-
rounded="full"
|
|
39
|
-
ratio="1/1"
|
|
40
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
41
|
-
>
|
|
42
|
-
</sonic-image>
|
|
43
|
-
</div>
|
|
44
|
-
</template>
|
|
45
|
-
</sonic-code>
|
|
46
|
-
|
|
47
|
-
## Ratio
|
|
48
|
-
|
|
49
|
-
<sonic-code>
|
|
50
|
-
<template>
|
|
51
|
-
<div class="grid gap-8 grid-cols-2 items-center">
|
|
52
|
-
<sonic-image
|
|
53
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
54
|
-
>
|
|
55
|
-
</sonic-image>
|
|
56
|
-
<sonic-image
|
|
57
|
-
ratio="16/9"
|
|
58
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
59
|
-
>
|
|
60
|
-
</sonic-image>
|
|
61
|
-
<sonic-image
|
|
62
|
-
ratio="1/1"
|
|
63
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
64
|
-
>
|
|
65
|
-
</sonic-image>
|
|
66
|
-
<sonic-image
|
|
67
|
-
ratio="2/3"
|
|
68
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
69
|
-
>
|
|
70
|
-
</sonic-image>
|
|
71
|
-
</div>
|
|
72
|
-
</template>
|
|
73
|
-
</sonic-code>
|
|
74
|
-
|
|
75
|
-
## Object position
|
|
76
|
-
|
|
77
|
-
<sonic-code>
|
|
78
|
-
<template>
|
|
79
|
-
<div class="grid gap-8 grid-cols-2 items-center">
|
|
80
|
-
<sonic-image
|
|
81
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
82
|
-
ratio="11/4"
|
|
83
|
-
>
|
|
84
|
-
</sonic-image>
|
|
85
|
-
<sonic-image
|
|
86
|
-
objectPosition="center top"
|
|
87
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
88
|
-
ratio="11/4"
|
|
89
|
-
>
|
|
90
|
-
</sonic-image>
|
|
91
|
-
</div>
|
|
92
|
-
</template>
|
|
93
|
-
</sonic-code>
|
|
94
|
-
|
|
95
|
-
## Cover
|
|
96
|
-
|
|
97
|
-
<sonic-code>
|
|
98
|
-
<template>
|
|
99
|
-
<div class="h-96 relative">
|
|
100
|
-
<sonic-image
|
|
101
|
-
cover
|
|
102
|
-
src="https://thegoodlife.fr/wp-content/uploads/sites/2/2022/03/compagnies-aeriennes-nostalgie-coeur-insert-03-dr.jpg"
|
|
103
|
-
>
|
|
104
|
-
</sonic-image>
|
|
105
|
-
</div>
|
|
106
|
-
</template>
|
|
107
|
-
</sonic-code>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# Link
|
|
2
|
-
|
|
3
|
-
## Href
|
|
4
|
-
<sonic-code>
|
|
5
|
-
<template>
|
|
6
|
-
<sonic-link href="/">Basic link with href attibute</sonic-link>
|
|
7
|
-
</template>
|
|
8
|
-
</sonic-code>
|
|
9
|
-
|
|
10
|
-
## Target
|
|
11
|
-
<sonic-code>
|
|
12
|
-
<template>
|
|
13
|
-
<sonic-link href="/" target="_blank">Link with target attibute</sonic-link>
|
|
14
|
-
</template>
|
|
15
|
-
</sonic-code>
|
|
16
|
-
|
|
17
|
-
## AutoActive
|
|
18
|
-
|
|
19
|
-
<sonic-code>
|
|
20
|
-
<template>
|
|
21
|
-
<sonic-link href="/#core/components" class="[&[active]]:text-success">autoActive partial (default)</sonic-link>
|
|
22
|
-
</template>
|
|
23
|
-
</sonic-code>
|
|
24
|
-
|
|
25
|
-
### AutoActive Strict vs partial
|
|
26
|
-
|
|
27
|
-
<sonic-code>
|
|
28
|
-
<template>
|
|
29
|
-
<div class="grid gap-3">
|
|
30
|
-
<sonic-link href="/#core" autoActive="strict" class="[&[active]]:text-success">autoActive strict</sonic-link>
|
|
31
|
-
<sonic-link href="/#core/components/ui/link/link.md/link" autoActive="strict" class="[&[active]]:text-success">autoActive strict</sonic-link>
|
|
32
|
-
</div>
|
|
33
|
-
</template>
|
|
34
|
-
</sonic-code>
|
|
35
|
-
|
|
36
|
-
### AutoActive disabled
|
|
37
|
-
|
|
38
|
-
<sonic-code>
|
|
39
|
-
<template>
|
|
40
|
-
<sonic-link href="/#core/components/ui/link/link.md/link" autoActive="disabled" class="[&[active]]:text-success">autoActive disabled</sonic-link>
|
|
41
|
-
</template>
|
|
42
|
-
</sonic-code>
|
|
43
|
-
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Loader
|
|
2
|
-
|
|
3
|
-
## Inline mode
|
|
4
|
-
|
|
5
|
-
<sonic-code>
|
|
6
|
-
<template>
|
|
7
|
-
<sonic-loader mode="inline"></sonic-loader>
|
|
8
|
-
</template>
|
|
9
|
-
</sonic-code>
|
|
10
|
-
|
|
11
|
-
## CurrentColor
|
|
12
|
-
|
|
13
|
-
<sonic-code>
|
|
14
|
-
<template>
|
|
15
|
-
<sonic-loader mode="inline" currentColor style="color:purple;"></sonic-loader>
|
|
16
|
-
</template>
|
|
17
|
-
</sonic-code>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## Align
|
|
21
|
-
|
|
22
|
-
<sonic-code>
|
|
23
|
-
<template>
|
|
24
|
-
<sonic-loader mode="inline" align="left"></sonic-loader>
|
|
25
|
-
<sonic-loader mode="inline" align="center"></sonic-loader>
|
|
26
|
-
<sonic-loader mode="inline" align="right"></sonic-loader>
|
|
27
|
-
</template>
|
|
28
|
-
</sonic-code>
|
|
29
|
-
|
|
30
|
-
## Fixed mode
|
|
31
|
-
|
|
32
|
-
<docs-lit-demo for="docs-toggle-loader-demo"></docs-lit-demo>
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## Loading button
|
|
36
|
-
<sonic-code>
|
|
37
|
-
<template>
|
|
38
|
-
<sonic-button loading>A loading button</sonic-button>
|
|
39
|
-
</template>
|
|
40
|
-
</sonic-code>
|
|
41
|
-
|
|
42
|
-
## Hide / show programmatically
|
|
43
|
-
|
|
44
|
-
<sonic-code language="javascript">
|
|
45
|
-
<template>
|
|
46
|
-
import {Loader} from "@supersoniks/concorde/core/components/ui/loader/loader";
|
|
47
|
-
// Show
|
|
48
|
-
Loader.show({
|
|
49
|
-
mode:"fixed" // optional : fixed | inline
|
|
50
|
-
container : document.querySelector('#foo') // optional, default : parent sonic-theme || document.body
|
|
51
|
-
});
|
|
52
|
-
// Hide
|
|
53
|
-
Loader.hide();
|
|
54
|
-
</template>
|
|
55
|
-
</sonic-code>
|