@guardian/stand 0.0.22 → 0.0.24

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.
Files changed (92) hide show
  1. package/dist/checkbox.cjs +11 -0
  2. package/dist/checkbox.js +3 -0
  3. package/dist/components/checkbox/Checkbox.cjs +54 -0
  4. package/dist/components/checkbox/Checkbox.js +17 -0
  5. package/dist/components/checkbox/CheckboxGroup.cjs +35 -0
  6. package/dist/components/checkbox/CheckboxGroup.js +26 -0
  7. package/dist/components/checkbox/styles.cjs +109 -0
  8. package/dist/components/checkbox/styles.js +101 -0
  9. package/dist/components/form/types.cjs +6 -1
  10. package/dist/components/form/types.js +7 -2
  11. package/dist/components/inline-message/InlineMessage.cjs +9 -1
  12. package/dist/components/inline-message/InlineMessage.js +2 -2
  13. package/dist/components/inline-message/styles.cjs +6 -0
  14. package/dist/components/inline-message/styles.js +6 -1
  15. package/dist/components/radio-group/RadioGroup.cjs +65 -0
  16. package/dist/components/radio-group/RadioGroup.js +31 -0
  17. package/dist/components/radio-group/styles.cjs +78 -0
  18. package/dist/components/radio-group/styles.js +73 -0
  19. package/dist/components/text-area/TextArea.cjs +35 -0
  20. package/dist/components/text-area/TextArea.js +12 -0
  21. package/dist/components/text-area/styles.cjs +47 -0
  22. package/dist/components/text-area/styles.js +44 -0
  23. package/dist/components/text-input/TextInput.cjs +8 -1
  24. package/dist/components/text-input/TextInput.js +2 -2
  25. package/dist/components/text-input/styles.cjs +12 -0
  26. package/dist/components/text-input/styles.js +12 -0
  27. package/dist/fonts/MaterialSymbolsOutlined.css +1 -1
  28. package/dist/fonts/MaterialSymbolsRound.css +1 -1
  29. package/dist/fonts/MaterialSymbolsSharp.css +1 -1
  30. package/dist/fonts/material-symbols-types.ts +34 -3
  31. package/dist/index.cjs +6 -0
  32. package/dist/index.js +3 -0
  33. package/dist/radio-group.cjs +10 -0
  34. package/dist/radio-group.js +2 -0
  35. package/dist/styleD/build/css/base/typography.css +1 -1
  36. package/dist/styleD/build/css/component/checkbox.css +57 -0
  37. package/dist/styleD/build/css/component/inlineMessage.css +1 -0
  38. package/dist/styleD/build/css/component/radioGroup.css +52 -0
  39. package/dist/styleD/build/css/component/textArea.css +30 -0
  40. package/dist/styleD/build/css/component/textInput.css +2 -0
  41. package/dist/styleD/build/css/semantic/colors.css +3 -1
  42. package/dist/styleD/build/css/semantic/sizing.css +1 -0
  43. package/dist/styleD/build/typescript/base/typography.cjs +3 -3
  44. package/dist/styleD/build/typescript/base/typography.js +3 -3
  45. package/dist/styleD/build/typescript/component/checkbox.cjs +100 -0
  46. package/dist/styleD/build/typescript/component/checkbox.js +98 -0
  47. package/dist/styleD/build/typescript/component/inlineMessage.cjs +2 -1
  48. package/dist/styleD/build/typescript/component/inlineMessage.js +2 -1
  49. package/dist/styleD/build/typescript/component/radioGroup.cjs +85 -0
  50. package/dist/styleD/build/typescript/component/radioGroup.js +83 -0
  51. package/dist/styleD/build/typescript/component/textArea.cjs +48 -0
  52. package/dist/styleD/build/typescript/component/textArea.js +46 -0
  53. package/dist/styleD/build/typescript/component/textInput.cjs +4 -0
  54. package/dist/styleD/build/typescript/component/textInput.js +4 -0
  55. package/dist/styleD/build/typescript/semantic/colors.cjs +3 -1
  56. package/dist/styleD/build/typescript/semantic/colors.js +3 -1
  57. package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
  58. package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
  59. package/dist/text-area.cjs +9 -0
  60. package/dist/text-area.js +2 -0
  61. package/dist/types/checkbox.d.ts +21 -0
  62. package/dist/types/components/checkbox/Checkbox.d.ts +2 -0
  63. package/dist/types/components/checkbox/CheckboxGroup.d.ts +2 -0
  64. package/dist/types/components/checkbox/CheckboxGroupSandbox.d.ts +5 -0
  65. package/dist/types/components/checkbox/CheckboxSandbox.d.ts +5 -0
  66. package/dist/types/components/checkbox/styles.d.ts +10 -0
  67. package/dist/types/components/checkbox/types.d.ts +11 -0
  68. package/dist/types/components/form/types.d.ts +1 -1
  69. package/dist/types/components/inline-message/styles.d.ts +1 -0
  70. package/dist/types/components/radio-group/RadioGroup.d.ts +3 -0
  71. package/dist/types/components/radio-group/sandbox.d.ts +5 -0
  72. package/dist/types/components/radio-group/styles.d.ts +9 -0
  73. package/dist/types/components/radio-group/types.d.ts +10 -0
  74. package/dist/types/components/text-area/TextArea.d.ts +2 -0
  75. package/dist/types/components/text-area/sandbox.d.ts +5 -0
  76. package/dist/types/components/text-area/styles.d.ts +7 -0
  77. package/dist/types/components/text-area/types.d.ts +7 -0
  78. package/dist/types/components/text-input/TextInput.d.ts +1 -1
  79. package/dist/types/components/text-input/types.d.ts +4 -1
  80. package/dist/types/fonts/material-symbols-types.d.ts +33 -2
  81. package/dist/types/index.d.ts +6 -0
  82. package/dist/types/radio-group.d.ts +20 -0
  83. package/dist/types/styleD/build/typescript/base/typography.d.ts +3 -3
  84. package/dist/types/styleD/build/typescript/component/checkbox.d.ts +100 -0
  85. package/dist/types/styleD/build/typescript/component/inlineMessage.d.ts +1 -0
  86. package/dist/types/styleD/build/typescript/component/radioGroup.d.ts +85 -0
  87. package/dist/types/styleD/build/typescript/component/textArea.d.ts +48 -0
  88. package/dist/types/styleD/build/typescript/component/textInput.d.ts +4 -0
  89. package/dist/types/styleD/build/typescript/semantic/colors.d.ts +2 -0
  90. package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +1 -0
  91. package/dist/types/text-area.d.ts +20 -0
  92. package/package.json +38 -11
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --component-checkbox-input-shared-display: flex;
7
+ --component-checkbox-input-shared-position: relative;
8
+ --component-checkbox-input-shared-gap: 0.5rem;
9
+ --component-checkbox-input-shared-align-items: flex-start;
10
+ --component-checkbox-input-shared-color: #000000;
11
+ --component-checkbox-input-shared-cursor: pointer;
12
+ --component-checkbox-input-shared-indicator-display: flex;
13
+ --component-checkbox-input-shared-indicator-align-items: center;
14
+ --component-checkbox-input-shared-indicator-justify-content: center;
15
+ --component-checkbox-input-shared-indicator-flex-shrink: 0;
16
+ --component-checkbox-input-shared-indicator-border: 0.0625rem solid #545454;
17
+ --component-checkbox-input-shared-indicator-border-radius: 0.25rem;
18
+ --component-checkbox-input-shared-indicator-transition: all 200ms;
19
+ --component-checkbox-input-shared-indicator-svg-fill: none;
20
+ --component-checkbox-input-shared-indicator-check-width: 20px;
21
+ --component-checkbox-input-shared-indicator-check-height: 20px;
22
+ --component-checkbox-input-shared-indicator-indeterminate-width: 12px;
23
+ --component-checkbox-input-shared-indicator-indeterminate-height: 2px;
24
+ --component-checkbox-input-shared-indicator-selected-background-color: #005d8b;
25
+ --component-checkbox-input-shared-indicator-selected-border: 0.0625rem solid
26
+ #0072a9;
27
+ --component-checkbox-input-shared-indicator-selected-svg-fill: #ffffff;
28
+ --component-checkbox-input-shared-indicator-focus-visible-outline: 0.125rem
29
+ solid #0072a9;
30
+ --component-checkbox-input-shared-indicator-focus-visible-outline-offset: 0.125rem;
31
+ --component-checkbox-input-shared-indicator-error-background-color: #b42a19;
32
+ --component-checkbox-input-shared-indicator-error-border: 0.0625rem solid
33
+ #b42a19;
34
+ --component-checkbox-input-shared-label-align-self: center;
35
+ --component-checkbox-input-shared-disabled-color: #999999;
36
+ --component-checkbox-input-shared-disabled-cursor: not-allowed;
37
+ --component-checkbox-input-shared-disabled-indicator-border: 0.0625rem solid
38
+ #dcdcdc;
39
+ --component-checkbox-input-shared-disabled-indicator-selected-background-color: #dcdcdc;
40
+ --component-checkbox-input-sm-typography-font: normal 460 0.875rem/1.3
41
+ 'Open Sans';
42
+ --component-checkbox-input-sm-typography-letter-spacing: 0;
43
+ --component-checkbox-input-sm-typography-font-width: 95;
44
+ --component-checkbox-input-sm-indicator-size: 1.25rem;
45
+ --component-checkbox-input-md-typography-font: normal 460 1rem/1.3 'Open Sans';
46
+ --component-checkbox-input-md-typography-letter-spacing: 0;
47
+ --component-checkbox-input-md-typography-font-width: 95;
48
+ --component-checkbox-input-md-indicator-size: 1.5rem;
49
+ --component-checkbox-group-shared-display: flex;
50
+ --component-checkbox-group-shared-flex-direction: column;
51
+ --component-checkbox-group-sm-gap: 1rem;
52
+ --component-checkbox-group-sm-margin-top: 0.5rem; /** spacing between the input itself and the previous element (label or description) minus the flex gap (default 4px), e.g. if the spacing between label and input should be 12px, then margin-top should be 8px */
53
+ --component-checkbox-group-sm-margin-bottom: 0.5rem; /** spacing between the input itself and the following element (error) minus the flex gap (default 4px), e.g. if the spacing between label and input should be 12px, then margin-top should be 8px */
54
+ --component-checkbox-group-md-gap: 1.25rem;
55
+ --component-checkbox-group-md-margin-top: 0.75rem; /** spacing between the input itself and the previous element (label or description) minus the flex gap (default 4px), e.g. if the spacing between label and input should be 12px, then margin-top should be 8px */
56
+ --component-checkbox-group-md-margin-bottom: 0.75rem; /** spacing between the input itself and the following element (error) minus the flex gap (default 4px), e.g. if the spacing between label and input should be 12px, then margin-top should be 8px */
57
+ }
@@ -7,6 +7,7 @@
7
7
  --component-inline-message-shared-gap: 0.25rem;
