@martin.ivanov.brandcompete/bcq-ui 3.0.1 → 3.1.0
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/README.md +111 -4
- package/lib/bcq-ui-components.d.ts +1513 -0
- package/lib/bcq-ui.css +7120 -0
- package/lib/bcq-ui.d.ts +25 -0
- package/lib/bcq-ui.js +12780 -0
- package/lib/bcq-ui.min.css +8 -0
- package/lib/bcq-ui.min.d.ts +25 -0
- package/lib/bcq-ui.min.js +8 -0
- package/lib/variables.css +353 -0
- package/package.json +38 -19
- package/src/bcq-ui-components.d.ts +1506 -0
- package/src/components/install-bcq/index.vue +4 -1
- package/src/lib.d.ts +18 -0
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<bc-container :class="[baseCss]">
|
|
3
3
|
<syntax-highlight title="Install BCQ, VirtualScroller, Mitt and the MDI Icon Font" url="/code/install-bcq-ui.md" language="bash" />
|
|
4
|
-
<syntax-highlight title="Add to your main.js" url="/code/bcq-ui-main-js.md" language="javascript" />
|
|
4
|
+
<syntax-highlight title="ES6: Add to your main.js" url="/code/bcq-ui-main-js.md" language="javascript" />
|
|
5
|
+
<syntax-highlight title="TypeScript: add to your main.ts instead of main.js" url="/code/bcq-ui-main-ts.md" language="typescript" />
|
|
6
|
+
<syntax-highlight title="TypeScript: create src/bcq-ui-env.d.ts (types this.$emitter)" url="/code/bcq-ui-env-d-ts.md" language="typescript" />
|
|
7
|
+
<syntax-highlight title="TypeScript: create src/vue-virtual-scroller.d.ts (the package ships without types)" url="/code/vue-virtual-scroller-d-ts.md" language="typescript" />
|
|
5
8
|
<syntax-highlight title="Add to your App.vue" url="/code/layout.md" language="xml" />
|
|
6
9
|
</bc-container>
|
|
7
10
|
</template>
|
package/src/lib.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Type declarations for Becquerel UI.
|
|
2
|
+
// Used for the unbundled entry (src/lib.js) and copied by `npm run build:bundle`
|
|
3
|
+
// to lib/bcq-ui.d.ts and lib/bcq-ui.min.d.ts for the bundled files (together with bcq-ui-components.d.ts).
|
|
4
|
+
|
|
5
|
+
import type { Plugin } from 'vue'
|
|
6
|
+
// types for all <bc-*> components in templates (generated by bcq-cli/types.cjs)
|
|
7
|
+
import './bcq-ui-components'
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Becquerel UI Vue plugin. Registers all `Bc*` components and directives globally.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* import BcqUi from 'bcq-ui'
|
|
14
|
+
* app.use(BcqUi)
|
|
15
|
+
*/
|
|
16
|
+
declare const BcqUi: Plugin
|
|
17
|
+
|
|
18
|
+
export default BcqUi
|