@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.
Files changed (108) hide show
  1. package/README.md +8 -10
  2. package/dist/assets/5161b177f001ea1a.svg +1080 -0
  3. package/dist/assets/badge.css +1 -0
  4. package/dist/assets/button.css +1 -1
  5. package/dist/assets/grid.css +1 -0
  6. package/dist/assets/heading.css +1 -0
  7. package/dist/assets/icon.css +1 -1
  8. package/dist/assets/input.css +1 -1
  9. package/dist/assets/label.css +1 -1
  10. package/dist/assets/link.css +1 -0
  11. package/dist/assets/main.css +1 -1
  12. package/dist/assets/navigation-menu.css +1 -0
  13. package/dist/assets/text-field.css +1 -1
  14. package/dist/assets/text-spacing.css +1 -0
  15. package/dist/assets/text.css +1 -1
  16. package/dist/assets/visually-hidden.css +1 -0
  17. package/dist/badge-CbHdlkcM.js +742 -0
  18. package/dist/components/accordion/accordion.d.ts +59 -0
  19. package/dist/components/accordion/accordion.js +24 -0
  20. package/dist/components/accordion/index.d.ts +2 -0
  21. package/dist/components/accordion/index.js +4 -0
  22. package/dist/components/badge/badge.d.ts +21 -0
  23. package/dist/components/badge/badge.js +24 -0
  24. package/dist/components/badge/index.d.ts +2 -0
  25. package/dist/components/badge/index.js +4 -0
  26. package/dist/components/button/button.d.ts +19 -20
  27. package/dist/components/button/button.js +82 -71
  28. package/dist/components/button/index.d.ts +1 -1
  29. package/dist/components/card/card.d.ts +68 -0
  30. package/dist/components/card/card.js +24 -0
  31. package/dist/components/card/index.d.ts +2 -0
  32. package/dist/components/card/index.js +4 -0
  33. package/dist/components/field-error-text/field-error-text.d.ts +4 -3
  34. package/dist/components/field-error-text/field-error-text.js +12 -12
  35. package/dist/components/grid/grid.d.ts +23 -0
  36. package/dist/components/grid/grid.js +18 -0
  37. package/dist/components/grid/index.d.ts +2 -0
  38. package/dist/components/grid/index.js +4 -0
  39. package/dist/components/heading/heading.d.ts +63 -0
  40. package/dist/components/heading/heading.js +53 -0
  41. package/dist/components/heading/index.d.ts +2 -0
  42. package/dist/components/heading/index.js +4 -0
  43. package/dist/components/helper-text/helper-text.d.ts +2 -1
  44. package/dist/components/helper-text/helper-text.js +7 -7
  45. package/dist/components/icon/icon.d.ts +13 -2
  46. package/dist/components/icon/icon.js +22 -22
  47. package/dist/components/icon/index.d.ts +2 -1
  48. package/dist/components/icon/index.js +1 -1
  49. package/dist/components/index.d.ts +10 -0
  50. package/dist/components/index.js +38 -21
  51. package/dist/components/input/input.d.ts +14 -23
  52. package/dist/components/input/input.js +72 -50
  53. package/dist/components/label/label.d.ts +3 -1
  54. package/dist/components/label/label.js +23 -51
  55. package/dist/components/link/index.d.ts +2 -0
  56. package/dist/components/link/index.js +4 -0
  57. package/dist/components/link/link.d.ts +49 -0
  58. package/dist/components/link/link.js +36 -0
  59. package/dist/components/navigation-menu/index.d.ts +2 -0
  60. package/dist/components/navigation-menu/index.js +4 -0
  61. package/dist/components/navigation-menu/navigation-menu.d.ts +126 -0
  62. package/dist/components/navigation-menu/navigation-menu.js +10 -0
  63. package/dist/components/spinner/spinner.d.ts +2 -1
  64. package/dist/components/spinner/spinner.js +5 -5
  65. package/dist/components/switch/index.d.ts +2 -0
  66. package/dist/components/switch/index.js +4 -0
  67. package/dist/components/switch/switch.d.ts +44 -0
  68. package/dist/components/switch/switch.js +23 -0
  69. package/dist/components/text/text.d.ts +15 -8
  70. package/dist/components/text/text.js +27 -41
  71. package/dist/components/text-field/text-field.d.ts +24 -24
  72. package/dist/components/text-field/text-field.js +102 -125
  73. package/dist/components/text-spacing/index.d.ts +2 -0
  74. package/dist/components/text-spacing/index.js +4 -0
  75. package/dist/components/text-spacing/text-spacing.d.ts +19 -0
  76. package/dist/components/text-spacing/text-spacing.js +17 -0
  77. package/dist/components/visually-hidden/index.d.ts +2 -0
  78. package/dist/components/visually-hidden/index.js +4 -0
  79. package/dist/components/visually-hidden/visually-hidden.d.ts +15 -0
  80. package/dist/components/visually-hidden/visually-hidden.js +24 -0
  81. package/dist/icons/category.d.ts +985 -0
  82. package/dist/icons/category.js +333 -0
  83. package/dist/icons/name.d.ts +1 -1
  84. package/dist/icons/name.js +250 -200
  85. package/dist/index-DM5e-Whg.js +43 -0
  86. package/dist/index-DpfSJps6.js +75 -0
  87. package/dist/main.d.ts +1 -0
  88. package/dist/main.js +53 -36
  89. package/dist/navigation-menu-BgN7IKev.js +1334 -0
  90. package/dist/tokens/spacing/variables.json.d.ts +34 -0
  91. package/dist/utils/action.d.ts +2 -2
  92. package/dist/utils/composeEventHandlers.d.ts +30 -0
  93. package/dist/utils/composeEventHandlers.js +9 -0
  94. package/dist/utils/composeRefs.d.ts +40 -0
  95. package/dist/utils/composeRefs.js +14 -0
  96. package/dist/utils/layout.d.ts +60 -0
  97. package/dist/utils/layout.js +100 -0
  98. package/package.json +25 -24
  99. package/dist/assets/f2a2f391a886d395.svg +0 -284
  100. package/dist/index-TI1xsy6a.js +0 -70
  101. package/dist/teams/index.d.ts +0 -0
  102. package/dist/teams/index.js +0 -1
  103. package/dist/teams/min-side/index.d.ts +0 -0
  104. package/dist/teams/min-side/index.js +0 -1
  105. package/dist/teams/webshop/index.d.ts +0 -0
  106. package/dist/teams/webshop/index.js +0 -1
  107. /package/dist/{teams/business/index.d.ts → components/text-field/tex-field-label.d.ts} +0 -0
  108. /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 "./assets/main.css";