8
8
  --component-inline-message-shared-align-items: center;
9
9
  --component-inline-message-shared-icon-size: 1.25rem;
10
+ --component-inline-message-shared-icon-align-self: flex-start;
10
11
  --component-inline-message-shared-typography-font: normal 460 0.875rem/1.3
11
12
  'Open Sans';
12
13
  --component-inline-message-shared-typography-letter-spacing: 0;
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --component-radio-group-shared-margin-top: 0.5rem; /** spacing between the input itself and the previous element (label or description) minus the flex gap (default 4px), e.g. if the spacing between label and input should be 12px, then margin-top should be 8px */
7
+ --component-radio-group-shared-margin-bottom: 0.5rem; /** spacing between the input itself and the next element (error text) minus the flex gap (default 4px), e.g. if the spacing between label and input should be 12px, then margin-top should be 8px */
8
+ --component-radio-group-shared-display: flex;
9
+ --component-radio-group-shared-flex-direction: column;
10
+ --component-radio-group-shared-radio-color: #000000;
11
+ --component-radio-group-shared-radio-disabled-color: #999999;
12
+ --component-radio-group-shared-radio-display: flex;
13
+ --component-radio-group-shared-radio-align-items: center;
14
+ --component-radio-group-shared-radio-gap: 0.5rem;
15
+ --component-radio-group-shared-indicator-position: relative;
16
+ --component-radio-group-shared-indicator-after-position: absolute;
17
+ --component-radio-group-shared-indicator-after-border-radius: inherit;
18
+ --component-radio-group-shared-indicator-after-inset: 0;
19
+ --component-radio-group-shared-indicator-after-scale: 0;
20
+ --component-radio-group-shared-indicator-border-radius: 50%;
21
+ --component-radio-group-shared-indicator-border: 0.0625rem solid #545454;
22
+ --component-radio-group-shared-indicator-focused-outline: 0.125rem solid
23
+ #0072a9;
24
+ --component-radio-group-shared-indicator-focused-outline-offset: 0.125rem;
25
+ --component-radio-group-shared-indicator-invalid-border: 0.0625rem solid
26
+ #b42a19;
27
+ --component-radio-group-shared-indicator-invalid-after-background-color: #b42a19;
28
+ --component-radio-group-shared-indicator-disabled-border: 0.0625rem solid
29
+ #dcdcdc;
30
+ --component-radio-group-shared-indicator-selected-after-background-color: #005d8b;
31
+ --component-radio-group-shared-indicator-selected-after-scale: 0.6rem;
32
+ --component-radio-group-shared-indicator-selected-border: 0.125rem solid
33
+ #0072a9;
34
+ --component-radio-group-shared-indicator-selected-invalid-border: 0.125rem
35
+ solid #b42a19;
36
+ --component-radio-group-shared-indicator-selected-disabled-border: 0.125rem
37
+ solid #dcdcdc;
38
+ --component-radio-group-shared-indicator-selected-disabled-after-background-color: #dcdcdc;
39
+ --component-radio-group-sm-gap: 1rem;
40
+ --component-radio-group-sm-typography-font: normal 460 0.875rem/1.3
41
+ 'Open Sans';
42
+ --component-radio-group-sm-typography-letter-spacing: 0;
43
+ --component-radio-group-sm-typography-font-width: 95;
44
+ --component-radio-group-sm-indicator-width: 1.25rem;
45
+ --component-radio-group-sm-indicator-height: 1.25rem;
46
+ --component-radio-group-md-gap: 1.25rem;
47
+ --component-radio-group-md-typography-font: normal 460 1rem/1.3 'Open Sans';
48
+ --component-radio-group-md-typography-letter-spacing: 0;
49
+ --component-radio-group-md-typography-font-width: 95;
50
+ --component-radio-group-md-indicator-width: 1.5rem;
51
+ --component-radio-group-md-indicator-height: 1.5rem;
52
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ :root {
6
+ --component-text-area-shared-color: #000000;
7
+ --component-text-area-shared-cursor: text;
8
+ --component-text-area-shared-padding-top: 0.5rem;
9
+ --component-text-area-shared-padding-right: 0.75rem;
10
+ --component-text-area-shared-padding-bottom: 0.5rem;
11
+ --component-text-area-shared-padding-left: 0.75rem;
12
+ --component-text-area-shared-height: 144px;
13
+ --component-text-area-shared-margin-top: 0.5rem; /** spacing between the input itself and the previous element (label or description) minus the flex gap (default 4px), e.g. if the spacing between label and input should be 12px, then margin-top should be 8px */
14
+ --component-text-area-shared-border-radius: 0.25rem;
15
+ --component-text-area-shared-border: 0.0625rem solid #545454;
16
+ --component-text-area-shared-background-color: #ffffff;
17
+ --component-text-area-shared-placeholder-color: #545454;
18
+ --component-text-area-shared-disabled-background-color: #ffffff;
19
+ --component-text-area-shared-disabled-cursor: not-allowed;
20
+ --component-text-area-shared-disabled-color: #999999;
21
+ --component-text-area-shared-disabled-border: 0.0625rem solid #dcdcdc;
22
+ --component-text-area-shared-focused-outline: 0.125rem auto #0072a9;
23
+ --component-text-area-shared-error-border: 0.0625rem solid #b42a19;
24
+ --component-text-area-sm-typography-font: normal 460 0.875rem/1.3 'Open Sans';
25
+ --component-text-area-sm-typography-letter-spacing: 0;
26
+ --component-text-area-sm-typography-font-width: 95;
27
+ --component-text-area-md-typography-font: normal 460 1rem/1.3 'Open Sans';
28
+ --component-text-area-md-typography-letter-spacing: 0;
29
+ --component-text-area-md-typography-font-width: 95;
30
+ }
@@ -13,10 +13,12 @@
13
13
  --component-text-input-shared-border-radius: 0.25rem;
