@helsenorge/designsystem-react 1.0.0-beta80 → 1.0.0-beta81

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 (66) hide show
  1. package/{Button-7200b617.js → Button-e2087687.js} +2 -2
  2. package/Button-e2087687.js.map +1 -0
  3. package/Loader-3767cb6e.js +2 -0
  4. package/Loader-3767cb6e.js.map +1 -0
  5. package/Modal-459c67d7.js +2 -0
  6. package/Modal-459c67d7.js.map +1 -0
  7. package/components/Avatar/index.js +1 -1
  8. package/components/Button/index.js +1 -1
  9. package/components/ButtonWithModal/ButtonWithModal.d.ts +1 -1
  10. package/components/ButtonWithModal/ButtonWithModal.d.ts.map +1 -1
  11. package/components/ButtonWithModal/index.js +1 -1
  12. package/components/Loader/index.js +1 -1
  13. package/components/Modal/index.js +1 -1
  14. package/components/Modal/styles.module.scss +6 -6
  15. package/components/Tabs/componentdata.json +3 -0
  16. package/package.json +1 -2
  17. package/scss/_palette.scss +0 -1
  18. package/Button-7200b617.js.map +0 -1
  19. package/Check-6291ad09.js +0 -2
  20. package/Check-6291ad09.js.map +0 -1
  21. package/Checkbox-ffdd3cb7.js +0 -2
  22. package/Checkbox-ffdd3cb7.js.map +0 -1
  23. package/FormGroup-17d2a3d3.js +0 -2
  24. package/FormGroup-17d2a3d3.js.map +0 -1
  25. package/Loader-9e099b42.js +0 -2
  26. package/Loader-9e099b42.js.map +0 -1
  27. package/Modal-5c2defa7.js +0 -2
  28. package/Modal-5c2defa7.js.map +0 -1
  29. package/Validation-e113da7e.js +0 -2
  30. package/Validation-e113da7e.js.map +0 -1
  31. package/components/Checkbox/Checkbox.d.ts +0 -31
  32. package/components/Checkbox/Checkbox.d.ts.map +0 -1
  33. package/components/Checkbox/componentdata.json +0 -259
  34. package/components/Checkbox/index.d.ts +0 -3
  35. package/components/Checkbox/index.d.ts.map +0 -1
  36. package/components/Checkbox/index.js +0 -2
  37. package/components/Checkbox/index.js.map +0 -1
  38. package/components/Checkbox/styles.module.scss +0 -191
  39. package/components/Checkbox/styles.module.scss.d.ts +0 -25
  40. package/components/FormExample/FormExample.d.ts +0 -13
  41. package/components/FormExample/FormExample.d.ts.map +0 -1
  42. package/components/FormExample/componentdata.json +0 -63
  43. package/components/FormExample/index.d.ts +0 -3
  44. package/components/FormExample/index.d.ts.map +0 -1
  45. package/components/FormExample/index.js +0 -2
  46. package/components/FormExample/index.js.map +0 -1
  47. package/components/FormGroup/FormGroup.d.ts +0 -26
  48. package/components/FormGroup/FormGroup.d.ts.map +0 -1
  49. package/components/FormGroup/componentdata.json +0 -183
  50. package/components/FormGroup/index.d.ts +0 -3
  51. package/components/FormGroup/index.d.ts.map +0 -1
  52. package/components/FormGroup/index.js +0 -2
  53. package/components/FormGroup/index.js.map +0 -1
  54. package/components/FormGroup/styles.module.scss +0 -79
  55. package/components/FormGroup/styles.module.scss.d.ts +0 -22
  56. package/components/Validation/Validation.d.ts +0 -17
  57. package/components/Validation/Validation.d.ts.map +0 -1
  58. package/components/Validation/componentdata.json +0 -111
  59. package/components/Validation/index.d.ts +0 -3
  60. package/components/Validation/index.d.ts.map +0 -1
  61. package/components/Validation/index.js +0 -2
  62. package/components/Validation/index.js.map +0 -1
  63. package/components/Validation/styles.module.scss +0 -15
  64. package/components/Validation/styles.module.scss.d.ts +0 -10
  65. package/uuid-484288be.js +0 -2
  66. package/uuid-484288be.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"Validation.d.ts","sourceRoot":"","sources":["../../../src/components/Validation/Validation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAIrD,UAAU,eAAe;IACvB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,qFAgBrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -1,111 +0,0 @@
1
- {
2
- "props": {
3
- "errorSummary": {
4
- "defaultValue": null,
5
- "description": "text placed in the legend tag of the fieldset",
6
- "name": "errorSummary",
7
- "parent": {
8
- "fileName": "src/components/Validation/Validation.tsx",
9
- "name": "ValidationProps"
10
- },
11
- "declarations": [
12
- {
13
- "fileName": "src/components/Validation/Validation.tsx",
14
- "name": "ValidationProps"
15
- }
16
- ],
17
- "required": false,
18
- "type": {
19
- "name": "string"
20
- }
21
- },
22
- "children": {
23
- "defaultValue": null,
24
- "description": "Items in the ExpanderList",
25
- "name": "children",
26
- "parent": {
27
- "fileName": "src/components/Validation/Validation.tsx",
28
- "name": "ValidationProps"
29
- },
30
- "declarations": [
31
- {
32
- "fileName": "src/components/Validation/Validation.tsx",
33
- "name": "ValidationProps"
34
- }
35
- ],
36
- "required": false,
37
- "type": {
38
- "name": "ReactNode"
39
- }
40
- },
41
- "className": {
42
- "defaultValue": null,
43
- "description": "Adds custom classes to the element.",
44
- "name": "className",
45
- "parent": {
46
- "fileName": "src/components/Validation/Validation.tsx",
47
- "name": "ValidationProps"
48
- },
49
- "declarations": [
50
- {
51
- "fileName": "src/components/Validation/Validation.tsx",
52
- "name": "ValidationProps"
53
- }
54
- ],
55
- "required": false,
56
- "type": {
57
- "name": "string"
58
- }
59
- },
60
- "variant": {
61
- "defaultValue": null,
62
- "description": "Changes the visuals of the formgroup",
63
- "name": "variant",
64
- "parent": {
65
- "fileName": "src/components/Validation/Validation.tsx",
66
- "name": "ValidationProps"
67
- },
68
- "declarations": [
69
- {
70
- "fileName": "src/components/Validation/Validation.tsx",
71
- "name": "ValidationProps"
72
- }
73
- ],
74
- "required": false,
75
- "type": {
76
- "name": "enum",
77
- "raw": "\"normal\" | \"bigform\" | undefined",
78
- "value": [
79
- {
80
- "value": "undefined"
81
- },
82
- {
83
- "value": "\"normal\""
84
- },
85
- {
86
- "value": "\"bigform\""
87
- }
88
- ]
89
- }
90
- },
91
- "testId": {
92
- "defaultValue": null,
93
- "description": "Sets the data-testid attribute.",
94
- "name": "testId",
95
- "parent": {
96
- "fileName": "src/components/Validation/Validation.tsx",
97
- "name": "ValidationProps"
98
- },
99
- "declarations": [
100
- {
101
- "fileName": "src/components/Validation/Validation.tsx",
102
- "name": "ValidationProps"
103
- }
104
- ],
105
- "required": false,
106
- "type": {
107
- "name": "string"
108
- }
109
- }
110
- }
111
- }
@@ -1,3 +0,0 @@
1
- import Validation from './Validation';
2
- export default Validation;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Validation/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,eAAe,UAAU,CAAC"}
@@ -1,2 +0,0 @@
1
- import{V as e}from"../../Validation-e113da7e.js";export{V as default}from"../../Validation-e113da7e.js";import"../../_rollupPluginBabelHelpers-e1c7fe69.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- @import '../../scss/_spacers.scss';
2
- @import '../../scss/_palette.scss';
3
- @import '../../scss/font-settings.scss';
4
-
5
- .validation {
6
- &__errors {
7
- font-size: $font-size-sm;
8
- font-weight: 600;
9
- color: $cherry500;
10
-
11
- &--bigform {
12
- margin-left: getSpacer(l);
13
- }
14
- }
15
- }
@@ -1,10 +0,0 @@
1
- export type Styles = {
2
- validation__errors: string;
3
- 'validation__errors--bigform': string;
4
- };
5
-
6
- export type ClassNames = keyof Styles;
7
-
8
- declare const styles: Styles;
9
-
10
- export default styles;
package/uuid-484288be.js DELETED
@@ -1,2 +0,0 @@
1
- var x=function(){return"xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(x){var r=16*Math.random()|0;return("x"==x?r:3&r|8).toString(16)}))};export{x as u};
2
- //# sourceMappingURL=uuid-484288be.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uuid-484288be.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}