quirk-ui 0.0.198 → 0.0.199

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.
@@ -127,7 +127,7 @@ function Ge({
127
127
  role: "menuitem",
128
128
  children: [
129
129
  i.label,
130
- !i.isExternal && /* @__PURE__ */ n(U, { className: e.newTabIcon, size: 16 })
130
+ i.isExternal && /* @__PURE__ */ n(U, { className: e.newTabIcon, size: 16 })
131
131
  ]
132
132
  }
133
133
  ) : /* @__PURE__ */ _(
@@ -1,22 +1,11 @@
1
1
  import { default as React } from 'react';
2
- import { Variant as ButtonVariant } from '../CallToAction';
3
- import { NavItem } from '../NavBar';
2
+ import { NavItem, UtilityItem } from '../NavBar';
4
3
  declare const alignmentClassMap: {
5
4
  readonly left: string;
6
5
  readonly center: string;
7
6
  readonly right: string;
8
7
  };
9
8
  type Alignment = keyof typeof alignmentClassMap;
10
- export type UtilityItem = {
11
- _key?: string;
12
- label: string;
13
- ariaLabel: string;
14
- href?: string;
15
- variant?: ButtonVariant;
16
- displayType?: "text" | "image";
17
- imageSrc?: string;
18
- imageAlt?: string;
19
- };
20
9
  type FooterProps = {
21
10
  title?: string;
22
11
  primaryInfo?: React.ReactNode;
@@ -20,6 +20,7 @@ export type UtilityItem = {
20
20
  displayType?: "text" | "image";
21
21
  imageSrc?: string;
22
22
  imageAlt?: string;
23
+ icon?: string;
23
24
  };
24
25
  export type NavItem = {
25
26
  _key?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quirk-ui",
3
3
  "private": false,
4
- "version": "0.0.198",
4
+ "version": "0.0.199",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {