@supersoniks/concorde 1.1.46 → 1.1.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +0 -0
  2. package/cli.js +0 -0
  3. package/concorde-core.bundle.js +19 -21
  4. package/concorde-core.es.js +802 -822
  5. package/core/_types/types.d.ts +0 -1
  6. package/core/components/functional/date/date.js +15 -7
  7. package/core/components/functional/fetch/fetch.d.ts +5 -0
  8. package/core/components/functional/list/list.d.ts +37 -18
  9. package/core/components/functional/list/list.js +12 -22
  10. package/core/components/functional/sdui/sdui.d.ts +5 -3
  11. package/core/components/functional/sdui/sdui.js +0 -3
  12. package/core/components/ui/_css/type.js +12 -12
  13. package/core/components/ui/badge/badge.js +3 -4
  14. package/core/components/ui/button/button.d.ts +5 -0
  15. package/core/components/ui/button/button.js +37 -12
  16. package/core/components/ui/form/checkbox/checkbox.d.ts +8 -0
  17. package/core/components/ui/form/css/form-control.js +7 -5
  18. package/core/components/ui/form/form-layout/form-layout.js +3 -1
  19. package/core/components/ui/form/input/input.d.ts +7 -1
  20. package/core/components/ui/form/input-autocomplete/input-autocomplete.d.ts +9 -0
  21. package/core/components/ui/form/input-autocomplete/input-autocomplete.js +37 -7
  22. package/core/components/ui/form/textarea/textarea.d.ts +4 -0
  23. package/core/components/ui/image/image.d.ts +2 -0
  24. package/core/components/ui/image/image.js +28 -0
  25. package/core/components/ui/modal/modal.d.ts +2 -0
  26. package/core/components/ui/modal/modal.js +6 -3
  27. package/core/components/ui/theme/css/tailwind.css +0 -0
  28. package/core/components/ui/theme/css/tailwind.d.ts +0 -0
  29. package/core/components/ui/theme/theme.js +8 -6
  30. package/core/components/ui/toast/toast.d.ts +1 -1
  31. package/core/components/ui/toast/types.d.ts +1 -1
  32. package/core/components/ui/ui.d.ts +0 -1
  33. package/core/components/ui/ui.js +0 -1
  34. package/core/decorators/Subscriber.d.ts +3 -0
  35. package/core/decorators/Subscriber.js +78 -0
  36. package/core/mixins/Fetcher.d.ts +8 -1
  37. package/core/mixins/Fetcher.js +9 -10
  38. package/core/mixins/FormCheckable.d.ts +4 -0
  39. package/core/mixins/FormInput.d.ts +5 -4
  40. package/core/mixins/Subscriber.d.ts +4 -0
  41. package/core/mixins/Subscriber.js +30 -4
  42. package/core/utils/LocationHandler.js +9 -3
  43. package/core/utils/PublisherProxy.d.ts +0 -1
  44. package/core/utils/PublisherProxy.js +0 -1
  45. package/img/concorde-logo.svg +0 -0
  46. package/img/concorde.png +0 -0
  47. package/img/concorde_def.png +0 -0
  48. package/mixins.d.ts +13 -0
  49. package/package.json +2 -2
  50. package/svg/regular/plane.svg +0 -0
  51. package/svg/solid/plane.svg +0 -0
package/img/concorde.png CHANGED
File without changes
File without changes
package/mixins.d.ts CHANGED
@@ -18,6 +18,7 @@ export declare const Fetcher: <T extends new (...args: any[]) => mySubscriber.Su
18
18
  onInvalidate?: (() => void) | undefined;
19
19
  disconnectedCallback(): void;
20
20
  connectedCallback(): void;
21
+ lazyLoadSpan?: HTMLSpanElement | undefined;
21
22
  handleLazyLoad(): void;
22
23
  onIntersection(entries: IntersectionObserverEntry[]): void;
23
24
  propertyMap: object;
@@ -45,6 +46,10 @@ export declare const Fetcher: <T extends new (...args: any[]) => mySubscriber.Su
45
46
  getAttribute(name: string): string;
46
47
  hasAttribute(attributeName: string): boolean;
47
48
  getBoundingClientRect(): DOMRect;
49
+ onConnected(callback: (component: any) => void): void;
50
+ offConnected(callback: (component: any) => void): void;
51
+ onDisconnected(callback: (component: any) => void): void;
52
+ offDisconnected(callback: (component: any) => void): void;
48
53
  };
49
54
  } & T;
50
55
  export declare const FormCheckable: <T extends new (...args: any[]) => myFormElement.FormElementInterface>(superClass: T) => {
@@ -107,6 +112,10 @@ export declare const FormCheckable: <T extends new (...args: any[]) => myFormEle
107
112
  getAttribute(name: string): string;
108
113
  hasAttribute(attributeName: string): boolean;
109
114
  getBoundingClientRect(): DOMRect;
115
+ onConnected(callback: (component: any) => void): void;
116
+ offConnected(callback: (component: any) => void): void;
117
+ onDisconnected(callback: (component: any) => void): void;
118
+ offDisconnected(callback: (component: any) => void): void;
110
119
  };
111
120
  } & T;
112
121
  import * as myFormElement from "@supersoniks/concorde/core/mixins/FormElement";
@@ -168,6 +177,10 @@ export declare const FormInput: <T extends new (...args: any[]) => myFormElement
168
177
  hasAttribute(attributeName: string): boolean;
169
178
  disconnectedCallback(): void;
170
179
  getBoundingClientRect(): DOMRect;
180
+ onConnected(callback: (component: any) => void): void;
181
+ offConnected(callback: (component: any) => void): void;
182
+ onDisconnected(callback: (component: any) => void): void;
183
+ offDisconnected(callback: (component: any) => void): void;
171
184
  };
172
185
  } & T;
173
186
  import * as mySubscriber from "@supersoniks/concorde/core/mixins/Subscriber";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supersoniks/concorde",
3
- "version": "1.1.46",
3
+ "version": "1.1.48",
4
4
  "customElements": "custom-elements.json",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -224,6 +224,7 @@
224
224
  "./ui": "./core/components/ui/ui.js",
225
225
  "./core/core": "./core/core.js",
226
226
  "./core": "./core/core.js",
227
+ "./core/decorators/Subscriber": "./core/decorators/Subscriber.js",
227
228
  "./core/mixins/Fetcher": "./core/mixins/Fetcher.js",
228
229
  "./mixins/Fetcher": "./core/mixins/Fetcher.js",
229
230
  "./core/mixins/FormCheckable": "./core/mixins/FormCheckable.js",
@@ -265,7 +266,6 @@
265
266
  "./docs/navigation/navigation": "./docs/navigation/navigation.js",
266
267
  "./docs/navigation": "./docs/navigation/navigation.js",
267
268
  "./docs/prism/index": "./docs/prism/index.js",
268
- "./docs/search/docs-search.json": "./docs/search/docs-search.json",
269
269
  "./docs/search/markdown-renderer": "./docs/search/markdown-renderer.js",
270
270
  "./docs/search/page": "./docs/search/page.js",
271
271
  "./docs/search/search": "./docs/search/search.js",
File without changes
File without changes