@nubisco/ui 2.2.0 → 2.4.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 CHANGED
@@ -198,11 +198,13 @@ Most component libraries impose styling opinions that are hard to override. Nubi
198
198
 
199
199
  ### Data Display
200
200
 
201
- | Component | Description |
202
- | :----------- | :-------------------------------------------- |
203
- | `NbBadge` | Status badge/pill with 7 colour variants |
204
- | `NbIcon` | SVG icon component with virtual module loader |
205
- | `NbJsonTree` | Collapsible JSON tree viewer |
201
+ | Component | Description |
202
+ | :---------------------- | :------------------------------------------------------------------------------------------------------ |
203
+ | `NbBadge` | Status badge/pill with 7 colour variants |
204
+ | `NbIcon` | SVG icon component with virtual module loader |
205
+ | `NbJsonTree` | Collapsible JSON tree viewer |
206
+ | `NbNubiscoMark` | The Nubisco corporate mark, inline SVG. Also shipped as a file at `@nubisco/ui/assets/nubisco-mark.svg` |
207
+ | `NbNubiscoPlatformMark` | The Nubisco Platform product mark, inline SVG. Also at `@nubisco/ui/assets/nubisco-platform-mark.svg` |
206
208
 
207
209
  ### Navigation
208
210
 
@@ -0,0 +1,16 @@
1
+ interface INubiscoMarkProps {
2
+ /**
3
+ * Rendered edge length. A number is taken as pixels; a string is passed to
4
+ * CSS as given, so `'1.5rem'` and `'100%'` both work.
5
+ */
6
+ size?: number | string
7
+ /**
8
+ * Accessible name. Provide it when the mark carries meaning on its own (a
9
+ * bare logo link, a splash screen). Omit it when adjacent text already names
10
+ * the product, and the mark is hidden from assistive technology instead of
11
+ * being announced twice.
12
+ */
13
+ title?: string
14
+ }
15
+
16
+ export { INubiscoMarkProps }
@@ -0,0 +1,8 @@
1
+ import type { INubiscoMarkProps } from './NubiscoMark.d';
2
+ declare const __VLS_export: import("vue").DefineComponent<INubiscoMarkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<INubiscoMarkProps> & Readonly<{}>, {
3
+ size: number | string;
4
+ title: string;
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ //# sourceMappingURL=NubiscoMark.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NubiscoMark.vue.d.ts","sourceRoot":"","sources":["../../src/components/NubiscoMark.vue"],"names":[],"mappings":"AAmQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAoXxD,QAAA,MAAM,YAAY;;;6EAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,8 @@
1
+ import type { INubiscoMarkProps } from './NubiscoMark.d';
2
+ declare const __VLS_export: import("vue").DefineComponent<INubiscoMarkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<INubiscoMarkProps> & Readonly<{}>, {
3
+ size: number | string;
4
+ title: string;
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
8
+ //# sourceMappingURL=NubiscoPlatformMark.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NubiscoPlatformMark.vue.d.ts","sourceRoot":"","sources":["../../src/components/NubiscoPlatformMark.vue"],"names":[],"mappings":"AA0PA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AA4WxD,QAAA,MAAM,YAAY;;;6EAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserMenu.vue.d.ts","sourceRoot":"","sources":["../../src/components/UserMenu.vue"],"names":[],"mappings":"AAufA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAiHpE,iBAAS,MAAM,SASd;AAED,iBAAS,KAAK,SAIb;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AAK,GAAG,CAAA;CAAE,CAAC;AAQ9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;;iBAwIf,GAAG;;AADlB,wBAMC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;;iBA4If,GAAG;;AADlB,wBAMC"}
package/dist/global.d.ts CHANGED
@@ -42,6 +42,8 @@ import MenuDivider from './components/MenuDivider.vue'
42
42
  import MenuItem from './components/MenuItem.vue'
43
43
  import Message from './components/Message.vue'
44
44
  import Modal from './components/Modal.vue'
45
+ import NubiscoMark from './components/NubiscoMark.vue'
46
+ import NubiscoPlatformMark from './components/NubiscoPlatformMark.vue'
45
47
  import NumberInput from './components/NumberInput.vue'
46
48
  import Pagination from './components/Pagination.vue'
47
49
  import Panel from './components/Panel.vue'
@@ -67,7 +69,6 @@ import Toast from './components/Toast.vue'
67
69
  import Tree from './components/Tree.vue'
68
70
  import TreeNode from './components/TreeNode.vue'
69
71
  import UserMenu from './components/UserMenu.vue'
70
- import UserMenuMark from './components/UserMenuMark.vue'
71
72
  import Walkthrough from './components/Walkthrough.vue'
72
73
 
73
74
  declare module 'vue' {
@@ -114,6 +115,8 @@ declare module 'vue' {
114
115
  NbMenuItem: typeof MenuItem
115
116
  NbMessage: typeof Message
116
117
  NbModal: typeof Modal
118
+ NbNubiscoMark: typeof NubiscoMark
119
+ NbNubiscoPlatformMark: typeof NubiscoPlatformMark
117
120
  NbNumberInput: typeof NumberInput
118
121
  NbPagination: typeof Pagination
119
122
  NbPanel: typeof Panel
@@ -139,7 +142,6 @@ declare module 'vue' {
139
142
  NbTree: typeof Tree
140
143
  NbTreeNode: typeof TreeNode
141
144
  NbUserMenu: typeof UserMenu
142
- NbUserMenuMark: typeof UserMenuMark
143
145
  NbWalkthrough: typeof Walkthrough
144
146
  }
145
147
  }