@onsvisual/svelte-components 0.0.7 → 0.0.9

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 (63) hide show
  1. package/dist/@types/datavis/Table/Table.svelte.d.ts +4 -4
  2. package/dist/@types/datavis/shared/data.d.ts +6 -0
  3. package/dist/@types/index.d.ts +1 -0
  4. package/dist/@types/inputs/Button/Button.svelte.d.ts +2 -2
  5. package/dist/@types/inputs/Checkbox/Checkbox.svelte.d.ts +41 -0
  6. package/dist/@types/inputs/Checkboxes/Checkboxes.svelte.d.ts +37 -0
  7. package/dist/@types/inputs/Dropdown/Dropdown.svelte.d.ts +2 -2
  8. package/dist/@types/inputs/ErrorPanel/ErrorPanel.svelte.d.ts +27 -0
  9. package/dist/@types/inputs/ErrorSummary/ErrorSummary.svelte.d.ts +29 -0
  10. package/dist/@types/inputs/Input/Input.svelte.d.ts +2 -2
  11. package/dist/@types/inputs/Radios/Radio.svelte.d.ts +37 -0
  12. package/dist/@types/inputs/Radios/Radios.svelte.d.ts +39 -0
  13. package/dist/@types/inputs/Select/Select.svelte.d.ts +2 -2
  14. package/dist/@types/inputs/Textarea/Textarea.svelte.d.ts +2 -2
  15. package/dist/@types/layout/Accordion/AccordionItem.svelte.d.ts +2 -2
  16. package/dist/@types/layout/AnalyticsBanner/AnalyticsBanner.svelte.d.ts +30 -0
  17. package/dist/@types/layout/BackLink/Backlink.svelte.d.ts +23 -0
  18. package/dist/@types/layout/Breadcrumb/Breadcrumb.svelte.d.ts +23 -0
  19. package/dist/@types/layout/Contents/Contents.svelte.d.ts +29 -0
  20. package/dist/@types/layout/ErrorPage/ErrorPage.svelte.d.ts +25 -0
  21. package/dist/@types/layout/Grid/Grid.svelte.d.ts +2 -2
  22. package/dist/@types/layout/Header/Header.svelte.d.ts +2 -2
  23. package/dist/@types/layout/Hero/Hero.svelte.d.ts +2 -2
  24. package/dist/@types/layout/NavSections/NavSection.svelte.d.ts +2 -2
  25. package/dist/@types/layout/Notice/Notice.svelte.d.ts +31 -0
  26. package/dist/@types/layout/PhaseBanner/PhaseBanner.svelte.d.ts +25 -0
  27. package/dist/@types/layout/Scroller/Scroller.svelte.d.ts +2 -2
  28. package/dist/@types/layout/Scroller/ScrollerSection.svelte.d.ts +2 -2
  29. package/dist/@types/layout/Section/Section.svelte.d.ts +2 -2
  30. package/dist/@types/layout/ShareButtons/ShareButtons.svelte.d.ts +33 -0
  31. package/dist/@types/layout/Summary/Summary.svelte.d.ts +25 -0
  32. package/dist/@types/layout/Survey/Survey.svelte.d.ts +23 -0
  33. package/dist/@types/layout/Survey/init-survey.d.ts +1 -0
  34. package/dist/@types/layout/Tabs/Tab.svelte.d.ts +31 -0
  35. package/dist/@types/layout/Tabs/Tabs.svelte.d.ts +27 -0
  36. package/dist/@types/layout/TitleBlock/TitleBlock.svelte.d.ts +2 -2
  37. package/dist/css/main.css +2 -2
  38. package/dist/datavis/shared/data.js +18 -0
  39. package/dist/index.js +2 -0
  40. package/dist/inputs/Checkbox/Checkbox.svelte +133 -0
  41. package/dist/inputs/Checkboxes/Checkboxes.svelte +33 -0
  42. package/dist/inputs/ErrorPanel/ErrorPanel.svelte +35 -0
  43. package/dist/inputs/ErrorSummary/ErrorSummary.svelte +40 -0
  44. package/dist/inputs/Radios/Radio.svelte +108 -0
  45. package/dist/inputs/Radios/Radios.svelte +46 -0
  46. package/dist/layout/AnalyticsBanner/AnalyticsBanner.svelte +256 -0
  47. package/dist/layout/BackLink/Backlink.svelte +32 -0
  48. package/dist/layout/Breadcrumb/Breadcrumb.svelte +39 -0
  49. package/dist/layout/Contents/Contents.svelte +44 -0
  50. package/dist/layout/ErrorPage/ErrorPage.svelte +39 -0
  51. package/dist/layout/Header/Header.svelte +1 -1
  52. package/dist/layout/NavSections/NavSection.svelte +2 -2
  53. package/dist/layout/Notice/Notice.svelte +54 -0
  54. package/dist/layout/PhaseBanner/PhaseBanner.svelte +40 -0
  55. package/dist/layout/Scroller/ScrollerSection.svelte +2 -2
  56. package/dist/layout/Section/Section.svelte +2 -2
  57. package/dist/layout/ShareButtons/ShareButtons.svelte +177 -0
  58. package/dist/layout/Summary/Summary.svelte +51 -0
  59. package/dist/layout/Survey/Survey.svelte +96 -0
  60. package/dist/layout/Survey/init-survey.js +230 -0
  61. package/dist/layout/Tabs/Tab.svelte +48 -0
  62. package/dist/layout/Tabs/Tabs.svelte +85 -0
  63. package/package.json +22 -1