2
- import { Button as t } from "./components/button/button.js";
3
- import { FieldErrorText as x } from "./components/field-error-text/field-error-text.js";
4
- import { HelperText as m } from "./components/helper-text/helper-text.js";
5
- import { default as s } from "./assets/f2a2f391a886d395.svg";
6
- import { Icon as i } from "./components/icon/icon.js";
7
- import { Input as l, InputGroup as d } from "./components/input/input.js";
8
- import { Label as c } from "./components/label/label.js";
9
- import { Spinner as b } from "./components/spinner/spinner.js";
10
- import { Text as g } from "./components/text/text.js";
11
- import { TextField as y } from "./components/text-field/text-field.js";
12
- import { v as H } from "./variables-IczXZ5CN.js";
13
- import { v as w } from "./variables-BkY5b0io.js";
14
- import { v as E } from "./variables-BKiPmtHY.js";
15
- import { v as L } from "./variables-CMRTN8qo.js";
16
- import { v as j } from "./variables-Bq0YUbLS.js";
17
- import { v as z } from "./variables-CDK515QX.js";
18
- import { v as C } from "./variables-Dmoh9YtD.js";
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
- t as Button,
21
- x as FieldErrorText,
22
- m as HelperText,
23
- i as Icon,
24
- l as Input,
25
- d as InputGroup,
26
- c as Label,
27
- b as Spinner,
28
- g as Text,
29
- y as TextField,
30
- H as border,
31
- w as breakpoint,
32
- E as color,
33
- s as iconsHref,
34
- L as motion,
35
- j as shadow,
36
- z as spacing,
37
- C as typography
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
  };