@utrecht/component-library-react 1.0.0-alpha.394 → 1.0.0-alpha.396

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.
@@ -3,9 +3,9 @@
3
3
  * Copyright (c) 2021 Robbert Broersma
4
4
  */
5
5
  import { DataHTMLAttributes } from 'react';
6
- export interface NumberValueProps extends DataHTMLAttributes<HTMLDataElement> {
6
+ export interface NumberDataProps extends DataHTMLAttributes<HTMLDataElement> {
7
7
  value?: number | string;
8
8
  }
9
- export declare const NumberValue: import("react").ForwardRefExoticComponent<NumberValueProps & {
9
+ export declare const NumberData: import("react").ForwardRefExoticComponent<NumberDataProps & {
10
10
  children?: import("react").ReactNode;
11
11
  } & import("react").RefAttributes<HTMLDataElement>>;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Gemeente Utrecht
4
+ * Copyright (c) 2021 Robbert Broersma
5
+ */
6
+ import { HTMLAttributes } from 'react';
7
+ export interface PreserveDataProps extends HTMLAttributes<HTMLElement> {
8
+ dateTime?: string;
9
+ value?: string;
10
+ }
11
+ export declare const PreserveData: import("react").ForwardRefExoticComponent<PreserveDataProps & {
12
+ children?: import("react").ReactNode;
13
+ } & import("react").RefAttributes<HTMLElement | HTMLDataElement>>;
@@ -3,9 +3,9 @@
3
3
  * Copyright (c) 2021 Robbert Broersma
4
4
  */
5
5
  import { DataHTMLAttributes } from 'react';
6
- export interface NumberValueProps extends DataHTMLAttributes<HTMLDataElement> {
6
+ export interface NumberDataProps extends DataHTMLAttributes<HTMLDataElement> {
7
7
  value?: number | string;
8
8
  }
9
- export declare const NumberValue: import("react").ForwardRefExoticComponent<NumberValueProps & {
9
+ export declare const NumberData: import("react").ForwardRefExoticComponent<NumberDataProps & {
10
10
  children?: import("react").ReactNode;
11
11
  } & import("react").RefAttributes<HTMLDataElement>>;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Gemeente Utrecht
4
+ * Copyright (c) 2021 Robbert Broersma
5
+ */
6
+ import { HTMLAttributes } from 'react';
7
+ export interface PreserveDataProps extends HTMLAttributes<HTMLElement> {
8
+ dateTime?: string;
9
+ value?: string;
10
+ }
11
+ export declare const PreserveData: import("react").ForwardRefExoticComponent<PreserveDataProps & {
12
+ children?: import("react").ReactNode;
13
+ } & import("react").RefAttributes<HTMLElement | HTMLDataElement>>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import '../../../../components/number-data/css/index.scss';
6
+ export * from '../NumberData';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import '../../../../components/preserve-data/css/index.scss';
6
+ export * from '../PreserveData';
@@ -101,8 +101,8 @@ export type { MarkProps } from '../Mark';
101
101
  export { Mark } from './Mark';
102
102
  export type { MultilineDataProps } from '../MultilineData';
103
103
  export { MultilineData } from './MultilineData';
104
- export type { NumberValueProps } from '../NumberValue';
105
- export { NumberValue } from './NumberValue';
104
+ export type { NumberDataProps } from '../NumberData';
105
+ export { NumberData } from './NumberData';
106
106
  export type { OrderedListProps } from '../OrderedList';
107
107
  export { OrderedList } from './OrderedList';
108
108
  export type { OrderedListItemProps } from '../OrderedListItem';
@@ -121,6 +121,8 @@ export type { DataPlaceholderProps } from '../DataPlaceholder';
121
121
  export { DataPlaceholder } from './DataPlaceholder';
122
122
  export type { PreHeadingProps } from '../PreHeading';
123
123
  export { PreHeading } from './PreHeading';
124
+ export type { PreserveDataProps } from './PreserveData';
125
+ export { PreserveData } from './PreserveData';
124
126
  export type { RadioButtonProps } from '../RadioButton';
125
127
  export { RadioButton } from './RadioButton';
126
128
  export type { SelectProps, SelectOptionProps } from '../Select';
@@ -102,8 +102,8 @@ export type { MarkProps } from './Mark';
102
102
  export { Mark } from './Mark';
103
103
  export type { MultilineDataProps } from './MultilineData';
104
104
  export { MultilineData } from './MultilineData';
105
- export type { NumberValueProps } from './NumberValue';
106
- export { NumberValue } from './NumberValue';
105
+ export type { NumberDataProps } from './NumberData';
106
+ export { NumberData } from './NumberData';
107
107
  export type { OrderedListProps } from './OrderedList';
108
108
  export { OrderedList } from './OrderedList';
109
109
  export type { OrderedListItemProps } from './OrderedListItem';
@@ -122,6 +122,8 @@ export type { DataPlaceholderProps } from './DataPlaceholder';
122
122
  export { DataPlaceholder } from './DataPlaceholder';
123
123
  export type { PreHeadingProps } from './PreHeading';
124
124
  export { PreHeading } from './PreHeading';
125
+ export type { PreserveDataProps } from './PreserveData';
126
+ export { PreserveData } from './PreserveData';
125
127
  export type { RadioButtonProps } from './RadioButton';
126
128
  export { RadioButton } from './RadioButton';
127
129
  export type { SelectProps, SelectOptionProps } from './Select';