proto-daisy-ui 0.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 (115) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +10 -0
  3. package/dist/cjs/dealers-a8306eb8.js +15 -0
  4. package/dist/cjs/index-b1631310.js +1219 -0
  5. package/dist/cjs/index.cjs.js +2 -0
  6. package/dist/cjs/loader.cjs.js +21 -0
  7. package/dist/cjs/proto-button-d349703f.js +9 -0
  8. package/dist/cjs/proto-daisy-ui.cjs.entry.js +25 -0
  9. package/dist/cjs/proto-daisy-ui.cjs.js +19 -0
  10. package/dist/cjs/proto-demo.cjs.entry.js +20 -0
  11. package/dist/cjs/proto-hero.cjs.entry.js +21 -0
  12. package/dist/cjs/proto-home.cjs.entry.js +24 -0
  13. package/dist/cjs/proto-list.cjs.entry.js +58 -0
  14. package/dist/cjs/proto-shell.cjs.entry.js +120 -0
  15. package/dist/cjs/store-74bb495b.js +332 -0
  16. package/dist/collection/collection-manifest.json +17 -0
  17. package/dist/collection/components/functional/index.js +1 -0
  18. package/dist/collection/components/functional/proto-button.js +6 -0
  19. package/dist/collection/components/proto-daisy-ui/proto-daisy-ui.css +2023 -0
  20. package/dist/collection/components/proto-daisy-ui/proto-daisy-ui.js +20 -0
  21. package/dist/collection/components/proto-demo/proto-demo.css +0 -0
  22. package/dist/collection/components/proto-demo/proto-demo.js +14 -0
  23. package/dist/collection/components/proto-hero/proto-hero.css +3 -0
  24. package/dist/collection/components/proto-hero/proto-hero.js +43 -0
  25. package/dist/collection/components/proto-home/proto-home.css +0 -0
  26. package/dist/collection/components/proto-home/proto-home.js +26 -0
  27. package/dist/collection/components/proto-list/proto-list.css +0 -0
  28. package/dist/collection/components/proto-list/proto-list.js +64 -0
  29. package/dist/collection/components/proto-shell/proto-footer.js +20 -0
  30. package/dist/collection/components/proto-shell/proto-header.js +81 -0
  31. package/dist/collection/components/proto-shell/proto-shell.css +3 -0
  32. package/dist/collection/components/proto-shell/proto-shell.js +47 -0
  33. package/dist/collection/index.js +1 -0
  34. package/dist/collection/utils/bag.js +23 -0
  35. package/dist/collection/utils/dealers.js +13 -0
  36. package/dist/collection/utils/index.js +5 -0
  37. package/dist/collection/utils/store.js +115 -0
  38. package/dist/collection/utils/tw-version.js +4 -0
  39. package/dist/collection/utils/types.js +1 -0
  40. package/dist/components/dealers.js +13 -0
  41. package/dist/components/index.d.ts +27 -0
  42. package/dist/components/index.js +7 -0
  43. package/dist/components/proto-button.js +7 -0
  44. package/dist/components/proto-daisy-ui.d.ts +11 -0
  45. package/dist/components/proto-daisy-ui.js +39 -0
  46. package/dist/components/proto-demo.d.ts +11 -0
  47. package/dist/components/proto-demo.js +33 -0
  48. package/dist/components/proto-hero.d.ts +11 -0
  49. package/dist/components/proto-hero.js +36 -0
  50. package/dist/components/proto-home.d.ts +11 -0
  51. package/dist/components/proto-home.js +37 -0
  52. package/dist/components/proto-list.d.ts +11 -0
  53. package/dist/components/proto-list.js +71 -0
  54. package/dist/components/proto-shell.d.ts +11 -0
  55. package/dist/components/proto-shell.js +135 -0
  56. package/dist/components/store.js +329 -0
  57. package/dist/esm/dealers-752f9914.js +13 -0
  58. package/dist/esm/index-832d1e38.js +1192 -0
  59. package/dist/esm/index.js +1 -0
  60. package/dist/esm/loader.js +17 -0
  61. package/dist/esm/polyfills/core-js.js +11 -0
  62. package/dist/esm/polyfills/css-shim.js +1 -0
  63. package/dist/esm/polyfills/dom.js +79 -0
  64. package/dist/esm/polyfills/es5-html-element.js +1 -0
  65. package/dist/esm/polyfills/index.js +34 -0
  66. package/dist/esm/polyfills/system.js +6 -0
  67. package/dist/esm/proto-button-c929a8fb.js +7 -0
  68. package/dist/esm/proto-daisy-ui.entry.js +21 -0
  69. package/dist/esm/proto-daisy-ui.js +17 -0
  70. package/dist/esm/proto-demo.entry.js +16 -0
  71. package/dist/esm/proto-hero.entry.js +17 -0
  72. package/dist/esm/proto-home.entry.js +20 -0
  73. package/dist/esm/proto-list.entry.js +54 -0
  74. package/dist/esm/proto-shell.entry.js +116 -0
  75. package/dist/esm/store-6cbf6338.js +329 -0
  76. package/dist/index.cjs.js +1 -0
  77. package/dist/index.js +1 -0
  78. package/dist/proto-daisy-ui/index.esm.js +0 -0
  79. package/dist/proto-daisy-ui/p-0cbc124a.js +1 -0
  80. package/dist/proto-daisy-ui/p-4c1c4093.entry.js +1 -0
  81. package/dist/proto-daisy-ui/p-78473e80.js +1 -0
  82. package/dist/proto-daisy-ui/p-82c6ae5e.entry.js +1 -0
  83. package/dist/proto-daisy-ui/p-98b063cb.js +1 -0
  84. package/dist/proto-daisy-ui/p-bba460f2.entry.js +1 -0
  85. package/dist/proto-daisy-ui/p-d7d5a047.entry.js +1 -0
  86. package/dist/proto-daisy-ui/p-e274e36c.entry.js +1 -0
  87. package/dist/proto-daisy-ui/p-eeb6284e.entry.js +1 -0
  88. package/dist/proto-daisy-ui/p-f445bcf9.js +2 -0
  89. package/dist/proto-daisy-ui/proto-daisy-ui.esm.js +1 -0
  90. package/dist/types/components/functional/index.d.ts +1 -0
  91. package/dist/types/components/functional/proto-button.d.ts +4 -0
  92. package/dist/types/components/proto-daisy-ui/proto-daisy-ui.d.ts +4 -0
  93. package/dist/types/components/proto-demo/proto-demo.d.ts +3 -0
  94. package/dist/types/components/proto-hero/proto-hero.d.ts +4 -0
  95. package/dist/types/components/proto-home/proto-home.d.ts +3 -0
  96. package/dist/types/components/proto-list/proto-list.d.ts +3 -0
  97. package/dist/types/components/proto-shell/proto-footer.d.ts +4 -0
  98. package/dist/types/components/proto-shell/proto-header.d.ts +4 -0
  99. package/dist/types/components/proto-shell/proto-shell.d.ts +4 -0
  100. package/dist/types/components.d.ts +106 -0
  101. package/dist/types/index.d.ts +1 -0
  102. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  103. package/dist/types/utils/bag.d.ts +10 -0
  104. package/dist/types/utils/dealers.d.ts +6 -0
  105. package/dist/types/utils/index.d.ts +5 -0
  106. package/dist/types/utils/store.d.ts +12 -0
  107. package/dist/types/utils/tw-version.d.ts +3 -0
  108. package/dist/types/utils/types.d.ts +8 -0
  109. package/loader/cdn.js +3 -0
  110. package/loader/index.cjs.js +3 -0
  111. package/loader/index.d.ts +12 -0
  112. package/loader/index.es2017.js +3 -0
  113. package/loader/index.js +4 -0
  114. package/loader/package.json +10 -0
  115. package/package.json +53 -0
