@equinor/fusion-react-list 0.2.12 → 0.3.0

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.
@@ -2,9 +2,7 @@
2
2
  import { ComponentProps } from '@equinor/fusion-react-utils';
3
3
  import HTMLCheckListItemCustomElement from '@equinor/fusion-wc-list/lib/check-list-item';
4
4
  type ElementProps = React.PropsWithChildren<Partial<Pick<HTMLCheckListItemCustomElement, 'left' | 'value' | 'group' | 'tabindex' | 'disabled' | 'twoline' | 'activated' | 'graphic' | 'hasMeta' | 'noninteractive' | 'selected' | 'text'>>>;
5
- export declare const CheckListItem: import("react").ForwardRefExoticComponent<import("@equinor/fusion-react-utils").ComponentAttributes<HTMLCheckListItemCustomElement> & Partial<Pick<HTMLCheckListItemCustomElement, "noninteractive" | "selected" | "value" | "group" | "tabindex" | "disabled" | "twoline" | "activated" | "graphic" | "hasMeta" | "text" | "left">> & {
6
- children?: import("react").ReactNode;
7
- } & import("react").RefAttributes<HTMLCheckListItemCustomElement>>;
5
+ export declare const CheckListItem: import("@equinor/fusion-react-utils").WebComponent<HTMLCheckListItemCustomElement, ElementProps>;
8
6
  export type CheckListItemProps = ComponentProps<HTMLCheckListItemCustomElement, ElementProps>;
9
7
  export { HTMLCheckListItemCustomElement };
10
8
  export default CheckListItem;
