@dronico/droni-kit 1.0.1 → 1.0.2

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 (126) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +6 -1
  3. package/.github/workflows/release.yml +0 -28
  4. package/.storybook/main.ts +0 -19
  5. package/.storybook/preview.ts +0 -14
  6. package/.storybook/vitest.setup.ts +0 -9
  7. package/.vscode/extensions.json +0 -3
  8. package/index.html +0 -13
  9. package/public/vite.svg +0 -1
  10. package/release.config.ts +0 -23
  11. package/src/App.vue +0 -30
  12. package/src/assets/vue.svg +0 -1
  13. package/src/components/HelloWorld.vue +0 -41
  14. package/src/main.ts +0 -5
  15. package/src/stories/Button.stories.ts +0 -63
  16. package/src/stories/Button.vue +0 -48
  17. package/src/stories/Configure.mdx +0 -364
  18. package/src/stories/Header.stories.ts +0 -48
  19. package/src/stories/Header.vue +0 -37
  20. package/src/stories/Page.stories.ts +0 -38
  21. package/src/stories/Page.vue +0 -73
  22. package/src/stories/assets/accessibility.png +0 -0
  23. package/src/stories/assets/accessibility.svg +0 -1
  24. package/src/stories/assets/addon-library.png +0 -0
  25. package/src/stories/assets/assets.png +0 -0
  26. package/src/stories/assets/avif-test-image.avif +0 -0
  27. package/src/stories/assets/context.png +0 -0
  28. package/src/stories/assets/discord.svg +0 -1
  29. package/src/stories/assets/docs.png +0 -0
  30. package/src/stories/assets/figma-plugin.png +0 -0
  31. package/src/stories/assets/github.svg +0 -1
  32. package/src/stories/assets/share.png +0 -0
  33. package/src/stories/assets/styling.png +0 -0
  34. package/src/stories/assets/testing.png +0 -0
  35. package/src/stories/assets/theming.png +0 -0
  36. package/src/stories/assets/tutorials.svg +0 -1
  37. package/src/stories/assets/youtube.svg +0 -1
  38. package/src/stories/button.css +0 -30
  39. package/src/stories/header.css +0 -32
  40. package/src/stories/page.css +0 -68
  41. package/src/style.css +0 -79
  42. package/src/vite-env.d.ts +0 -1
  43. package/storybook-static/App.vue.d.ts +0 -2
  44. package/storybook-static/assets/Button-B2efaGtC.css +0 -1
  45. package/storybook-static/assets/Button-CoYrOF_8.js +0 -1
  46. package/storybook-static/assets/Button.stories-X_0VSq8O.js +0 -26
  47. package/storybook-static/assets/Color-YHDXOIA2-DLeC5Hg8.js +0 -1
  48. package/storybook-static/assets/Configure-bVvReBib.js +0 -165
  49. package/storybook-static/assets/DocsRenderer-CFRXHY34-DfQH6b5n.js +0 -26
  50. package/storybook-static/assets/Header-3jNfoSF5.js +0 -1
  51. package/storybook-static/assets/Header-Ck-SSN7O.css +0 -1
  52. package/storybook-static/assets/Header.stories-DKH58MAE.js +0 -11
  53. package/storybook-static/assets/Page-CeeQJVdd.css +0 -1
  54. package/storybook-static/assets/Page.stories-C8t25IEs.js +0 -17
  55. package/storybook-static/assets/accessibility-W_h2acOZ.png +0 -0
  56. package/storybook-static/assets/addon-library-BWUCAmyN.png +0 -0
  57. package/storybook-static/assets/context-C0qIqeS4.png +0 -0
  58. package/storybook-static/assets/docs---vsFbMi.png +0 -0
  59. package/storybook-static/assets/entry-preview-CZIIErml.js +0 -1
  60. package/storybook-static/assets/entry-preview-docs-VgQ3afV1.js +0 -16
  61. package/storybook-static/assets/figma-plugin-CH2hELiO.png +0 -0
  62. package/storybook-static/assets/iframe-Ck6AF3FG.js +0 -211
  63. package/storybook-static/assets/index-BDOojamX.js +0 -240
  64. package/storybook-static/assets/index-Bx-go_-4.js +0 -8
  65. package/storybook-static/assets/index-C8GcTUhO.js +0 -1
  66. package/storybook-static/assets/index-DCUO3UO8.js +0 -599
  67. package/storybook-static/assets/index-DrFu-skq.js +0 -6
  68. package/storybook-static/assets/preview-B8lJiyuQ.js +0 -34
  69. package/storybook-static/assets/preview-BBWR9nbA.js +0 -1
  70. package/storybook-static/assets/preview-BWzBA1C2.js +0 -396
  71. package/storybook-static/assets/preview-Bej7FSAj.js +0 -1
  72. package/storybook-static/assets/preview-CIRcjyVj.js +0 -1
  73. package/storybook-static/assets/preview-CvbIS5ZJ.js +0 -1
  74. package/storybook-static/assets/preview-CyK-uEc4.js +0 -2
  75. package/storybook-static/assets/preview-DD_OYowb.js +0 -1
  76. package/storybook-static/assets/preview-DGUiP6tS.js +0 -7
  77. package/storybook-static/assets/share-DGA-UcQf.png +0 -0
  78. package/storybook-static/assets/styling-Bk6zjRzU.png +0 -0
  79. package/storybook-static/assets/testing-cbzR9l9r.png +0 -0
  80. package/storybook-static/assets/theming-D6WJLNoW.png +0 -0
  81. package/storybook-static/assets/vue.esm-bundler-DJJpJwIm.js +0 -36
  82. package/storybook-static/components/HelloWorld.vue.d.ts +0 -5
  83. package/storybook-static/favicon.svg +0 -1
  84. package/storybook-static/iframe.html +0 -666
  85. package/storybook-static/index.html +0 -181
  86. package/storybook-static/index.json +0 -1
  87. package/storybook-static/main.d.ts +0 -0
  88. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  89. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  90. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  91. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  92. package/storybook-static/project.json +0 -1
  93. package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +0 -331
  94. package/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +0 -51
  95. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
  96. package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +0 -12
  97. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -402
  98. package/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js +0 -242
  99. package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +0 -3
  100. package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +0 -3
  101. package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +0 -3
  102. package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +0 -3
  103. package/storybook-static/sb-addons/onboarding-9/manager-bundle.js +0 -127
  104. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
  105. package/storybook-static/sb-addons/storybook-experimental-addon-test-11/manager-bundle.js +0 -223
  106. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  107. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  108. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  109. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  110. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  111. package/storybook-static/sb-manager/globals-module-info.js +0 -1051
  112. package/storybook-static/sb-manager/globals-runtime.js +0 -41591
  113. package/storybook-static/sb-manager/globals.js +0 -48
  114. package/storybook-static/sb-manager/runtime.js +0 -12048
  115. package/storybook-static/stories/Button.stories.d.ts +0 -42
  116. package/storybook-static/stories/Button.vue.d.ts +0 -26
  117. package/storybook-static/stories/Header.stories.d.ts +0 -59
  118. package/storybook-static/stories/Header.vue.d.ts +0 -15
  119. package/storybook-static/stories/Page.stories.d.ts +0 -19
  120. package/storybook-static/stories/Page.vue.d.ts +0 -2
  121. package/storybook-static/vite.svg +0 -1
  122. package/tsconfig.app.json +0 -14
  123. package/tsconfig.json +0 -7
  124. package/tsconfig.node.json +0 -24
  125. package/vite.config.ts +0 -28
  126. package/vitest.workspace.ts +0 -32
