@telia/teddy 0.4.18 → 0.5.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/dist/assets/{sprite.1321fab0-teddy.svg → sprite.c3af21af-teddy.svg} +3 -0
- package/dist/components/accordion/accordion-indicator.cjs +1 -1
- package/dist/components/accordion/accordion-indicator.js +1 -1
- package/dist/components/badge/badge.cjs +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/breadcrumbs/breadcrumbs-link.cjs +1 -1
- package/dist/components/breadcrumbs/breadcrumbs-link.js +1 -1
- package/dist/components/carousel/carousel-root.cjs +1 -1
- package/dist/components/carousel/carousel-root.js +1 -1
- package/dist/components/channel-button/channel-button-root.d.ts +3 -3
- package/dist/components/channel-button/index.d.ts +3 -3
- package/dist/components/checkbox/checkbox-group-list.d.ts +1 -1
- package/dist/components/checkbox/checkbox-indicator.cjs +1 -1
- package/dist/components/checkbox/checkbox-indicator.js +1 -1
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/chip/chip-indicator.cjs +1 -1
- package/dist/components/chip/chip-indicator.d.ts +2 -2
- package/dist/components/chip/chip-indicator.js +1 -1
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/color-dot/index.d.ts +1 -1
- package/dist/components/date-picker/date-picker-input.cjs +1 -1
- package/dist/components/date-picker/date-picker-input.js +1 -1
- package/dist/components/date-picker/date-picker.cjs +1 -1
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/drawer/drawer-close.cjs +1 -1
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/expandable-card/expandable-card-button.d.ts +2 -2
- package/dist/components/expandable-card/expandable-card-indicator.cjs +1 -1
- package/dist/components/expandable-card/expandable-card-indicator.js +1 -1
- package/dist/components/expandable-card/index.d.ts +3 -3
- package/dist/components/field-error-text/field-error-text.cjs +1 -1
- package/dist/components/field-error-text/field-error-text.js +1 -1
- package/dist/components/flip-card/flip-card-trigger.d.ts +2 -2
- package/dist/components/icon/AllIcons.cjs +3 -0
- package/dist/components/icon/AllIcons.js +3 -0
- package/dist/components/icon/icon.cjs +1 -1
- package/dist/components/icon/icon.js +1 -1
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon/utils.d.ts +1 -1
- package/dist/components/index.cjs +3 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +3 -1
- package/dist/components/input/input-clear-button.cjs +1 -1
- package/dist/components/input/input-clear-button.js +1 -1
- package/dist/components/input/input-group.cjs +1 -1
- package/dist/components/input/input-group.js +1 -1
- package/dist/components/input/input-indicator.cjs +1 -1
- package/dist/components/input/input-indicator.js +1 -1
- package/dist/components/modal/modal-close.cjs +2 -1
- package/dist/components/modal/modal-close.js +2 -1
- package/dist/components/modal/modal-title.d.ts +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.cjs +2 -1
- package/dist/components/navigation-menu/navigation-menu.js +2 -1
- package/dist/components/notabene/notabene-icon.cjs +1 -1
- package/dist/components/notabene/notabene-icon.d.ts +2 -2
- package/dist/components/notabene/notabene-icon.js +1 -1
- package/dist/components/notification/index.d.ts +1 -1
- package/dist/components/notification/notification-dismiss.cjs +1 -1
- package/dist/components/notification/notification-dismiss.js +1 -1
- package/dist/components/notification/notification-icon.cjs +1 -1
- package/dist/components/notification/notification-icon.d.ts +2 -2
- package/dist/components/notification/notification-icon.js +1 -1
- package/dist/components/notification/notification-root.d.ts +1 -1
- package/dist/components/radio-card-group/radio-card-group-content.cjs +2 -1
- package/dist/components/radio-card-group/radio-card-group-content.js +2 -1
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +2 -1
- package/dist/components/radio-card-group/radio-card-group-item-title.js +2 -1
- package/dist/components/radio-card-group/radio-card-group-item.cjs +2 -1
- package/dist/components/radio-card-group/radio-card-group-item.js +2 -1
- package/dist/components/ribbon/ribbon-root.cjs +7 -6
- package/dist/components/ribbon/ribbon-root.d.ts +2 -2
- package/dist/components/ribbon/ribbon-root.js +7 -6
- package/dist/components/scroll-area/index.d.ts +2 -2
- package/dist/components/scroll-area/scroll-area-button.cjs +1 -1
- package/dist/components/scroll-area/scroll-area-button.d.ts +2 -2
- package/dist/components/scroll-area/scroll-area-button.js +1 -1
- package/dist/components/scroll-area/scroll-area-thumb.cjs +1 -1
- package/dist/components/scroll-area/scroll-area-thumb.js +1 -1
- package/dist/components/table/index.cjs +24 -0
- package/dist/components/table/index.d.ts +121 -0
- package/dist/components/table/index.js +24 -0
- package/dist/components/table/table-body.cjs +26 -0
- package/dist/components/table/table-body.d.ts +3 -0
- package/dist/components/table/table-body.js +9 -0
- package/dist/components/table/table-cell.cjs +44 -0
- package/dist/components/table/table-cell.d.ts +21 -0
- package/dist/components/table/table-cell.js +27 -0
- package/dist/components/table/table-footer.cjs +26 -0
- package/dist/components/table/table-footer.d.ts +3 -0
- package/dist/components/table/table-footer.js +9 -0
- package/dist/components/table/table-head.cjs +47 -0
- package/dist/components/table/table-head.d.ts +18 -0
- package/dist/components/table/table-head.js +30 -0
- package/dist/components/table/table-header.cjs +36 -0
- package/dist/components/table/table-header.d.ts +3 -0
- package/dist/components/table/table-header.js +19 -0
- package/dist/components/table/table-root.cjs +51 -0
- package/dist/components/table/table-root.d.ts +10 -0
- package/dist/components/table/table-root.js +34 -0
- package/dist/components/table/table-row.cjs +26 -0
- package/dist/components/table/table-row.d.ts +3 -0
- package/dist/components/table/table-row.js +9 -0
- package/dist/components/tabs/tabs-scroll-button.d.ts +2 -2
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/text-field/text-field-button.d.ts +2 -2
- package/dist/components/toast/toast-root.cjs +1 -1
- package/dist/components/toast/toast-root.js +1 -1
- package/dist/components/toggle/toggle.cjs +1 -1
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/components/toggle/toggle.js +1 -1
- package/dist/components/toggletip/toggletip-close.cjs +1 -1
- package/dist/components/toggletip/toggletip-close.js +1 -1
- package/dist/components/tooltip/tooltip-trigger.cjs +1 -1
- package/dist/components/tooltip/tooltip-trigger.js +1 -1
- package/dist/icons/category.cjs +1 -0
- package/dist/icons/category.d.ts +3 -0
- package/dist/icons/category.js +1 -0
- package/dist/icons/name.cjs +1 -0
- package/dist/icons/name.d.ts +1 -1
- package/dist/icons/name.js +1 -0
- package/dist/main.cjs +3 -1
- package/dist/main.js +3 -1
- package/dist/style.css +960 -871
- package/dist/utils/generate-styling/grid.d.ts +24 -24
- package/dist/utils/generate-styling/index.d.ts +16 -16
- package/dist/utils/generate-styling/util.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const clsx = require("clsx");
|
|
6
|
+
const components_table_tableRoot = require("./table-root.cjs");
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== "default") {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
24
|
+
const Header = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
25
|
+
"thead",
|
|
26
|
+
{
|
|
27
|
+
ref,
|
|
28
|
+
className: clsx(
|
|
29
|
+
components_table_tableRoot.styles[`${components_table_tableRoot.rootClassName}__header`],
|
|
30
|
+
className
|
|
31
|
+
),
|
|
32
|
+
...props
|
|
33
|
+
}
|
|
34
|
+
));
|
|
35
|
+
Header.displayName = "Header";
|
|
36
|
+
exports.Header = Header;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { s as styles, rootClassName } from "./table-root.js";
|
|
5
|
+
const Header = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6
|
+
"thead",
|
|
7
|
+
{
|
|
8
|
+
ref,
|
|
9
|
+
className: clsx(
|
|
10
|
+
styles[`${rootClassName}__header`],
|
|
11
|
+
className
|
|
12
|
+
),
|
|
13
|
+
...props
|
|
14
|
+
}
|
|
15
|
+
));
|
|
16
|
+
Header.displayName = "Header";
|
|
17
|
+
export {
|
|
18
|
+
Header
|
|
19
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const clsx = require("clsx");
|
|
6
|
+
const components_scrollArea_index = require("../scroll-area/index.cjs");
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== "default") {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
24
|
+
const styles = {
|
|
25
|
+
"teddy-table": "_teddy-table_uodq1_1",
|
|
26
|
+
"teddy-table-wrapper": "_teddy-table-wrapper_uodq1_7",
|
|
27
|
+
"teddy-table__header": "_teddy-table__header_uodq1_15",
|
|
28
|
+
"teddy-table__body": "_teddy-table__body_uodq1_22",
|
|
29
|
+
"teddy-table__footer": "_teddy-table__footer_uodq1_25",
|
|
30
|
+
"teddy-table__row": "_teddy-table__row_uodq1_28",
|
|
31
|
+
"teddy-table__head": "_teddy-table__head_uodq1_15",
|
|
32
|
+
"teddy-table__head--numeric": "_teddy-table__head--numeric_uodq1_46",
|
|
33
|
+
"teddy-table__head--sticky": "_teddy-table__head--sticky_uodq1_49",
|
|
34
|
+
"teddy-table__head--sticky-left": "_teddy-table__head--sticky-left_uodq1_53",
|
|
35
|
+
"teddy-table__head--sticky-right": "_teddy-table__head--sticky-right_uodq1_56",
|
|
36
|
+
"teddy-table__head--sticky-top": "_teddy-table__head--sticky-top_uodq1_59",
|
|
37
|
+
"teddy-table__head--sticky-bottom": "_teddy-table__head--sticky-bottom_uodq1_62",
|
|
38
|
+
"teddy-table__cell": "_teddy-table__cell_uodq1_65",
|
|
39
|
+
"teddy-table__cell--numeric": "_teddy-table__cell--numeric_uodq1_69",
|
|
40
|
+
"teddy-table__cell--sticky": "_teddy-table__cell--sticky_uodq1_72",
|
|
41
|
+
"teddy-table__cell--sticky-left": "_teddy-table__cell--sticky-left_uodq1_76",
|
|
42
|
+
"teddy-table__cell--sticky-right": "_teddy-table__cell--sticky-right_uodq1_79",
|
|
43
|
+
"teddy-table__cell--sticky-top": "_teddy-table__cell--sticky-top_uodq1_82",
|
|
44
|
+
"teddy-table__cell--sticky-bottom": "_teddy-table__cell--sticky-bottom_uodq1_85"
|
|
45
|
+
};
|
|
46
|
+
const rootClassName = "teddy-table";
|
|
47
|
+
const Root = React__namespace.forwardRef(({ className, height, width, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(components_scrollArea_index.ScrollArea, { className: styles[`${rootClassName}-wrapper`], style: { height, width }, children: /* @__PURE__ */ jsxRuntime.jsx("table", { ref, className: clsx(styles[rootClassName], className), ...props }) }));
|
|
48
|
+
Root.displayName = "Root";
|
|
49
|
+
exports.Root = Root;
|
|
50
|
+
exports.rootClassName = rootClassName;
|
|
51
|
+
exports.styles = styles;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const rootClassName = "teddy-table";
|
|
3
|
+
export type RootProps = React.HTMLAttributes<HTMLTableElement> & {
|
|
4
|
+
height?: string | number;
|
|
5
|
+
width?: string | number;
|
|
6
|
+
};
|
|
7
|
+
export declare const Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & {
|
|
8
|
+
height?: string | number | undefined;
|
|
9
|
+
width?: string | number | undefined;
|
|
10
|
+
} & React.RefAttributes<HTMLTableElement>>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { ScrollArea } from "../scroll-area/index.js";
|
|
5
|
+
const styles = {
|
|
6
|
+
"teddy-table": "_teddy-table_uodq1_1",
|
|
7
|
+
"teddy-table-wrapper": "_teddy-table-wrapper_uodq1_7",
|
|
8
|
+
"teddy-table__header": "_teddy-table__header_uodq1_15",
|
|
9
|
+
"teddy-table__body": "_teddy-table__body_uodq1_22",
|
|
10
|
+
"teddy-table__footer": "_teddy-table__footer_uodq1_25",
|
|
11
|
+
"teddy-table__row": "_teddy-table__row_uodq1_28",
|
|
12
|
+
"teddy-table__head": "_teddy-table__head_uodq1_15",
|
|
13
|
+
"teddy-table__head--numeric": "_teddy-table__head--numeric_uodq1_46",
|
|
14
|
+
"teddy-table__head--sticky": "_teddy-table__head--sticky_uodq1_49",
|
|
15
|
+
"teddy-table__head--sticky-left": "_teddy-table__head--sticky-left_uodq1_53",
|
|
16
|
+
"teddy-table__head--sticky-right": "_teddy-table__head--sticky-right_uodq1_56",
|
|
17
|
+
"teddy-table__head--sticky-top": "_teddy-table__head--sticky-top_uodq1_59",
|
|
18
|
+
"teddy-table__head--sticky-bottom": "_teddy-table__head--sticky-bottom_uodq1_62",
|
|
19
|
+
"teddy-table__cell": "_teddy-table__cell_uodq1_65",
|
|
20
|
+
"teddy-table__cell--numeric": "_teddy-table__cell--numeric_uodq1_69",
|
|
21
|
+
"teddy-table__cell--sticky": "_teddy-table__cell--sticky_uodq1_72",
|
|
22
|
+
"teddy-table__cell--sticky-left": "_teddy-table__cell--sticky-left_uodq1_76",
|
|
23
|
+
"teddy-table__cell--sticky-right": "_teddy-table__cell--sticky-right_uodq1_79",
|
|
24
|
+
"teddy-table__cell--sticky-top": "_teddy-table__cell--sticky-top_uodq1_82",
|
|
25
|
+
"teddy-table__cell--sticky-bottom": "_teddy-table__cell--sticky-bottom_uodq1_85"
|
|
26
|
+
};
|
|
27
|
+
const rootClassName = "teddy-table";
|
|
28
|
+
const Root = React.forwardRef(({ className, height, width, ...props }, ref) => /* @__PURE__ */ jsx(ScrollArea, { className: styles[`${rootClassName}-wrapper`], style: { height, width }, children: /* @__PURE__ */ jsx("table", { ref, className: clsx(styles[rootClassName], className), ...props }) }));
|
|
29
|
+
Root.displayName = "Root";
|
|
30
|
+
export {
|
|
31
|
+
Root,
|
|
32
|
+
rootClassName,
|
|
33
|
+
styles as s
|
|
34
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const clsx = require("clsx");
|
|
6
|
+
const components_table_tableRoot = require("./table-root.cjs");
|
|
7
|
+
function _interopNamespaceDefault(e) {
|
|
8
|
+
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
|
+
if (e) {
|
|
10
|
+
for (const k in e) {
|
|
11
|
+
if (k !== "default") {
|
|
12
|
+
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
13
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: () => e[k]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
n.default = e;
|
|
21
|
+
return Object.freeze(n);
|
|
22
|
+
}
|
|
23
|
+
const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
|
|
24
|
+
const Row = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("tr", { ref, className: clsx(components_table_tableRoot.styles[`${components_table_tableRoot.rootClassName}__row`], className), ...props }));
|
|
25
|
+
Row.displayName = "Row";
|
|
26
|
+
exports.Row = Row;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { s as styles, rootClassName } from "./table-root.js";
|
|
5
|
+
const Row = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tr", { ref, className: clsx(styles[`${rootClassName}__row`], className), ...props }));
|
|
6
|
+
Row.displayName = "Row";
|
|
7
|
+
export {
|
|
8
|
+
Row
|
|
9
|
+
};
|
|
@@ -10,7 +10,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
|
|
|
10
10
|
loading?: boolean | undefined;
|
|
11
11
|
fullWidth?: boolean | undefined;
|
|
12
12
|
size?: "sm" | "md" | "lg" | undefined;
|
|
13
|
-
variant?: "text" | "
|
|
13
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
14
14
|
borderStyle?: ("default" | "dashed") | undefined;
|
|
15
15
|
} & {
|
|
16
16
|
iconOnly: true;
|
|
@@ -22,7 +22,7 @@ export declare const ScrollButton: React.ForwardRefExoticComponent<Omit<Omit<Omi
|
|
|
22
22
|
loading?: boolean | undefined;
|
|
23
23
|
fullWidth?: boolean | undefined;
|
|
24
24
|
size?: "sm" | "md" | "lg" | undefined;
|
|
25
|
-
variant?: "text" | "
|
|
25
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
26
26
|
borderStyle?: ("default" | "dashed") | undefined;
|
|
27
27
|
} & {
|
|
28
28
|
iconOnly?: false | undefined;
|
|
@@ -35,7 +35,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
35
35
|
loading?: boolean | undefined;
|
|
36
36
|
fullWidth?: boolean | undefined;
|
|
37
37
|
size?: "sm" | "md" | "lg" | undefined;
|
|
38
|
-
variant?: "text" | "
|
|
38
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
39
39
|
borderStyle?: ("default" | "dashed") | undefined;
|
|
40
40
|
} & {
|
|
41
41
|
iconOnly: true;
|
|
@@ -47,7 +47,7 @@ export declare const TextField: import('react').ForwardRefExoticComponent<Omit<i
|
|
|
47
47
|
loading?: boolean | undefined;
|
|
48
48
|
fullWidth?: boolean | undefined;
|
|
49
49
|
size?: "sm" | "md" | "lg" | undefined;
|
|
50
|
-
variant?: "text" | "
|
|
50
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
51
51
|
borderStyle?: ("default" | "dashed") | undefined;
|
|
52
52
|
} & {
|
|
53
53
|
iconOnly?: false | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
11
11
|
loading?: boolean | undefined;
|
|
12
12
|
fullWidth?: boolean | undefined;
|
|
13
13
|
size?: "sm" | "md" | "lg" | undefined;
|
|
14
|
-
variant?: "text" | "
|
|
14
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
15
15
|
borderStyle?: ("default" | "dashed") | undefined;
|
|
16
16
|
} & {
|
|
17
17
|
iconOnly: true;
|
|
@@ -23,7 +23,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
23
23
|
loading?: boolean | undefined;
|
|
24
24
|
fullWidth?: boolean | undefined;
|
|
25
25
|
size?: "sm" | "md" | "lg" | undefined;
|
|
26
|
-
variant?: "text" | "
|
|
26
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
27
27
|
borderStyle?: ("default" | "dashed") | undefined;
|
|
28
28
|
} & {
|
|
29
29
|
iconOnly?: false | undefined;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const clsx = require("clsx");
|
|
5
5
|
const sonner = require("sonner");
|
|
6
|
-
require("../../assets/sprite.
|
|
6
|
+
require("../../assets/sprite.c3af21af-teddy.svg");
|
|
7
7
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
8
8
|
const components_spinner_spinner = require("../spinner/spinner.cjs");
|
|
9
9
|
const fadeInAnimation = "_fadeInAnimation_mi6fm_1";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { Toaster } from "sonner";
|
|
4
|
-
import "../../assets/sprite.
|
|
4
|
+
import "../../assets/sprite.c3af21af-teddy.svg";
|
|
5
5
|
import { Icon } from "../icon/icon.js";
|
|
6
6
|
import { Spinner } from "../spinner/spinner.js";
|
|
7
7
|
const fadeInAnimation = "_fadeInAnimation_mi6fm_1";
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const clsx = require("clsx");
|
|
6
6
|
const SwitchPrimitive = require("@radix-ui/react-switch");
|
|
7
|
-
require("../../assets/sprite.
|
|
7
|
+
require("../../assets/sprite.c3af21af-teddy.svg");
|
|
8
8
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
9
9
|
const components_label_label = require("../label/label.cjs");
|
|
10
10
|
function _interopNamespaceDefault(e) {
|
|
@@ -29,8 +29,8 @@ declare const Toggle: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHT
|
|
|
29
29
|
Input: React.ForwardRefExoticComponent<ToggleInputProps & React.RefAttributes<HTMLButtonElement>>;
|
|
30
30
|
Thumb: React.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchThumbProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
31
31
|
Indicator: React.ForwardRefExoticComponent<Partial<Omit<React.SVGProps<SVGSVGElement> & {
|
|
32
|
-
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "alert" | "radio" | "email" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "
|
|
33
|
-
size?: ("
|
|
32
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "download" | "split" | "alert" | "radio" | "email" | "copy" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "volume" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
33
|
+
size?: ("xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "font") | undefined;
|
|
34
34
|
children?: React.ReactNode;
|
|
35
35
|
}, "ref">> & React.RefAttributes<SVGSVGElement>>;
|
|
36
36
|
};
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
5
|
-
import "../../assets/sprite.
|
|
5
|
+
import "../../assets/sprite.c3af21af-teddy.svg";
|
|
6
6
|
import { Icon } from "../icon/icon.js";
|
|
7
7
|
import { Label } from "../label/label.js";
|
|
8
8
|
const styles = {
|
|
@@ -6,7 +6,7 @@ const clsx = require("clsx");
|
|
|
6
6
|
const PopoverPrimitive = require("@radix-ui/react-popover");
|
|
7
7
|
const components_toggletip_toggletipRoot = require("./toggletip-root.cjs");
|
|
8
8
|
const components_button_button = require("../button/button.cjs");
|
|
9
|
-
require("../../assets/sprite.
|
|
9
|
+
require("../../assets/sprite.c3af21af-teddy.svg");
|
|
10
10
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
11
11
|
const toggletip_module = require("../../toggletip.module-A6XIfaD_.cjs");
|
|
12
12
|
function _interopNamespaceDefault(e) {
|
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
5
5
|
import { RootContext, rootClassName } from "./toggletip-root.js";
|
|
6
6
|
import { Button } from "../button/button.js";
|
|
7
|
-
import "../../assets/sprite.
|
|
7
|
+
import "../../assets/sprite.c3af21af-teddy.svg";
|
|
8
8
|
import { Icon } from "../icon/icon.js";
|
|
9
9
|
import { s as styles } from "../../toggletip.module-BUx6_4pv.js";
|
|
10
10
|
const Close = React__default.forwardRef(
|
|
@@ -6,7 +6,7 @@ const clsx = require("clsx");
|
|
|
6
6
|
const tooltip_module = require("../../tooltip.module-D_3DOZOn.cjs");
|
|
7
7
|
const TooltipPrimitive = require("@radix-ui/react-tooltip");
|
|
8
8
|
const components_tooltip_tooltipRoot = require("./tooltip-root.cjs");
|
|
9
|
-
require("../../assets/sprite.
|
|
9
|
+
require("../../assets/sprite.c3af21af-teddy.svg");
|
|
10
10
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
11
11
|
const components_button_button = require("../button/button.cjs");
|
|
12
12
|
function _interopNamespaceDefault(e) {
|
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import { s as styles } from "../../tooltip.module-DnKU2XS4.js";
|
|
5
5
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
6
6
|
import { rootClassName, RootContext } from "./tooltip-root.js";
|
|
7
|
-
import "../../assets/sprite.
|
|
7
|
+
import "../../assets/sprite.c3af21af-teddy.svg";
|
|
8
8
|
import { Icon } from "../icon/icon.js";
|
|
9
9
|
import { Button } from "../button/button.js";
|
|
10
10
|
const Trigger = React__default.forwardRef(
|
package/dist/icons/category.cjs
CHANGED
|
@@ -87,6 +87,7 @@ const iconCategories = [
|
|
|
87
87
|
{ category: "communication", name: "portal" },
|
|
88
88
|
{ category: "communication", name: "signature" },
|
|
89
89
|
{ category: "communication", name: "smiley-happy" },
|
|
90
|
+
{ category: "communication", name: "smiley-neutral" },
|
|
90
91
|
{ category: "communication", name: "smiley-sad" },
|
|
91
92
|
{ category: "communication", name: "sms" },
|
|
92
93
|
{ category: "communication", name: "support" },
|
package/dist/icons/category.d.ts
CHANGED
|
@@ -256,6 +256,9 @@ export declare const iconCategories: readonly [{
|
|
|
256
256
|
}, {
|
|
257
257
|
readonly category: "communication";
|
|
258
258
|
readonly name: "smiley-happy";
|
|
259
|
+
}, {
|
|
260
|
+
readonly category: "communication";
|
|
261
|
+
readonly name: "smiley-neutral";
|
|
259
262
|
}, {
|
|
260
263
|
readonly category: "communication";
|
|
261
264
|
readonly name: "smiley-sad";
|
package/dist/icons/category.js
CHANGED
|
@@ -85,6 +85,7 @@ const iconCategories = [
|
|
|
85
85
|
{ category: "communication", name: "portal" },
|
|
86
86
|
{ category: "communication", name: "signature" },
|
|
87
87
|
{ category: "communication", name: "smiley-happy" },
|
|
88
|
+
{ category: "communication", name: "smiley-neutral" },
|
|
88
89
|
{ category: "communication", name: "smiley-sad" },
|
|
89
90
|
{ category: "communication", name: "sms" },
|
|
90
91
|
{ category: "communication", name: "support" },
|
package/dist/icons/name.cjs
CHANGED
package/dist/icons/name.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const iconNames: readonly ["alarm-off", "alarm-on", "attachment", "bookmark-filled", "bookmark", "copy-filled", "copy", "dislike", "download", "edit", "filter", "heart-filled", "heart", "invisible", "like", "lock-open", "lock", "login", "logout", "maximize", "minimize", "mute", "password-invisible", "password-visible", "play-filled", "play", "remove-filled", "remove", "save", "send", "settings", "share", "shortcut", "shuffle", "skip-back-10sec", "skip-back-30sec", "skip-forward-10sec", "skip-forward-30sec", "star-filled", "star", "switch-arrows", "sync", "tv-next", "tv-pause", "tv-previous", "tv-stop", "upload", "visible", "volume", "zoom-out", "zoom", "connected-building", "home", "hospital", "industry", "premises-datacenter", "premises-large", "premises-medium", "premises-small", "premises", "store", "address-book", "b2b-customer", "care", "chat-robot", "chat", "child-1", "child-2", "conversation", "customer-dialogue", "dsl-hub", "email", "end-user", "handshake", "headphones", "letter", "mms", "new-contact", "new-group", "news", "parental-guide", "people-hub", "people", "portal", "signature", "smiley-happy", "smiley-sad", "sms", "support", "user-admin", "vcard", "voicemail", "battery", "bluetooth", "broadband", "broken-phone", "cast", "cloud-connect", "connected", "core-router", "daas-device", "data-transfer", "desktop", "devices", "esim-simcard", "esim", "face-id", "fiber", "fingerprint", "fiveg", "fourg", "home-installation", "industrial-iot", "internet", "it-service", "laptop", "mobile-broadband", "network", "phone-recycling", "phone-ringing", "phone", "rack", "refill-card", "remote-control", "repair", "roaming", "router", "secure-device", "sense-car", "server", "service-device", "service-supervision", "slow-wifi", "smart-wifi", "smartphone", "smartwatch", "tablet", "trade-phone", "tv", "usb", "voice-switch", "wallplug", "wireless-off", "wireless-weak", "wireless", "world-alert", "world-off", "world-question", "bar-chart", "doc", "document-doc", "document-edit", "document-pdf", "document-ppt", "excel", "folder-copy", "folder-new", "folder", "gif", "graph", "media-content", "org-chart", "pie-chart", "print", "register", "report", "simcard", "spell-check", "summary", "credit-card", "euro", "invoice", "kontantkort", "kr", "late-payment", "money-back-euro", "money-back-kr", "money-euro", "money-kr", "pay-monthly-euro", "pay-monthly-kr", "pay-once-euro", "pay-once-kr", "payment-success", "savings", "wallet", "airplay", "camera", "entertainment", "external", "film", "games", "image", "link", "megaphone", "microphone", "music", "player-settings", "record", "stream", "trailer", "video-conference", "video", "activity-level", "add", "ai-robot", "bag", "basketball", "blood-pressure", "bulb", "business-continuity", "business-intelligence", "calendar", "cart", "close-circle", "cloud", "coffee", "compass", "construction", "cookie", "delivery", "drone", "education", "efficiency", "environment", "facemask", "flag", "focus", "food", "fraud", "getting-started", "home-care", "infinite", "job-search", "key", "layers", "map", "measuring-health", "moisture", "offering", "offshore", "optimization", "pebble", "pet-dog", "pin", "plane", "plus-minus", "police", "power-grid", "present", "press-button", "price", "pulse", "radio", "recycle", "reservation", "reverse", "route", "ruler", "satellite", "secured-1", "secured-2", "security-camera", "shopping", "smart-connect", "snowflake", "speedometer", "split", "spyware", "stop", "suitcase", "sustainability", "tag", "temperature", "thinking", "time", "train", "transfer", "undo", "wavelength", "weather", "world", "android", "apple", "bankid-norway", "bankid", "facebook", "instagram", "linkedin", "snapchat", "telia-logo", "whatsapp", "windows", "x", "youtube", "alert-filled", "alert", "check-circle-filled", "check-circle", "error-filled", "error", "help", "info-filled", "info", "question-filled", "question", "warning", "arrow-down", "arrow-left", "arrow-right", "arrow-subdirectory", "arrow-up", "card-view", "checkmark-bold", "checkmark", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "close", "grid-view", "list-view", "menu", "minus-bold", "minus", "more-horizontal", "more-vertical", "plus", "search", "services", "sorter", "table-view"];
|
|
1
|
+
export declare const iconNames: readonly ["alarm-off", "alarm-on", "attachment", "bookmark-filled", "bookmark", "copy-filled", "copy", "dislike", "download", "edit", "filter", "heart-filled", "heart", "invisible", "like", "lock-open", "lock", "login", "logout", "maximize", "minimize", "mute", "password-invisible", "password-visible", "play-filled", "play", "remove-filled", "remove", "save", "send", "settings", "share", "shortcut", "shuffle", "skip-back-10sec", "skip-back-30sec", "skip-forward-10sec", "skip-forward-30sec", "star-filled", "star", "switch-arrows", "sync", "tv-next", "tv-pause", "tv-previous", "tv-stop", "upload", "visible", "volume", "zoom-out", "zoom", "connected-building", "home", "hospital", "industry", "premises-datacenter", "premises-large", "premises-medium", "premises-small", "premises", "store", "address-book", "b2b-customer", "care", "chat-robot", "chat", "child-1", "child-2", "conversation", "customer-dialogue", "dsl-hub", "email", "end-user", "handshake", "headphones", "letter", "mms", "new-contact", "new-group", "news", "parental-guide", "people-hub", "people", "portal", "signature", "smiley-happy", "smiley-neutral", "smiley-sad", "sms", "support", "user-admin", "vcard", "voicemail", "battery", "bluetooth", "broadband", "broken-phone", "cast", "cloud-connect", "connected", "core-router", "daas-device", "data-transfer", "desktop", "devices", "esim-simcard", "esim", "face-id", "fiber", "fingerprint", "fiveg", "fourg", "home-installation", "industrial-iot", "internet", "it-service", "laptop", "mobile-broadband", "network", "phone-recycling", "phone-ringing", "phone", "rack", "refill-card", "remote-control", "repair", "roaming", "router", "secure-device", "sense-car", "server", "service-device", "service-supervision", "slow-wifi", "smart-wifi", "smartphone", "smartwatch", "tablet", "trade-phone", "tv", "usb", "voice-switch", "wallplug", "wireless-off", "wireless-weak", "wireless", "world-alert", "world-off", "world-question", "bar-chart", "doc", "document-doc", "document-edit", "document-pdf", "document-ppt", "excel", "folder-copy", "folder-new", "folder", "gif", "graph", "media-content", "org-chart", "pie-chart", "print", "register", "report", "simcard", "spell-check", "summary", "credit-card", "euro", "invoice", "kontantkort", "kr", "late-payment", "money-back-euro", "money-back-kr", "money-euro", "money-kr", "pay-monthly-euro", "pay-monthly-kr", "pay-once-euro", "pay-once-kr", "payment-success", "savings", "wallet", "airplay", "camera", "entertainment", "external", "film", "games", "image", "link", "megaphone", "microphone", "music", "player-settings", "record", "stream", "trailer", "video-conference", "video", "activity-level", "add", "ai-robot", "bag", "basketball", "blood-pressure", "bulb", "business-continuity", "business-intelligence", "calendar", "cart", "close-circle", "cloud", "coffee", "compass", "construction", "cookie", "delivery", "drone", "education", "efficiency", "environment", "facemask", "flag", "focus", "food", "fraud", "getting-started", "home-care", "infinite", "job-search", "key", "layers", "map", "measuring-health", "moisture", "offering", "offshore", "optimization", "pebble", "pet-dog", "pin", "plane", "plus-minus", "police", "power-grid", "present", "press-button", "price", "pulse", "radio", "recycle", "reservation", "reverse", "route", "ruler", "satellite", "secured-1", "secured-2", "security-camera", "shopping", "smart-connect", "snowflake", "speedometer", "split", "spyware", "stop", "suitcase", "sustainability", "tag", "temperature", "thinking", "time", "train", "transfer", "undo", "wavelength", "weather", "world", "android", "apple", "bankid-norway", "bankid", "facebook", "instagram", "linkedin", "snapchat", "telia-logo", "whatsapp", "windows", "x", "youtube", "alert-filled", "alert", "check-circle-filled", "check-circle", "error-filled", "error", "help", "info-filled", "info", "question-filled", "question", "warning", "arrow-down", "arrow-left", "arrow-right", "arrow-subdirectory", "arrow-up", "card-view", "checkmark-bold", "checkmark", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "close", "grid-view", "list-view", "menu", "minus-bold", "minus", "more-horizontal", "more-vertical", "plus", "search", "services", "sorter", "table-view"];
|
|
2
2
|
export type IconName = (typeof iconNames)[number];
|
package/dist/icons/name.js
CHANGED
package/dist/main.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const components_table_index = require("./components/table/index.cjs");
|
|
3
4
|
const components_flipCard_index = require("./components/flip-card/index.cjs");
|
|
4
5
|
const components_channelButton_index = require("./components/channel-button/index.cjs");
|
|
5
6
|
const components_collapsible_index = require("./components/collapsible/index.cjs");
|
|
@@ -39,7 +40,7 @@ const components_badge_counterBadge = require("./components/badge/counter-badge.
|
|
|
39
40
|
const components_button_button = require("./components/button/button.cjs");
|
|
40
41
|
const components_fieldErrorText_fieldErrorText = require("./components/field-error-text/field-error-text.cjs");
|
|
41
42
|
const components_helperText_helperText = require("./components/helper-text/helper-text.cjs");
|
|
42
|
-
const iconsHref = require("./assets/sprite.
|
|
43
|
+
const iconsHref = require("./assets/sprite.c3af21af-teddy.svg");
|
|
43
44
|
const components_icon_icon = require("./components/icon/icon.cjs");
|
|
44
45
|
const components_icon_utils = require("./components/icon/utils.cjs");
|
|
45
46
|
const components_icon_AllIcons = require("./components/icon/AllIcons.cjs");
|
|
@@ -63,6 +64,7 @@ const tokens_spacing_variables = require("./tokens/spacing/variables.cjs");
|
|
|
63
64
|
const tokens_typography_variables = require("./tokens/typography/variables.cjs");
|
|
64
65
|
const sonner = require("sonner");
|
|
65
66
|
const components_input_inputGroup = require("./components/input/input-group.cjs");
|
|
67
|
+
exports.Table = components_table_index.Table;
|
|
66
68
|
exports.FlipCard = components_flipCard_index.FlipCard;
|
|
67
69
|
exports.ChannelButton = components_channelButton_index.ChannelButton;
|
|
68
70
|
exports.Collapsible = components_collapsible_index.Collapsible;
|
package/dist/main.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Table } from "./components/table/index.js";
|
|
1
2
|
import { FlipCard } from "./components/flip-card/index.js";
|
|
2
3
|
import { ChannelButton } from "./components/channel-button/index.js";
|
|
3
4
|
import { Collapsible } from "./components/collapsible/index.js";
|
|
@@ -37,7 +38,7 @@ import { CounterBadge } from "./components/badge/counter-badge.js";
|
|
|
37
38
|
import { Button } from "./components/button/button.js";
|
|
38
39
|
import { FieldErrorText } from "./components/field-error-text/field-error-text.js";
|
|
39
40
|
import { HelperText } from "./components/helper-text/helper-text.js";
|
|
40
|
-
import { default as default2 } from "./assets/sprite.
|
|
41
|
+
import { default as default2 } from "./assets/sprite.c3af21af-teddy.svg";
|
|
41
42
|
import { Icon } from "./components/icon/icon.js";
|
|
42
43
|
import { isIconName } from "./components/icon/utils.js";
|
|
43
44
|
import { default as default3 } from "./components/icon/AllIcons.js";
|
|
@@ -110,6 +111,7 @@ export {
|
|
|
110
111
|
Skeleton,
|
|
111
112
|
Slider,
|
|
112
113
|
Spinner,
|
|
114
|
+
Table,
|
|
113
115
|
Tabs,
|
|
114
116
|
Text,
|
|
115
117
|
TextField,
|