@telia/teddy 0.0.3 → 0.0.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/README.md +8 -10
- package/dist/assets/5161b177f001ea1a.svg +1080 -0
- package/dist/assets/badge.css +1 -0
- package/dist/assets/button.css +1 -1
- package/dist/assets/grid.css +1 -0
- package/dist/assets/heading.css +1 -0
- package/dist/assets/icon.css +1 -1
- package/dist/assets/input.css +1 -1
- package/dist/assets/label.css +1 -1
- package/dist/assets/link.css +1 -0
- package/dist/assets/main.css +1 -1
- package/dist/assets/navigation-menu.css +1 -0
- package/dist/assets/text-field.css +1 -1
- package/dist/assets/text-spacing.css +1 -0
- package/dist/assets/text.css +1 -1
- package/dist/assets/visually-hidden.css +1 -0
- package/dist/badge-CbHdlkcM.js +742 -0
- package/dist/components/accordion/accordion.d.ts +59 -0
- package/dist/components/accordion/accordion.js +24 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/accordion/index.js +4 -0
- package/dist/components/badge/badge.d.ts +21 -0
- package/dist/components/badge/badge.js +24 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/badge/index.js +4 -0
- package/dist/components/button/button.d.ts +19 -20
- package/dist/components/button/button.js +82 -71
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/card/card.d.ts +68 -0
- package/dist/components/card/card.js +24 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/index.js +4 -0
- package/dist/components/field-error-text/field-error-text.d.ts +4 -3
- package/dist/components/field-error-text/field-error-text.js +12 -12
- package/dist/components/grid/grid.d.ts +23 -0
- package/dist/components/grid/grid.js +18 -0
- package/dist/components/grid/index.d.ts +2 -0
- package/dist/components/grid/index.js +4 -0
- package/dist/components/heading/heading.d.ts +63 -0
- package/dist/components/heading/heading.js +53 -0
- package/dist/components/heading/index.d.ts +2 -0
- package/dist/components/heading/index.js +4 -0
- package/dist/components/helper-text/helper-text.d.ts +2 -1
- package/dist/components/helper-text/helper-text.js +7 -7
- package/dist/components/icon/icon.d.ts +13 -2
- package/dist/components/icon/icon.js +22 -22
- package/dist/components/icon/index.d.ts +2 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +38 -21
- package/dist/components/input/input.d.ts +14 -23
- package/dist/components/input/input.js +72 -50
- package/dist/components/label/label.d.ts +3 -1
- package/dist/components/label/label.js +23 -51
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.js +4 -0
- package/dist/components/link/link.d.ts +49 -0
- package/dist/components/link/link.js +36 -0
- package/dist/components/navigation-menu/index.d.ts +2 -0
- package/dist/components/navigation-menu/index.js +4 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +126 -0
- package/dist/components/navigation-menu/navigation-menu.js +10 -0
- package/dist/components/spinner/spinner.d.ts +2 -1
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.js +4 -0
- package/dist/components/switch/switch.d.ts +44 -0
- package/dist/components/switch/switch.js +23 -0
- package/dist/components/text/text.d.ts +15 -8
- package/dist/components/text/text.js +27 -41
- package/dist/components/text-field/text-field.d.ts +24 -24
- package/dist/components/text-field/text-field.js +102 -125
- package/dist/components/text-spacing/index.d.ts +2 -0
- package/dist/components/text-spacing/index.js +4 -0
- package/dist/components/text-spacing/text-spacing.d.ts +19 -0
- package/dist/components/text-spacing/text-spacing.js +17 -0
- package/dist/components/visually-hidden/index.d.ts +2 -0
- package/dist/components/visually-hidden/index.js +4 -0
- package/dist/components/visually-hidden/visually-hidden.d.ts +15 -0
- package/dist/components/visually-hidden/visually-hidden.js +24 -0
- package/dist/icons/category.d.ts +985 -0
- package/dist/icons/category.js +333 -0
- package/dist/icons/name.d.ts +1 -1
- package/dist/icons/name.js +250 -200
- package/dist/index-DM5e-Whg.js +43 -0
- package/dist/index-DpfSJps6.js +75 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +53 -36
- package/dist/navigation-menu-BgN7IKev.js +1334 -0
- package/dist/tokens/spacing/variables.json.d.ts +34 -0
- package/dist/utils/action.d.ts +2 -2
- package/dist/utils/composeEventHandlers.d.ts +30 -0
- package/dist/utils/composeEventHandlers.js +9 -0
- package/dist/utils/composeRefs.d.ts +40 -0
- package/dist/utils/composeRefs.js +14 -0
- package/dist/utils/layout.d.ts +60 -0
- package/dist/utils/layout.js +100 -0
- package/package.json +25 -24
- package/dist/assets/f2a2f391a886d395.svg +0 -284
- package/dist/index-TI1xsy6a.js +0 -70
- package/dist/teams/index.d.ts +0 -0
- package/dist/teams/index.js +0 -1
- package/dist/teams/min-side/index.d.ts +0 -0
- package/dist/teams/min-side/index.js +0 -1
- package/dist/teams/webshop/index.d.ts +0 -0
- package/dist/teams/webshop/index.js +0 -1
- /package/dist/{teams/business/index.d.ts → components/text-field/tex-field-label.d.ts} +0 -0
- /package/dist/{teams/business/index.js → components/text-field/tex-field-label.js} +0 -0
package/dist/main.js
CHANGED
|
@@ -1,38 +1,55 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
1
|
+
import './assets/main.css';
|
|
2
|
+
import { A as e, B as t, C as p, S as x } from "./badge-CbHdlkcM.js";
|
|
3
|
+
import { Grid as f } from "./components/grid/grid.js";
|
|
4
|
+
import { N as i } from "./navigation-menu-BgN7IKev.js";
|
|
5
|
+
import { Link as s } from "./components/link/link.js";
|
|
6
|
+
import { Button as c } from "./components/button/button.js";
|
|
7
|
+
import { FieldErrorText as v } from "./components/field-error-text/field-error-text.js";
|
|
8
|
+
import { HelperText as g } from "./components/helper-text/helper-text.js";
|
|
9
|
+
import { default as H } from "./assets/5161b177f001ea1a.svg";
|
|
10
|
+
import { Icon as b } from "./components/icon/icon.js";
|
|
11
|
+
import { Input as y, InputGroup as B } from "./components/input/input.js";
|
|
12
|
+
import { Label as k } from "./components/label/label.js";
|
|
13
|
+
import { Spinner as A } from "./components/spinner/spinner.js";
|
|
14
|
+
import { Text as F } from "./components/text/text.js";
|
|
15
|
+
import { TextField as L } from "./components/text-field/text-field.js";
|
|
16
|
+
import { Heading as E } from "./components/heading/heading.js";
|
|
17
|
+
import { VisuallyHidden as V } from "./components/visually-hidden/visually-hidden.js";
|
|
18
|
+
import { TextSpacing as q } from "./components/text-spacing/text-spacing.js";
|
|
19
|
+
import { v as D } from "./variables-IczXZ5CN.js";
|
|
20
|
+
import { v as K } from "./variables-BkY5b0io.js";
|
|
21
|
+
import { v as P } from "./variables-BKiPmtHY.js";
|
|
22
|
+
import { v as R } from "./variables-CMRTN8qo.js";
|
|
23
|
+
import { v as W } from "./variables-Bq0YUbLS.js";
|
|
24
|
+
import { v as Y } from "./variables-CDK515QX.js";
|
|
25
|
+
import { v as _ } from "./variables-Dmoh9YtD.js";
|
|
19
26
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
y as
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
27
|
+
e as Accordion,
|
|
28
|
+
t as Badge,
|
|
29
|
+
c as Button,
|
|
30
|
+
p as Card,
|
|
31
|
+
v as FieldErrorText,
|
|
32
|
+
f as Grid,
|
|
33
|
+
E as Heading,
|
|
34
|
+
g as HelperText,
|
|
35
|
+
b as Icon,
|
|
36
|
+
y as Input,
|
|
37
|
+
B as InputGroup,
|
|
38
|
+
k as Label,
|
|
39
|
+
s as Link,
|
|
40
|
+
i as NavigationMenu,
|
|
41
|
+
A as Spinner,
|
|
42
|
+
x as Switch,
|
|
43
|
+
F as Text,
|
|
44
|
+
L as TextField,
|
|
45
|
+
q as TextSpacing,
|
|
46
|
+
V as VisuallyHidden,
|
|
47
|
+
D as border,
|
|
48
|
+
K as breakpoint,
|
|
49
|
+
P as color,
|
|
50
|
+
H as iconsHref,
|
|
51
|
+
R as motion,
|
|
52
|
+
W as shadow,
|
|
53
|
+
Y as spacing,
|
|
54
|
+
_ as typography
|
|
38
55
|
};
|