@@ -3,8 +3,8 @@
3
3
  /** @typedef {typeof __propDef.slots} ScrollerSlots */
4
4
  export default class Scroller extends SvelteComponentTyped<{
5
5
  marginBottom?: boolean;
6
- id?: string;
7
6
  progress?: number;
7
+ id?: string;
8
8
  splitscreen?: boolean;
9
9
  threshold?: number;
10
10
  count?: number;
@@ -28,8 +28,8 @@ import { SvelteComponentTyped } from "svelte";
28
28
  declare const __propDef: {
29
29
  props: {
30
30
  marginBottom?: boolean;
31
- id?: string;
32
31
  progress?: number;
32
+ id?: string;
33
33
  splitscreen?: boolean;
34
34
  threshold?: number;
35
35
  count?: number;
@@ -3,8 +3,8 @@
3
3
  /** @typedef {typeof __propDef.slots} ScrollerSectionSlots */
4
4
  export default class ScrollerSection extends SvelteComponentTyped<{
5
5
  theme?: "light" | "dark" | "lightblue";
6
- id?: string;
7
6
  title?: string;
7
+ id?: string;
8
8
  hideTitle?: boolean;
9
9
  }, {
10
10
  [evt: string]: CustomEvent<any>;
@@ -19,8 +19,8 @@ import { SvelteComponentTyped } from "svelte";
19
19
  declare const __propDef: {
20
20
  props: {
21
21
  theme?: "light" | "dark" | "lightblue";
22
- id?: string;
23
22
  title?: string;
23
+ id?: string;
24
24
  hideTitle?: boolean;
25
25
  };
26
26
  events: {
@@ -7,8 +7,8 @@ export default class Section extends SvelteComponentTyped<{
7
7
  marginTop?: boolean;
8
8
  marginBottom?: boolean;
9
9
  themeOverrides?: any;
10
- id?: string;
11
10
  title?: string;
11
+ id?: string;
12
12
  hideTitle?: boolean;
13
13
  }, {
14
14
  [evt: string]: CustomEvent<any>;
@@ -27,8 +27,8 @@ declare const __propDef: {
27
27
  marginTop?: boolean;
28
28
  marginBottom?: boolean;
29
29
  themeOverrides?: object;
30
- id?: string;
31
30
  title?: string;
31
+ id?: string;
32
32
  hideTitle?: boolean;
33
33
  };
34
34
  events: {
@@ -0,0 +1,33 @@
1
+ /** @typedef {typeof __propDef.props} ShareButtonsProps */
2
+ /** @typedef {typeof __propDef.events} ShareButtonsEvents */
3
+ /** @typedef {typeof __propDef.slots} ShareButtonsSlots */
4
+ export default class ShareButtons extends SvelteComponentTyped<{
5
+ theme?: "light" | "dark" | "lightblue";
6
+ width?: "narrow" | "medium" | "wide" | "full";
7
+ marginTop?: boolean;
8
+ marginBottom?: boolean;
9
+ themeOverrides?: any;
10
+ title?: string;
11
+ }, {
12
+ [evt: string]: CustomEvent<any>;
13
+ }, {}> {
14
+ }
15
+ export type ShareButtonsProps = typeof __propDef.props;
16
+ export type ShareButtonsEvents = typeof __propDef.events;
17
+ export type ShareButtonsSlots = typeof __propDef.slots;
18
+ import { SvelteComponentTyped } from "svelte";
19
+ declare const __propDef: {
20
+ props: {
21
+ theme?: "light" | "dark" | "lightblue";
22
+ width?: "narrow" | "medium" | "wide" | "full";
23
+ marginTop?: boolean;
24
+ marginBottom?: boolean;
25
+ themeOverrides?: object;
26
+ title?: string;
27
+ };
28
+ events: {
29
+ [evt: string]: CustomEvent<any>;
30
+ };
31
+ slots: {};
32
+ };
33
+ export {};
@@ -0,0 +1,25 @@
1
+ /** @typedef {typeof __propDef.props} SummaryProps */
2
+ /** @typedef {typeof __propDef.events} SummaryEvents */
3
+ /** @typedef {typeof __propDef.slots} SummarySlots */
4
+ export default class Summary extends SvelteComponentTyped<{
5
+ title?: string;
6
+ items?: any[];
7
+ }, {
8
+ [evt: string]: CustomEvent<any>;
9
+ }, {}> {
10
+ }
11
+ export type SummaryProps = typeof __propDef.props;
12
+ export type SummaryEvents = typeof __propDef.events;
13
+ export type SummarySlots = typeof __propDef.slots;
14
+ import { SvelteComponentTyped } from "svelte";
15
+ declare const __propDef: {
16
+ props: {
17
+ title?: string;
18
+ items?: any[];
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {};
24
+ };
25
+ export {};
@@ -0,0 +1,23 @@
1
+ /** @typedef {typeof __propDef.props} SurveyProps */
2
+ /** @typedef {typeof __propDef.events} SurveyEvents */
3
+ /** @typedef {typeof __propDef.slots} SurveySlots */
4
+ export default class Survey extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {}> {
9
+ }
10
+ export type SurveyProps = typeof __propDef.props;
11
+ export type SurveyEvents = typeof __propDef.events;
12
+ export type SurveySlots = typeof __propDef.slots;
13
+ import { SvelteComponentTyped } from "svelte";
14
+ declare const __propDef: {
15
+ props: {
16
+ [x: string]: never;
17
+ };
18
+ events: {
19
+ [evt: string]: CustomEvent<any>;
20
+ };
21
+ slots: {};
22
+ };
23
+ export {};
@@ -0,0 +1 @@
1
+ export default function initSurvey(): void;
@@ -0,0 +1,31 @@
1
+ /** @typedef {typeof __propDef.props} TabProps */
2
+ /** @typedef {typeof __propDef.events} TabEvents */
3
+ /** @typedef {typeof __propDef.slots} TabSlots */
4
+ export default class Tab extends SvelteComponentTyped<{
5
+ title?: string;
6
+ id?: string;
7
+ hideTitle?: boolean;
8
+ }, {
9
+ [evt: string]: CustomEvent<any>;
10
+ }, {
11
+ default: {};
12
+ }> {
13
+ }
14
+ export type TabProps = typeof __propDef.props;
15
+ export type TabEvents = typeof __propDef.events;
16
+ export type TabSlots = typeof __propDef.slots;
17
+ import { SvelteComponentTyped } from "svelte";
18
+ declare const __propDef: {
19
+ props: {
20
+ title?: string;
21
+ id?: string;
22
+ hideTitle?: boolean;
23
+ };
24
+ events: {
25
+ [evt: string]: CustomEvent<any>;
26
+ };
27
+ slots: {
28
+ default: {};
29
+ };
30
+ };
31
+ export {};
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} TabsProps */
2
+ /** @typedef {typeof __propDef.events} TabsEvents */
3
+ /** @typedef {typeof __propDef.slots} TabsSlots */
4
+ export default class Tabs extends SvelteComponentTyped<{
5
+ compact?: boolean;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type TabsProps = typeof __propDef.props;
13
+ export type TabsEvents = typeof __propDef.events;
14
+ export type TabsSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ compact?: boolean;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -5,8 +5,8 @@ export default class TitleBlock extends SvelteComponentTyped<{
5
5
  theme?: "light" | "dark" | "lightblue";
6
6
  background?: string;
7
7
  themeOverrides?: any;
8
- title?: string;
9
8
  meta?: any[];
9
+ title?: string;
10
10
  natStatBadge?: boolean;
11
11
  censusLogo?: boolean;
12
12
  }, {
@@ -26,8 +26,8 @@ declare const __propDef: {
26
26
  theme?: "light" | "dark" | "lightblue";
27
27
  background?: string;
28
28
  themeOverrides?: object;
29
- title?: string;
30
29
  meta?: any[];
30
+ title?: string;
31
31
  natStatBadge?: boolean;
32
32
  censusLogo?: boolean;
33
33
  };