14
14
  --component-text-input-shared-border: 0.0625rem solid #545454;
15
15
  --component-text-input-shared-background-color: #ffffff;
16
+ --component-text-input-shared-placeholder-color: #545454;
16
17
  --component-text-input-shared-disabled-background-color: #ffffff;
17
18
  --component-text-input-shared-disabled-cursor: not-allowed;
18
19
  --component-text-input-shared-disabled-color: #999999;
19
20
  --component-text-input-shared-disabled-border: 0.0625rem solid #dcdcdc;
21
+ --component-text-input-shared-focused-outline: 0.125rem auto #0072a9;
20
22
  --component-text-input-shared-error-border: 0.0625rem solid #b42a19;
21
23
  --component-text-input-sm-height: 2rem;
22
24
  --component-text-input-sm-typography-font: normal 460 0.875rem/1.3 'Open Sans';
@@ -11,6 +11,7 @@
11
11
  --semantic-colors-text-error: #8c2113;
12
12
  --semantic-colors-text-warning: #433608;
13
13
  --semantic-colors-text-success: #326528;
14
+ --semantic-colors-text-success-inverse: #cde4c9;
14
15
  --semantic-colors-text-information: #00344e;
15
16
  --semantic-colors-text-disabled: #999999;
16
17
  --semantic-colors-text-green: #24491d;
