@telia/teddy 0.7.0 → 0.7.5
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/components/accordion/accordion-indicator.cjs +1 -1
- package/dist/components/accordion/accordion-indicator.js +1 -1
- package/dist/components/avatar/avatar-root.cjs +1 -1
- package/dist/components/avatar/avatar-root.d.ts +1 -1
- package/dist/components/avatar/avatar-root.js +1 -1
- package/dist/components/avatar/index.d.ts +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-indicator.cjs +1 -1
- package/dist/components/checkbox/checkbox-indicator.js +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/dashboard-card/dashboard-card-avatar.d.ts +1 -1
- package/dist/components/dashboard-card/dashboard-card-root.cjs +1 -1
- package/dist/components/dashboard-card/dashboard-card-root.js +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/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 +2 -2
- 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 +2 -2
- package/dist/components/pagination/index.cjs +27 -0
- package/dist/components/pagination/index.d.ts +114 -0
- package/dist/components/pagination/index.js +27 -0
- package/dist/components/pagination/pagination-button.cjs +116 -0
- package/dist/components/pagination/pagination-button.d.ts +56 -0
- package/dist/components/pagination/pagination-button.js +116 -0
- package/dist/components/pagination/pagination-items-per-page.cjs +66 -0
- package/dist/components/pagination/pagination-items-per-page.d.ts +35 -0
- package/dist/components/pagination/pagination-items-per-page.js +66 -0
- package/dist/components/pagination/pagination-navigation.cjs +51 -0
- package/dist/components/pagination/pagination-navigation.d.ts +25 -0
- package/dist/components/pagination/pagination-navigation.js +51 -0
- package/dist/components/pagination/pagination-page-numbers.cjs +94 -0
- package/dist/components/pagination/pagination-page-numbers.d.ts +26 -0
- package/dist/components/pagination/pagination-page-numbers.js +94 -0
- package/dist/components/pagination/pagination-page-selector.cjs +68 -0
- package/dist/components/pagination/pagination-page-selector.d.ts +22 -0
- package/dist/components/pagination/pagination-page-selector.js +68 -0
- package/dist/components/pagination/pagination-root.cjs +29 -0
- package/dist/components/pagination/pagination-root.d.ts +24 -0
- package/dist/components/pagination/pagination-root.js +29 -0
- 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/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/select/select-indicator.cjs +1 -1
- package/dist/components/select/select-indicator.js +1 -1
- 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/main.cjs +3 -1
- package/dist/main.js +3 -1
- package/dist/pagination.module-BZYtfhKG.js +14 -0
- package/dist/pagination.module-cJw-49kO.cjs +13 -0
- package/dist/style.css +750 -691
- 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
- package/dist/assets/{sprite.c7653d19-teddy.svg → sprite.6511e521-teddy.svg} +9 -9
|
@@ -3,6 +3,7 @@ import "clsx";
|
|
|
3
3
|
import "react";
|
|
4
4
|
import "./radio-card-group-root.js";
|
|
5
5
|
import "@radix-ui/react-radio-group";
|
|
6
|
+
import "../pagination/index.js";
|
|
6
7
|
import "../select/index.js";
|
|
7
8
|
import "../avatar/index.js";
|
|
8
9
|
import "../dashboard-card/index.js";
|
|
@@ -30,7 +31,7 @@ import "../tabs/index.js";
|
|
|
30
31
|
import "../drawer/index.js";
|
|
31
32
|
import "../image/image.js";
|
|
32
33
|
import "../chip/index.js";
|
|
33
|
-
import "../../assets/sprite.
|
|
34
|
+
import "../../assets/sprite.6511e521-teddy.svg";
|
|
34
35
|
import "../notification/index.js";
|
|
35
36
|
import "../radio-group/index.js";
|
|
36
37
|
import "../box/box.js";
|
|
@@ -21,7 +21,7 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
|
|
|
21
21
|
loading?: boolean | undefined;
|
|
22
22
|
fullWidth?: boolean | undefined;
|
|
23
23
|
size?: "sm" | "md" | "lg" | undefined;
|
|
24
|
-
variant?: "text" | "
|
|
24
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
25
25
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
26
26
|
} & {
|
|
27
27
|
iconOnly: true;
|
|
@@ -33,7 +33,7 @@ export declare const ScrollArea: import('react').ForwardRefExoticComponent<Omit<
|
|
|
33
33
|
loading?: boolean | undefined;
|
|
34
34
|
fullWidth?: boolean | undefined;
|
|
35
35
|
size?: "sm" | "md" | "lg" | undefined;
|
|
36
|
-
variant?: "text" | "
|
|
36
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
37
37
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
38
38
|
} & {
|
|
39
39
|
iconOnly?: false | undefined;
|
|
@@ -6,6 +6,6 @@ require("clsx");
|
|
|
6
6
|
const components_scrollArea_scrollAreaThumb = require("./scroll-area-thumb.cjs");
|
|
7
7
|
require("../button/button.cjs");
|
|
8
8
|
require("../../utils/composeEventHandlers.cjs");
|
|
9
|
-
require("../../assets/sprite.
|
|
9
|
+
require("../../assets/sprite.6511e521-teddy.svg");
|
|
10
10
|
require("../icon/icon.cjs");
|
|
11
11
|
exports.Button = components_scrollArea_scrollAreaThumb.Button$1;
|
|
@@ -17,7 +17,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
17
17
|
loading?: boolean | undefined;
|
|
18
18
|
fullWidth?: boolean | undefined;
|
|
19
19
|
size?: "sm" | "md" | "lg" | undefined;
|
|
20
|
-
variant?: "text" | "
|
|
20
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
21
21
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
22
22
|
} & {
|
|
23
23
|
iconOnly: true;
|
|
@@ -29,7 +29,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<Reac
|
|
|
29
29
|
loading?: boolean | undefined;
|
|
30
30
|
fullWidth?: boolean | undefined;
|
|
31
31
|
size?: "sm" | "md" | "lg" | undefined;
|
|
32
|
-
variant?: "text" | "
|
|
32
|
+
variant?: "text" | "primary" | "list-item" | "secondary" | "destructive" | "tertiary-purple" | "expressive" | "primary-negative" | "secondary-negative" | "destructive-negative" | "tertiary-purple-negative" | "text-negative" | "expressive-negative" | undefined;
|
|
33
33
|
borderStyle?: ("dashed" | "default") | undefined;
|
|
34
34
|
} & {
|
|
35
35
|
iconOnly?: false | undefined;
|
|
@@ -4,7 +4,7 @@ import "clsx";
|
|
|
4
4
|
import { B } from "./scroll-area-thumb.js";
|
|
5
5
|
import "../button/button.js";
|
|
6
6
|
import "../../utils/composeEventHandlers.js";
|
|
7
|
-
import "../../assets/sprite.
|
|
7
|
+
import "../../assets/sprite.6511e521-teddy.svg";
|
|
8
8
|
import "../icon/icon.js";
|
|
9
9
|
export {
|
|
10
10
|
B as Button
|
|
@@ -6,7 +6,7 @@ const clsx = require("clsx");
|
|
|
6
6
|
const ScrollAreaPrimitive = require("@radix-ui/react-scroll-area");
|
|
7
7
|
const components_button_button = require("../button/button.cjs");
|
|
8
8
|
const utils_composeEventHandlers = require("../../utils/composeEventHandlers.cjs");
|
|
9
|
-
require("../../assets/sprite.
|
|
9
|
+
require("../../assets/sprite.6511e521-teddy.svg");
|
|
10
10
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
11
11
|
function _interopNamespaceDefault(e) {
|
|
12
12
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
5
5
|
import { Button as Button$1 } from "../button/button.js";
|
|
6
6
|
import { composeEventHandlers } from "../../utils/composeEventHandlers.js";
|
|
7
|
-
import "../../assets/sprite.
|
|
7
|
+
import "../../assets/sprite.6511e521-teddy.svg";
|
|
8
8
|
import { Icon } from "../icon/icon.js";
|
|
9
9
|
const styles = {
|
|
10
10
|
"teddy-scroll-area": "_teddy-scroll-area_1r6mf_1",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
require("../../assets/sprite.
|
|
5
|
+
require("../../assets/sprite.6511e521-teddy.svg");
|
|
6
6
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
7
7
|
const Indicator = React.forwardRef(
|
|
8
8
|
({ className, children, name, ...props }, forwardRef) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import "../../assets/sprite.
|
|
3
|
+
import "../../assets/sprite.6511e521-teddy.svg";
|
|
4
4
|
import { Icon } from "../icon/icon.js";
|
|
5
5
|
const Indicator = React__default.forwardRef(
|
|
6
6
|
({ className, children, name, ...props }, forwardRef) => {
|
|
@@ -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?: ("dashed" | "default") | 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?: ("dashed" | "default") | 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?: ("dashed" | "default") | 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?: ("dashed" | "default") | 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?: ("dashed" | "default") | 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?: ("dashed" | "default") | 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.6511e521-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.6511e521-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.6511e521-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" | "split" | "alert" | "radio" | "email" | "copy" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "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" | "
|
|
33
|
-
size?: ("
|
|
32
|
+
name: "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "split" | "alert" | "radio" | "email" | "copy" | "x" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "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" | "smiley-very-happy" | "smiley-very-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" | "AI-star" | "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.6511e521-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.6511e521-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.6511e521-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.6511e521-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.6511e521-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/main.cjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const components_pagination_index = require("./components/pagination/index.cjs");
|
|
3
4
|
const components_select_index = require("./components/select/index.cjs");
|
|
4
5
|
const components_avatar_index = require("./components/avatar/index.cjs");
|
|
5
6
|
const components_dashboardCard_index = require("./components/dashboard-card/index.cjs");
|
|
@@ -43,7 +44,7 @@ const components_badge_counterBadge = require("./components/badge/counter-badge.
|
|
|
43
44
|
const components_button_button = require("./components/button/button.cjs");
|
|
44
45
|
const components_fieldErrorText_fieldErrorText = require("./components/field-error-text/field-error-text.cjs");
|
|
45
46
|
const components_helperText_helperText = require("./components/helper-text/helper-text.cjs");
|
|
46
|
-
require("./assets/sprite.
|
|
47
|
+
require("./assets/sprite.6511e521-teddy.svg");
|
|
47
48
|
const components_icon_icon = require("./components/icon/icon.cjs");
|
|
48
49
|
const components_icon_utils = require("./components/icon/utils.cjs");
|
|
49
50
|
const components_icon_AllIcons = require("./components/icon/AllIcons.cjs");
|
|
@@ -68,6 +69,7 @@ const tokens_spacing_variables = require("./tokens/spacing/variables.cjs");
|
|
|
68
69
|
const tokens_typography_variables = require("./tokens/typography/variables.cjs");
|
|
69
70
|
const sonner = require("sonner");
|
|
70
71
|
const components_input_inputGroup = require("./components/input/input-group.cjs");
|
|
72
|
+
exports.Pagination = components_pagination_index.Pagination;
|
|
71
73
|
exports.Select = components_select_index.Select;
|
|
72
74
|
exports.Avatar = components_avatar_index.Avatar;
|
|
73
75
|
exports.DashboardCard = components_dashboardCard_index.DashboardCard;
|
package/dist/main.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Pagination } from "./components/pagination/index.js";
|
|
1
2
|
import { Select } from "./components/select/index.js";
|
|
2
3
|
import { Avatar } from "./components/avatar/index.js";
|
|
3
4
|
import { DashboardCard } from "./components/dashboard-card/index.js";
|
|
@@ -41,7 +42,7 @@ import { CounterBadge } from "./components/badge/counter-badge.js";
|
|
|
41
42
|
import { Button } from "./components/button/button.js";
|
|
42
43
|
import { FieldErrorText } from "./components/field-error-text/field-error-text.js";
|
|
43
44
|
import { HelperText } from "./components/helper-text/helper-text.js";
|
|
44
|
-
import "./assets/sprite.
|
|
45
|
+
import "./assets/sprite.6511e521-teddy.svg";
|
|
45
46
|
import { Icon } from "./components/icon/icon.js";
|
|
46
47
|
import { isIconName } from "./components/icon/utils.js";
|
|
47
48
|
import { default as default2 } from "./components/icon/AllIcons.js";
|
|
@@ -110,6 +111,7 @@ export {
|
|
|
110
111
|
N as NavigationMenu,
|
|
111
112
|
Notabene,
|
|
112
113
|
Notification,
|
|
114
|
+
Pagination,
|
|
113
115
|
ProgressBar,
|
|
114
116
|
R as RadioCardGroup,
|
|
115
117
|
RadioGroup,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const styles = {
|
|
2
|
+
"teddy-pagination": "_teddy-pagination_14dmj_1",
|
|
3
|
+
"teddy-pagination-button": "_teddy-pagination-button_14dmj_6",
|
|
4
|
+
"teddy-pagination-button--page": "_teddy-pagination-button--page_14dmj_10",
|
|
5
|
+
"teddy-pagination-button--ellipsis": "_teddy-pagination-button--ellipsis_14dmj_13",
|
|
6
|
+
"teddy-pagination-page-selector": "_teddy-pagination-page-selector_14dmj_26",
|
|
7
|
+
"teddy-pagination-page-selector__select": "_teddy-pagination-page-selector__select_14dmj_33",
|
|
8
|
+
"teddy-pagination-page-numbers": "_teddy-pagination-page-numbers_14dmj_40",
|
|
9
|
+
"teddy-pagination-items-per-page": "_teddy-pagination-items-per-page_14dmj_48",
|
|
10
|
+
"teddy-pagination-items-per-page__select": "_teddy-pagination-items-per-page__select_14dmj_55"
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
styles as s
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const styles = {
|
|
3
|
+
"teddy-pagination": "_teddy-pagination_14dmj_1",
|
|
4
|
+
"teddy-pagination-button": "_teddy-pagination-button_14dmj_6",
|
|
5
|
+
"teddy-pagination-button--page": "_teddy-pagination-button--page_14dmj_10",
|
|
6
|
+
"teddy-pagination-button--ellipsis": "_teddy-pagination-button--ellipsis_14dmj_13",
|
|
7
|
+
"teddy-pagination-page-selector": "_teddy-pagination-page-selector_14dmj_26",
|
|
8
|
+
"teddy-pagination-page-selector__select": "_teddy-pagination-page-selector__select_14dmj_33",
|
|
9
|
+
"teddy-pagination-page-numbers": "_teddy-pagination-page-numbers_14dmj_40",
|
|
10
|
+
"teddy-pagination-items-per-page": "_teddy-pagination-items-per-page_14dmj_48",
|
|
11
|
+
"teddy-pagination-items-per-page__select": "_teddy-pagination-items-per-page__select_14dmj_55"
|
|
12
|
+
};
|
|
13
|
+
exports.styles = styles;
|