@supersoniks/concorde 3.1.80 → 3.1.82
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 +29 -29
- package/concorde-core.es.js +172 -158
- package/dist/concorde-core.bundle.js +29 -29
- package/dist/concorde-core.es.js +172 -158
- package/index.html +0 -0
- package/package.json +1 -1
- package/scripts/create-search.js +0 -0
- package/scripts/generate-routes.js +0 -0
- package/src/core/_types/types.ts +0 -0
- package/src/core/components/functional/date/date.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/list/list.demo.ts +3 -3
- package/src/core/components/functional/list/list.spec.ts +0 -0
- package/src/core/components/functional/list/list.ts +17 -4
- package/src/core/components/functional/queue/queue.demo.ts +0 -0
- package/src/core/components/functional/queue/queue.ts +3 -3
- package/src/core/components/functional/router/router.demo.ts +0 -0
- package/src/core/components/functional/router/router.md +0 -0
- package/src/core/components/functional/router/router.spec.ts +0 -0
- package/src/core/components/functional/router/router.ts +0 -0
- package/src/core/components/functional/sonic-scope/sonic-scope.ts +0 -0
- package/src/core/components/functional/states/states.demo.ts +0 -0
- package/src/core/components/functional/states/states.md +0 -0
- package/src/core/components/functional/states/states.spec.ts +0 -0
- package/src/core/components/functional/states/states.ts +0 -0
- package/src/core/components/functional/submit/submit.ts +0 -0
- package/src/core/components/functional/translation/translation.ts +0 -0
- package/src/core/components/ui/_css/scroll.ts +0 -0
- package/src/core/components/ui/_css/shadow.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/alert-messages/alert-messages.md +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.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.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-layout/form-layout.md +0 -0
- package/src/core/components/ui/form/input/input.md +0 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +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/switch/switch.md +0 -0
- package/src/core/components/ui/form/switch/switch.ts +0 -0
- package/src/core/components/ui/form/textarea/textarea.ts +0 -0
- package/src/core/components/ui/icon/icon.ts +0 -0
- package/src/core/components/ui/icon/icons.ts +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/loader/loader.md +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.ts +0 -0
- package/src/core/components/ui/modal/modal-actions.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.ts +0 -0
- package/src/core/components/ui/pop/pop.md +17 -0
- package/src/core/components/ui/pop/pop.ts +5 -4
- package/src/core/components/ui/progress/progress.ts +0 -0
- package/src/core/components/ui/table/table-tbody.ts +0 -0
- package/src/core/components/ui/table/table-th.ts +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/toast-item.ts +0 -0
- package/src/core/components/ui/toast/toast.ts +0 -0
- package/src/core/components/ui/tooltip/tooltip.ts +0 -0
- package/src/core/components/ui/ui.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/TemplatesContainer.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/aesCrypto.ts +0 -0
- package/src/core/utils/api.ts +0 -0
- package/src/core/utils/route.spec.ts +0 -0
- package/src/core/utils/route.ts +0 -0
- package/src/docs/code.ts +0 -0
- package/src/docs/docs.ts +0 -0
- package/src/docs/header/header.ts +0 -0
- package/src/docs/layout.ts +0 -0
- package/src/docs/navigation/navigation.ts +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.d.ts +0 -0
- package/src/index.ts +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/tsconfig.tsbuildinfo +0 -0
- package/tailwind.config.js +0 -0
- package/templates-test.html +0 -0
- package/vite/config.js +0 -0
- package/vite.config.mts +0 -0
- package/docs/assets/index-D9bBwsCn.js +0 -4537
- package/docs/assets/index-DCRPZO3x.css +0 -1
- package/docs/css/docs.css +0 -0
- package/docs/fonts/ClashGrotesk-Bold.eot +0 -0
- package/docs/fonts/ClashGrotesk-Bold.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Bold.woff +0 -0
- package/docs/fonts/ClashGrotesk-Bold.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.eot +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.woff +0 -0
- package/docs/fonts/ClashGrotesk-Extralight.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Light.eot +0 -0
- package/docs/fonts/ClashGrotesk-Light.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Light.woff +0 -0
- package/docs/fonts/ClashGrotesk-Light.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Medium.eot +0 -0
- package/docs/fonts/ClashGrotesk-Medium.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Medium.woff +0 -0
- package/docs/fonts/ClashGrotesk-Medium.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Regular.eot +0 -0
- package/docs/fonts/ClashGrotesk-Regular.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Regular.woff +0 -0
- package/docs/fonts/ClashGrotesk-Regular.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.eot +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.woff +0 -0
- package/docs/fonts/ClashGrotesk-Semibold.woff2 +0 -0
- package/docs/fonts/ClashGrotesk-Variable.eot +0 -0
- package/docs/fonts/ClashGrotesk-Variable.ttf +0 -0
- package/docs/fonts/ClashGrotesk-Variable.woff +0 -0
- package/docs/fonts/ClashGrotesk-Variable.woff2 +0 -0
- package/docs/img/concorde-icon.svg +0 -5
- package/docs/img/concorde-logo.svg +0 -1
- package/docs/img/concorde.png +0 -0
- package/docs/img/concorde_def.png +0 -0
- package/docs/img/concorde_seuil.png.webp +0 -0
- package/docs/img/concorde_seuil_invert.png +0 -0
- package/docs/img/paul_metrand.jpg +0 -0
- package/docs/img/paul_metrand_xs.jpg +0 -0
- package/docs/index.html +0 -93
- package/docs/src/core/components/functional/date/date.md +0 -290
- package/docs/src/core/components/functional/fetch/fetch.md +0 -117
- package/docs/src/core/components/functional/if/if.md +0 -16
- package/docs/src/core/components/functional/list/list.md +0 -199
- package/docs/src/core/components/functional/mix/mix.md +0 -41
- package/docs/src/core/components/functional/queue/queue.md +0 -87
- package/docs/src/core/components/functional/router/router.md +0 -108
- 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 -83
- 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 -94
- 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 -167
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +0 -130
- package/docs/src/core/components/ui/form/radio/radio.md +0 -84
- package/docs/src/core/components/ui/form/select/select.md +0 -97
- package/docs/src/core/components/ui/form/switch/switch.md +0 -84
- 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 -67
- package/docs/src/core/components/ui/menu/menu.md +0 -288
- package/docs/src/core/components/ui/modal/modal.md +0 -123
- package/docs/src/core/components/ui/pop/pop.md +0 -79
- 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/tooltip/tooltip.md +0 -82
- package/docs/src/docs/_core-concept/overview.md +0 -57
- package/docs/src/docs/_core-concept/subscriber.md +0 -76
- package/docs/src/docs/_getting-started/concorde-outside.md +0 -143
- package/docs/src/docs/_getting-started/create-a-component.md +0 -137
- package/docs/src/docs/_getting-started/my-first-subscriber.md +0 -174
- package/docs/src/docs/_getting-started/pubsub.md +0 -150
- package/docs/src/docs/_getting-started/start.md +0 -39
- package/docs/src/docs/_getting-started/theming.md +0 -91
- package/docs/src/docs/search/docs-search.json +0 -3902
- package/docs/src/tag-list.json +0 -1
- package/docs/src/tsconfig-model.json +0 -23
- package/docs/src/tsconfig.json +0 -835
- package/docs/svg/regular/plane.svg +0 -1
- package/docs/svg/solid/plane.svg +0 -1
- package/php/get-challenge.php +0 -34
- package/php/some-service.php +0 -42
package/index.html
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/scripts/create-search.js
CHANGED
|
File without changes
|
|
File without changes
|
package/src/core/_types/types.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -47,9 +47,9 @@ export class ListDemo extends LitElement {
|
|
|
47
47
|
dataprovider="api/users"
|
|
48
48
|
key="data"
|
|
49
49
|
class="grid grid-cols-1 gap-4"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
items=${this.items}
|
|
51
|
+
noItems=${this.noItems}
|
|
52
|
+
skeleton=${this.skeleton}
|
|
53
53
|
debug
|
|
54
54
|
></sonic-list>
|
|
55
55
|
</div>
|
|
File without changes
|
|
@@ -69,10 +69,23 @@ export class List extends Fetcher(Subscriber(TemplatesContainer(LitElement))) {
|
|
|
69
69
|
@property() limit = Number.POSITIVE_INFINITY;
|
|
70
70
|
@property() offset = 0;
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
@property({
|
|
75
|
-
|
|
72
|
+
_items?: ListItems;
|
|
73
|
+
|
|
74
|
+
@property({
|
|
75
|
+
type: Function,
|
|
76
|
+
}) /**add a getter setter check if the value is a ListItems befor assignation */
|
|
77
|
+
get items(): ListItems | undefined {
|
|
78
|
+
return this._items;
|
|
79
|
+
}
|
|
80
|
+
set items(value: ListItems) {
|
|
81
|
+
if (typeof value !== "function" && value !== undefined) return;
|
|
82
|
+
this._items = value;
|
|
83
|
+
this.requestUpdate();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@property({ type: Function }) noItems?: () => DirectiveResult;
|
|
87
|
+
@property({ type: Function }) skeleton?: () => DirectiveResult;
|
|
88
|
+
@property({ type: Function }) separator?: () => DirectiveResult;
|
|
76
89
|
|
|
77
90
|
connectedCallback() {
|
|
78
91
|
this.noShadowDom = "";
|
|
File without changes
|
|
@@ -33,9 +33,9 @@ const tagName = "sonic-queue";
|
|
|
33
33
|
export default class Queue extends Subscriber(LitElement, {} as QueueProps) {
|
|
34
34
|
@property({ type: Array }) templates: Array<HTMLTemplateElement> | null =
|
|
35
35
|
null;
|
|
36
|
-
@property({ type:
|
|
37
|
-
@property({ type:
|
|
38
|
-
@property({ type:
|
|
36
|
+
@property({ type: Function }) items: ListItems | null = null;
|
|
37
|
+
@property({ type: Function }) noItems: ListItems | null = null;
|
|
38
|
+
@property({ type: Function }) skeleton: ListItems | null = null;
|
|
39
39
|
lastRequestTime = 0;
|
|
40
40
|
key = "";
|
|
41
41
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -76,4 +76,21 @@
|
|
|
76
76
|
</sonic-menu>
|
|
77
77
|
</sonic-pop>
|
|
78
78
|
</template>
|
|
79
|
+
</sonic-code>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## manual
|
|
83
|
+
<sonic-code>
|
|
84
|
+
<template>
|
|
85
|
+
<sonic-pop class="inline-block" manual id="manualPop">
|
|
86
|
+
<sonic-button onclick="alert('customAction without opening Pop content')">Manual doesn't open on click</sonic-button>
|
|
87
|
+
<sonic-menu slot="content">
|
|
88
|
+
<sonic-menu-item>Hourra !</sonic-menu-item>
|
|
89
|
+
</sonic-menu>
|
|
90
|
+
</sonic-pop>
|
|
91
|
+
<sonic-button onclick="document.getElementById('manualPop').show()" class="ml-5" variant="outline">
|
|
92
|
+
<sonic-icon name="sparkles" library="custom"></sonic-icon>
|
|
93
|
+
Click to open pop
|
|
94
|
+
</sonic-button>
|
|
95
|
+
</template>
|
|
79
96
|
</sonic-code>
|
|
@@ -64,6 +64,7 @@ export class Pop extends LitElement {
|
|
|
64
64
|
@query("slot[name=content]") popContent!: HTMLElement;
|
|
65
65
|
@property({ type: Boolean }) noToggle = false;
|
|
66
66
|
@property({ type: Boolean, reflect: true }) inline = false;
|
|
67
|
+
@property({ type: Boolean }) manual = false;
|
|
67
68
|
|
|
68
69
|
/**
|
|
69
70
|
* Ombre
|
|
@@ -191,7 +192,7 @@ export class Pop extends LitElement {
|
|
|
191
192
|
|
|
192
193
|
connectedCallback(): void {
|
|
193
194
|
super.connectedCallback();
|
|
194
|
-
if (Pop.pops.size == 0) {
|
|
195
|
+
if (Pop.pops.size == 0 && !this.manual) {
|
|
195
196
|
document.addEventListener("pointerdown", this._handleClosePop);
|
|
196
197
|
document.addEventListener("click", this._handleClosePop);
|
|
197
198
|
document.addEventListener("keydown", this._handleKeyDown);
|
|
@@ -213,7 +214,7 @@ export class Pop extends LitElement {
|
|
|
213
214
|
}
|
|
214
215
|
super.disconnectedCallback();
|
|
215
216
|
Pop.pops.delete(this);
|
|
216
|
-
if (Pop.pops.size == 0) {
|
|
217
|
+
if (Pop.pops.size == 0 && !this.manual) {
|
|
217
218
|
document.removeEventListener("pointerdown", this._handleClosePop);
|
|
218
219
|
document.removeEventListener("click", this._handleClosePop);
|
|
219
220
|
document.removeEventListener("keydown", this._handleKeyDown);
|
|
@@ -342,8 +343,8 @@ export class Pop extends LitElement {
|
|
|
342
343
|
render() {
|
|
343
344
|
return html`
|
|
344
345
|
<slot
|
|
345
|
-
@click=${this.toggle}
|
|
346
|
-
@keydown=${this.toggle}
|
|
346
|
+
@click=${this.manual ? () => {} : this.toggle}
|
|
347
|
+
@keydown=${this.manual ? () => {} : this.toggle}
|
|
347
348
|
class="contents"
|
|
348
349
|
></slot>
|
|
349
350
|
<slot
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/core/utils/HTML.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/core/utils/Utils.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/src/core/utils/api.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/src/core/utils/route.ts
CHANGED
|
File without changes
|
package/src/docs/code.ts
CHANGED
|
File without changes
|
package/src/docs/docs.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/src/docs/layout.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/docs/search/page.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/index.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/src/tsconfig-model.json
CHANGED
|
File without changes
|
package/src/tsconfig.json
CHANGED
|
File without changes
|
package/src/tsconfig.tsbuildinfo
CHANGED
|
File without changes
|
package/tailwind.config.js
CHANGED
|
File without changes
|
package/templates-test.html
CHANGED
|
File without changes
|
package/vite/config.js
CHANGED
|
File without changes
|
package/vite.config.mts
CHANGED
|
File without changes
|