@@ -1,42 +0,0 @@
1
- import { StoryObj } from '@storybook/vue3';
2
- declare const meta: {
3
- title: string;
4
- component: import('vue').DefineComponent<{
5
- label: string;
6
- primary?: boolean;
7
- size?: "small" | "medium" | "large";
8
- backgroundColor?: string;
9
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
- click: (id: number) => any;
11
- }, string, import('vue').PublicProps, Readonly<{
12
- label: string;
13
- primary?: boolean;
14
- size?: "small" | "medium" | "large";
15
- backgroundColor?: string;
16
- }> & Readonly<{
17
- onClick?: ((id: number) => any) | undefined;
18
- }>, {
19
- primary: boolean;
20
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
21
- tags: string[];
22
- argTypes: {
23
- size: {
24
- control: "select";
25
- options: string[];
26
- };
27
- backgroundColor: {
28
- control: "color";
29
- };
30
- };
31
- args: {
32
- primary: false;
33
- onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
34
- };
35
- };
36
- export default meta;
37
- type Story = StoryObj<typeof meta>;
38
- export declare const Primary: Story;
39
- export declare const Secondary: Story;
40
- export declare const Large: Story;
41
- export declare const Small: Story;
42
- export declare const Select: Story;
@@ -1,26 +0,0 @@
1
- type __VLS_Props = {
2
- /**
3
- * The label of the button
4
- */
5
- label: string;
6
- /**
7
- * primary or secondary button
8
- */
9
- primary?: boolean;
10
- /**
11
- * size of the button
12
- */
13
- size?: 'small' | 'medium' | 'large';
14
- /**
15
- * background color of the button
16
- */
17
- backgroundColor?: string;
18
- };
19
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
- click: (id: number) => any;
21
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- onClick?: ((id: number) => any) | undefined;
23
- }>, {
24
- primary: boolean;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
26
- export default _default;
@@ -1,59 +0,0 @@
1
- import { StoryObj } from '@storybook/vue3';
2
- declare const meta: {
3
- title: string;
4
- component: import('vue').DefineComponent<{
5
- user: {
6
- name: string;
7
- } | null;
8
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
- createAccount: () => any;
10
- login: () => any;
11
- logout: () => any;
12
- }, string, import('vue').PublicProps, Readonly<{
13
- user: {
14
- name: string;
15
- } | null;
16
- }> & Readonly<{
17
- onCreateAccount?: (() => any) | undefined;
18
- onLogin?: (() => any) | undefined;
19
- onLogout?: (() => any) | undefined;
20
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
21
- render: (args: any) => {
22
- components: {
23
- MyHeader: import('vue').DefineComponent<{
24
- user: {
25
- name: string;
26
- } | null;
27
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
28
- createAccount: () => any;
29
- login: () => any;
30
- logout: () => any;
31
- }, string, import('vue').PublicProps, Readonly<{
32
- user: {
33
- name: string;
34
- } | null;
35
- }> & Readonly<{
36
- onCreateAccount?: (() => any) | undefined;
37
- onLogin?: (() => any) | undefined;
38
- onLogout?: (() => any) | undefined;
39
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
40
- };
41
- setup(this: void): {
42
- args: any;
43
- };
44
- template: string;
45
- };
46
- parameters: {
47
- layout: string;
48
- };
49
- args: {
50
- onLogin: import('@vitest/spy').Mock<(...args: any[]) => any>;
51
- onLogout: import('@vitest/spy').Mock<(...args: any[]) => any>;
52
- onCreateAccount: import('@vitest/spy').Mock<(...args: any[]) => any>;
53
- };
54
- tags: string[];
55
- };
56
- export default meta;
57
- type Story = StoryObj<typeof meta>;
58
- export declare const LoggedIn: Story;
59
- export declare const LoggedOut: Story;
@@ -1,15 +0,0 @@
1
- type __VLS_Props = {
2
- user: {
3
- name: string;
4
- } | null;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
7
- createAccount: () => any;
8
- login: () => any;
9
- logout: () => any;
10
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
- onCreateAccount?: (() => any) | undefined;
12
- onLogin?: (() => any) | undefined;
13
- onLogout?: (() => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
15
- export default _default;
@@ -1,19 +0,0 @@
1
- import { StoryObj } from '@storybook/vue3';
2
- declare const meta: {
3
- title: string;
4
- component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
5
- render: () => {
6
- components: {
7
- MyPage: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
8
- };
9
- template: string;
10
- };
11
- parameters: {
12
- layout: string;
13
- };
14
- tags: string[];
15
- };
16
- export default meta;
17
- type Story = StoryObj<typeof meta>;
18
- export declare const LoggedIn: Story;
19
- export declare const LoggedOut: Story;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
2
- export default _default;
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/tsconfig.app.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "extends": "@vue/tsconfig/tsconfig.dom.json",
3
- "compilerOptions": {
4
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
5
-
6
- /* Linting */
7
- "strict": true,
8
- "noUnusedLocals": true,
9
- "noUnusedParameters": true,
10
- "noFallthroughCasesInSwitch": true,
11
- "noUncheckedSideEffectImports": true
12
- },
13
- "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
14
- }
package/tsconfig.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "files": [],
3
- "references": [
4
- { "path": "./tsconfig.app.json" },
5
- { "path": "./tsconfig.node.json" }
6
- ]
7
- }
@@ -1,24 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
4
- "target": "ES2022",
5
- "lib": ["ES2023"],
6
- "module": "ESNext",
7
- "skipLibCheck": true,
8
-
9
- /* Bundler mode */
10
- "moduleResolution": "bundler",
11
- "allowImportingTsExtensions": true,
12
- "isolatedModules": true,
13
- "moduleDetection": "force",
14
- "noEmit": true,
15
-
16
- /* Linting */
17
- "strict": true,
18
- "noUnusedLocals": true,
19
- "noUnusedParameters": true,
20
- "noFallthroughCasesInSwitch": true,
21
- "noUncheckedSideEffectImports": true
22
- },
23
- "include": ["vite.config.ts"]
24
- }
package/vite.config.ts DELETED
@@ -1,28 +0,0 @@
1
- import { defineConfig } from 'vite'
2
- import vue from '@vitejs/plugin-vue'
3
- import dts from 'vite-plugin-dts'
4
-
5
- // https://vite.dev/config/
6
- export default defineConfig({
7
- plugins: [
8
- vue(),
9
- dts({ tsconfigPath: './tsconfig.app.json' })
10
- ],
11
- build: {
12
- lib: {
13
- entry: './src/main.ts',
14
- name: 'droni-kit',
15
- fileName: 'droni-kit',
16
- formats: ['es', 'umd']
17
- },
18
- rollupOptions: {
19
- external: ['vue'],
20
- output: {
21
- globals: {
22
- vue: 'Vue'
23
- },
24
- dir: 'dist'
25
- }
26
- }
27
- },
28
- })
@@ -1,32 +0,0 @@
1
- import path from 'node:path';
2
- import { fileURLToPath } from 'node:url';
3
-
4
- import { defineWorkspace } from 'vitest/config';
5
-
6
- import { storybookTest } from '@storybook/experimental-addon-test/vitest-plugin';
7
-
8
- const dirname =
9
- typeof __dirname !== 'undefined' ? __dirname : path.dirname(fileURLToPath(import.meta.url));
10
-
11
- // More info at: https://storybook.js.org/docs/writing-tests/test-addon
12
- export default defineWorkspace([
13
- 'vite.config.ts',
14
- {
15
- extends: 'vite.config.ts',
16
- plugins: [
17
- // The plugin will run tests for the stories defined in your Storybook config
18
- // See options at: https://storybook.js.org/docs/writing-tests/test-addon#storybooktest
19
- storybookTest({ configDir: path.join(dirname, '.storybook') }),
20
- ],
21
- test: {
22
- name: 'storybook',
23
- browser: {
24
- enabled: true,
25
- headless: true,
26
- name: 'chromium',
27
- provider: 'playwright'
28
- },
29
- setupFiles: ['.storybook/vitest.setup.ts'],
30
- },
31
- },
32
- ]);