@marigold/system 8.0.0 → 8.0.2

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/index.d.mts CHANGED
@@ -5,20 +5,43 @@ import { StringToBoolean, ClassProp } from 'class-variance-authority/dist/types'
5
5
  export { VariantProps } from 'class-variance-authority';
6
6
 
7
7
  interface SVGProps extends Omit<HtmlProps<'svg'>, 'fill' | 'style'> {
8
+ /**
9
+ * The size of an svg.
10
+ */
8
11
  size?: number | string | number[] | string[];
12
+ /**
13
+ * To add a className on svg and icons.
14
+ */
9
15
  className?: string;
10
16
  }
11
17
  declare const SVG: React$1.ForwardRefExoticComponent<SVGProps & React$1.RefAttributes<SVGSVGElement>>;
12
18
 
13
19
  interface DateFormatProps extends DateFormatterOptions {
20
+ /**
21
+ * Value to be formatted.
22
+ */
14
23
  value: Date;
24
+ /**
25
+ * Specifies that the digits should take the full width.
26
+ * @default true
27
+ */
15
28
  tabular?: boolean;
16
29
  }
17
30
  declare const DateFormat: ({ value, tabular, ...props }: DateFormatProps) => React$1.JSX.Element;
18
31
 
19
32
  interface NumericFormatProps extends Intl.NumberFormatOptions {
33
+ /**
34
+ * Value to be formatted.
35
+ */
20
36
  value: number | bigint;
37
+ /**
38
+ * The numberingSystem accessor property of Intl.Locale instances returns the numeral system for this locale.
39
+ */
21
40
  numberingSystem?: string;
41
+ /**
42
+ * Specifies that the digits should take the full width.
43
+ * @default true
44
+ */
22
45
  tabular?: boolean;
23
46
  }
24
47
  declare const NumericFormat: ({ value, tabular, ...props }: NumericFormatProps) => React$1.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -5,20 +5,43 @@ import { StringToBoolean, ClassProp } from 'class-variance-authority/dist/types'
5
5
  export { VariantProps } from 'class-variance-authority';
6
6
 
7
7
  interface SVGProps extends Omit<HtmlProps<'svg'>, 'fill' | 'style'> {
8
+ /**
9
+ * The size of an svg.
10
+ */
8
11
  size?: number | string | number[] | string[];
12
+ /**
13
+ * To add a className on svg and icons.
14
+ */
9
15
  className?: string;
10
16
  }
11
17
  declare const SVG: React$1.ForwardRefExoticComponent<SVGProps & React$1.RefAttributes<SVGSVGElement>>;
12
18
 
13
19
  interface DateFormatProps extends DateFormatterOptions {
20
+ /**
21
+ * Value to be formatted.
22
+ */
14
23
  value: Date;
24
+ /**
25
+ * Specifies that the digits should take the full width.
26
+ * @default true
27
+ */
15
28
  tabular?: boolean;
16
29
  }
17
30
  declare const DateFormat: ({ value, tabular, ...props }: DateFormatProps) => React$1.JSX.Element;
18
31
 
19
32
  interface NumericFormatProps extends Intl.NumberFormatOptions {
33
+ /**
34
+ * Value to be formatted.
35
+ */
20
36
  value: number | bigint;
37
+ /**
38
+ * The numberingSystem accessor property of Intl.Locale instances returns the numeral system for this locale.
39
+ */
21
40
  numberingSystem?: string;
41
+ /**
42
+ * Specifies that the digits should take the full width.
43
+ * @default true
44
+ */
22
45
  tabular?: boolean;
23
46
  }
24
47
  declare const NumericFormat: ({ value, tabular, ...props }: NumericFormatProps) => React$1.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/system",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "Marigold System Library",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -36,7 +36,7 @@
36
36
  "react-dom": "18.x"
37
37
  },
38
38
  "devDependencies": {
39
- "@babel/core": "7.24.7",
39
+ "@babel/core": "7.24.8",
40
40
  "postcss": "8.4.38",
41
41
  "react": "18.3.1",
42
42
  "tailwindcss": "3.4.4",