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.
- package/LICENSE +21 -0
- package/README.md +10 -0
- package/dist/cjs/dealers-a8306eb8.js +15 -0
- package/dist/cjs/index-b1631310.js +1219 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/proto-button-d349703f.js +9 -0
- package/dist/cjs/proto-daisy-ui.cjs.entry.js +25 -0
- package/dist/cjs/proto-daisy-ui.cjs.js +19 -0
- package/dist/cjs/proto-demo.cjs.entry.js +20 -0
- package/dist/cjs/proto-hero.cjs.entry.js +21 -0
- package/dist/cjs/proto-home.cjs.entry.js +24 -0
- package/dist/cjs/proto-list.cjs.entry.js +58 -0
- package/dist/cjs/proto-shell.cjs.entry.js +120 -0
- package/dist/cjs/store-74bb495b.js +332 -0
- package/dist/collection/collection-manifest.json +17 -0
- package/dist/collection/components/functional/index.js +1 -0
- package/dist/collection/components/functional/proto-button.js +6 -0
- package/dist/collection/components/proto-daisy-ui/proto-daisy-ui.css +2023 -0
- package/dist/collection/components/proto-daisy-ui/proto-daisy-ui.js +20 -0
- package/dist/collection/components/proto-demo/proto-demo.css +0 -0
- package/dist/collection/components/proto-demo/proto-demo.js +14 -0
- package/dist/collection/components/proto-hero/proto-hero.css +3 -0
- package/dist/collection/components/proto-hero/proto-hero.js +43 -0
- package/dist/collection/components/proto-home/proto-home.css +0 -0
- package/dist/collection/components/proto-home/proto-home.js +26 -0
- package/dist/collection/components/proto-list/proto-list.css +0 -0
- package/dist/collection/components/proto-list/proto-list.js +64 -0
- package/dist/collection/components/proto-shell/proto-footer.js +20 -0
- package/dist/collection/components/proto-shell/proto-header.js +81 -0
- package/dist/collection/components/proto-shell/proto-shell.css +3 -0
- package/dist/collection/components/proto-shell/proto-shell.js +47 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/bag.js +23 -0
- package/dist/collection/utils/dealers.js +13 -0
- package/dist/collection/utils/index.js +5 -0
- package/dist/collection/utils/store.js +115 -0
- package/dist/collection/utils/tw-version.js +4 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/components/dealers.js +13 -0
- package/dist/components/index.d.ts +27 -0
- package/dist/components/index.js +7 -0
- package/dist/components/proto-button.js +7 -0
- package/dist/components/proto-daisy-ui.d.ts +11 -0
- package/dist/components/proto-daisy-ui.js +39 -0
- package/dist/components/proto-demo.d.ts +11 -0
- package/dist/components/proto-demo.js +33 -0
- package/dist/components/proto-hero.d.ts +11 -0
- package/dist/components/proto-hero.js +36 -0
- package/dist/components/proto-home.d.ts +11 -0
- package/dist/components/proto-home.js +37 -0
- package/dist/components/proto-list.d.ts +11 -0
- package/dist/components/proto-list.js +71 -0
- package/dist/components/proto-shell.d.ts +11 -0
- package/dist/components/proto-shell.js +135 -0
- package/dist/components/store.js +329 -0
- package/dist/esm/dealers-752f9914.js +13 -0
- package/dist/esm/index-832d1e38.js +1192 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/proto-button-c929a8fb.js +7 -0
- package/dist/esm/proto-daisy-ui.entry.js +21 -0
- package/dist/esm/proto-daisy-ui.js +17 -0
- package/dist/esm/proto-demo.entry.js +16 -0
- package/dist/esm/proto-hero.entry.js +17 -0
- package/dist/esm/proto-home.entry.js +20 -0
- package/dist/esm/proto-list.entry.js +54 -0
- package/dist/esm/proto-shell.entry.js +116 -0
- package/dist/esm/store-6cbf6338.js +329 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/proto-daisy-ui/index.esm.js +0 -0
- package/dist/proto-daisy-ui/p-0cbc124a.js +1 -0
- package/dist/proto-daisy-ui/p-4c1c4093.entry.js +1 -0
- package/dist/proto-daisy-ui/p-78473e80.js +1 -0
- package/dist/proto-daisy-ui/p-82c6ae5e.entry.js +1 -0
- package/dist/proto-daisy-ui/p-98b063cb.js +1 -0
- package/dist/proto-daisy-ui/p-bba460f2.entry.js +1 -0
- package/dist/proto-daisy-ui/p-d7d5a047.entry.js +1 -0
- package/dist/proto-daisy-ui/p-e274e36c.entry.js +1 -0
- package/dist/proto-daisy-ui/p-eeb6284e.entry.js +1 -0
- package/dist/proto-daisy-ui/p-f445bcf9.js +2 -0
- package/dist/proto-daisy-ui/proto-daisy-ui.esm.js +1 -0
- package/dist/types/components/functional/index.d.ts +1 -0
- package/dist/types/components/functional/proto-button.d.ts +4 -0
- package/dist/types/components/proto-daisy-ui/proto-daisy-ui.d.ts +4 -0
- package/dist/types/components/proto-demo/proto-demo.d.ts +3 -0
- package/dist/types/components/proto-hero/proto-hero.d.ts +4 -0
- package/dist/types/components/proto-home/proto-home.d.ts +3 -0
- package/dist/types/components/proto-list/proto-list.d.ts +3 -0
- package/dist/types/components/proto-shell/proto-footer.d.ts +4 -0
- package/dist/types/components/proto-shell/proto-header.d.ts +4 -0
- package/dist/types/components/proto-shell/proto-shell.d.ts +4 -0
- package/dist/types/components.d.ts +106 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/utils/bag.d.ts +10 -0
- package/dist/types/utils/dealers.d.ts +6 -0
- package/dist/types/utils/index.d.ts +5 -0
- package/dist/types/utils/store.d.ts +12 -0
- package/dist/types/utils/tw-version.d.ts +3 -0
- package/dist/types/utils/types.d.ts +8 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- 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,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;
|
package/loader/cdn.js
ADDED
|
@@ -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>;
|
package/loader/index.js
ADDED
|
@@ -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';
|
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
|
+
}
|