@@ -0,0 +1,10 @@
1
+ declare const LOGIN = "login";
2
+ declare const MFE = "mfe";
3
+ declare const PICK = "pick";
4
+ declare const THEME = "theme";
5
+ declare const bag: {
6
+ get: (tag: string) => any;
7
+ store: (tag: string, value: any) => void;
8
+ };
9
+ export { bag, LOGIN, MFE, PICK, THEME };
10
+ export default bag;
@@ -0,0 +1,6 @@
1
+ declare const dealers: {
2
+ id: string;
3
+ name: string;
4
+ }[];
5
+ export { dealers };
6
+ export default dealers;
@@ -0,0 +1,5 @@
1
+ export * from './bag';
2
+ export * from './dealers';
3
+ export * from './store';
4
+ export * from './tw-version';
5
+ export * from './types';
@@ -0,0 +1,12 @@
1
+ import { AppStore } from './types';
2
+ declare const state: AppStore;
3
+ declare const emitter: import("mitt").Emitter<Record<import("mitt").EventType, unknown>>;
4
+ declare const actions: {
5
+ initApp: () => void;
6
+ refresh: () => void;
7
+ updateApp: (mfe: string) => void;
8
+ updatePick: (pick: number) => void;
9
+ updateTheme: (theme: string) => void;
10
+ };
11
+ export { state, actions, emitter };
12
+ export default state;
@@ -0,0 +1,3 @@
1
+ declare const TW_VERSION = "3.1.4";
2
+ export { TW_VERSION };
3
+ export default TW_VERSION;
@@ -0,0 +1,8 @@
1
+ interface AppStore {
2
+ login: boolean;
3
+ mfe: string;
4
+ pick: number;
5
+ theme: string;
6
+ themes: Array<string>;
7
+ }
8
+ export type { AppStore };
package/loader/cdn.js ADDED
@@ -0,0 +1,3 @@
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -0,0 +1,3 @@
1
+
2
+ module.exports = require('../dist/cjs/loader.cjs.js');
3
+ module.exports.applyPolyfills = function() { return Promise.resolve() };
@@ -0,0 +1,12 @@
1
+ export * from '../dist/types/components';
2
+ export interface CustomElementsDefineOptions {
3
+ exclude?: string[];
4
+ resourcesUrl?: string;
5
+ syncQueue?: boolean;
6
+ jmp?: (c: Function) => any;
7
+ raf?: (c: FrameRequestCallback) => number;
8
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
9
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
10
+ }
11
+ export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
12
+ export declare function applyPolyfills(): Promise<void>;
@@ -0,0 +1,3 @@
1
+
2
+ export * from '../dist/esm/polyfills/index.js';
3
+ export * from '../dist/esm/loader.js';
@@ -0,0 +1,4 @@
1
+
2
+ (function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
3
+ export * from '../dist/esm/polyfills/index.js';
4
+ export * from '../dist/esm/loader.js';
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "proto-daisy-ui-loader",
3
+ "typings": "./index.d.ts",
4
+ "module": "./index.js",
5
+ "main": "./index.cjs.js",
6
+ "jsnext:main": "./index.es2017.js",
7
+ "es2015": "./index.es2017.js",
8
+ "es2017": "./index.es2017.js",
9
+ "unpkg": "./cdn.js"
10
+ }
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "proto-daisy-ui",
3
+ "version": "0.0.2",
4
+ "description": "Stencil Component Starter",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.js",
7
+ "es2015": "dist/esm/index.mjs",
8
+ "es2017": "dist/esm/index.mjs",
9
+ "types": "dist/types/index.d.ts",
10
+ "collection": "dist/collection/collection-manifest.json",
11
+ "collection:main": "dist/collection/index.js",
12
+ "unpkg": "dist/proto-daisy-ui/proto-daisy-ui.esm.js",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/ionic-team/stencil-component-starter.git"
16
+ },
17
+ "files": [
18
+ "dist/",
19
+ "loader/"
20
+ ],
21
+ "scripts": {
22
+ "dev": "concurrently \"yarn:twx --watch\" \"yarn:start\"",
23
+ "twx": "sh .generate",
24
+ "build": "yarn twx; yarn format; stencil build --docs",
25
+ "start": "stencil build --dev --watch --serve",
26
+ "generate": "stencil generate",
27
+ "predeploy": "yarn build",
28
+ "deploy": "yarn publish --patch",
29
+ "spell": "cspell 'src/**/*.{ts,tsx,html,css,md}'",
30
+ "cc": "prettier --check src",
31
+ "format": "prettier --write src"
32
+ },
33
+ "dependencies": {
34
+ "@stencil/core": "2.17.0",
35
+ "@stencil/store": "2.0.0",
36
+ "mitt": "^3.0.0",
37
+ "tailwindcss": "3.1.4"
38
+ },
39
+ "devDependencies": {
40
+ "@types/jest": "28.1.3",
41
+ "autoprefixer": "10.4.7",
42
+ "concurrently": "7.2.2",
43
+ "cspell": "6.1.2",
44
+ "daisyui": "2.17.0",
45
+ "jest": "28.1.1",
46
+ "jest-cli": "28.1.1",
47
+ "postcss": "8.4.14",
48
+ "prettier": "2.7.1",
49
+ "prettier-plugin-tailwindcss": "0.1.11",
50
+ "proto-tailwindcss-clrs": "0.0.140"
51
+ },
52
+ "license": "MIT"
53
+ }