@supersoniks/concorde 3.1.16 → 3.1.17
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/build-infos.json +1 -1
- package/concorde-core.bundle.js +3692 -0
- package/concorde-core.es.js +11810 -0
- package/dist/concorde-core.bundle.js +3692 -0
- package/dist/concorde-core.es.js +11810 -0
- package/dist/css/docs.css +0 -0
- package/dist/fonts/ClashGrotesk-Bold.eot +0 -0
- package/dist/fonts/ClashGrotesk-Bold.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Bold.woff +0 -0
- package/dist/fonts/ClashGrotesk-Bold.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Extralight.eot +0 -0
- package/dist/fonts/ClashGrotesk-Extralight.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Extralight.woff +0 -0
- package/dist/fonts/ClashGrotesk-Extralight.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Light.eot +0 -0
- package/dist/fonts/ClashGrotesk-Light.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Light.woff +0 -0
- package/dist/fonts/ClashGrotesk-Light.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Medium.eot +0 -0
- package/dist/fonts/ClashGrotesk-Medium.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Medium.woff +0 -0
- package/dist/fonts/ClashGrotesk-Medium.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Regular.eot +0 -0
- package/dist/fonts/ClashGrotesk-Regular.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Regular.woff +0 -0
- package/dist/fonts/ClashGrotesk-Regular.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Semibold.eot +0 -0
- package/dist/fonts/ClashGrotesk-Semibold.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Semibold.woff +0 -0
- package/dist/fonts/ClashGrotesk-Semibold.woff2 +0 -0
- package/dist/fonts/ClashGrotesk-Variable.eot +0 -0
- package/dist/fonts/ClashGrotesk-Variable.ttf +0 -0
- package/dist/fonts/ClashGrotesk-Variable.woff +0 -0
- package/dist/fonts/ClashGrotesk-Variable.woff2 +0 -0
- package/dist/img/concorde-icon.svg +5 -0
- package/dist/img/concorde-logo.svg +1 -0
- package/dist/img/concorde.png +0 -0
- package/dist/img/concorde_def.png +0 -0
- package/dist/img/concorde_seuil.png.webp +0 -0
- package/dist/img/concorde_seuil_invert.png +0 -0
- package/dist/img/paul_metrand.jpg +0 -0
- package/dist/img/paul_metrand_xs.jpg +0 -0
- package/dist/svg/regular/plane.svg +1 -0
- package/dist/svg/solid/plane.svg +1 -0
- package/docs/assets/index--bDsd7qW.css +1 -0
- package/docs/assets/index-Ce3mr_lI.js +4040 -0
- package/docs/css/docs.css +0 -0
- package/docs/img/concorde-logo.svg +1 -0
- package/docs/img/concorde.png +0 -0
- package/docs/img/concorde_def.png +0 -0
- package/docs/index.html +132 -0
- package/docs/src/core/components/functional/date/date.md +290 -0
- package/docs/src/core/components/functional/fetch/fetch.md +117 -0
- package/docs/src/core/components/functional/if/if.md +16 -0
- package/docs/src/core/components/functional/list/list.md +194 -0
- package/docs/src/core/components/functional/mix/mix.md +41 -0
- package/docs/src/core/components/functional/queue/queue.md +87 -0
- package/docs/src/core/components/functional/router/router.md +112 -0
- package/docs/src/core/components/functional/sdui/default-library.json +108 -0
- package/docs/src/core/components/functional/sdui/example.json +99 -0
- package/docs/src/core/components/functional/sdui/sdui.md +356 -0
- package/docs/src/core/components/functional/states/states.md +87 -0
- package/docs/src/core/components/functional/submit/submit.md +48 -0
- package/docs/src/core/components/functional/subscriber/subscriber.md +91 -0
- package/docs/src/core/components/functional/value/value.md +35 -0
- package/docs/src/core/components/ui/alert/alert.md +121 -0
- package/docs/src/core/components/ui/badge/badge.md +102 -0
- package/docs/src/core/components/ui/button/button.md +184 -0
- package/docs/src/core/components/ui/captcha/captcha.md +12 -0
- package/docs/src/core/components/ui/card/card.md +96 -0
- package/docs/src/core/components/ui/divider/divider.md +35 -0
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +96 -0
- package/docs/src/core/components/ui/form/fieldset/fieldset.md +129 -0
- package/docs/src/core/components/ui/form/form-actions/form-actions.md +77 -0
- package/docs/src/core/components/ui/form/form-layout/form-layout.md +43 -0
- package/docs/src/core/components/ui/form/input/input.md +168 -0
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +130 -0
- package/docs/src/core/components/ui/form/radio/radio.md +86 -0
- package/docs/src/core/components/ui/form/select/select.md +99 -0
- package/docs/src/core/components/ui/form/textarea/textarea.md +66 -0
- package/docs/src/core/components/ui/group/group.md +75 -0
- package/docs/src/core/components/ui/icon/icon.md +125 -0
- package/docs/src/core/components/ui/icon/icons.json +1 -0
- package/docs/src/core/components/ui/image/image.md +107 -0
- package/docs/src/core/components/ui/link/link.md +43 -0
- package/docs/src/core/components/ui/loader/loader.md +37 -0
- package/docs/src/core/components/ui/menu/menu.md +288 -0
- package/docs/src/core/components/ui/modal/modal.md +123 -0
- package/docs/src/core/components/ui/pop/pop.md +79 -0
- package/docs/src/core/components/ui/progress/progress.md +65 -0
- package/docs/src/core/components/ui/table/table.md +467 -0
- package/docs/src/core/components/ui/tooltip/tooltip.md +37 -0
- package/docs/src/docs/_core-concept/overview.md +57 -0
- package/docs/src/docs/_core-concept/subscriber.md +76 -0
- package/docs/src/docs/_getting-started/concorde-outside.md +141 -0
- package/docs/src/docs/_getting-started/create-a-component.md +137 -0
- package/docs/src/docs/_getting-started/pubsub.md +150 -0
- package/docs/src/docs/_getting-started/start.md +37 -0
- package/docs/src/docs/_getting-started/theming.md +91 -0
- package/docs/src/docs/search/docs-search.json +3737 -0
- package/docs/src/tag-list.json +1 -0
- package/docs/src/tsconfig.json +113 -0
- package/docs/svg/regular/plane.svg +1 -0
- package/docs/svg/solid/plane.svg +1 -0
- package/index.html +0 -0
- package/notes de migration.md +0 -0
- package/package.json +1 -1
- package/postcss.config.cjs +0 -0
- package/public/css/docs.css +0 -0
- package/public/fonts/ClashGrotesk-Bold.eot +0 -0
- package/public/fonts/ClashGrotesk-Bold.ttf +0 -0
- package/public/fonts/ClashGrotesk-Bold.woff +0 -0
- package/public/fonts/ClashGrotesk-Bold.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Extralight.eot +0 -0
- package/public/fonts/ClashGrotesk-Extralight.ttf +0 -0
- package/public/fonts/ClashGrotesk-Extralight.woff +0 -0
- package/public/fonts/ClashGrotesk-Extralight.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Light.eot +0 -0
- package/public/fonts/ClashGrotesk-Light.ttf +0 -0
- package/public/fonts/ClashGrotesk-Light.woff +0 -0
- package/public/fonts/ClashGrotesk-Light.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Medium.eot +0 -0
- package/public/fonts/ClashGrotesk-Medium.ttf +0 -0
- package/public/fonts/ClashGrotesk-Medium.woff +0 -0
- package/public/fonts/ClashGrotesk-Medium.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Regular.eot +0 -0
- package/public/fonts/ClashGrotesk-Regular.ttf +0 -0
- package/public/fonts/ClashGrotesk-Regular.woff +0 -0
- package/public/fonts/ClashGrotesk-Regular.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Semibold.eot +0 -0
- package/public/fonts/ClashGrotesk-Semibold.ttf +0 -0
- package/public/fonts/ClashGrotesk-Semibold.woff +0 -0
- package/public/fonts/ClashGrotesk-Semibold.woff2 +0 -0
- package/public/fonts/ClashGrotesk-Variable.eot +0 -0
- package/public/fonts/ClashGrotesk-Variable.ttf +0 -0
- package/public/fonts/ClashGrotesk-Variable.woff +0 -0
- package/public/fonts/ClashGrotesk-Variable.woff2 +0 -0
- package/public/img/concorde-icon.svg +0 -0
- package/public/img/concorde-logo.svg +0 -0
- package/public/img/concorde.png +0 -0
- package/public/img/concorde_def.png +0 -0
- package/public/img/concorde_seuil.png.webp +0 -0
- package/public/img/concorde_seuil_invert.png +0 -0
- package/public/img/paul_metrand.jpg +0 -0
- package/public/img/paul_metrand_xs.jpg +0 -0
- package/public/svg/regular/plane.svg +0 -0
- package/public/svg/solid/plane.svg +0 -0
- package/scripts/create-search.js +0 -0
- package/scripts/post-build-docs.js +0 -0
- package/scripts/post-build.mjs +0 -0
- package/scripts/pre-build.mjs +0 -0
- package/src/components.ts +0 -0
- package/src/concorde-loaded.ts +0 -0
- package/src/core/_types/types.ts +0 -0
- package/src/core/components/functional/date/date.md +0 -0
- package/src/core/components/functional/date/date.ts +0 -0
- package/src/core/components/functional/example/example.ts +0 -0
- package/src/core/components/functional/fetch/fetch.md +0 -0
- package/src/core/components/functional/fetch/fetch.ts +0 -0
- package/src/core/components/functional/functional.ts +0 -0
- package/src/core/components/functional/if/if.md +0 -0
- package/src/core/components/functional/if/if.test.ts +0 -0
- package/src/core/components/functional/if/if.ts +0 -0
- package/src/core/components/functional/list/list.md +0 -0
- package/src/core/components/functional/list/list.ts +0 -0
- package/src/core/components/functional/mix/mix.md +0 -0
- package/src/core/components/functional/mix/mix.ts +0 -0
- package/src/core/components/functional/queue/queue.md +0 -0
- package/src/core/components/functional/queue/queue.ts +0 -0
- package/src/core/components/functional/router/redirect.ts +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/default-library.json +0 -0
- package/src/core/components/functional/sdui/example.json +0 -0
- package/src/core/components/functional/sdui/sdui-utils.ts +0 -0
- package/src/core/components/functional/sdui/sdui.md +0 -0
- package/src/core/components/functional/sdui/sdui.ts +0 -0
- package/src/core/components/functional/sdui/types.ts +0 -0
- package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
- package/src/core/components/functional/states/states.md +0 -0
- package/src/core/components/functional/states/states.ts +0 -0
- package/src/core/components/functional/submit/submit.md +0 -0
- package/src/core/components/functional/submit/submit.ts +0 -0
- package/src/core/components/functional/subscriber/subscriber.md +0 -0
- package/src/core/components/functional/subscriber/subscriber.ts +0 -0
- package/src/core/components/functional/value/value.md +0 -0
- package/src/core/components/functional/value/value.ts +0 -0
- package/src/core/components/ui/_css/scroll.ts +0 -0
- package/src/core/components/ui/_css/size.ts +0 -0
- package/src/core/components/ui/_css/type.ts +0 -0
- package/src/core/components/ui/alert/alert.md +0 -0
- package/src/core/components/ui/alert/alert.ts +0 -0
- package/src/core/components/ui/badge/badge.md +0 -0
- package/src/core/components/ui/badge/badge.ts +0 -0
- package/src/core/components/ui/button/button.md +0 -0
- package/src/core/components/ui/button/button.ts +0 -0
- package/src/core/components/ui/captcha/captcha.md +0 -0
- package/src/core/components/ui/captcha/captcha.ts +0 -0
- package/src/core/components/ui/card/card-footer.ts +0 -0
- package/src/core/components/ui/card/card-header-descripton.ts +0 -0
- package/src/core/components/ui/card/card-header.ts +0 -0
- package/src/core/components/ui/card/card-main.ts +0 -0
- package/src/core/components/ui/card/card.md +0 -0
- package/src/core/components/ui/card/card.ts +0 -0
- package/src/core/components/ui/divider/divider.md +0 -0
- package/src/core/components/ui/divider/divider.ts +0 -0
- package/src/core/components/ui/form/checkbox/checkbox.md +0 -0
- package/src/core/components/ui/form/checkbox/checkbox.ts +0 -0
- package/src/core/components/ui/form/css/form-control.ts +0 -0
- package/src/core/components/ui/form/fieldset/fieldset.md +0 -0
- package/src/core/components/ui/form/fieldset/fieldset.ts +0 -0
- package/src/core/components/ui/form/fieldset/legend-description.ts +0 -0
- package/src/core/components/ui/form/fieldset/legend.ts +0 -0
- package/src/core/components/ui/form/form-actions/form-actions.md +0 -0
- package/src/core/components/ui/form/form-actions/form-actions.ts +0 -0
- package/src/core/components/ui/form/form-layout/form-layout.md +0 -0
- package/src/core/components/ui/form/form-layout/form-layout.ts +0 -0
- package/src/core/components/ui/form/input/input.md +0 -0
- package/src/core/components/ui/form/input/input.ts +0 -0
- package/src/core/components/ui/form/input/password-helper.ts +0 -0
- package/src/core/components/ui/form/input/same-value-helper.ts +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +0 -0
- package/src/core/components/ui/form/radio/radio.md +0 -0
- package/src/core/components/ui/form/radio/radio.ts +0 -0
- package/src/core/components/ui/form/select/select.md +0 -0
- package/src/core/components/ui/form/select/select.ts +0 -0
- package/src/core/components/ui/form/textarea/textarea.md +0 -0
- package/src/core/components/ui/form/textarea/textarea.ts +0 -0
- package/src/core/components/ui/group/group.md +0 -0
- package/src/core/components/ui/group/group.ts +0 -0
- package/src/core/components/ui/icon/icon.md +0 -0
- package/src/core/components/ui/icon/icon.stories.ts +0 -0
- package/src/core/components/ui/icon/icon.ts +0 -0
- package/src/core/components/ui/icon/icons.json +0 -0
- package/src/core/components/ui/icon/icons.ts +0 -0
- package/src/core/components/ui/icon/svgs/cancel.svg +0 -0
- package/src/core/components/ui/icon/svgs/check-circled-outline.svg +0 -0
- package/src/core/components/ui/icon/svgs/check.svg +0 -0
- package/src/core/components/ui/icon/svgs/emoji-puzzled.svg +0 -0
- package/src/core/components/ui/icon/svgs/info-empty.svg +0 -0
- package/src/core/components/ui/icon/svgs/loader.svg +0 -0
- package/src/core/components/ui/icon/svgs/minus-small.svg +0 -0
- package/src/core/components/ui/icon/svgs/more-horiz.svg +0 -0
- package/src/core/components/ui/icon/svgs/more-vert.svg +0 -0
- package/src/core/components/ui/icon/svgs/nav-arrow-down.svg +0 -0
- package/src/core/components/ui/icon/svgs/warning-circled-outline.svg +0 -0
- package/src/core/components/ui/image/image.md +0 -0
- package/src/core/components/ui/image/image.ts +0 -0
- package/src/core/components/ui/link/link.md +0 -0
- package/src/core/components/ui/link/link.ts +0 -0
- package/src/core/components/ui/loader/loader.md +0 -0
- package/src/core/components/ui/loader/loader.stories.ts +0 -0
- package/src/core/components/ui/loader/loader.ts +0 -0
- package/src/core/components/ui/loader/styles/fixed.ts +0 -0
- package/src/core/components/ui/loader/styles/inline.ts +0 -0
- package/src/core/components/ui/menu/menu-item.ts +0 -0
- package/src/core/components/ui/menu/menu.md +0 -0
- package/src/core/components/ui/menu/menu.ts +0 -0
- package/src/core/components/ui/modal/modal-actions.ts +0 -0
- package/src/core/components/ui/modal/modal-close.ts +0 -0
- package/src/core/components/ui/modal/modal-content.ts +0 -0
- package/src/core/components/ui/modal/modal-subtitle.ts +0 -0
- package/src/core/components/ui/modal/modal-title.ts +0 -0
- package/src/core/components/ui/modal/modal.md +0 -0
- package/src/core/components/ui/modal/modal.stories.ts +0 -0
- package/src/core/components/ui/modal/modal.ts +0 -0
- package/src/core/components/ui/pop/pop.md +0 -0
- package/src/core/components/ui/pop/pop.ts +0 -0
- package/src/core/components/ui/progress/progress.md +0 -0
- package/src/core/components/ui/progress/progress.ts +0 -0
- package/src/core/components/ui/table/table-caption.ts +0 -0
- package/src/core/components/ui/table/table-tbody.ts +0 -0
- package/src/core/components/ui/table/table-td.ts +0 -0
- package/src/core/components/ui/table/table-tfoot.ts +0 -0
- package/src/core/components/ui/table/table-th.ts +0 -0
- package/src/core/components/ui/table/table-thead.ts +0 -0
- package/src/core/components/ui/table/table-tr.ts +0 -0
- package/src/core/components/ui/table/table.md +0 -0
- package/src/core/components/ui/table/table.ts +0 -0
- package/src/core/components/ui/theme/theme-collection/core-variables.ts +0 -0
- package/src/core/components/ui/theme/theme-collection/dark.ts +0 -0
- package/src/core/components/ui/theme/theme-collection/light.ts +0 -0
- package/src/core/components/ui/theme/theme.ts +0 -0
- package/src/core/components/ui/toast/message-subscriber.stories.ts +0 -0
- package/src/core/components/ui/toast/message-subscriber.ts +0 -0
- package/src/core/components/ui/toast/toast-item.ts +0 -0
- package/src/core/components/ui/toast/toast.ts +0 -0
- package/src/core/components/ui/toast/types.ts +0 -0
- package/src/core/components/ui/tooltip/tooltip.md +0 -0
- package/src/core/components/ui/tooltip/tooltip.ts +0 -0
- package/src/core/components/ui/ui.ts +0 -0
- package/src/core/core.ts +0 -0
- package/src/core/decorators/Subscriber.ts +0 -0
- package/src/core/directives/DataProvider.ts +0 -0
- package/src/core/directives/Wording.ts +0 -0
- package/src/core/mixins/Fetcher.ts +0 -0
- package/src/core/mixins/FormCheckable.ts +0 -0
- package/src/core/mixins/FormElement.ts +0 -0
- package/src/core/mixins/FormInput.ts +0 -0
- package/src/core/mixins/Subscriber.ts +0 -0
- package/src/core/mixins/TemplatesContainer.ts +0 -0
- package/src/core/mixins/mixins.ts +0 -0
- package/src/core/utils/Arrays.ts +0 -0
- package/src/core/utils/DataBindObserver.ts +0 -0
- package/src/core/utils/Electron.ts +0 -0
- package/src/core/utils/Format.ts +0 -0
- package/src/core/utils/HTML.ts +0 -0
- package/src/core/utils/LocationHandler.ts +0 -0
- package/src/core/utils/Objects.ts +0 -0
- package/src/core/utils/PublisherProxy.ts +0 -0
- package/src/core/utils/Utils.ts +0 -0
- package/src/core/utils/api.ts +0 -0
- package/src/core/utils/route.ts +0 -0
- package/src/core/utils/url-pattern.ts +0 -0
- package/src/decorators.ts +0 -0
- package/src/directives.ts +0 -0
- package/src/docs/_core-concept/overview.md +0 -0
- package/src/docs/_core-concept/subscriber.md +0 -0
- package/src/docs/_getting-started/concorde-outside.md +0 -0
- package/src/docs/_getting-started/create-a-component.md +0 -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/start.md +0 -0
- package/src/docs/_getting-started/theming.md +0 -0
- package/src/docs/code.ts +0 -0
- package/src/docs/docs.ts +0 -0
- package/src/docs/example/users.ts +0 -0
- package/src/docs/header/header.ts +0 -0
- package/src/docs/navigation/navigation.ts +0 -0
- package/src/docs/prism/index.ts +0 -0
- package/src/docs/prism/prism.css +0 -0
- package/src/docs/prism/prism.js +0 -0
- package/src/docs/search/docs-search.json +0 -0
- package/src/docs/search/markdown-renderer.ts +0 -0
- package/src/docs/search/page.ts +0 -0
- package/src/docs/search/search.ts +0 -0
- package/src/docs/tailwind/css/tailwind.css +0 -0
- package/src/docs/tailwind/css/tailwind.d.ts +0 -0
- package/src/docs/tailwind/index.ts +0 -0
- package/src/docs.ts +0 -0
- package/src/index.ts +0 -0
- package/src/mixins.ts +0 -0
- package/src/tag-list.json +0 -0
- package/src/test-utils/TestUtils.ts +0 -0
- package/src/tsconfig-model.json +0 -0
- package/src/tsconfig.json +0 -0
- package/src/utils.ts +0 -0
- package/tailwind.config.js +0 -0
- package/test-utils/TestUtils.ts +0 -0
- package/vite.config.mts +0 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Select
|
|
2
|
+
|
|
3
|
+
## Options
|
|
4
|
+
<sonic-code>
|
|
5
|
+
<template>
|
|
6
|
+
<div class="grid gap-3">
|
|
7
|
+
<sonic-select>
|
|
8
|
+
<option value="">No Selection</option>
|
|
9
|
+
<option value="1">One</option>
|
|
10
|
+
<option value="2" selected>Two (set by "tag")</option>
|
|
11
|
+
<option value="3">Three</option>
|
|
12
|
+
</sonic-select>
|
|
13
|
+
<sonic-select options='[{"value":"", "wording":"Set options via \"attribute\""},
|
|
14
|
+
{"value":"dark", "wording":"dark (set by \"attribute\")", "selected" : "true"}, {"value":"auto", "wording":"auto"}
|
|
15
|
+
]'>
|
|
16
|
+
</sonic-select>
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
19
|
+
</sonic-code>
|
|
20
|
+
|
|
21
|
+
## Size
|
|
22
|
+
<sonic-code>
|
|
23
|
+
<template>
|
|
24
|
+
<div class="grid gap-3">
|
|
25
|
+
<sonic-select size="2xs"><option>2xs</option></sonic-select>
|
|
26
|
+
<sonic-select size="xs"><option>xs</option></sonic-select>
|
|
27
|
+
<sonic-select size="sm"><option>sm</option></sonic-select>
|
|
28
|
+
<sonic-select size="md"><option>md</option></sonic-select>
|
|
29
|
+
<sonic-select size="default"><option>default</option></sonic-select>
|
|
30
|
+
<sonic-select size="lg"><option>lg</option></sonic-select>
|
|
31
|
+
<sonic-select size="xl"><option>xl</option></sonic-select>
|
|
32
|
+
<sonic-select size="2xl"><option>2xl</option></sonic-select>
|
|
33
|
+
</div>
|
|
34
|
+
</template>
|
|
35
|
+
</sonic-code>
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## Multiple
|
|
39
|
+
<sonic-code>
|
|
40
|
+
<template>
|
|
41
|
+
<div class="grid gap-3">
|
|
42
|
+
<sonic-select multiple>
|
|
43
|
+
<option value="">Choose a number</option>
|
|
44
|
+
<option value="1">One</option>
|
|
45
|
+
<option value="2">Two</option>
|
|
46
|
+
<option value="3">Three</option>
|
|
47
|
+
</sonic-select>
|
|
48
|
+
</div>
|
|
49
|
+
</template>
|
|
50
|
+
</sonic-code>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
## Disabled
|
|
54
|
+
<sonic-code>
|
|
55
|
+
<template>
|
|
56
|
+
<div class="grid gap-3">
|
|
57
|
+
<sonic-select disabled>
|
|
58
|
+
<option value="">Choose a number</option>
|
|
59
|
+
<option value="1">One</option>
|
|
60
|
+
<option value="2">Two</option>
|
|
61
|
+
<option value="3">Three</option>
|
|
62
|
+
</sonic-select>
|
|
63
|
+
</div>
|
|
64
|
+
</template>
|
|
65
|
+
</sonic-code>
|
|
66
|
+
|
|
67
|
+
## Example of use
|
|
68
|
+
<sonic-code>
|
|
69
|
+
<template>
|
|
70
|
+
<sonic-theme color background theme=${theme} class="p-8">
|
|
71
|
+
<sonic-select
|
|
72
|
+
formDataProvider="select-filter"
|
|
73
|
+
name="lang"
|
|
74
|
+
value="fr"
|
|
75
|
+
>
|
|
76
|
+
<option value="fr">fr<option>
|
|
77
|
+
<optionn value="en">en<option>
|
|
78
|
+
</sonic-select>
|
|
79
|
+
<sonic-subscriber dataProvider="select-filter" class="text-xl my-4 block font-bold">
|
|
80
|
+
Blagues trouvées pour le code de langue"<span data-bind ::inner-html="$lang"></span>" :
|
|
81
|
+
</sonic-subscriber>
|
|
82
|
+
<sonic-queue
|
|
83
|
+
lazyload
|
|
84
|
+
dataProviderExpression="joke/Any?amount=10"
|
|
85
|
+
dataFilterProvider="select-filter"
|
|
86
|
+
serviceURL="https://v2.jokeapi.dev"
|
|
87
|
+
key="jokes"
|
|
88
|
+
>
|
|
89
|
+
<template>
|
|
90
|
+
<div class="border-0 border-b-[1px] border-b-neutral-300 border-dotted py-3">
|
|
91
|
+
<div data-bind ::inner-html="$joke"></div>
|
|
92
|
+
<div data-bind ::inner-html="$setup"></div>
|
|
93
|
+
<div data-bind ::inner-html="$delivery"></div>
|
|
94
|
+
</div>
|
|
95
|
+
</template>
|
|
96
|
+
</sonic-queue>
|
|
97
|
+
</sonic-theme>
|
|
98
|
+
</template>
|
|
99
|
+
</sonic-code>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Textarea
|
|
2
|
+
|
|
3
|
+
<sonic-button type="info" size="sm" target="_blank" href="https://www.w3schools.com/tags/tag_textarea.asp#midcontentadcontainer">
|
|
4
|
+
<sonic-icon library="iconoir" name="open-new-window" slot="prefix" ></sonic-icon>
|
|
5
|
+
Native attibutes list
|
|
6
|
+
</sonic-button>
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Label
|
|
10
|
+
<sonic-code>
|
|
11
|
+
<template>
|
|
12
|
+
<sonic-textarea label="Label"></sonic-textarea>
|
|
13
|
+
</template>
|
|
14
|
+
</sonic-code>
|
|
15
|
+
|
|
16
|
+
## Placeholder
|
|
17
|
+
<sonic-code>
|
|
18
|
+
<template>
|
|
19
|
+
<sonic-textarea placeholder="placeholder"></sonic-textarea>
|
|
20
|
+
</template>
|
|
21
|
+
</sonic-code>
|
|
22
|
+
|
|
23
|
+
## Value
|
|
24
|
+
<sonic-code>
|
|
25
|
+
<template>
|
|
26
|
+
<sonic-textarea value="value"></sonic-textarea>
|
|
27
|
+
</template>
|
|
28
|
+
</sonic-code>
|
|
29
|
+
|
|
30
|
+
## Required
|
|
31
|
+
<sonic-code>
|
|
32
|
+
<template>
|
|
33
|
+
<sonic-textarea required label="Feedback on blur" placeholder="required" ></sonic-textarea>
|
|
34
|
+
</template>
|
|
35
|
+
</sonic-code>
|
|
36
|
+
|
|
37
|
+
## Rows
|
|
38
|
+
<sonic-code>
|
|
39
|
+
<template>
|
|
40
|
+
<sonic-textarea rows="8"></sonic-textarea>
|
|
41
|
+
</template>
|
|
42
|
+
</sonic-code>
|
|
43
|
+
|
|
44
|
+
## Description
|
|
45
|
+
<sonic-code>
|
|
46
|
+
<template>
|
|
47
|
+
<sonic-textarea description="Description goes here" ></sonic-textarea>
|
|
48
|
+
</template>
|
|
49
|
+
</sonic-code>
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## Size
|
|
53
|
+
<sonic-code>
|
|
54
|
+
<template>
|
|
55
|
+
<div class="grid gap-3">
|
|
56
|
+
<sonic-textarea size="2xs" value="2xs"></sonic-textarea>
|
|
57
|
+
<sonic-textarea size="xs" value="xs"></sonic-textarea>
|
|
58
|
+
<sonic-textarea size="sm" value="sm"></sonic-textarea>
|
|
59
|
+
<sonic-textarea size="md" value="md"></sonic-textarea>
|
|
60
|
+
<sonic-textarea value="default"></sonic-textarea>
|
|
61
|
+
<sonic-textarea size="lg" value="lg"></sonic-textarea>
|
|
62
|
+
<sonic-textarea size="xl" value="xl"></sonic-textarea>
|
|
63
|
+
<sonic-textarea size="2xl" value="2xl"></sonic-textarea>
|
|
64
|
+
</div>
|
|
65
|
+
</template>
|
|
66
|
+
</sonic-code>
|
|
@@ -0,0 +1,75 @@
|
|
|
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>
|
|
@@ -0,0 +1,125 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1 @@
|
|
|
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"}}
|
|
@@ -0,0 +1,107 @@
|
|
|
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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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.thegoodhub.com/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>
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
## Fixed mode
|
|
12
|
+
|
|
13
|
+
<sonic-code >
|
|
14
|
+
<template>
|
|
15
|
+
<div formDataProvider="toazdar">
|
|
16
|
+
<sonic-button name="toggleLoader" value="on">
|
|
17
|
+
Toggle fixed loader
|
|
18
|
+
<sonic-loader swap="on"></sonic-loader>
|
|
19
|
+
</sonic-button>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
</sonic-code>
|
|
23
|
+
|
|
24
|
+
## Hide / show programmatically
|
|
25
|
+
|
|
26
|
+
<sonic-code language="javascript">
|
|
27
|
+
<template>
|
|
28
|
+
import {Loader} from "@supersoniks/concorde/core/components/ui/loader/loader";
|
|
29
|
+
// Show
|
|
30
|
+
Loader.show({
|
|
31
|
+
mode:"fixed" // optional : fixed | inline
|
|
32
|
+
container : document.querySelector('#foo') // optional, default : parent sonic-theme || document.body
|
|
33
|
+
});
|
|
34
|
+
// Hide
|
|
35
|
+
Loader.hide();
|
|
36
|
+
</template>
|
|
37
|
+
</sonic-code>
|