@ks-digital/designsystem-react 0.0.1-alpha.4 → 0.0.1-alpha.6
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 +1 -1
- package/dist/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +59 -60
- package/dist/package.json +8 -1
- package/package.json +8 -1
package/README.md
CHANGED
package/dist/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@digdir/designsystemet-react");Object.defineProperty(exports,"Alert",{enumerable:!0,get:()=>e.Alert});Object.defineProperty(exports,"Avatar",{enumerable:!0,get:()=>e.Avatar});Object.defineProperty(exports,"Badge",{enumerable:!0,get:()=>e.Badge});Object.defineProperty(exports,"Breadcrumbs",{enumerable:!0,get:()=>e.Breadcrumbs});Object.defineProperty(exports,"Button",{enumerable:!0,get:()=>e.Button});Object.defineProperty(exports,"Card",{enumerable:!0,get:()=>e.Card});Object.defineProperty(exports,"Checkbox",{enumerable:!0,get:()=>e.Checkbox});Object.defineProperty(exports,"Chip",{enumerable:!0,get:()=>e.Chip});Object.defineProperty(exports,"ChipButton",{enumerable:!0,get:()=>e.ChipButton});Object.defineProperty(exports,"ChipCheckbox",{enumerable:!0,get:()=>e.ChipCheckbox});Object.defineProperty(exports,"ChipRadio",{enumerable:!0,get:()=>e.ChipRadio});Object.defineProperty(exports,"ChipRemovable",{enumerable:!0,get:()=>e.ChipRemovable});Object.defineProperty(exports,"Details",{enumerable:!0,get:()=>e.Details});Object.defineProperty(exports,"DetailsContent",{enumerable:!0,get:()=>e.DetailsContent});Object.defineProperty(exports,"DetailsSummary",{enumerable:!0,get:()=>e.DetailsSummary});Object.defineProperty(exports,"Dialog",{enumerable:!0,get:()=>e.Dialog});Object.defineProperty(exports,"Divider",{enumerable:!0,get:()=>e.Divider});Object.defineProperty(exports,"Dropdown",{enumerable:!0,get:()=>e.Dropdown});Object.defineProperty(exports,"EXPERIMENTAL_MultiSuggestion",{enumerable:!0,get:()=>e.EXPERIMENTAL_MultiSuggestion});Object.defineProperty(exports,"EXPERIMENTAL_MultiSuggestionChips",{enumerable:!0,get:()=>e.EXPERIMENTAL_MultiSuggestionChips});Object.defineProperty(exports,"EXPERIMENTAL_MultiSuggestionClear",{enumerable:!0,get:()=>e.EXPERIMENTAL_MultiSuggestionClear});Object.defineProperty(exports,"EXPERIMENTAL_MultiSuggestionEmpty",{enumerable:!0,get:()=>e.EXPERIMENTAL_MultiSuggestionEmpty});Object.defineProperty(exports,"EXPERIMENTAL_MultiSuggestionInput",{enumerable:!0,get:()=>e.EXPERIMENTAL_MultiSuggestionInput});Object.defineProperty(exports,"EXPERIMENTAL_MultiSuggestionList",{enumerable:!0,get:()=>e.EXPERIMENTAL_MultiSuggestionList});Object.defineProperty(exports,"EXPERIMENTAL_MultiSuggestionOption",{enumerable:!0,get:()=>e.EXPERIMENTAL_MultiSuggestionOption});Object.defineProperty(exports,"EXPERIMENTAL_Suggestion",{enumerable:!0,get:()=>e.EXPERIMENTAL_Suggestion});Object.defineProperty(exports,"EXPERIMENTAL_SuggestionClear",{enumerable:!0,get:()=>e.EXPERIMENTAL_SuggestionClear});Object.defineProperty(exports,"EXPERIMENTAL_SuggestionEmpty",{enumerable:!0,get:()=>e.EXPERIMENTAL_SuggestionEmpty});Object.defineProperty(exports,"EXPERIMENTAL_SuggestionInput",{enumerable:!0,get:()=>e.EXPERIMENTAL_SuggestionInput});Object.defineProperty(exports,"EXPERIMENTAL_SuggestionList",{enumerable:!0,get:()=>e.EXPERIMENTAL_SuggestionList});Object.defineProperty(exports,"EXPERIMENTAL_SuggestionOption",{enumerable:!0,get:()=>e.EXPERIMENTAL_SuggestionOption});Object.defineProperty(exports,"ErrorSummary",{enumerable:!0,get:()=>e.ErrorSummary});Object.defineProperty(exports,"Field",{enumerable:!0,get:()=>e.Field});Object.defineProperty(exports,"Fieldset",{enumerable:!0,get:()=>e.Fieldset});Object.defineProperty(exports,"Heading",{enumerable:!0,get:()=>e.Heading});Object.defineProperty(exports,"Input",{enumerable:!0,get:()=>e.Input});Object.defineProperty(exports,"Label",{enumerable:!0,get:()=>e.Label});Object.defineProperty(exports,"Link",{enumerable:!0,get:()=>e.Link});Object.defineProperty(exports,"List",{enumerable:!0,get:()=>e.List});Object.defineProperty(exports,"ListItem",{enumerable:!0,get:()=>e.ListItem});Object.defineProperty(exports,"ListOrdered",{enumerable:!0,get:()=>e.ListOrdered});Object.defineProperty(exports,"ListUnordered",{enumerable:!0,get:()=>e.ListUnordered});Object.defineProperty(exports,"Pagination",{enumerable:!0,get:()=>e.Pagination});Object.defineProperty(exports,"Paragraph",{enumerable:!0,get:()=>e.Paragraph});Object.defineProperty(exports,"Popover",{enumerable:!0,get:()=>e.Popover});Object.defineProperty(exports,"Radio",{enumerable:!0,get:()=>e.Radio});Object.defineProperty(exports,"Search",{enumerable:!0,get:()=>e.Search});Object.defineProperty(exports,"Select",{enumerable:!0,get:()=>e.Select});Object.defineProperty(exports,"Skeleton",{enumerable:!0,get:()=>e.Skeleton});Object.defineProperty(exports,"SkipLink",{enumerable:!0,get:()=>e.SkipLink});Object.defineProperty(exports,"Spinner",{enumerable:!0,get:()=>e.Spinner});Object.defineProperty(exports,"Switch",{enumerable:!0,get:()=>e.Switch});Object.defineProperty(exports,"Table",{enumerable:!0,get:()=>e.Table});Object.defineProperty(exports,"Tabs",{enumerable:!0,get:()=>e.Tabs});Object.defineProperty(exports,"Tag",{enumerable:!0,get:()=>e.Tag});Object.defineProperty(exports,"Textarea",{enumerable:!0,get:()=>e.Textarea});Object.defineProperty(exports,"Textfield",{enumerable:!0,get:()=>e.Textfield});Object.defineProperty(exports,"ToggleGroup",{enumerable:!0,get:()=>e.ToggleGroup});Object.defineProperty(exports,"Tooltip",{enumerable:!0,get:()=>e.Tooltip});Object.defineProperty(exports,"ValidationMessage",{enumerable:!0,get:()=>e.ValidationMessage});
|
package/dist/index.d.ts
CHANGED
|
@@ -13,12 +13,15 @@ export * from './components/Dropdown/Dropdown';
|
|
|
13
13
|
export * from './components/ErrorSummary/ErrorSummary';
|
|
14
14
|
export * from './components/Field/Field';
|
|
15
15
|
export * from './components/Fieldset/Fieldset';
|
|
16
|
+
export * from './components/Heading/Heading';
|
|
16
17
|
export * from './components/Input/Input';
|
|
18
|
+
export * from './components/Label/Label';
|
|
17
19
|
export * from './components/Link/Link';
|
|
18
20
|
export * from './components/List/List';
|
|
19
21
|
export * from './components/Loaders';
|
|
20
22
|
export * from './components/MultiSuggestion/MultiSuggestion';
|
|
21
23
|
export * from './components/Pagination/Pagination';
|
|
24
|
+
export * from './components/Paragraph/Paragraph';
|
|
22
25
|
export * from './components/Popover/Popover';
|
|
23
26
|
export * from './components/Radio/Radio';
|
|
24
27
|
export * from './components/Search/Search';
|
|
@@ -33,7 +36,4 @@ export * from './components/Textarea/Textarea';
|
|
|
33
36
|
export * from './components/Textfield/Textfield';
|
|
34
37
|
export * from './components/ToggleGroup/ToggleGroup';
|
|
35
38
|
export * from './components/Tooltip/Tooltip';
|
|
36
|
-
export * from './components/Paragraph/Paragraph';
|
|
37
39
|
export * from './components/ValidationMessage/ValidationMessage';
|
|
38
|
-
export * from './components/Label/Label';
|
|
39
|
-
export * from './components/Heading/Heading';
|
package/dist/index.js
CHANGED
|
@@ -1,64 +1,63 @@
|
|
|
1
|
-
import "@digdir/designsystemet-
|
|
2
|
-
import { Alert as E, Avatar as o, Badge as g, Breadcrumbs as n, Button as a, Card as u, Checkbox as r, Chip as s, ChipButton as l, ChipCheckbox as p, ChipRadio as L, ChipRemovable as M, Details as S, DetailsContent as T, DetailsSummary as I, Dialog as d, Divider as P, Dropdown as R, EXPERIMENTAL_MultiSuggestion as A, EXPERIMENTAL_MultiSuggestionChips as N, EXPERIMENTAL_MultiSuggestionClear as X, EXPERIMENTAL_MultiSuggestionEmpty as _, EXPERIMENTAL_MultiSuggestionInput as C, EXPERIMENTAL_MultiSuggestionList as h, EXPERIMENTAL_MultiSuggestionOption as m, EXPERIMENTAL_Suggestion as b, EXPERIMENTAL_SuggestionClear as c, EXPERIMENTAL_SuggestionEmpty as k, EXPERIMENTAL_SuggestionInput as D, EXPERIMENTAL_SuggestionList as x, EXPERIMENTAL_SuggestionOption as v, ErrorSummary as y, Field as B, Fieldset as O, Heading as f, Input as w, Label as F, Link as G, List as H, ListItem as U, ListOrdered as V, ListUnordered as j, Pagination as q, Paragraph as z, Popover as J, Radio as K, Search as Q, Select as W, Skeleton as Y, SkipLink as Z, Spinner as $, Switch as ii, Table as ti, Tabs as ei, Tag as Ei, Textarea as oi, Textfield as gi, ToggleGroup as ni, Tooltip as ai, ValidationMessage as ui } from "@digdir/designsystemet-react";
|
|
1
|
+
import { Alert as e, Avatar as E, Badge as o, Breadcrumbs as g, Button as n, Card as a, Checkbox as u, Chip as s, ChipButton as r, ChipCheckbox as l, ChipRadio as L, ChipRemovable as p, Details as M, DetailsContent as S, DetailsSummary as T, Dialog as I, Divider as d, Dropdown as P, EXPERIMENTAL_MultiSuggestion as R, EXPERIMENTAL_MultiSuggestionChips as A, EXPERIMENTAL_MultiSuggestionClear as N, EXPERIMENTAL_MultiSuggestionEmpty as X, EXPERIMENTAL_MultiSuggestionInput as _, EXPERIMENTAL_MultiSuggestionList as C, EXPERIMENTAL_MultiSuggestionOption as h, EXPERIMENTAL_Suggestion as m, EXPERIMENTAL_SuggestionClear as b, EXPERIMENTAL_SuggestionEmpty as c, EXPERIMENTAL_SuggestionInput as k, EXPERIMENTAL_SuggestionList as D, EXPERIMENTAL_SuggestionOption as x, ErrorSummary as v, Field as y, Fieldset as B, Heading as O, Input as f, Label as w, Link as F, List as G, ListItem as H, ListOrdered as U, ListUnordered as V, Pagination as j, Paragraph as q, Popover as z, Radio as J, Search as K, Select as Q, Skeleton as W, SkipLink as Y, Spinner as Z, Switch as $, Table as ii, Tabs as ti, Tag as ei, Textarea as Ei, Textfield as oi, ToggleGroup as gi, Tooltip as ni, ValidationMessage as ai } from "@digdir/designsystemet-react";
|
|
3
2
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
e as Alert,
|
|
4
|
+
E as Avatar,
|
|
5
|
+
o as Badge,
|
|
6
|
+
g as Breadcrumbs,
|
|
7
|
+
n as Button,
|
|
8
|
+
a as Card,
|
|
9
|
+
u as Checkbox,
|
|
11
10
|
s as Chip,
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
r as ChipButton,
|
|
12
|
+
l as ChipCheckbox,
|
|
14
13
|
L as ChipRadio,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
14
|
+
p as ChipRemovable,
|
|
15
|
+
M as Details,
|
|
16
|
+
S as DetailsContent,
|
|
17
|
+
T as DetailsSummary,
|
|
18
|
+
I as Dialog,
|
|
19
|
+
d as Divider,
|
|
20
|
+
P as Dropdown,
|
|
21
|
+
R as EXPERIMENTAL_MultiSuggestion,
|
|
22
|
+
A as EXPERIMENTAL_MultiSuggestionChips,
|
|
23
|
+
N as EXPERIMENTAL_MultiSuggestionClear,
|
|
24
|
+
X as EXPERIMENTAL_MultiSuggestionEmpty,
|
|
25
|
+
_ as EXPERIMENTAL_MultiSuggestionInput,
|
|
26
|
+
C as EXPERIMENTAL_MultiSuggestionList,
|
|
27
|
+
h as EXPERIMENTAL_MultiSuggestionOption,
|
|
28
|
+
m as EXPERIMENTAL_Suggestion,
|
|
29
|
+
b as EXPERIMENTAL_SuggestionClear,
|
|
30
|
+
c as EXPERIMENTAL_SuggestionEmpty,
|
|
31
|
+
k as EXPERIMENTAL_SuggestionInput,
|
|
32
|
+
D as EXPERIMENTAL_SuggestionList,
|
|
33
|
+
x as EXPERIMENTAL_SuggestionOption,
|
|
34
|
+
v as ErrorSummary,
|
|
35
|
+
y as Field,
|
|
36
|
+
B as Fieldset,
|
|
37
|
+
O as Heading,
|
|
38
|
+
f as Input,
|
|
39
|
+
w as Label,
|
|
40
|
+
F as Link,
|
|
41
|
+
G as List,
|
|
42
|
+
H as ListItem,
|
|
43
|
+
U as ListOrdered,
|
|
44
|
+
V as ListUnordered,
|
|
45
|
+
j as Pagination,
|
|
46
|
+
q as Paragraph,
|
|
47
|
+
z as Popover,
|
|
48
|
+
J as Radio,
|
|
49
|
+
K as Search,
|
|
50
|
+
Q as Select,
|
|
51
|
+
W as Skeleton,
|
|
52
|
+
Y as SkipLink,
|
|
53
|
+
Z as Spinner,
|
|
54
|
+
$ as Switch,
|
|
55
|
+
ii as Table,
|
|
56
|
+
ti as Tabs,
|
|
57
|
+
ei as Tag,
|
|
58
|
+
Ei as Textarea,
|
|
59
|
+
oi as Textfield,
|
|
60
|
+
gi as ToggleGroup,
|
|
61
|
+
ni as Tooltip,
|
|
62
|
+
ai as ValidationMessage
|
|
64
63
|
};
|
package/dist/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "https://github.com/ks-no/designsystem.git",
|
|
6
6
|
"directory": "packages/react"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.0.1-alpha.
|
|
8
|
+
"version": "0.0.1-alpha.6",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"private": false,
|
|
11
11
|
"publishConfig": {
|
|
@@ -29,6 +29,13 @@
|
|
|
29
29
|
"@digdir/designsystemet-react": "1.0.5",
|
|
30
30
|
"@navikt/aksel-icons": "^7.21.1"
|
|
31
31
|
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"eslint-plugin-jsx-a11y": "6.10.1",
|
|
34
|
+
"eslint-plugin-react": "7.35.0",
|
|
35
|
+
"eslint-plugin-react-hooks": "5.0.0",
|
|
36
|
+
"@vitejs/plugin-react-swc": "^3.9.0",
|
|
37
|
+
"@testing-library/react": "16.1.0"
|
|
38
|
+
},
|
|
32
39
|
"peerDependencies": {
|
|
33
40
|
"react": ">=18.3.1",
|
|
34
41
|
"react-dom": ">=18.3.1"
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "https://github.com/ks-no/designsystem.git",
|
|
6
6
|
"directory": "packages/react"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.0.1-alpha.
|
|
8
|
+
"version": "0.0.1-alpha.6",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"private": false,
|
|
11
11
|
"publishConfig": {
|
|
@@ -29,6 +29,13 @@
|
|
|
29
29
|
"@digdir/designsystemet-react": "1.0.5",
|
|
30
30
|
"@navikt/aksel-icons": "^7.21.1"
|
|
31
31
|
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"eslint-plugin-jsx-a11y": "6.10.1",
|
|
34
|
+
"eslint-plugin-react": "7.35.0",
|
|
35
|
+
"eslint-plugin-react-hooks": "5.0.0",
|
|
36
|
+
"@vitejs/plugin-react-swc": "^3.9.0",
|
|
37
|
+
"@testing-library/react": "16.1.0"
|
|
38
|
+
},
|
|
32
39
|
"peerDependencies": {
|
|
33
40
|
"react": ">=18.3.1",
|
|
34
41
|
"react-dom": ">=18.3.1"
|