@vincentgraul/react-components 1.0.32 → 1.0.34

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.
@@ -1 +1 @@
1
- {"version":3,"file":"CountrySelector.d.ts","sourceRoot":"","sources":["../../src/country-selector/CountrySelector.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAI9D,UAAU,KAAK;IACb,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,KAAK,2CA8CnD"}
1
+ {"version":3,"file":"CountrySelector.d.ts","sourceRoot":"","sources":["../../src/country-selector/CountrySelector.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAK9D,UAAU,KAAK;IACb,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,KAAK,2CAwCnD"}
@@ -11,10 +11,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { useEffect, useState } from "react";
12
12
  import Select from "../select/Select";
13
13
  import { capitalize } from "@vincentgraul/utils/word";
14
+ import * as Icons from "./icons";
14
15
  export default function CountrySelector(props) {
15
16
  const { className, languages, onChange, flagWidth = "30px" } = props;
16
17
  const [options, setOptions] = useState(null);
17
- const fileExtension = import.meta ? import.meta.env.STORYBOOK_SVG_FILE_EXTENSION : "js";
18
18
  const FlagStyle = {
19
19
  display: "block",
20
20
  width: flagWidth,
@@ -22,13 +22,9 @@ export default function CountrySelector(props) {
22
22
  borderRadius: "2px",
23
23
  };
24
24
  useEffect(() => {
25
- const fetchIcon = (name) => __awaiter(this, void 0, void 0, function* () {
26
- const { default: Flag } = yield import(`./icons/${capitalize(name)}.${fileExtension}`);
27
- return Flag;
28
- });
29
25
  const prepareOptions = () => __awaiter(this, void 0, void 0, function* () {
30
26
  setOptions(yield Promise.all(languages.map((language) => __awaiter(this, void 0, void 0, function* () {
31
- const Flag = yield fetchIcon(language);
27
+ const Flag = Icons[capitalize(language)];
32
28
  return {
33
29
  value: language,
34
30
  label: _jsx(Flag, { className: "country-selector-flag", style: Object.assign({}, FlagStyle) }),
@@ -36,7 +36,7 @@ declare const Option: import("styled-components").IStyledComponent<"web", {
36
36
  style?: React.CSSProperties;
37
37
  tabIndex?: number;
38
38
  title?: string;
39
- translate?: "yes" | "no";
39
+ translate?: "no" | "yes";
40
40
  radioGroup?: string;
41
41
  role?: React.AriaRole;
42
42
  about?: string;
@@ -61,62 +61,62 @@ declare const Option: import("styled-components").IStyledComponent<"web", {
61
61
  itemRef?: string;
62
62
  results?: number;
63
63
  security?: string;
64
- unselectable?: "on" | "off";
64
+ unselectable?: "off" | "on";
65
65
  inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
66
66
  is?: string;
67
- 'aria-activedescendant'?: string;
68
- 'aria-atomic'?: boolean | "true" | "false";
69
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both";
70
- 'aria-braillelabel'?: string;
71
- 'aria-brailleroledescription'?: string;
72
- 'aria-busy'?: boolean | "true" | "false";
73
- 'aria-checked'?: boolean | "true" | "false" | "mixed";
74
- 'aria-colcount'?: number;
75
- 'aria-colindex'?: number;
76
- 'aria-colindextext'?: string;
77
- 'aria-colspan'?: number;
78
- 'aria-controls'?: string;
79
- 'aria-current'?: boolean | "time" | "step" | "page" | "true" | "false" | "location" | "date";
80
- 'aria-describedby'?: string;
81
- 'aria-description'?: string;
82
- 'aria-details'?: string;
83
- 'aria-disabled'?: boolean | "true" | "false";
84
- 'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup";
85
- 'aria-errormessage'?: string;
86
- 'aria-expanded'?: boolean | "true" | "false";
87
- 'aria-flowto'?: string;
88
- 'aria-grabbed'?: boolean | "true" | "false";
89
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
90
- 'aria-hidden'?: boolean | "true" | "false";
91
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
92
- 'aria-keyshortcuts'?: string;
93
- 'aria-label'?: string;
94
- 'aria-labelledby'?: string;
95
- 'aria-level'?: number;
96
- 'aria-live'?: "off" | "assertive" | "polite";
97
- 'aria-modal'?: boolean | "true" | "false";
98
- 'aria-multiline'?: boolean | "true" | "false";
99
- 'aria-multiselectable'?: boolean | "true" | "false";
100
- 'aria-orientation'?: "horizontal" | "vertical";
101
- 'aria-owns'?: string;
102
- 'aria-placeholder'?: string;
103
- 'aria-posinset'?: number;
104
- 'aria-pressed'?: boolean | "true" | "false" | "mixed";
105
- 'aria-readonly'?: boolean | "true" | "false";
106
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
107
- 'aria-required'?: boolean | "true" | "false";
108
- 'aria-roledescription'?: string;
109
- 'aria-rowcount'?: number;
110
- 'aria-rowindex'?: number;
111
- 'aria-rowindextext'?: string;
112
- 'aria-rowspan'?: number;
113
- 'aria-selected'?: boolean | "true" | "false";
114
- 'aria-setsize'?: number;
115
- 'aria-sort'?: "none" | "ascending" | "descending" | "other";
116
- 'aria-valuemax'?: number;
117
- 'aria-valuemin'?: number;
118
- 'aria-valuenow'?: number;
119
- 'aria-valuetext'?: string;
67
+ "aria-activedescendant"?: string;
68
+ "aria-atomic"?: boolean | "true" | "false";
69
+ "aria-autocomplete"?: "list" | "none" | "inline" | "both";
70
+ "aria-braillelabel"?: string;
71
+ "aria-brailleroledescription"?: string;
72
+ "aria-busy"?: boolean | "true" | "false";
73
+ "aria-checked"?: boolean | "true" | "false" | "mixed";
74
+ "aria-colcount"?: number;
75
+ "aria-colindex"?: number;
76
+ "aria-colindextext"?: string;
77
+ "aria-colspan"?: number;
78
+ "aria-controls"?: string;
79
+ "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date";
80
+ "aria-describedby"?: string;
81
+ "aria-description"?: string;
82
+ "aria-details"?: string;
83
+ "aria-disabled"?: boolean | "true" | "false";
84
+ "aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup";
85
+ "aria-errormessage"?: string;
86
+ "aria-expanded"?: boolean | "true" | "false";
87
+ "aria-flowto"?: string;
88
+ "aria-grabbed"?: boolean | "true" | "false";
89
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false";
90
+ "aria-hidden"?: boolean | "true" | "false";
91
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
92
+ "aria-keyshortcuts"?: string;
93
+ "aria-label"?: string;
94
+ "aria-labelledby"?: string;
95
+ "aria-level"?: number;
96
+ "aria-live"?: "off" | "assertive" | "polite";
97
+ "aria-modal"?: boolean | "true" | "false";
98
+ "aria-multiline"?: boolean | "true" | "false";
99
+ "aria-multiselectable"?: boolean | "true" | "false";
100
+ "aria-orientation"?: "horizontal" | "vertical";
101
+ "aria-owns"?: string;
102
+ "aria-placeholder"?: string;
103
+ "aria-posinset"?: number;
104
+ "aria-pressed"?: boolean | "true" | "false" | "mixed";
105
+ "aria-readonly"?: boolean | "true" | "false";
106
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
107
+ "aria-required"?: boolean | "true" | "false";
108
+ "aria-roledescription"?: string;
109
+ "aria-rowcount"?: number;
110
+ "aria-rowindex"?: number;
111
+ "aria-rowindextext"?: string;
112
+ "aria-rowspan"?: number;
113
+ "aria-selected"?: boolean | "true" | "false";
114
+ "aria-setsize"?: number;
115
+ "aria-sort"?: "none" | "ascending" | "descending" | "other";
116
+ "aria-valuemax"?: number;
117
+ "aria-valuemin"?: number;
118
+ "aria-valuenow"?: number;
119
+ "aria-valuetext"?: string;
120
120
  children?: React.ReactNode;
121
121
  dangerouslySetInnerHTML?: {
122
122
  __html: string | TrustedHTML;
@@ -48,7 +48,7 @@ export declare const Th: import("styled-components").IStyledComponent<"web", {
48
48
  style?: React.CSSProperties;
49
49
  tabIndex?: number;
50
50
  title?: string;
51
- translate?: "yes" | "no";
51
+ translate?: "no" | "yes";
52
52
  radioGroup?: string;
53
53
  role?: React.AriaRole;
54
54
  about?: string;
@@ -73,62 +73,62 @@ export declare const Th: import("styled-components").IStyledComponent<"web", {
73
73
  itemRef?: string;
74
74
  results?: number;
75
75
  security?: string;
76
- unselectable?: "on" | "off";
76
+ unselectable?: "off" | "on";
77
77
  inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
78
78
  is?: string;
79
- 'aria-activedescendant'?: string;
80
- 'aria-atomic'?: boolean | "true" | "false";
81
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both";
82
- 'aria-braillelabel'?: string;
83
- 'aria-brailleroledescription'?: string;
84
- 'aria-busy'?: boolean | "true" | "false";
85
- 'aria-checked'?: boolean | "true" | "false" | "mixed";
86
- 'aria-colcount'?: number;
87
- 'aria-colindex'?: number;
88
- 'aria-colindextext'?: string;
89
- 'aria-colspan'?: number;
90
- 'aria-controls'?: string;
91
- 'aria-current'?: boolean | "time" | "step" | "page" | "true" | "false" | "location" | "date";
92
- 'aria-describedby'?: string;
93
- 'aria-description'?: string;
94
- 'aria-details'?: string;
95
- 'aria-disabled'?: boolean | "true" | "false";
96
- 'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup";
97
- 'aria-errormessage'?: string;
98
- 'aria-expanded'?: boolean | "true" | "false";
99
- 'aria-flowto'?: string;
100
- 'aria-grabbed'?: boolean | "true" | "false";
101
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
102
- 'aria-hidden'?: boolean | "true" | "false";
103
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
104
- 'aria-keyshortcuts'?: string;
105
- 'aria-label'?: string;
106
- 'aria-labelledby'?: string;
107
- 'aria-level'?: number;
108
- 'aria-live'?: "off" | "assertive" | "polite";
109
- 'aria-modal'?: boolean | "true" | "false";
110
- 'aria-multiline'?: boolean | "true" | "false";
111
- 'aria-multiselectable'?: boolean | "true" | "false";
112
- 'aria-orientation'?: "horizontal" | "vertical";
113
- 'aria-owns'?: string;
114
- 'aria-placeholder'?: string;
115
- 'aria-posinset'?: number;
116
- 'aria-pressed'?: boolean | "true" | "false" | "mixed";
117
- 'aria-readonly'?: boolean | "true" | "false";
118
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
119
- 'aria-required'?: boolean | "true" | "false";
120
- 'aria-roledescription'?: string;
121
- 'aria-rowcount'?: number;
122
- 'aria-rowindex'?: number;
123
- 'aria-rowindextext'?: string;
124
- 'aria-rowspan'?: number;
125
- 'aria-selected'?: boolean | "true" | "false";
126
- 'aria-setsize'?: number;
127
- 'aria-sort'?: "none" | "ascending" | "descending" | "other";
128
- 'aria-valuemax'?: number;
129
- 'aria-valuemin'?: number;
130
- 'aria-valuenow'?: number;
131
- 'aria-valuetext'?: string;
79
+ "aria-activedescendant"?: string;
80
+ "aria-atomic"?: boolean | "true" | "false";
81
+ "aria-autocomplete"?: "list" | "none" | "inline" | "both";
82
+ "aria-braillelabel"?: string;
83
+ "aria-brailleroledescription"?: string;
84
+ "aria-busy"?: boolean | "true" | "false";
85
+ "aria-checked"?: boolean | "true" | "false" | "mixed";
86
+ "aria-colcount"?: number;
87
+ "aria-colindex"?: number;
88
+ "aria-colindextext"?: string;
89
+ "aria-colspan"?: number;
90
+ "aria-controls"?: string;
91
+ "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date";
92
+ "aria-describedby"?: string;
93
+ "aria-description"?: string;
94
+ "aria-details"?: string;
95
+ "aria-disabled"?: boolean | "true" | "false";
96
+ "aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup";
97
+ "aria-errormessage"?: string;
98
+ "aria-expanded"?: boolean | "true" | "false";
99
+ "aria-flowto"?: string;
100
+ "aria-grabbed"?: boolean | "true" | "false";
101
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false";
102
+ "aria-hidden"?: boolean | "true" | "false";
103
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
104
+ "aria-keyshortcuts"?: string;
105
+ "aria-label"?: string;
106
+ "aria-labelledby"?: string;
107
+ "aria-level"?: number;
108
+ "aria-live"?: "off" | "assertive" | "polite";
109
+ "aria-modal"?: boolean | "true" | "false";
110
+ "aria-multiline"?: boolean | "true" | "false";
111
+ "aria-multiselectable"?: boolean | "true" | "false";
112
+ "aria-orientation"?: "horizontal" | "vertical";
113
+ "aria-owns"?: string;
114
+ "aria-placeholder"?: string;
115
+ "aria-posinset"?: number;
116
+ "aria-pressed"?: boolean | "true" | "false" | "mixed";
117
+ "aria-readonly"?: boolean | "true" | "false";
118
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
119
+ "aria-required"?: boolean | "true" | "false";
120
+ "aria-roledescription"?: string;
121
+ "aria-rowcount"?: number;
122
+ "aria-rowindex"?: number;
123
+ "aria-rowindextext"?: string;
124
+ "aria-rowspan"?: number;
125
+ "aria-selected"?: boolean | "true" | "false";
126
+ "aria-setsize"?: number;
127
+ "aria-sort"?: "none" | "ascending" | "descending" | "other";
128
+ "aria-valuemax"?: number;
129
+ "aria-valuemin"?: number;
130
+ "aria-valuenow"?: number;
131
+ "aria-valuetext"?: string;
132
132
  children?: React.ReactNode;
133
133
  dangerouslySetInnerHTML?: {
134
134
  __html: string | TrustedHTML;
@@ -320,7 +320,7 @@ export declare const Tr: import("styled-components").IStyledComponent<"web", {
320
320
  style?: React.CSSProperties;
321
321
  tabIndex?: number;
322
322
  title?: string;
323
- translate?: "yes" | "no";
323
+ translate?: "no" | "yes";
324
324
  radioGroup?: string;
325
325
  role?: React.AriaRole;
326
326
  about?: string;
@@ -345,62 +345,62 @@ export declare const Tr: import("styled-components").IStyledComponent<"web", {
345
345
  itemRef?: string;
346
346
  results?: number;
347
347
  security?: string;
348
- unselectable?: "on" | "off";
348
+ unselectable?: "off" | "on";
349
349
  inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
350
350
  is?: string;
351
- 'aria-activedescendant'?: string;
352
- 'aria-atomic'?: boolean | "true" | "false";
353
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both";
354
- 'aria-braillelabel'?: string;
355
- 'aria-brailleroledescription'?: string;
356
- 'aria-busy'?: boolean | "true" | "false";
357
- 'aria-checked'?: boolean | "true" | "false" | "mixed";
358
- 'aria-colcount'?: number;
359
- 'aria-colindex'?: number;
360
- 'aria-colindextext'?: string;
361
- 'aria-colspan'?: number;
362
- 'aria-controls'?: string;
363
- 'aria-current'?: boolean | "time" | "step" | "page" | "true" | "false" | "location" | "date";
364
- 'aria-describedby'?: string;
365
- 'aria-description'?: string;
366
- 'aria-details'?: string;
367
- 'aria-disabled'?: boolean | "true" | "false";
368
- 'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup";
369
- 'aria-errormessage'?: string;
370
- 'aria-expanded'?: boolean | "true" | "false";
371
- 'aria-flowto'?: string;
372
- 'aria-grabbed'?: boolean | "true" | "false";
373
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
374
- 'aria-hidden'?: boolean | "true" | "false";
375
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
376
- 'aria-keyshortcuts'?: string;
377
- 'aria-label'?: string;
378
- 'aria-labelledby'?: string;
379
- 'aria-level'?: number;
380
- 'aria-live'?: "off" | "assertive" | "polite";
381
- 'aria-modal'?: boolean | "true" | "false";
382
- 'aria-multiline'?: boolean | "true" | "false";
383
- 'aria-multiselectable'?: boolean | "true" | "false";
384
- 'aria-orientation'?: "horizontal" | "vertical";
385
- 'aria-owns'?: string;
386
- 'aria-placeholder'?: string;
387
- 'aria-posinset'?: number;
388
- 'aria-pressed'?: boolean | "true" | "false" | "mixed";
389
- 'aria-readonly'?: boolean | "true" | "false";
390
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
391
- 'aria-required'?: boolean | "true" | "false";
392
- 'aria-roledescription'?: string;
393
- 'aria-rowcount'?: number;
394
- 'aria-rowindex'?: number;
395
- 'aria-rowindextext'?: string;
396
- 'aria-rowspan'?: number;
397
- 'aria-selected'?: boolean | "true" | "false";
398
- 'aria-setsize'?: number;
399
- 'aria-sort'?: "none" | "ascending" | "descending" | "other";
400
- 'aria-valuemax'?: number;
401
- 'aria-valuemin'?: number;
402
- 'aria-valuenow'?: number;
403
- 'aria-valuetext'?: string;
351
+ "aria-activedescendant"?: string;
352
+ "aria-atomic"?: boolean | "true" | "false";
353
+ "aria-autocomplete"?: "list" | "none" | "inline" | "both";
354
+ "aria-braillelabel"?: string;
355
+ "aria-brailleroledescription"?: string;
356
+ "aria-busy"?: boolean | "true" | "false";
357
+ "aria-checked"?: boolean | "true" | "false" | "mixed";
358
+ "aria-colcount"?: number;
359
+ "aria-colindex"?: number;
360
+ "aria-colindextext"?: string;
361
+ "aria-colspan"?: number;
362
+ "aria-controls"?: string;
363
+ "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date";
364
+ "aria-describedby"?: string;
365
+ "aria-description"?: string;
366
+ "aria-details"?: string;
367
+ "aria-disabled"?: boolean | "true" | "false";
368
+ "aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup";
369
+ "aria-errormessage"?: string;
370
+ "aria-expanded"?: boolean | "true" | "false";
371
+ "aria-flowto"?: string;
372
+ "aria-grabbed"?: boolean | "true" | "false";
373
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false";
374
+ "aria-hidden"?: boolean | "true" | "false";
375
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
376
+ "aria-keyshortcuts"?: string;
377
+ "aria-label"?: string;
378
+ "aria-labelledby"?: string;
379
+ "aria-level"?: number;
380
+ "aria-live"?: "off" | "assertive" | "polite";
381
+ "aria-modal"?: boolean | "true" | "false";
382
+ "aria-multiline"?: boolean | "true" | "false";
383
+ "aria-multiselectable"?: boolean | "true" | "false";
384
+ "aria-orientation"?: "horizontal" | "vertical";
385
+ "aria-owns"?: string;
386
+ "aria-placeholder"?: string;
387
+ "aria-posinset"?: number;
388
+ "aria-pressed"?: boolean | "true" | "false" | "mixed";
389
+ "aria-readonly"?: boolean | "true" | "false";
390
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
391
+ "aria-required"?: boolean | "true" | "false";
392
+ "aria-roledescription"?: string;
393
+ "aria-rowcount"?: number;
394
+ "aria-rowindex"?: number;
395
+ "aria-rowindextext"?: string;
396
+ "aria-rowspan"?: number;
397
+ "aria-selected"?: boolean | "true" | "false";
398
+ "aria-setsize"?: number;
399
+ "aria-sort"?: "none" | "ascending" | "descending" | "other";
400
+ "aria-valuemax"?: number;
401
+ "aria-valuemin"?: number;
402
+ "aria-valuenow"?: number;
403
+ "aria-valuetext"?: string;
404
404
  children?: React.ReactNode;
405
405
  dangerouslySetInnerHTML?: {
406
406
  __html: string | TrustedHTML;
@@ -579,7 +579,7 @@ export declare const Td: import("styled-components").IStyledComponent<"web", {
579
579
  abbr?: string;
580
580
  height?: string | number;
581
581
  width?: string | number;
582
- valign?: "top" | "middle" | "bottom" | "baseline";
582
+ valign?: "baseline" | "middle" | "top" | "bottom";
583
583
  defaultChecked?: boolean;
584
584
  defaultValue?: string | number | readonly string[];
585
585
  suppressContentEditableWarning?: boolean;
@@ -601,7 +601,7 @@ export declare const Td: import("styled-components").IStyledComponent<"web", {
601
601
  style?: React.CSSProperties;
602
602
  tabIndex?: number;
603
603
  title?: string;
604
- translate?: "yes" | "no";
604
+ translate?: "no" | "yes";
605
605
  radioGroup?: string;
606
606
  role?: React.AriaRole;
607
607
  about?: string;
@@ -626,62 +626,62 @@ export declare const Td: import("styled-components").IStyledComponent<"web", {
626
626
  itemRef?: string;
627
627
  results?: number;
628
628
  security?: string;
629
- unselectable?: "on" | "off";
629
+ unselectable?: "off" | "on";
630
630
  inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
631
631
  is?: string;
632
- 'aria-activedescendant'?: string;
633
- 'aria-atomic'?: boolean | "true" | "false";
634
- 'aria-autocomplete'?: "none" | "list" | "inline" | "both";
635
- 'aria-braillelabel'?: string;
636
- 'aria-brailleroledescription'?: string;
637
- 'aria-busy'?: boolean | "true" | "false";
638
- 'aria-checked'?: boolean | "true" | "false" | "mixed";
639
- 'aria-colcount'?: number;
640
- 'aria-colindex'?: number;
641
- 'aria-colindextext'?: string;
642
- 'aria-colspan'?: number;
643
- 'aria-controls'?: string;
644
- 'aria-current'?: boolean | "time" | "step" | "page" | "true" | "false" | "location" | "date";
645
- 'aria-describedby'?: string;
646
- 'aria-description'?: string;
647
- 'aria-details'?: string;
648
- 'aria-disabled'?: boolean | "true" | "false";
649
- 'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup";
650
- 'aria-errormessage'?: string;
651
- 'aria-expanded'?: boolean | "true" | "false";
652
- 'aria-flowto'?: string;
653
- 'aria-grabbed'?: boolean | "true" | "false";
654
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
655
- 'aria-hidden'?: boolean | "true" | "false";
656
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
657
- 'aria-keyshortcuts'?: string;
658
- 'aria-label'?: string;
659
- 'aria-labelledby'?: string;
660
- 'aria-level'?: number;
661
- 'aria-live'?: "off" | "assertive" | "polite";
662
- 'aria-modal'?: boolean | "true" | "false";
663
- 'aria-multiline'?: boolean | "true" | "false";
664
- 'aria-multiselectable'?: boolean | "true" | "false";
665
- 'aria-orientation'?: "horizontal" | "vertical";
666
- 'aria-owns'?: string;
667
- 'aria-placeholder'?: string;
668
- 'aria-posinset'?: number;
669
- 'aria-pressed'?: boolean | "true" | "false" | "mixed";
670
- 'aria-readonly'?: boolean | "true" | "false";
671
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
672
- 'aria-required'?: boolean | "true" | "false";
673
- 'aria-roledescription'?: string;
674
- 'aria-rowcount'?: number;
675
- 'aria-rowindex'?: number;
676
- 'aria-rowindextext'?: string;
677
- 'aria-rowspan'?: number;
678
- 'aria-selected'?: boolean | "true" | "false";
679
- 'aria-setsize'?: number;
680
- 'aria-sort'?: "none" | "ascending" | "descending" | "other";
681
- 'aria-valuemax'?: number;
682
- 'aria-valuemin'?: number;
683
- 'aria-valuenow'?: number;
684
- 'aria-valuetext'?: string;
632
+ "aria-activedescendant"?: string;
633
+ "aria-atomic"?: boolean | "true" | "false";
634
+ "aria-autocomplete"?: "list" | "none" | "inline" | "both";
635
+ "aria-braillelabel"?: string;
636
+ "aria-brailleroledescription"?: string;
637
+ "aria-busy"?: boolean | "true" | "false";
638
+ "aria-checked"?: boolean | "true" | "false" | "mixed";
639
+ "aria-colcount"?: number;
640
+ "aria-colindex"?: number;
641
+ "aria-colindextext"?: string;
642
+ "aria-colspan"?: number;
643
+ "aria-controls"?: string;
644
+ "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date";
645
+ "aria-describedby"?: string;
646
+ "aria-description"?: string;
647
+ "aria-details"?: string;
648
+ "aria-disabled"?: boolean | "true" | "false";
649
+ "aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup";
650
+ "aria-errormessage"?: string;
651
+ "aria-expanded"?: boolean | "true" | "false";
652
+ "aria-flowto"?: string;
653
+ "aria-grabbed"?: boolean | "true" | "false";
654
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false";
655
+ "aria-hidden"?: boolean | "true" | "false";
656
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
657
+ "aria-keyshortcuts"?: string;
658
+ "aria-label"?: string;
659
+ "aria-labelledby"?: string;
660
+ "aria-level"?: number;
661
+ "aria-live"?: "off" | "assertive" | "polite";
662
+ "aria-modal"?: boolean | "true" | "false";
663
+ "aria-multiline"?: boolean | "true" | "false";
664
+ "aria-multiselectable"?: boolean | "true" | "false";
665
+ "aria-orientation"?: "horizontal" | "vertical";
666
+ "aria-owns"?: string;
667
+ "aria-placeholder"?: string;
668
+ "aria-posinset"?: number;
669
+ "aria-pressed"?: boolean | "true" | "false" | "mixed";
670
+ "aria-readonly"?: boolean | "true" | "false";
671
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
672
+ "aria-required"?: boolean | "true" | "false";
673
+ "aria-roledescription"?: string;
674
+ "aria-rowcount"?: number;
675
+ "aria-rowindex"?: number;
676
+ "aria-rowindextext"?: string;
677
+ "aria-rowspan"?: number;
678
+ "aria-selected"?: boolean | "true" | "false";
679
+ "aria-setsize"?: number;
680
+ "aria-sort"?: "none" | "ascending" | "descending" | "other";
681
+ "aria-valuemax"?: number;
682
+ "aria-valuemin"?: number;
683
+ "aria-valuenow"?: number;
684
+ "aria-valuetext"?: string;
685
685
  children?: React.ReactNode;
686
686
  dangerouslySetInnerHTML?: {
687
687
  __html: string | TrustedHTML;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentgraul/react-components",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "exports": {
5
5
  "./match-device": {
6
6
  "import": "./build/match-device/useMatchDevice.js"