@telia/teddy 0.0.9 → 0.0.11
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/badge.css +1 -1
- package/dist/assets/heading.css +1 -1
- package/dist/assets/main.css +1 -1
- package/dist/assets/navigation-menu.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/badge-DscsRVHR.js +1825 -0
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/badge/index.js +1 -1
- package/dist/components/box/box.js +8 -8
- package/dist/components/button/button.d.ts +2 -1
- package/dist/components/button/button.js +59 -60
- package/dist/components/card/card.js +3 -3
- package/dist/components/card/index.js +1 -1
- package/dist/components/flex/flex.js +1 -1
- package/dist/components/grid/grid.js +6 -6
- package/dist/components/heading/heading.d.ts +9 -36
- package/dist/components/heading/heading.js +36 -37
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +35 -33
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.js +4 -0
- package/dist/components/modal/modal.d.ts +76 -0
- package/dist/components/modal/modal.js +28 -0
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/navigation-menu/navigation-menu.d.ts +2 -0
- package/dist/components/navigation-menu/navigation-menu.js +8 -1032
- package/dist/components/notification/index.d.ts +2 -0
- package/dist/components/notification/index.js +4 -0
- package/dist/components/notification/notification.d.ts +59 -0
- package/dist/components/notification/notification.js +27 -0
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/text-field/text-field.js +15 -15
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle/toggle.d.ts +1 -1
- package/dist/components/toggle/toggle.js +3 -3
- package/dist/{index-0Eg2mucA.js → index-FPIZOCcD.js} +80 -80
- package/dist/main.js +51 -49
- package/dist/navigation-menu-DKuyW8zE.js +1036 -0
- package/dist/{radio-group-BR5SMJXJ.js → radio-group-B--zT3OL.js} +8 -8
- package/dist/tokens/breakpoint/variables.json.d.ts +11 -0
- package/dist/utils/component-props-as.d.ts +5 -0
- package/dist/utils/component-props-as.js +1 -0
- package/dist/utils/layout/align.d.ts +46 -0
- package/dist/utils/layout/align.js +31 -0
- package/dist/utils/layout/flex.d.ts +294 -0
- package/dist/utils/layout/flex.js +60 -0
- package/dist/utils/layout/gap.d.ts +340 -0
- package/dist/utils/layout/gap.js +21 -0
- package/dist/utils/layout/grid.d.ts +313 -0
- package/dist/utils/layout/grid.js +116 -0
- package/dist/utils/layout/height.d.ts +118 -0
- package/dist/utils/layout/height.js +50 -0
- package/dist/utils/layout/index.d.ts +70 -0
- package/dist/utils/layout/index.js +71 -0
- package/dist/utils/layout/justify.d.ts +39 -0
- package/dist/utils/layout/justify.js +16 -0
- package/dist/utils/layout/margin.d.ts +478 -0
- package/dist/utils/layout/margin.js +32 -0
- package/dist/utils/layout/padding.d.ts +478 -0
- package/dist/utils/layout/padding.js +32 -0
- package/dist/utils/layout/util.d.ts +82 -0
- package/dist/utils/layout/util.js +32 -0
- package/dist/utils/layout/width.d.ts +69 -0
- package/dist/utils/layout/width.js +25 -0
- package/package.json +5 -1
- package/dist/badge-9vHb0-Jo.js +0 -721
- package/dist/tokens/spacing/variables.json.d.ts +0 -34
- package/dist/utils/layout.d.ts +0 -150
- package/dist/utils/layout.js +0 -221
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { M as z } from "../../badge-DscsRVHR.js";
|
|
4
|
+
import "../../radio-group-B--zT3OL.js";
|
|
5
|
+
import "../box/box.js";
|
|
6
|
+
import "../flex/flex.js";
|
|
7
|
+
import "../grid/grid.js";
|
|
8
|
+
import "../../navigation-menu-DKuyW8zE.js";
|
|
9
|
+
import "../link/link.js";
|
|
10
|
+
import "../button/button.js";
|
|
11
|
+
import "../field-error-text/field-error-text.js";
|
|
12
|
+
import "../helper-text/helper-text.js";
|
|
13
|
+
import "../../assets/5161b177f001ea1a.svg";
|
|
14
|
+
import "../icon/icon.js";
|
|
15
|
+
import "../input/input.js";
|
|
16
|
+
import "../label/label.js";
|
|
17
|
+
import "../spinner/spinner.js";
|
|
18
|
+
import "../text/text.js";
|
|
19
|
+
import "../text-field/text-field.js";
|
|
20
|
+
import "../heading/heading.js";
|
|
21
|
+
import "../visually-hidden/visually-hidden.js";
|
|
22
|
+
import "../text-spacing/text-spacing.js";
|
|
23
|
+
import "../../clsx-DB4S2d7J.js";
|
|
24
|
+
import "../../index-DpfSJps6.js";
|
|
25
|
+
import "../../utils/composeRefs.js";
|
|
26
|
+
export {
|
|
27
|
+
z as Modal
|
|
28
|
+
};
|
|
@@ -23,6 +23,7 @@ type TopMenuItemProps = React.ComponentPropsWithoutRef<'li'>;
|
|
|
23
23
|
* -----------------------------------------------------------------------------------------------*/
|
|
24
24
|
type TopMenuTriggerProps = React.ComponentPropsWithoutRef<'button'> & {
|
|
25
25
|
value: string;
|
|
26
|
+
active?: boolean;
|
|
26
27
|
};
|
|
27
28
|
/** -------------------------------------------------------------------------------------------------
|
|
28
29
|
* NavigationMenuList
|
|
@@ -108,6 +109,7 @@ declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMen
|
|
|
108
109
|
TopMenuItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
109
110
|
TopMenuTrigger: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
110
111
|
value: string;
|
|
112
|
+
active?: boolean | undefined;
|
|
111
113
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
112
114
|
};
|
|
113
115
|
type NavigationMenuProps = {
|