@equinor/fusion-react-list 0.3.5 → 1.0.1
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/components/CheckListItem.d.ts +2 -1
- package/dist/components/CheckListItem.d.ts.map +1 -1
- package/dist/components/CheckListItem.js.map +1 -1
- package/dist/components/List.d.ts +2 -1
- package/dist/components/List.d.ts.map +1 -1
- package/dist/components/List.js.map +1 -1
- package/dist/components/ListItem.d.ts +2 -1
- package/dist/components/ListItem.d.ts.map +1 -1
- package/dist/components/ListItem.js.map +1 -1
- package/dist/components/RadioListItem.d.ts +2 -1
- package/dist/components/RadioListItem.d.ts.map +1 -1
- package/dist/components/RadioListItem.js.map +1 -1
- package/package.json +12 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
1
2
|
import { type ComponentProps } from '@equinor/fusion-react-utils';
|
|
2
3
|
import { CheckListItemElement as HTMLCheckListItemCustomElement } from '@equinor/fusion-wc-list';
|
|
3
|
-
type ElementProps =
|
|
4
|
+
type ElementProps = PropsWithChildren<Partial<Pick<HTMLCheckListItemCustomElement, 'left' | 'value' | 'group' | 'tabindex' | 'disabled' | 'twoline' | 'activated' | 'graphic' | 'hasMeta' | 'noninteractive' | 'selected' | 'text'>>>;
|
|
4
5
|
export declare const CheckListItem: import("@equinor/fusion-react-utils").WebComponent<HTMLCheckListItemCustomElement, ElementProps>;
|
|
5
6
|
export type CheckListItemProps = ComponentProps<HTMLCheckListItemCustomElement, ElementProps>;
|
|
6
7
|
export { HTMLCheckListItemCustomElement };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckListItem.d.ts","sourceRoot":"","sources":["../../src/components/CheckListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,
|
|
1
|
+
{"version":3,"file":"CheckListItem.d.ts","sourceRoot":"","sources":["../../src/components/CheckListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACL,oBAAoB,IAAI,8BAA8B,EAEvD,MAAM,yBAAyB,CAAC;AAEjC,KAAK,YAAY,GAAG,iBAAiB,CACnC,OAAO,CACL,IAAI,CACF,8BAA8B,EAC5B,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,gBAAgB,GAChB,UAAU,GACV,MAAM,CACT,CACF,CACF,CAAC;AAEF,eAAO,MAAM,aAAa,kGAGzB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,8BAA8B,EAAE,YAAY,CAAC,CAAC;AAE9F,OAAO,EAAE,8BAA8B,EAAE,CAAC;AAE1C,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckListItem.js","sourceRoot":"","sources":["../../src/components/CheckListItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CheckListItem.js","sourceRoot":"","sources":["../../src/components/CheckListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAuB,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACL,oBAAoB,IAAI,8BAA8B,EACtD,gBAAgB,IAAI,GAAG,GACxB,MAAM,yBAAyB,CAAC;AAsBjC,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAC1C,8BAA8B,EAC9B,GAAG,CACJ,CAAC;AAIF,OAAO,EAAE,8BAA8B,EAAE,CAAC;AAE1C,eAAe,aAAa,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
1
2
|
import { type ComponentProps } from '@equinor/fusion-react-utils';
|
|
2
3
|
import HTMLListCustomElement from '@equinor/fusion-wc-list';
|
|
3
|
-
type ElementProps =
|
|
4
|
+
type ElementProps = PropsWithChildren<Partial<Pick<HTMLListCustomElement, 'activatable' | 'multi' | 'emptyMessage' | 'wrapFocus' | 'itemRoles' | 'innerRole' | 'innerAriaLabel' | 'rootTabbable' | 'noninteractive'>>>;
|
|
4
5
|
export declare const List: import("@equinor/fusion-react-utils").WebComponent<HTMLListCustomElement, ElementProps>;
|
|
5
6
|
export type ListProps = ComponentProps<HTMLListCustomElement, ElementProps>;
|
|
6
7
|
export { HTMLListCustomElement };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AACnF,OAAO,qBAA8B,MAAM,yBAAyB,CAAC;AAErE,KAAK,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AACnF,OAAO,qBAA8B,MAAM,yBAAyB,CAAC;AAErE,KAAK,YAAY,GAAG,iBAAiB,CACnC,OAAO,CACL,IAAI,CACF,qBAAqB,EACnB,aAAa,GACb,OAAO,GACP,cAAc,GACd,WAAW,GACX,WAAW,GACX,WAAW,GACX,gBAAgB,GAChB,cAAc,GACd,gBAAgB,CACnB,CACF,CACF,CAAC;AAEF,eAAO,MAAM,IAAI,yFAGhB,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,qBAAqB,EAAE,YAAY,CAAC,CAAC;AAE5E,OAAO,EAAE,qBAAqB,EAAE,CAAC;AAEjC,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,qBAAqB,EAAE,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAmBrE,MAAM,CAAC,MAAM,IAAI,GAAG,eAAe,CACjC,qBAAqB,EACrB,GAAG,CACJ,CAAC;AAGF,OAAO,EAAE,qBAAqB,EAAE,CAAC;AAEjC,eAAe,IAAI,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
1
2
|
import { type ComponentProps } from '@equinor/fusion-react-utils';
|
|
2
3
|
import { ListItemElement as HTMLListItemCustomElement } from '@equinor/fusion-wc-list';
|
|
3
|
-
export type ElementProps =
|
|
4
|
+
export type ElementProps = PropsWithChildren<Partial<Pick<HTMLListItemCustomElement, 'value' | 'group' | 'tabindex' | 'disabled' | 'twoline' | 'activated' | 'graphic' | 'hasMeta' | 'noninteractive' | 'selected' | 'text'>>>;
|
|
4
5
|
export declare const ListItem: import("@equinor/fusion-react-utils").WebComponent<HTMLListItemCustomElement<unknown>, ElementProps>;
|
|
5
6
|
export type ListItemProps = ComponentProps<HTMLListItemCustomElement, ElementProps>;
|
|
6
7
|
export { HTMLListItemCustomElement };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACL,eAAe,IAAI,yBAAyB,EAE7C,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACL,eAAe,IAAI,yBAAyB,EAE7C,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAC1C,OAAO,CACL,IAAI,CACF,yBAAyB,EACvB,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,gBAAgB,GAChB,UAAU,GACV,MAAM,CACT,CACF,CACF,CAAC;AAEF,eAAO,MAAM,QAAQ,sGAGpB,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAAC;AAEpF,OAAO,EAAE,yBAAyB,EAAE,CAAC;AAErC,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACL,eAAe,IAAI,yBAAyB,EAC5C,WAAW,IAAI,GAAG,GACnB,MAAM,yBAAyB,CAAC;AAqBjC,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CACrC,yBAAyB,EACzB,GAAG,CACJ,CAAC;AAGF,OAAO,EAAE,yBAAyB,EAAE,CAAC;AAErC,eAAe,QAAQ,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { PropsWithChildren } from 'react';
|
|
1
2
|
import { type ComponentProps } from '@equinor/fusion-react-utils';
|
|
2
3
|
import { RadioListItemElement as HTMLRadioListItemCustomElement } from '@equinor/fusion-wc-list';
|
|
3
|
-
type ElementProps =
|
|
4
|
+
type ElementProps = PropsWithChildren<Partial<Pick<HTMLRadioListItemCustomElement, 'left' | 'value' | 'group' | 'tabindex' | 'disabled' | 'twoline' | 'activated' | 'graphic' | 'hasMeta' | 'noninteractive' | 'selected' | 'text'>>>;
|
|
4
5
|
export declare const RadioListItem: import("@equinor/fusion-react-utils").WebComponent<HTMLRadioListItemCustomElement, ElementProps>;
|
|
5
6
|
export type RadioListItemProps = ComponentProps<HTMLRadioListItemCustomElement, ElementProps>;
|
|
6
7
|
export { HTMLRadioListItemCustomElement };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioListItem.d.ts","sourceRoot":"","sources":["../../src/components/RadioListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACL,oBAAoB,IAAI,8BAA8B,EAEvD,MAAM,yBAAyB,CAAC;AAEjC,KAAK,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"RadioListItem.d.ts","sourceRoot":"","sources":["../../src/components/RadioListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,KAAK,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACL,oBAAoB,IAAI,8BAA8B,EAEvD,MAAM,yBAAyB,CAAC;AAEjC,KAAK,YAAY,GAAG,iBAAiB,CACnC,OAAO,CACL,IAAI,CACF,8BAA8B,EAC5B,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,UAAU,GACV,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,gBAAgB,GAChB,UAAU,GACV,MAAM,CACT,CACF,CACF,CAAC;AAEF,eAAO,MAAM,aAAa,kGAGzB,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,8BAA8B,EAAE,YAAY,CAAC,CAAC;AAE9F,OAAO,EAAE,8BAA8B,EAAE,CAAC;AAE1C,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioListItem.js","sourceRoot":"","sources":["../../src/components/RadioListItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioListItem.js","sourceRoot":"","sources":["../../src/components/RadioListItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EACL,oBAAoB,IAAI,8BAA8B,EACtD,gBAAgB,IAAI,GAAG,GACxB,MAAM,yBAAyB,CAAC;AAsBjC,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAC1C,8BAA8B,EAC9B,GAAG,CACJ,CAAC;AAGF,OAAO,EAAE,8BAA8B,EAAE,CAAC;AAE1C,eAAe,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-react-list",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "React components for displaying a list",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"list",
|
|
@@ -22,22 +22,26 @@
|
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/equinor/fusion-react-components.git"
|
|
25
|
+
"url": "git+https://github.com/equinor/fusion-react-components.git",
|
|
26
|
+
"directory": "packages/list"
|
|
26
27
|
},
|
|
27
28
|
"bugs": {
|
|
28
29
|
"url": "https://github.com/equinor/fusion-react-components/issues"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@equinor/fusion-
|
|
32
|
-
"@equinor/fusion-
|
|
32
|
+
"@equinor/fusion-wc-list": "^1.1.4",
|
|
33
|
+
"@equinor/fusion-react-utils": "^3.0.1"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
|
-
"@types/react": "^
|
|
36
|
-
"react": "^
|
|
36
|
+
"@types/react": "^19.2.14",
|
|
37
|
+
"react": "^19.2.5"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"react": "^18 || ^19"
|
|
37
41
|
},
|
|
38
42
|
"scripts": {
|
|
39
43
|
"build": "tsc -b",
|
|
40
|
-
"lint": "
|
|
41
|
-
"
|
|
44
|
+
"lint": "biome lint",
|
|
45
|
+
"format": "biome format"
|
|
42
46
|
}
|
|
43
47
|
}
|