@@ -64,5 +65,6 @@
64
65
  --semantic-colors-fill-information-weak: #e8f0fb;
65
66
  --semantic-colors-fill-error-weak: #f5c6c0;
66
67
  --semantic-colors-fill-error-strong: #b42a19;
67
- --semantic-colors-fill-success-weak: #edf5ec;
68
+ --semantic-colors-fill-success-weak: #cde4c9;
69
+ --semantic-colors-fill-success-strong: #326528;
68
70
  }
@@ -3,6 +3,7 @@
3
3
  */
4
4
 
5
5
  :root {
6
+ --semantic-sizing-height-xxxs: 1.125rem;
6
7
  --semantic-sizing-height-xxs: 1.25rem;
7
8
  --semantic-sizing-height-xs: 1.5rem;
8
9
  --semantic-sizing-height-sm: 2rem;
@@ -32,11 +32,11 @@ const baseTypography = {
32
32
  "48-rem": "3rem"
33
33
  },
34
34
  weight: {
35
- "Guardian Text Egyptian": {
36
- normal: 400,
35
+ "Guardian Headline": {
37
36
  bold: 700
38
37
  },
39
- "Guardian Headline": {
38
+ "Guardian Text Egyptian": {
39
+ normal: 400,
40
40
  bold: 700
41
41
  },
42
42
  "Open Sans": {
@@ -30,11 +30,11 @@ const baseTypography = {
30
30
  "48-rem": "3rem"
31
31
  },
32
32
  weight: {
33
- "Guardian Text Egyptian": {
34
- normal: 400,
33
+ "Guardian Headline": {
35
34
  bold: 700
36
35
  },
37
- "Guardian Headline": {
36
+ "Guardian Text Egyptian": {
37
+ normal: 400,
38
38
  bold: 700
39
39
  },
40
40
  "Open Sans": {
@@ -0,0 +1,100 @@
1
+ 'use strict';
2
+
3
+ const componentCheckbox = {
4
+ input: {
5
+ shared: {
6
+ display: "flex",
7
+ position: "relative",
8
+ gap: "0.5rem",
9
+ "align-items": "flex-start",
10
+ color: "#000000",
11
+ cursor: "pointer",
12
+ indicator: {
13
+ display: "flex",
14
+ "align-items": "center",
15
+ "justify-content": "center",
16
+ "flex-shrink": 0,
17
+ border: "0.0625rem solid #545454",
18
+ "border-radius": "0.25rem",
19
+ transition: "all 200ms",
20
+ svg: {
21
+ fill: "none"
22
+ },
23
+ check: {
24
+ width: "20px",
25
+ height: "20px"
26
+ },
27
+ indeterminate: {
28
+ width: "12px",
29
+ height: "2px"
30
+ },
31
+ selected: {
32
+ "background-color": "#005d8b",
33
+ border: "0.0625rem solid #0072a9",
34
+ svg: {
35
+ fill: "#ffffff"
36
+ }
37
+ },
38
+ ":focus-visible": {
39
+ outline: "0.125rem solid #0072a9",
40
+ "outline-offset": "0.125rem"
41
+ },
42
+ error: {
43
+ "background-color": "#b42a19",
44
+ border: "0.0625rem solid #b42a19"
45
+ }
46
+ },
47
+ label: {
48
+ "align-self": "center"
49
+ },
50
+ disabled: {
51
+ color: "#999999",
52
+ cursor: "not-allowed",
53
+ indicator: {
54
+ border: "0.0625rem solid #dcdcdc",
55
+ selected: {
56
+ "background-color": "#dcdcdc"
57
+ }
58
+ }
59
+ }
60
+ },
61
+ sm: {
62
+ typography: {
63
+ font: "normal 460 0.875rem/1.3 Open Sans",
64
+ letterSpacing: "0rem",
65
+ fontWidth: 95
66
+ },
67
+ indicator: {
68
+ size: "1.25rem"
69
+ }
70
+ },
71
+ md: {
72
+ typography: {
73
+ font: "normal 460 1rem/1.3 Open Sans",
74
+ letterSpacing: "0rem",
75
+ fontWidth: 95
76
+ },
77
+ indicator: {
78
+ size: "1.5rem"
79
+ }
80
+ }
81
+ },
82
+ group: {
83
+ shared: {
84
+ display: "flex",
85
+ "flex-direction": "column"
86
+ },
87
+ sm: {
88
+ gap: "1rem",
89
+ "margin-top": "0.5rem",
90
+ "margin-bottom": "0.5rem"
91
+ },
92
+ md: {
93
+ gap: "1.25rem",
94
+ "margin-top": "0.75rem",
95
+ "margin-bottom": "0.75rem"
96
+ }
97
+ }
98
+ };
99
+
100
+ exports.componentCheckbox = componentCheckbox;
@@ -0,0 +1,98 @@
1
+ const componentCheckbox = {
2
+ input: {
3
+ shared: {
4
+ display: "flex",
5
+ position: "relative",
6
+ gap: "0.5rem",
7
+ "align-items": "flex-start",
8
+ color: "#000000",
9
+ cursor: "pointer",
10
+ indicator: {
11
+ display: "flex",
12
+ "align-items": "center",
13
+ "justify-content": "center",
14
+ "flex-shrink": 0,
15
+ border: "0.0625rem solid #545454",
16
+ "border-radius": "0.25rem",
17
+ transition: "all 200ms",
18
+ svg: {
19
+ fill: "none"
20
+ },
21
+ check: {
22
+ width: "20px",
23
+ height: "20px"
24
+ },
25
+ indeterminate: {
26
+ width: "12px",
27
+ height: "2px"
28
+ },
29
+ selected: {
30
+ "background-color": "#005d8b",
31
+ border: "0.0625rem solid #0072a9",
32
+ svg: {
33
+ fill: "#ffffff"
34
+ }
35
+ },
36
+ ":focus-visible": {
37
+ outline: "0.125rem solid #0072a9",
38
+ "outline-offset": "0.125rem"
39
+ },
40
+ error: {
41
+ "background-color": "#b42a19",
42
+ border: "0.0625rem solid #b42a19"
43
+ }
44
+ },
45
+ label: {
46
+ "align-self": "center"
47
+ },
48
+ disabled: {
49
+ color: "#999999",
50
+ cursor: "not-allowed",
51
+ indicator: {
52
+ border: "0.0625rem solid #dcdcdc",
53
+ selected: {
54
+ "background-color": "#dcdcdc"
55
+ }
56
+ }
57
+ }
58
+ },
59
+ sm: {
60
+ typography: {
61
+ font: "normal 460 0.875rem/1.3 Open Sans",
62
+ letterSpacing: "0rem",
63
+ fontWidth: 95
64
+ },
65
+ indicator: {
66
+ size: "1.25rem"
67
+ }
68
+ },
69
+ md: {
70
+ typography: {
71
+ font: "normal 460 1rem/1.3 Open Sans",
72
+ letterSpacing: "0rem",
73
+ fontWidth: 95
74
+ },
75
+ indicator: {
76
+ size: "1.5rem"
77
+ }
78
+ }
79
+ },
80
+ group: {
81
+ shared: {
82
+ display: "flex",
83
+ "flex-direction": "column"
84
+ },
85
+ sm: {
86
+ gap: "1rem",
87
+ "margin-top": "0.5rem",
88
+ "margin-bottom": "0.5rem"
89
+ },
90
+ md: {
91
+ gap: "1.25rem",
92
+ "margin-top": "0.75rem",
93
+ "margin-bottom": "0.75rem"
94
+ }
95
+ }
96
+ };
97
+
98
+ export { componentCheckbox };
@@ -6,7 +6,8 @@ const componentInlineMessage = {
6
6
  gap: "0.25rem",
7
7
  "align-items": "center",
8
8
  icon: {
9
- size: "1.25rem"
9
+ size: "1.25rem",
10
+ "align-self": "flex-start"
10
11
  },
11
12
  typography: {
12
13
  font: "normal 460 0.875rem/1.3 Open Sans",
@@ -4,7 +4,8 @@ const componentInlineMessage = {
4
4
  gap: "0.25rem",
5
5
  "align-items": "center",
6
6
  icon: {
7
- size: "1.25rem"
7
+ size: "1.25rem",
8
+ "align-self": "flex-start"
8
9
  },
9
10
  typography: {
10
11
  font: "normal 460 0.875rem/1.3 Open Sans",
@@ -0,0 +1,85 @@
1
+ 'use strict';
2
+
3
+ const componentRadioGroup = {
4
+ shared: {
5
+ marginTop: "0.5rem",
6
+ marginBottom: "0.5rem",
7
+ display: "flex",
8
+ flexDirection: "column",
9
+ radio: {
10
+ color: "#000000",
11
+ disabled: {
12
+ color: "#999999"
13
+ },
14
+ display: "flex",
15
+ alignItems: "center",
16
+ gap: "0.5rem"
17
+ },
18
+ indicator: {
19
+ position: "relative",
20
+ after: {
21
+ position: "absolute",
22
+ borderRadius: "inherit",
23
+ inset: "0px",
24
+ scale: "0"
25
+ },
26
+ borderRadius: "50%",
27
+ border: "0.0625rem solid #545454",
28
+ focused: {
29
+ outline: "0.125rem solid #0072a9",
30
+ outlineOffset: "0.125rem"
31
+ },
32
+ invalid: {
33
+ border: "0.0625rem solid #b42a19",
34
+ after: {
35
+ backgroundColor: "#b42a19"
36
+ }
37
+ },
38
+ disabled: {
39
+ border: "0.0625rem solid #dcdcdc"
40
+ },
41
+ selected: {
42
+ after: {
43
+ backgroundColor: "#005d8b",
44
+ scale: "0.6"
45
+ },
46
+ border: "0.125rem solid #0072a9",
47
+ invalid: {
48
+ border: "0.125rem solid #b42a19"
49
+ },
50
+ disabled: {
51
+ border: "0.125rem solid #dcdcdc",
52
+ after: {
53
+ backgroundColor: "#dcdcdc"
54
+ }
55
+ }
56
+ }
57
+ }
58
+ },
59
+ sm: {
60
+ gap: "1rem",
61
+ typography: {
62
+ font: "normal 460 0.875rem/1.3 Open Sans",
63
+ letterSpacing: "0rem",
64
+ fontWidth: 95
65
+ },
66
+ indicator: {
67
+ width: "1.25rem",
68
+ height: "1.25rem"
69
+ }
70
+ },
71
+ md: {
72
+ gap: "1.25rem",
73
+ typography: {
74
+ font: "normal 460 1rem/1.3 Open Sans",
75
+ letterSpacing: "0rem",
76
+ fontWidth: 95
77
+ },
78
+ indicator: {
79
+ width: "1.5rem",
80
+ height: "1.5rem"
81
+ }
82
+ }
83
+ };
84
+
85
+ exports.componentRadioGroup = componentRadioGroup;
@@ -0,0 +1,83 @@
1
+ const componentRadioGroup = {
2
+ shared: {
3
+ marginTop: "0.5rem",
4
+ marginBottom: "0.5rem",
5
+ display: "flex",
6
+ flexDirection: "column",
7
+ radio: {
8
+ color: "#000000",
9
+ disabled: {
10
+ color: "#999999"
11
+ },
12
+ display: "flex",
13
+ alignItems: "center",
14
+ gap: "0.5rem"
15
+ },
16
+ indicator: {
17
+ position: "relative",
18
+ after: {
19
+ position: "absolute",
20
+ borderRadius: "inherit",
21
+ inset: "0px",
22
+ scale: "0"
23
+ },
24
+ borderRadius: "50%",
25
+ border: "0.0625rem solid #545454",
26
+ focused: {
27
+ outline: "0.125rem solid #0072a9",
28
+ outlineOffset: "0.125rem"
29
+ },
30
+ invalid: {
31
+ border: "0.0625rem solid #b42a19",
32
+ after: {
33
+ backgroundColor: "#b42a19"
34
+ }
35
+ },
36
+ disabled: {
37
+ border: "0.0625rem solid #dcdcdc"
38
+ },
39
+ selected: {
40
+ after: {
41
+ backgroundColor: "#005d8b",
42
+ scale: "0.6"
43
+ },
44
+ border: "0.125rem solid #0072a9",
45
+ invalid: {
46
+ border: "0.125rem solid #b42a19"
47
+ },
48
+ disabled: {
49
+ border: "0.125rem solid #dcdcdc",
50
+ after: {
51
+ backgroundColor: "#dcdcdc"
52
+ }
53
+ }
54
+ }
55
+ }
56
+ },
57
+ sm: {
58
+ gap: "1rem",
59
+ typography: {
60
+ font: "normal 460 0.875rem/1.3 Open Sans",
61
+ letterSpacing: "0rem",
62
+ fontWidth: 95
63
+ },
64
+ indicator: {
65
+ width: "1.25rem",
66
+ height: "1.25rem"
67
+ }
68
+ },
69
+ md: {
70
+ gap: "1.25rem",
71
+ typography: {
72
+ font: "normal 460 1rem/1.3 Open Sans",
73
+ letterSpacing: "0rem",
74
+ fontWidth: 95
75
+ },
76
+ indicator: {
77
+ width: "1.5rem",
78
+ height: "1.5rem"
79
+ }
80
+ }
81
+ };
82
+
83
+ export { componentRadioGroup };
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+
3
+ const componentTextArea = {
4
+ shared: {
5
+ color: "#000000",
6
+ cursor: "text",
7
+ padding: {
8
+ top: "0.5rem",
9
+ right: "0.75rem",
10
+ bottom: "0.5rem",
11
+ left: "0.75rem"
12
+ },
13
+ height: "144px",
14
+ "margin-top": "0.5rem",
15
+ "border-radius": "0.25rem",
16
+ border: "0.0625rem solid #545454",
17
+ "background-color": "#ffffff",
18
+ placeholderColor: "#545454",
19
+ disabled: {
20
+ backgroundColor: "#ffffff",
21
+ cursor: "not-allowed",
22
+ color: "#999999",
23
+ border: "0.0625rem solid #dcdcdc"
24
+ },
25
+ focused: {
26
+ outline: "0.125rem auto #0072a9"
27
+ },
28
+ error: {
29
+ border: "0.0625rem solid #b42a19"
30
+ }
31
+ },
32
+ sm: {
33
+ typography: {
34
+ font: "normal 460 0.875rem/1.3 Open Sans",
35
+ letterSpacing: "0rem",
36
+ fontWidth: 95
37
+ }
38
+ },
39
+ md: {
40
+ typography: {
41
+ font: "normal 460 1rem/1.3 Open Sans",
42
+ letterSpacing: "0rem",
43
+ fontWidth: 95
44
+ }
45
+ }
46
+ };
47
+
48
+ exports.componentTextArea = componentTextArea;