@martin.ivanov.brandcompete/bcq-ui 3.0.0 → 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.
@@ -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>
@@ -44,7 +44,7 @@ export { meta as contextMenu } from '../../public/data/pages/ui/context-menu.jso
44
44
  export { meta as dataTable } from '../../public/data/pages/ui/data-table.json'
45
45
  export { meta as dialogBox } from '../../public/data/pages/ui/dialog-box.json'
46
46
  export { meta as divider } from '../../public/data/pages/ui/divider.json'
47
- export { meta as editor } from '../../public/data/pages/ui/editor.json'
47
+ // export { meta as editor } from '../../public/data/pages/ui/editor.json'
48
48
  export { meta as empty } from '../../public/data/pages/ui/empty.json'
49
49
  export { meta as flag } from '../../public/data/pages/ui/flag.json'
50
50
  export { meta as icon } from '../../public/data/pages/ui/icon.json'
@@ -54,7 +54,7 @@ import PageBcContextMenu from '../pages/ui/context-menu.vue'
54
54
  import PageBcDataTable from '../pages/ui/data-table.vue'
55
55
  import PageBcDialogBox from '../pages/ui/dialog-box.vue'
56
56
  import PageBcDivider from '../pages/ui/divider.vue'
57
- import PageBcEditor from '../pages/ui/editor.vue'
57
+ // import PageBcEditor from '../pages/ui/editor.vue'
58
58
  import PageBcEmpty from '../pages/ui/empty.vue'
59
59
  import PageBcFlag from '../pages/ui/flag.vue'
60
60
  import PageBcIcon from '../pages/ui/icon.vue'
@@ -507,14 +507,6 @@ const routes = [{
507
507
  icon: 'format-line-style',
508
508
  name: 'PageBcDivider',
509
509
  meta: meta.divider
510
- }, {
511
- path: '/ui/editor',
512
- component: PageBcEditor,
513
- render: true,
514
- category: 'ui',
515
- icon: 'note-edit',
516
- name: 'PageBcEditor',
517
- meta: meta.editor
518
510
  }, {
519
511
  path: '/ui/empty',
520
512
  component: PageBcEmpty,
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