@oslokommune/punkt-react 19.18.0 → 19.18.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/CHANGELOG.md +32 -0
- package/dist/_virtual/_@oxc-project_runtime@0.154.0/helpers/esm/defineProperty.js +12 -0
- package/dist/_virtual/_@oxc-project_runtime@0.154.0/helpers/esm/toPrimitive.js +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.154.0/helpers/esm/toPropertyKey.js +9 -0
- package/dist/_virtual/_@oxc-project_runtime@0.154.0/helpers/esm/typeof.js +11 -0
- package/dist/components/calendar/CalendarGrid.d.ts +1 -1
- package/dist/components/calendar/CalendarNav.d.ts +1 -1
- package/dist/components/combobox/ComboboxInput.d.ts +1 -1
- package/dist/components/combobox/ComboboxTags.d.ts +2 -2
- package/dist/components/combobox/Listbox.d.ts +1 -1
- package/dist/components/datepicker/DateTags.d.ts +1 -1
- package/dist/components/datepicker/DatepickerInputs.d.ts +1 -1
- package/dist/components/datepicker/DatepickerPopup.d.ts +1 -1
- package/dist/components/fileupload/Subcomponents.d.ts +6 -6
- package/dist/components/fileupload/types.js +6 -8
- package/dist/components/header-menu/HeaderMenu.d.ts +1 -1
- package/dist/components/icon/Icon.js +7 -1
- package/dist/components/linkcard/LinkCard.d.ts +1 -1
- package/dist/components/messagebox/Messagebox.js +24 -25
- package/dist/components/stepper/Step.d.ts +1 -1
- package/dist/components/strings/PktStringsProvider.d.ts +1 -1
- package/dist/components/table/Table.d.ts +1 -1
- package/dist/components/table/TableBody.d.ts +1 -1
- package/dist/components/table/TableDataCell.d.ts +1 -1
- package/dist/components/table/TableHeader.d.ts +1 -1
- package/dist/components/table/TableHeaderCell.d.ts +1 -1
- package/dist/components/table/TableRow.d.ts +1 -1
- package/dist/punkt-react.cjs +1 -1
- package/package.json +5 -4
- package/src/components/combobox/useComboboxState.ts +1 -0
- package/src/components/icon/Icon.test.tsx +22 -0
- package/src/components/icon/Icon.tsx +7 -1
- package/src/components/inputwrapper/InputWrapper.tsx +0 -2
- package/src/components/messagebox/Messagebox.tsx +2 -4
- package/src/components/stepper/Stepper.tsx +2 -0
- package/src/components/tabs/Tabs.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,38 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [19.18.2](https://github.com/oslokommune/punkt/compare/19.18.1...19.18.2) (2026-10-20)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
* Safari 15 i React, nettlesersjekk og lint i CI (#3775). - CI: Kjør lint i PR-workflowene, og rett feilene som lå på main
|
|
12
|
+
- CI: Sjekk at byggene ikke inneholder syntaks eller API-er Safari 15
|
|
13
|
+
mangler
|
|
14
|
+
- Elements: Ikke publiser typer for tester og dev-appen
|
|
15
|
+
- Elements: Fjern Babel, som ikke har vært i bruk siden Jest
|
|
16
|
+
- Elements: forwardSlots() venter til child er definert
|
|
17
|
+
- Elements: Riktige attributter på pkt-modal i header-demoene
|
|
18
|
+
- React: Bygg for Safari 15, så komponentene laster på eldre iPhoner
|
|
19
|
+
|
|
20
|
+
Fant masse greier med litt linting og sjekking av hva vi faktisk bygger
|
|
21
|
+
i pakkene våre. Litt mye krimskrams her, men alt hører på en måte sammen
|
|
22
|
+
under "kodeforbedringer"-paraplyen. Fant også ut at jeg kan få
|
|
23
|
+
forwardSlots til å feile dersom en child-komponent av en eller annen
|
|
24
|
+
grunn skulle drøye litt med å initialisere (dette skjer praktisk talt
|
|
25
|
+
aldri, men greit å ha en guard for det).
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [19.18.1](https://github.com/oslokommune/punkt/compare/19.18.0...19.18.1) (2026-10-20)
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
* Eldre iPhoner, blokkert lagring og ryddigere avhengigheter (#3774). - Elements: Bygg for Safari 15, så komponentene laster på eldre iPhoner
|
|
34
|
+
- Elements: Fjern avhengigheter som bare dev-appen bruker, og oppdater verktøy
|
|
35
|
+
- Elements og React: Ikoner krasjer ikke når sessionStorage er blokkert
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
|
|
8
40
|
## [19.18.0](https://github.com/oslokommune/punkt/compare/19.17.1...19.18.0) (2026-10-20)
|
|
9
41
|
|
|
10
42
|
---
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import e from "./toPropertyKey.js";
|
|
2
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
|
|
3
|
+
function t(t, n, r) {
|
|
4
|
+
return (n = e(n)) in t ? Object.defineProperty(t, n, {
|
|
5
|
+
value: r,
|
|
6
|
+
enumerable: !0,
|
|
7
|
+
configurable: !0,
|
|
8
|
+
writable: !0
|
|
9
|
+
}) : t[n] = r, t;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { t as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import e from "./typeof.js";
|
|
2
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
if (e(t) != "object" || !t) return t;
|
|
5
|
+
var r = t[Symbol.toPrimitive];
|
|
6
|
+
if (r !== void 0) {
|
|
7
|
+
var i = r.call(t, n || "default");
|
|
8
|
+
if (e(i) != "object") return i;
|
|
9
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
10
|
+
}
|
|
11
|
+
return (n === "string" ? String : Number)(t);
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { t as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./typeof.js";
|
|
2
|
+
import t from "./toPrimitive.js";
|
|
3
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
|
|
4
|
+
function n(n) {
|
|
5
|
+
var r = t(n, "string");
|
|
6
|
+
return e(r) == "symbol" ? r : r + "";
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { n as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
|
|
2
|
+
function e(t) {
|
|
3
|
+
"@babel/helpers - typeof";
|
|
4
|
+
return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
5
|
+
return typeof e;
|
|
6
|
+
} : function(e) {
|
|
7
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
8
|
+
}, e(t);
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ICalendarNavProps } from './types';
|
|
2
|
-
export declare const CalendarNav: ({ componentId, strings, year, month, earliest, latest, withcontrols, prevMonth, nextMonth, changeMonth, }: ICalendarNavProps) => import(
|
|
2
|
+
export declare const CalendarNav: ({ componentId, strings, year, month, earliest, latest, withcontrols, prevMonth, nextMonth, changeMonth, }: ICalendarNavProps) => import('react').JSX.Element;
|
|
@@ -2,5 +2,5 @@ import { IComboboxState } from './types';
|
|
|
2
2
|
interface IComboboxInputProps {
|
|
3
3
|
state: IComboboxState;
|
|
4
4
|
}
|
|
5
|
-
export declare const ComboboxInput: ({ state }: IComboboxInputProps) => import(
|
|
5
|
+
export declare const ComboboxInput: ({ state }: IComboboxInputProps) => import('react').JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -3,9 +3,9 @@ interface IComboboxTagsProps {
|
|
|
3
3
|
state: IComboboxState;
|
|
4
4
|
outside?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const ComboboxTags: ({ state, outside }: IComboboxTagsProps) => import(
|
|
6
|
+
export declare const ComboboxTags: ({ state, outside }: IComboboxTagsProps) => import('react').JSX.Element | null;
|
|
7
7
|
interface ISingleValueDisplayProps {
|
|
8
8
|
state: IComboboxState;
|
|
9
9
|
}
|
|
10
|
-
export declare const SingleValueDisplay: ({ state }: ISingleValueDisplayProps) => import(
|
|
10
|
+
export declare const SingleValueDisplay: ({ state }: ISingleValueDisplayProps) => import('react').JSX.Element | null;
|
|
11
11
|
export {};
|
|
@@ -2,5 +2,5 @@ import { IComboboxState } from './types';
|
|
|
2
2
|
interface IListboxProps {
|
|
3
3
|
state: IComboboxState;
|
|
4
4
|
}
|
|
5
|
-
export declare const Listbox: ({ state }: IListboxProps) => import(
|
|
5
|
+
export declare const Listbox: ({ state }: IListboxProps) => import('react').JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -5,5 +5,5 @@ interface DateTagsProps extends IPktStringsProps<'datepicker'> {
|
|
|
5
5
|
idBase: string;
|
|
6
6
|
onDateRemoved: (date: string) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const DateTags: ({ dates, dateformat, idBase, strings, onDateRemoved, }: DateTagsProps) => import(
|
|
8
|
+
export declare const DateTags: ({ dates, dateformat, idBase, strings, onDateRemoved, }: DateTagsProps) => import('react').JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -17,5 +17,5 @@ interface DatepickerPopupProps {
|
|
|
17
17
|
onDateSelected: (selected: string[]) => void;
|
|
18
18
|
onClose: () => void;
|
|
19
19
|
}
|
|
20
|
-
export declare const DatepickerPopup: ({ open, multiple, range, weeknumbers, withcontrols, selected, earliest, latest, excludedates, excludeweekdays, maxMultiple, currentmonth, today, inputRef, hasCounter, onDateSelected, onClose, }: DatepickerPopupProps) => import(
|
|
20
|
+
export declare const DatepickerPopup: ({ open, multiple, range, weeknumbers, withcontrols, selected, earliest, latest, excludedates, excludeweekdays, maxMultiple, currentmonth, today, inputRef, hasCounter, onDateSelected, onClose, }: DatepickerPopupProps) => import('react').JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -4,26 +4,26 @@ export declare const TransferInProgress: ({ cancelTransfer, transferItem, disabl
|
|
|
4
4
|
transferItem: TTransferItemInProgress;
|
|
5
5
|
cancelTransfer: () => void;
|
|
6
6
|
disabled?: boolean;
|
|
7
|
-
}) => import(
|
|
7
|
+
}) => import('react').JSX.Element;
|
|
8
8
|
export declare const TransferError: ({ transferItem, onRemove, disabled, }: {
|
|
9
9
|
transferItem: TFileAndTransfer;
|
|
10
10
|
onRemove: () => void;
|
|
11
11
|
disabled?: boolean;
|
|
12
|
-
}) => import(
|
|
12
|
+
}) => import('react').JSX.Element;
|
|
13
13
|
export declare const OperationButton: ({ operation, context, }: {
|
|
14
14
|
operation: TQueueItemOperation;
|
|
15
15
|
context: TQueueOperationContext;
|
|
16
|
-
}) => import(
|
|
16
|
+
}) => import('react').JSX.Element | null;
|
|
17
17
|
export declare const FilenameRenderer: ({ transferItem, }: {
|
|
18
18
|
transferItem: TFileAndTransfer;
|
|
19
19
|
queueItemOperations?: Array<TQueueItemOperation>;
|
|
20
20
|
onPreviewClick?: () => void;
|
|
21
|
-
}) => import(
|
|
21
|
+
}) => import('react').JSX.Element;
|
|
22
22
|
export declare const ThumbnailRenderer: ({ transferItem, onPreviewClick, }: {
|
|
23
23
|
transferItem: TFileAndTransfer;
|
|
24
24
|
queueItemOperations?: Array<TQueueItemOperation>;
|
|
25
25
|
onPreviewClick?: () => void;
|
|
26
|
-
}) => import(
|
|
26
|
+
}) => import('react').JSX.Element;
|
|
27
27
|
interface IImagePreviewModal {
|
|
28
28
|
isOpen: boolean;
|
|
29
29
|
images: TFileAndTransfer[];
|
|
@@ -32,5 +32,5 @@ interface IImagePreviewModal {
|
|
|
32
32
|
onNavigate: (direction: 'prev' | 'next') => void;
|
|
33
33
|
modalRef: RefObject<HTMLDialogElement | null>;
|
|
34
34
|
}
|
|
35
|
-
export declare const ImagePreviewModal: ({ isOpen, images, currentIndex, onClose, onNavigate, modalRef, }: IImagePreviewModal) => import(
|
|
35
|
+
export declare const ImagePreviewModal: ({ isOpen, images, currentIndex, onClose, onNavigate, modalRef, }: IImagePreviewModal) => import('react').JSX.Element | null;
|
|
36
36
|
export {};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "../../_virtual/_@oxc-project_runtime@0.154.0/helpers/esm/defineProperty.js";
|
|
2
|
+
import { uuidish as t } from "../../utils/stringutils.js";
|
|
2
3
|
//#region src/components/fileupload/types.ts
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
attributes;
|
|
7
|
-
constructor(t, n) {
|
|
8
|
-
this.fileId = n || e(), this.file = t, this.attributes = { targetFilename: t.name };
|
|
4
|
+
var n = class {
|
|
5
|
+
constructor(n, r) {
|
|
6
|
+
e(this, "fileId", void 0), e(this, "file", void 0), e(this, "attributes", void 0), this.fileId = r || t(), this.file = n, this.attributes = { targetFilename: n.name };
|
|
9
7
|
}
|
|
10
8
|
};
|
|
11
9
|
//#endregion
|
|
12
|
-
export {
|
|
10
|
+
export { n as FileItem };
|
|
@@ -22,4 +22,4 @@ export interface IPktHeaderMenu extends Omit<HTMLAttributes<HTMLElement>, 'onErr
|
|
|
22
22
|
* the parent header is expected to control `open` and own focus
|
|
23
23
|
* management.
|
|
24
24
|
*/
|
|
25
|
-
export declare const PktHeaderMenu: ({ dataUrl, data, locale, open, mobileBreakpoint, className, onDataLoaded, onDataError, ref, strings, ...rest }: IPktHeaderMenu) => import(
|
|
25
|
+
export declare const PktHeaderMenu: ({ dataUrl, data, locale, open, mobileBreakpoint, className, onDataLoaded, onDataError, ref, strings, ...rest }: IPktHeaderMenu) => import('react').JSX.Element;
|
|
@@ -7,7 +7,13 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
7
7
|
//#region src/components/icon/Icon.tsx
|
|
8
8
|
var c = /* @__PURE__ */ e(n(), 1);
|
|
9
9
|
typeof window < "u" && (window.pktFetch = window.pktFetch === void 0 ? fetch : window.pktFetch, window.pktIconPath = window.pktIconPath || t.path);
|
|
10
|
-
var l = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"></svg>", u = {}, d = 2, f = 1500, p =
|
|
10
|
+
var l = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"></svg>", u = {}, d = 2, f = 1500, p = (() => {
|
|
11
|
+
try {
|
|
12
|
+
return typeof Storage < "u" && typeof sessionStorage < "u";
|
|
13
|
+
} catch {
|
|
14
|
+
return !1;
|
|
15
|
+
}
|
|
16
|
+
})(), m = typeof window < "u" ? a : i, h = (e, t) => !e || !p ? "" : sessionStorage.getItem(t + e + ".svg") ?? "", g = (e) => window.pktFetch(e).then((t) => {
|
|
11
17
|
if (!t.ok) throw Error("Missing icon: " + e);
|
|
12
18
|
return t.text();
|
|
13
19
|
}), _ = async (e, t = d) => {
|
|
@@ -5,6 +5,6 @@ export interface IPktLinkCard extends IPktLinkCardBase, Omit<HTMLAttributes<HTML
|
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
}
|
|
7
7
|
export declare const PktLinkCard: {
|
|
8
|
-
({ children, skin, title, href, iconName, openInNewTab, external, className, strings, ...props }: IPktLinkCard): import(
|
|
8
|
+
({ children, skin, title, href, iconName, openInNewTab, external, className, strings, ...props }: IPktLinkCard): import('react').JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
@@ -4,47 +4,46 @@ import { MESSAGEBOX_DEFAULTS as t } from "../../shared-types/messagebox.js";
|
|
|
4
4
|
import { require_classnames as n } from "../../node_modules/classnames/index.js";
|
|
5
5
|
import { PktIcon as r } from "../icon/Icon.js";
|
|
6
6
|
import { usePktStrings as i } from "../../hooks/usePktStrings.js";
|
|
7
|
-
import {
|
|
8
|
-
import { jsx as
|
|
7
|
+
import { useCallback as a, useState as o } from "react";
|
|
8
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/messagebox/Messagebox.tsx
|
|
10
|
-
var
|
|
11
|
-
let
|
|
10
|
+
var l = /* @__PURE__ */ e(n(), 1), u = ({ children: e, className: n, skin: u = t.skin, title: d, compact: f = t.compact, closable: p = t.closable, onClose: m, strings: h, ...g }) => {
|
|
11
|
+
let _ = i(["generic"], h), [v, y] = o(!1), b = {
|
|
12
12
|
"pkt-messagebox": !0,
|
|
13
|
-
"pkt-messagebox--compact":
|
|
14
|
-
[`pkt-messagebox--${
|
|
15
|
-
"pkt-messagebox--closable":
|
|
16
|
-
"pkt-hide":
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
}, [
|
|
20
|
-
return /* @__PURE__ */
|
|
21
|
-
...
|
|
22
|
-
className: (0,
|
|
23
|
-
ref: S,
|
|
13
|
+
"pkt-messagebox--compact": f,
|
|
14
|
+
[`pkt-messagebox--${u}`]: u,
|
|
15
|
+
"pkt-messagebox--closable": p,
|
|
16
|
+
"pkt-hide": v
|
|
17
|
+
}, x = a(() => {
|
|
18
|
+
y(!0), m && m();
|
|
19
|
+
}, [y, m]);
|
|
20
|
+
return /* @__PURE__ */ c("div", {
|
|
21
|
+
...g,
|
|
22
|
+
className: (0, l.default)(b, n),
|
|
24
23
|
children: [
|
|
25
|
-
|
|
24
|
+
p && /* @__PURE__ */ s("div", {
|
|
26
25
|
className: "pkt-messagebox__close",
|
|
27
|
-
children: /* @__PURE__ */
|
|
28
|
-
onClick:
|
|
26
|
+
children: /* @__PURE__ */ s("button", {
|
|
27
|
+
onClick: x,
|
|
29
28
|
className: "pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",
|
|
30
|
-
"aria-label":
|
|
31
|
-
children: /* @__PURE__ */
|
|
29
|
+
"aria-label": _.generic.close,
|
|
30
|
+
children: /* @__PURE__ */ s(r, {
|
|
32
31
|
name: "close",
|
|
33
32
|
className: "pkt-link__icon"
|
|
34
33
|
})
|
|
35
34
|
})
|
|
36
35
|
}),
|
|
37
|
-
|
|
36
|
+
d && /* @__PURE__ */ s("div", {
|
|
38
37
|
className: "pkt-messagebox__title",
|
|
39
|
-
children:
|
|
38
|
+
children: d
|
|
40
39
|
}),
|
|
41
|
-
/* @__PURE__ */
|
|
40
|
+
/* @__PURE__ */ s("div", {
|
|
42
41
|
className: "pkt-messagebox__text",
|
|
43
42
|
children: e
|
|
44
43
|
})
|
|
45
44
|
]
|
|
46
45
|
});
|
|
47
46
|
};
|
|
48
|
-
|
|
47
|
+
u.displayName = "PktMessagebox";
|
|
49
48
|
//#endregion
|
|
50
|
-
export {
|
|
49
|
+
export { u as PktMessagebox };
|
|
@@ -18,4 +18,4 @@ export interface IPktStep {
|
|
|
18
18
|
*/
|
|
19
19
|
title: string;
|
|
20
20
|
}
|
|
21
|
-
export declare const PktStep: ({ children, className, status, title }: IPktStep) => import(
|
|
21
|
+
export declare const PktStep: ({ children, className, status, title }: IPktStep) => import('react').JSX.Element;
|
|
@@ -18,4 +18,4 @@ export interface IPktStringsProvider {
|
|
|
18
18
|
* </PktStringsProvider>
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
export declare const PktStringsProvider: ({ strings, children }: IPktStringsProvider) => import(
|
|
21
|
+
export declare const PktStringsProvider: ({ strings, children }: IPktStringsProvider) => import('react').JSX.Element;
|
|
@@ -5,4 +5,4 @@ export type TTableSkin = TPktTableSkin;
|
|
|
5
5
|
export interface IPktTable extends IPktTableBase, HTMLAttributes<HTMLTableElement> {
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare const PktTable: ({ className, compact, skin, responsiveView, children, ...props }: IPktTable) => import(
|
|
8
|
+
export declare const PktTable: ({ className, compact, skin, responsiveView, children, ...props }: IPktTable) => import('react').JSX.Element;
|
|
@@ -3,5 +3,5 @@ interface ITableBodyProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
|
3
3
|
className?: string;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare const PktTableBody: ({ id, children, className, ...props }: ITableBodyProps) => import(
|
|
6
|
+
export declare const PktTableBody: ({ id, children, className, ...props }: ITableBodyProps) => import('react').JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -3,4 +3,4 @@ import { IPktTableDataCellBase } from '../../shared-types';
|
|
|
3
3
|
export interface IPktTableDataCell extends IPktTableDataCellBase, HTMLAttributes<HTMLTableCellElement> {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare const PktTableDataCell: ({ children, className, dataLabel, ...props }: IPktTableDataCell) => import(
|
|
6
|
+
export declare const PktTableDataCell: ({ children, className, dataLabel, ...props }: IPktTableDataCell) => import('react').JSX.Element;
|
|
@@ -3,5 +3,5 @@ interface ITableHeaderProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
|
3
3
|
className?: string;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare const PktTableHeader: ({ className, children, ...props }: ITableHeaderProps) => import(
|
|
6
|
+
export declare const PktTableHeader: ({ className, children, ...props }: ITableHeaderProps) => import('react').JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -3,5 +3,5 @@ interface ITableHeaderCellProps extends HTMLAttributes<HTMLTableCellElement> {
|
|
|
3
3
|
className?: string;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare const PktTableHeaderCell: ({ className, children, ...props }: ITableHeaderCellProps) => import(
|
|
6
|
+
export declare const PktTableHeaderCell: ({ className, children, ...props }: ITableHeaderCellProps) => import('react').JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -3,5 +3,5 @@ interface ITableRowProps extends HTMLAttributes<HTMLTableRowElement> {
|
|
|
3
3
|
className?: string;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare const PktTableRow: ({ className, children, ...props }: ITableRowProps) => import(
|
|
6
|
+
export declare const PktTableRow: ({ className, children, ...props }: ITableRowProps) => import('react').JSX.Element;
|
|
7
7
|
export {};
|