@@ -1 +1 @@
1
- {"version":3,"file":"CheckListItem.d.ts","sourceRoot":"","sources":["../../src/components/CheckListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,8BAAuC,MAAM,6CAA6C,CAAC;AAElG,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CACzC,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;;kEAGzB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,8BAA8B,EAAE,YAAY,CAAC,CAAC;AAE9F,OAAO,EAAE,8BAA8B,EAAE,CAAC;AAE1C,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"CheckListItem.d.ts","sourceRoot":"","sources":["../../src/components/CheckListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,8BAAuC,MAAM,6CAA6C,CAAC;AAElG,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CACzC,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"}
@@ -2,9 +2,7 @@
2
2
  import { ComponentProps } from '@equinor/fusion-react-utils';
3
3
  import HTMLListCustomElement from '@equinor/fusion-wc-list';
4
4
  type ElementProps = React.PropsWithChildren<Partial<Pick<HTMLListCustomElement, 'activatable' | 'multi' | 'emptyMessage' | 'wrapFocus' | 'itemRoles' | 'innerRole' | 'innerAriaLabel' | 'rootTabbable' | 'noninteractive'>>>;
5
- export declare const List: import("react").ForwardRefExoticComponent<import("@equinor/fusion-react-utils").ComponentAttributes<HTMLListCustomElement> & Partial<Pick<HTMLListCustomElement, "activatable" | "multi" | "emptyMessage" | "wrapFocus" | "itemRoles" | "innerRole" | "innerAriaLabel" | "rootTabbable" | "noninteractive">> & {
6
- children?: import("react").ReactNode;
7
- } & import("react").RefAttributes<HTMLListCustomElement>>;
5
+ export declare const List: import("@equinor/fusion-react-utils").WebComponent<HTMLListCustomElement, ElementProps>;
8
6
  export type ListProps = ComponentProps<HTMLListCustomElement, ElementProps>;
9
7
  export { HTMLListCustomElement };
10
8
  export default List;
@@ -1 +1 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,qBAA8B,MAAM,yBAAyB,CAAC;AAErE,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CACzC,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;;yDAAmF,CAAC;AACrG,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,qBAAqB,EAAE,YAAY,CAAC,CAAC;AAE5E,OAAO,EAAE,qBAAqB,EAAE,CAAC;AAEjC,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,qBAA8B,MAAM,yBAAyB,CAAC;AAErE,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CACzC,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,yFAAmF,CAAC;AACrG,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,qBAAqB,EAAE,YAAY,CAAC,CAAC;AAE5E,OAAO,EAAE,qBAAqB,EAAE,CAAC;AAEjC,eAAe,IAAI,CAAC"}
@@ -2,9 +2,7 @@
2
2
  import { ComponentProps } from '@equinor/fusion-react-utils';
3
3
  import HTMLListItemCustomElement from '@equinor/fusion-wc-list/lib/list-item';
4
4
  export type ElementProps = React.PropsWithChildren<Partial<Pick<HTMLListItemCustomElement, 'value' | 'group' | 'tabindex' | 'disabled' | 'twoline' | 'activated' | 'graphic' | 'hasMeta' | 'noninteractive' | 'selected' | 'text'>>>;
5
- export declare const ListItem: import("react").ForwardRefExoticComponent<import("@equinor/fusion-react-utils").ComponentAttributes<HTMLListItemCustomElement> & Partial<Pick<HTMLListItemCustomElement, "noninteractive" | "selected" | "value" | "group" | "tabindex" | "disabled" | "twoline" | "activated" | "graphic" | "hasMeta" | "text">> & {
6
- children?: import("react").ReactNode;
7
- } & import("react").RefAttributes<HTMLListItemCustomElement>>;
5
+ export declare const ListItem: import("@equinor/fusion-react-utils").WebComponent<HTMLListItemCustomElement, ElementProps>;
8
6
  export type ListItemProps = ComponentProps<HTMLListItemCustomElement, ElementProps>;
9
7
  export { HTMLListItemCustomElement };
10
8
  export default ListItem;
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,yBAAkC,MAAM,uCAAuC,CAAC;AAEvF,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,iBAAiB,CAChD,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;;6DAA2F,CAAC;AACjH,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAAC;AAEpF,OAAO,EAAE,yBAAyB,EAAE,CAAC;AAErC,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,yBAAkC,MAAM,uCAAuC,CAAC;AAEvF,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,iBAAiB,CAChD,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,6FAA2F,CAAC;AACjH,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAAC;AAEpF,OAAO,EAAE,yBAAyB,EAAE,CAAC;AAErC,eAAe,QAAQ,CAAC"}
@@ -2,9 +2,7 @@
2
2
  import { ComponentProps } from '@equinor/fusion-react-utils';
3
3
  import HTMLRadioListItemCustomElement from '@equinor/fusion-wc-list/lib/radio-list-item';
4
4
  type ElementProps = React.PropsWithChildren<Partial<Pick<HTMLRadioListItemCustomElement, 'left' | 'value' | 'group' | 'tabindex' | 'disabled' | 'twoline' | 'activated' | 'graphic' | 'hasMeta' | 'noninteractive' | 'selected' | 'text'>>>;
5
- export declare const RadioListItem: import("react").ForwardRefExoticComponent<import("@equinor/fusion-react-utils").ComponentAttributes<HTMLRadioListItemCustomElement> & Partial<Pick<HTMLRadioListItemCustomElement, "noninteractive" | "selected" | "value" | "group" | "tabindex" | "disabled" | "twoline" | "activated" | "graphic" | "hasMeta" | "text" | "left">> & {
6
- children?: import("react").ReactNode;
7
- } & import("react").RefAttributes<HTMLRadioListItemCustomElement>>;
5
+ export declare const RadioListItem: import("@equinor/fusion-react-utils").WebComponent<HTMLRadioListItemCustomElement, ElementProps>;
8
6
  export type RadioListItemProps = ComponentProps<HTMLRadioListItemCustomElement, ElementProps>;
9
7
  export { HTMLRadioListItemCustomElement };
10
8
  export default RadioListItem;
@@ -1 +1 @@
1
- {"version":3,"file":"RadioListItem.d.ts","sourceRoot":"","sources":["../../src/components/RadioListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,8BAAuC,MAAM,6CAA6C,CAAC;AAElG,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CACzC,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;;kEAGzB,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,8BAA8B,EAAE,YAAY,CAAC,CAAC;AAE9F,OAAO,EAAE,8BAA8B,EAAE,CAAC;AAE1C,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"RadioListItem.d.ts","sourceRoot":"","sources":["../../src/components/RadioListItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAmB,MAAM,6BAA6B,CAAC;AAC9E,OAAO,8BAAuC,MAAM,6CAA6C,CAAC;AAElG,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CACzC,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-react-list",
3
- "version": "0.2.12",
3
+ "version": "0.3.0",
4
4
  "description": "React components for displaying a list",
5
5
  "keywords": [
6
6
  "list",
@@ -24,19 +24,21 @@
24
24
  "type": "git",
25
25
  "url": "git+https://github.com/equinor/fusion-react-components.git"
26
26
  },
27
- "scripts": {
28
- "build": "tsc -b",
29
- "lint": "eslint --ext .ts,.tsx,.js src/",
30
- "lint:fix": "eslint --ext .ts,.tsx,.js src/ --fix",
31
- "prepack": "npm run build"
32
- },
33
27
  "bugs": {
34
28
  "url": "https://github.com/equinor/fusion-react-components/issues"
35
29
  },
36
30
  "dependencies": {
37
- "@equinor/fusion-react-utils": "^2.0.5",
38
- "@equinor/fusion-wc-list": "^0.2.0",
31
+ "@equinor/fusion-react-utils": "^2.1.0",
32
+ "@equinor/fusion-wc-list": "^1.0.2",
39
33
  "@lit-labs/react": "^1.0.1"
40
34
  },
41
- "gitHead": "b4eca4939a25d2eeae323d8b2eec6cc0718b1306"
42
- }
35
+ "devDependencies": {
36
+ "@types/react": "^18.2.24",
37
+ "react": "^18.2.0"
38
+ },
39
+ "scripts": {
40
+ "build": "tsc -b",
41
+ "lint": "eslint --ext .ts,.tsx,.js src/",
42
+ "lint:fix": "eslint --ext .ts,.tsx,.js src/ --fix"
43
+ }
44
+ }