@pega/cosmos-react-core 3.0.0-dev.10.1 → 3.0.0-dev.13.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.
Files changed (157) hide show
  1. package/lib/components/AppShell/AppHeader.d.ts.map +1 -1
  2. package/lib/components/AppShell/AppHeader.js +13 -3
  3. package/lib/components/AppShell/AppHeader.js.map +1 -1
  4. package/lib/components/AppShell/AppShell.d.ts.map +1 -1
  5. package/lib/components/AppShell/AppShell.js +8 -4
  6. package/lib/components/AppShell/AppShell.js.map +1 -1
  7. package/lib/components/AppShell/AppShell.styles.d.ts +1 -0
  8. package/lib/components/AppShell/AppShell.styles.d.ts.map +1 -1
  9. package/lib/components/AppShell/AppShell.styles.js +62 -77
  10. package/lib/components/AppShell/AppShell.styles.js.map +1 -1
  11. package/lib/components/AppShell/AppShell.types.d.ts +3 -0
  12. package/lib/components/AppShell/AppShell.types.d.ts.map +1 -1
  13. package/lib/components/AppShell/AppShell.types.js.map +1 -1
  14. package/lib/components/AppShell/AppShellContext.d.ts +3 -1
  15. package/lib/components/AppShell/AppShellContext.d.ts.map +1 -1
  16. package/lib/components/AppShell/AppShellContext.js +3 -1
  17. package/lib/components/AppShell/AppShellContext.js.map +1 -1
  18. package/lib/components/CompositeInput/CompositeInput.d.ts +5 -0
  19. package/lib/components/CompositeInput/CompositeInput.d.ts.map +1 -0
  20. package/lib/components/CompositeInput/CompositeInput.js +59 -0
  21. package/lib/components/CompositeInput/CompositeInput.js.map +1 -0
  22. package/lib/components/CompositeInput/CompositeInput.styles.d.ts +5 -0
  23. package/lib/components/CompositeInput/CompositeInput.styles.d.ts.map +1 -0
  24. package/lib/components/CompositeInput/CompositeInput.styles.js +54 -0
  25. package/lib/components/CompositeInput/CompositeInput.styles.js.map +1 -0
  26. package/lib/components/CompositeInput/CompositeInput.types.d.ts +50 -0
  27. package/lib/components/CompositeInput/CompositeInput.types.d.ts.map +1 -0
  28. package/lib/components/CompositeInput/CompositeInput.types.js +2 -0
  29. package/lib/components/CompositeInput/CompositeInput.types.js.map +1 -0
  30. package/lib/components/CompositeInput/index.d.ts +3 -0
  31. package/lib/components/CompositeInput/index.d.ts.map +1 -0
  32. package/lib/components/CompositeInput/index.js +2 -0
  33. package/lib/components/CompositeInput/index.js.map +1 -0
  34. package/lib/components/Currency/CurrencyDisplay.d.ts.map +1 -1
  35. package/lib/components/Currency/CurrencyDisplay.js +2 -2
  36. package/lib/components/Currency/CurrencyDisplay.js.map +1 -1
  37. package/lib/components/Currency/CurrencyInput.d.ts.map +1 -1
  38. package/lib/components/Currency/CurrencyInput.js +64 -28
  39. package/lib/components/Currency/CurrencyInput.js.map +1 -1
  40. package/lib/components/Currency/utils.d.ts +6 -16
  41. package/lib/components/Currency/utils.d.ts.map +1 -1
  42. package/lib/components/Currency/utils.js +47 -49
  43. package/lib/components/Currency/utils.js.map +1 -1
  44. package/lib/components/FieldGroup/FieldGroup.d.ts.map +1 -1
  45. package/lib/components/FieldGroup/FieldGroup.js +3 -2
  46. package/lib/components/FieldGroup/FieldGroup.js.map +1 -1
  47. package/lib/components/FieldGroup/FieldGroupList.d.ts.map +1 -1
  48. package/lib/components/FieldGroup/FieldGroupList.js +6 -2
  49. package/lib/components/FieldGroup/FieldGroupList.js.map +1 -1
  50. package/lib/components/Form/Form.d.ts +5 -16
  51. package/lib/components/Form/Form.d.ts.map +1 -1
  52. package/lib/components/Form/Form.js +14 -11
  53. package/lib/components/Form/Form.js.map +1 -1
  54. package/lib/components/Icon/Icon.d.ts.map +1 -1
  55. package/lib/components/Icon/Icon.js +1 -1
  56. package/lib/components/Icon/Icon.js.map +1 -1
  57. package/lib/components/Icon/iconNames.d.ts +1 -1
  58. package/lib/components/Icon/iconNames.d.ts.map +1 -1
  59. package/lib/components/Icon/iconNames.js +0 -1
  60. package/lib/components/Icon/iconNames.js.map +1 -1
  61. package/lib/components/Icon/icons/script.icon.d.ts +1 -1
  62. package/lib/components/Icon/icons/script.icon.d.ts.map +1 -1
  63. package/lib/components/Icon/icons/script.icon.js +3 -3
  64. package/lib/components/Icon/icons/script.icon.js.map +1 -1
  65. package/lib/components/ListToolbar/ListToolbar.d.ts.map +1 -1
  66. package/lib/components/ListToolbar/ListToolbar.js +11 -10
  67. package/lib/components/ListToolbar/ListToolbar.js.map +1 -1
  68. package/lib/components/ListToolbar/ListToolbar.types.d.ts +3 -1
  69. package/lib/components/ListToolbar/ListToolbar.types.d.ts.map +1 -1
  70. package/lib/components/ListToolbar/ListToolbar.types.js.map +1 -1
  71. package/lib/components/Menu/Menu.d.ts.map +1 -1
  72. package/lib/components/Menu/Menu.js +2 -1
  73. package/lib/components/Menu/Menu.js.map +1 -1
  74. package/lib/components/MultiStepForm/FormProgress.d.ts +10 -0
  75. package/lib/components/MultiStepForm/FormProgress.d.ts.map +1 -0
  76. package/lib/components/{MultiStep/MultiStep.js → MultiStepForm/FormProgress.js} +8 -22
  77. package/lib/components/MultiStepForm/FormProgress.js.map +1 -0
  78. package/lib/components/{MultiStep/MultiStep.styles.d.ts → MultiStepForm/FormProgress.styles.d.ts} +2 -4
  79. package/lib/components/MultiStepForm/FormProgress.styles.d.ts.map +1 -0
  80. package/lib/components/{MultiStep/MultiStep.styles.js → MultiStepForm/FormProgress.styles.js} +2 -4
  81. package/lib/components/MultiStepForm/FormProgress.styles.js.map +1 -0
  82. package/lib/components/MultiStepForm/MultiStepForm.d.ts +9 -0
  83. package/lib/components/MultiStepForm/MultiStepForm.d.ts.map +1 -0
  84. package/lib/components/MultiStepForm/MultiStepForm.js +50 -0
  85. package/lib/components/MultiStepForm/MultiStepForm.js.map +1 -0
  86. package/lib/components/MultiStepForm/MultiStepForm.types.d.ts +49 -0
  87. package/lib/components/MultiStepForm/MultiStepForm.types.d.ts.map +1 -0
  88. package/lib/components/MultiStepForm/MultiStepForm.types.js +2 -0
  89. package/lib/components/MultiStepForm/MultiStepForm.types.js.map +1 -0
  90. package/lib/components/MultiStepForm/index.d.ts +2 -0
  91. package/lib/components/MultiStepForm/index.d.ts.map +1 -0
  92. package/lib/components/MultiStepForm/index.js +2 -0
  93. package/lib/components/MultiStepForm/index.js.map +1 -0
  94. package/lib/components/Number/NumberDisplay.d.ts +0 -5
  95. package/lib/components/Number/NumberDisplay.d.ts.map +1 -1
  96. package/lib/components/Number/NumberDisplay.js +8 -12
  97. package/lib/components/Number/NumberDisplay.js.map +1 -1
  98. package/lib/components/Number/NumberInput.d.ts.map +1 -1
  99. package/lib/components/Number/NumberInput.js +25 -18
  100. package/lib/components/Number/NumberInput.js.map +1 -1
  101. package/lib/components/Number/NumberInput.styles.d.ts +2 -3
  102. package/lib/components/Number/NumberInput.styles.d.ts.map +1 -1
  103. package/lib/components/Number/NumberInput.styles.js +1 -2
  104. package/lib/components/Number/NumberInput.styles.js.map +1 -1
  105. package/lib/components/Number/NumberInput.types.d.ts +1 -4
  106. package/lib/components/Number/NumberInput.types.d.ts.map +1 -1
  107. package/lib/components/Number/NumberInput.types.js.map +1 -1
  108. package/lib/components/Number/utils.d.ts +3 -4
  109. package/lib/components/Number/utils.d.ts.map +1 -1
  110. package/lib/components/Number/utils.js +41 -18
  111. package/lib/components/Number/utils.js.map +1 -1
  112. package/lib/components/Popover/Popover.d.ts.map +1 -1
  113. package/lib/components/Popover/Popover.js +0 -6
  114. package/lib/components/Popover/Popover.js.map +1 -1
  115. package/lib/components/Popover/Popover.styles.d.ts.map +1 -1
  116. package/lib/components/Popover/Popover.styles.js +12 -57
  117. package/lib/components/Popover/Popover.styles.js.map +1 -1
  118. package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
  119. package/lib/components/SearchInput/SearchInput.js +5 -1
  120. package/lib/components/SearchInput/SearchInput.js.map +1 -1
  121. package/lib/components/Tabs/Tab.d.ts.map +1 -1
  122. package/lib/components/Tabs/Tab.js +0 -1
  123. package/lib/components/Tabs/Tab.js.map +1 -1
  124. package/lib/hooks/useI18n.d.ts +17 -9
  125. package/lib/hooks/useI18n.d.ts.map +1 -1
  126. package/lib/i18n/default.d.ts +17 -9
  127. package/lib/i18n/default.d.ts.map +1 -1
  128. package/lib/i18n/default.js +21 -10
  129. package/lib/i18n/default.js.map +1 -1
  130. package/lib/i18n/i18n.d.ts +34 -18
  131. package/lib/i18n/i18n.d.ts.map +1 -1
  132. package/lib/index.d.ts +2 -2
  133. package/lib/index.d.ts.map +1 -1
  134. package/lib/index.js +2 -2
  135. package/lib/index.js.map +1 -1
  136. package/package.json +2 -2
  137. package/lib/components/Currency/currencyCodes.d.ts +0 -3
  138. package/lib/components/Currency/currencyCodes.d.ts.map +0 -1
  139. package/lib/components/Currency/currencyCodes.js +0 -182
  140. package/lib/components/Currency/currencyCodes.js.map +0 -1
  141. package/lib/components/Icon/icons/script-solid.icon.d.ts +0 -4
  142. package/lib/components/Icon/icons/script-solid.icon.d.ts.map +0 -1
  143. package/lib/components/Icon/icons/script-solid.icon.js +0 -6
  144. package/lib/components/Icon/icons/script-solid.icon.js.map +0 -1
  145. package/lib/components/MultiStep/MultiStep.d.ts +0 -6
  146. package/lib/components/MultiStep/MultiStep.d.ts.map +0 -1
  147. package/lib/components/MultiStep/MultiStep.js.map +0 -1
  148. package/lib/components/MultiStep/MultiStep.styles.d.ts.map +0 -1
  149. package/lib/components/MultiStep/MultiStep.styles.js.map +0 -1
  150. package/lib/components/MultiStep/MultiStep.types.d.ts +0 -36
  151. package/lib/components/MultiStep/MultiStep.types.d.ts.map +0 -1
  152. package/lib/components/MultiStep/MultiStep.types.js +0 -2
  153. package/lib/components/MultiStep/MultiStep.types.js.map +0 -1
  154. package/lib/components/MultiStep/index.d.ts +0 -3
  155. package/lib/components/MultiStep/index.d.ts.map +0 -1
  156. package/lib/components/MultiStep/index.js +0 -2
  157. package/lib/components/MultiStep/index.js.map +0 -1
@@ -1,182 +0,0 @@
1
- export default new Set([
2
- 'AED',
3
- 'AFN',
4
- 'ALL',
5
- 'AMD',
6
- 'ANG',
7
- 'AOA',
8
- 'ARS',
9
- 'AUD',
10
- 'AWG',
11
- 'AZN',
12
- 'BAM',
13
- 'BBD',
14
- 'BDT',
15
- 'BGN',
16
- 'BHD',
17
- 'BIF',
18
- 'BMD',
19
- 'BND',
20
- 'BOB',
21
- 'BOV',
22
- 'BRL',
23
- 'BSD',
24
- 'BTN',
25
- 'BWP',
26
- 'BYN',
27
- 'BZD',
28
- 'CAD',
29
- 'CDF',
30
- 'CHE',
31
- 'CHF',
32
- 'CHW',
33
- 'CLF',
34
- 'CLP',
35
- 'CNY',
36
- 'COP',
37
- 'COU',
38
- 'CRC',
39
- 'CUC',
40
- 'CUP',
41
- 'CVE',
42
- 'CZK',
43
- 'DJF',
44
- 'DKK',
45
- 'DOP',
46
- 'DZD',
47
- 'EGP',
48
- 'ERN',
49
- 'ETB',
50
- 'EUR',
51
- 'FJD',
52
- 'FKP',
53
- 'GBP',
54
- 'GEL',
55
- 'GHS',
56
- 'GIP',
57
- 'GMD',
58
- 'GNF',
59
- 'GTQ',
60
- 'GYD',
61
- 'HKD',
62
- 'HNL',
63
- 'HRK',
64
- 'HTG',
65
- 'HUF',
66
- 'IDR',
67
- 'ILS',
68
- 'INR',
69
- 'IQD',
70
- 'IRR',
71
- 'ISK',
72
- 'JMD',
73
- 'JOD',
74
- 'JPY',
75
- 'KES',
76
- 'KGS',
77
- 'KHR',
78
- 'KMF',
79
- 'KPW',
80
- 'KRW',
81
- 'KWD',
82
- 'KYD',
83
- 'KZT',
84
- 'LAK',
85
- 'LBP',
86
- 'LKR',
87
- 'LRD',
88
- 'LSL',
89
- 'LYD',
90
- 'MAD',
91
- 'MDL',
92
- 'MGA',
93
- 'MKD',
94
- 'MMK',
95
- 'MNT',
96
- 'MOP',
97
- 'MRU',
98
- 'MUR',
99
- 'MVR',
100
- 'MWK',
101
- 'MXN',
102
- 'MXV',
103
- 'MYR',
104
- 'MZN',
105
- 'NAD',
106
- 'NGN',
107
- 'NIO',
108
- 'NOK',
109
- 'NPR',
110
- 'NZD',
111
- 'OMR',
112
- 'PAB',
113
- 'PEN',
114
- 'PGK',
115
- 'PHP',
116
- 'PKR',
117
- 'PLN',
118
- 'PYG',
119
- 'QAR',
120
- 'RON',
121
- 'RSD',
122
- 'RUB',
123
- 'RWF',
124
- 'SAR',
125
- 'SBD',
126
- 'SCR',
127
- 'SDG',
128
- 'SEK',
129
- 'SGD',
130
- 'SHP',
131
- 'SLL',
132
- 'SOS',
133
- 'SRD',
134
- 'SSP',
135
- 'STN',
136
- 'SVC',
137
- 'SYP',
138
- 'SZL',
139
- 'THB',
140
- 'TJS',
141
- 'TMT',
142
- 'TND',
143
- 'TOP',
144
- 'TRY',
145
- 'TTD',
146
- 'TWD',
147
- 'TZS',
148
- 'UAH',
149
- 'UGX',
150
- 'USD',
151
- 'USN',
152
- 'UYI',
153
- 'UYU',
154
- 'UYW',
155
- 'UZS',
156
- 'VES',
157
- 'VND',
158
- 'VUV',
159
- 'WST',
160
- 'XAF',
161
- 'XAG',
162
- 'XAU',
163
- 'XBA',
164
- 'XBB',
165
- 'XBC',
166
- 'XBD',
167
- 'XCD',
168
- 'XDR',
169
- 'XOF',
170
- 'XPD',
171
- 'XPF',
172
- 'XPT',
173
- 'XSU',
174
- 'XTS',
175
- 'XUA',
176
- 'XXX',
177
- 'YER',
178
- 'ZAR',
179
- 'ZMW',
180
- 'ZWL'
181
- ]);
182
- //# sourceMappingURL=currencyCodes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"currencyCodes.js","sourceRoot":"","sources":["../../../src/components/Currency/currencyCodes.ts"],"names":[],"mappings":"AAAA,eAAe,IAAI,GAAG,CAAC;IACrB,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;CACN,CAAC,CAAC","sourcesContent":["export default new Set([\n 'AED',\n 'AFN',\n 'ALL',\n 'AMD',\n 'ANG',\n 'AOA',\n 'ARS',\n 'AUD',\n 'AWG',\n 'AZN',\n 'BAM',\n 'BBD',\n 'BDT',\n 'BGN',\n 'BHD',\n 'BIF',\n 'BMD',\n 'BND',\n 'BOB',\n 'BOV',\n 'BRL',\n 'BSD',\n 'BTN',\n 'BWP',\n 'BYN',\n 'BZD',\n 'CAD',\n 'CDF',\n 'CHE',\n 'CHF',\n 'CHW',\n 'CLF',\n 'CLP',\n 'CNY',\n 'COP',\n 'COU',\n 'CRC',\n 'CUC',\n 'CUP',\n 'CVE',\n 'CZK',\n 'DJF',\n 'DKK',\n 'DOP',\n 'DZD',\n 'EGP',\n 'ERN',\n 'ETB',\n 'EUR',\n 'FJD',\n 'FKP',\n 'GBP',\n 'GEL',\n 'GHS',\n 'GIP',\n 'GMD',\n 'GNF',\n 'GTQ',\n 'GYD',\n 'HKD',\n 'HNL',\n 'HRK',\n 'HTG',\n 'HUF',\n 'IDR',\n 'ILS',\n 'INR',\n 'IQD',\n 'IRR',\n 'ISK',\n 'JMD',\n 'JOD',\n 'JPY',\n 'KES',\n 'KGS',\n 'KHR',\n 'KMF',\n 'KPW',\n 'KRW',\n 'KWD',\n 'KYD',\n 'KZT',\n 'LAK',\n 'LBP',\n 'LKR',\n 'LRD',\n 'LSL',\n 'LYD',\n 'MAD',\n 'MDL',\n 'MGA',\n 'MKD',\n 'MMK',\n 'MNT',\n 'MOP',\n 'MRU',\n 'MUR',\n 'MVR',\n 'MWK',\n 'MXN',\n 'MXV',\n 'MYR',\n 'MZN',\n 'NAD',\n 'NGN',\n 'NIO',\n 'NOK',\n 'NPR',\n 'NZD',\n 'OMR',\n 'PAB',\n 'PEN',\n 'PGK',\n 'PHP',\n 'PKR',\n 'PLN',\n 'PYG',\n 'QAR',\n 'RON',\n 'RSD',\n 'RUB',\n 'RWF',\n 'SAR',\n 'SBD',\n 'SCR',\n 'SDG',\n 'SEK',\n 'SGD',\n 'SHP',\n 'SLL',\n 'SOS',\n 'SRD',\n 'SSP',\n 'STN',\n 'SVC',\n 'SYP',\n 'SZL',\n 'THB',\n 'TJS',\n 'TMT',\n 'TND',\n 'TOP',\n 'TRY',\n 'TTD',\n 'TWD',\n 'TZS',\n 'UAH',\n 'UGX',\n 'USD',\n 'USN',\n 'UYI',\n 'UYU',\n 'UYW',\n 'UZS',\n 'VES',\n 'VND',\n 'VUV',\n 'WST',\n 'XAF',\n 'XAG',\n 'XAU',\n 'XBA',\n 'XBB',\n 'XBC',\n 'XBD',\n 'XCD',\n 'XDR',\n 'XOF',\n 'XPD',\n 'XPF',\n 'XPT',\n 'XSU',\n 'XTS',\n 'XUA',\n 'XXX',\n 'YER',\n 'ZAR',\n 'ZMW',\n 'ZWL'\n]);\n"]}
@@ -1,4 +0,0 @@
1
- export declare const name = "script-solid";
2
- export declare const Component: () => JSX.Element;
3
- export declare const viewBox = "0 0 25 25";
4
- //# sourceMappingURL=script-solid.icon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"script-solid.icon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/icons/script-solid.icon.tsx"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,iBAAiB,CAAC;AAEnC,eAAO,MAAM,SAAS,mBAErB,CAAC;AAEF,eAAO,MAAM,OAAO,cAAc,CAAC"}
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- // This file is autogenerated. Any changes will be overwritten.
3
- export const name = 'script-solid';
4
- export const Component = () => (_jsx("path", { d: 'M6.8859375,20.59375 C6.8859375,20.59375 22.5945313,20.59375 22.5945313,20.59375 C22.5945313,20.59375 22.5945313,22.5570313 22.5945313,22.5570313 C22.5945313,23.0835938 22.403125,23.5625 22.0195313,23.9460938 C21.6359375,24.3296875 21.1578125,24.5210938 20.6304688,24.5210938 C20.6304688,24.5210938 20.6304688,24.5210938 20.6304688,24.5210938 C20.6304688,24.5210938 4.44296875,24.5210938 4.44296875,24.5210938 C5.11328125,24.5210938 5.68828125,24.2820313 6.1671875,23.8023437 C6.64609375,23.3226563 6.8859375,22.7484375 6.8859375,22.078125 C6.8859375,22.078125 6.8859375,22.078125 6.8859375,22.078125 C6.8859375,22.078125 6.8859375,20.59375 6.8859375,20.59375 L6.8859375,20.59375 Z M5.928125,21.6 C5.928125,21.6 5.928125,21.6 5.928125,21.6 C5.928125,21.6 5.928125,19.6367188 5.928125,19.6367188 C5.928125,19.6367188 20.63125,19.6367188 20.63125,19.6367188 C20.63125,19.6367188 20.63125,1.48515625 20.63125,1.48515625 C20.63125,1.05390625 20.4875,0.71875 20.2,0.43125 C19.9125,0.14375 19.5773438,0 19.1460938,0 C19.1460938,0 19.1460938,0 19.1460938,0 C19.1460938,0 3.48515625,0 3.48515625,0 C3.05390625,0 2.71875,0.14375 2.43125,0.43125 C2.14375,0.71875 2,1.05390625 2,1.48515625 C2,1.48515625 2,1.48515625 2,1.48515625 C2,1.48515625 2,21.6 2,21.6 C2,22.1265625 2.19140625,22.6054687 2.575,22.940625 C2.9578125,23.3234375 3.43671875,23.515625 3.9640625,23.515625 C4.49140625,23.515625 4.96953125,23.3242188 5.353125,22.940625 C5.7359375,22.6054688 5.928125,22.1265625 5.928125,21.6 Z' }));
5
- export const viewBox = '0 0 25 25';
6
- //# sourceMappingURL=script-solid.icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"script-solid.icon.js","sourceRoot":"","sources":["../../../../src/components/Icon/icons/script-solid.icon.tsx"],"names":[],"mappings":";AAAA,+DAA+D;AAC/D,MAAM,CAAC,MAAM,IAAI,GAAG,cAAc,CAAC;AAEnC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,CAC7B,eAAM,CAAC,EAAC,28CAA28C,GAAG,CACv9C,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC","sourcesContent":["// This file is autogenerated. Any changes will be overwritten.\nexport const name = 'script-solid';\n\nexport const Component = () => (\n <path d='M6.8859375,20.59375 C6.8859375,20.59375 22.5945313,20.59375 22.5945313,20.59375 C22.5945313,20.59375 22.5945313,22.5570313 22.5945313,22.5570313 C22.5945313,23.0835938 22.403125,23.5625 22.0195313,23.9460938 C21.6359375,24.3296875 21.1578125,24.5210938 20.6304688,24.5210938 C20.6304688,24.5210938 20.6304688,24.5210938 20.6304688,24.5210938 C20.6304688,24.5210938 4.44296875,24.5210938 4.44296875,24.5210938 C5.11328125,24.5210938 5.68828125,24.2820313 6.1671875,23.8023437 C6.64609375,23.3226563 6.8859375,22.7484375 6.8859375,22.078125 C6.8859375,22.078125 6.8859375,22.078125 6.8859375,22.078125 C6.8859375,22.078125 6.8859375,20.59375 6.8859375,20.59375 L6.8859375,20.59375 Z M5.928125,21.6 C5.928125,21.6 5.928125,21.6 5.928125,21.6 C5.928125,21.6 5.928125,19.6367188 5.928125,19.6367188 C5.928125,19.6367188 20.63125,19.6367188 20.63125,19.6367188 C20.63125,19.6367188 20.63125,1.48515625 20.63125,1.48515625 C20.63125,1.05390625 20.4875,0.71875 20.2,0.43125 C19.9125,0.14375 19.5773438,0 19.1460938,0 C19.1460938,0 19.1460938,0 19.1460938,0 C19.1460938,0 3.48515625,0 3.48515625,0 C3.05390625,0 2.71875,0.14375 2.43125,0.43125 C2.14375,0.71875 2,1.05390625 2,1.48515625 C2,1.48515625 2,1.48515625 2,1.48515625 C2,1.48515625 2,21.6 2,21.6 C2,22.1265625 2.19140625,22.6054687 2.575,22.940625 C2.9578125,23.3234375 3.43671875,23.515625 3.9640625,23.515625 C4.49140625,23.515625 4.96953125,23.3242188 5.353125,22.940625 C5.7359375,22.6054688 5.928125,22.1265625 5.928125,21.6 Z' />\n);\n\nexport const viewBox = '0 0 25 25';\n"]}
@@ -1,6 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { ForwardProps } from '../../types';
3
- import MultiStepProps from './MultiStep.types';
4
- declare const MultiStep: FunctionComponent<MultiStepProps & ForwardProps>;
5
- export default MultiStep;
6
- //# sourceMappingURL=MultiStep.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.d.ts","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAc3C,OAAO,cAAc,MAAM,mBAAmB,CAAC;AA8F/C,QAAA,MAAM,SAAS,EAAE,iBAAiB,CAAC,cAAc,GAAG,YAAY,CA+B/D,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.js","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EACL,UAAU,EAIV,MAAM,EACN,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,IAAI,MAAM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AEF,eAAe,SAAS,CAAC","sourcesContent":["import { remToPx, stripUnit } from 'polished';\nimport {\n forwardRef,\n FunctionComponent,\n PropsWithoutRef,\n CSSProperties,\n useRef,\n useEffect\n} from 'react';\n\nimport { useElement, useTheme } from '../../hooks';\nimport { ForwardProps } from '../../types';\nimport { getFocusables, tryCatch } from '../../utils';\nimport Flex from '../Flex';\nimport Form from '../Form';\nimport Text from '../Text';\nimport Tooltip from '../Tooltip';\n\nimport StyledMultiStep, {\n CurrentStepPopover,\n StepMarker,\n StyledBar,\n StyledFill,\n StyledFormProgress\n} from './MultiStep.styles';\nimport MultiStepProps from './MultiStep.types';\n\nconst FormProgress: FunctionComponent<MultiStepProps & ForwardProps> = ({\n steps,\n currentId,\n ...restProps\n}: MultiStepProps) => {\n const curIdx = steps.findIndex(step => step.id === currentId);\n const curStep = steps[curIdx];\n const fillScale = curIdx / (steps.length - 1);\n\n const [currentStepEl, setCurrentStepEl] = useElement();\n const stepRefs = useRef<HTMLElement[]>([]);\n const theme = useTheme();\n\n let popoverPlacement: 'top' | 'top-start' | 'top-end' = 'top';\n if (curIdx === 0) popoverPlacement = 'top-start';\n else if (curIdx === steps.length - 1) popoverPlacement = 'top-end';\n\n useEffect(() => {\n setCurrentStepEl(stepRefs.current[curIdx]);\n }, [stepRefs.current, curIdx]);\n\n return (\n <StyledFormProgress\n {...restProps}\n container={{ alignItems: 'center' }}\n role='progressbar'\n aria-valuenow={curIdx}\n aria-valuemin={0}\n aria-valuetext={curStep.name}\n aria-valuemax={steps.length}\n >\n <CurrentStepPopover\n show\n target={currentStepEl}\n placement={popoverPlacement}\n strategy='absolute'\n hideOnTargetHidden\n modifiers={[\n {\n name: 'offset',\n options: {\n offset: [\n 0,\n tryCatch(\n () => stripUnit(remToPx(theme.base.spacing)),\n () => 8\n )\n ]\n }\n }\n ]}\n >\n <Text variant='h4'>{curStep.name}</Text>\n </CurrentStepPopover>\n <Flex container={{ justify: 'between', alignItems: 'center' }} item={{ grow: 1 }}>\n {steps.map((step, index) => {\n return (\n <StepMarker\n key={step.id}\n ref={(el: HTMLElement) => {\n stepRefs.current[index] = el;\n }}\n aria-label={step.name}\n aria-describedby={step.id}\n current={index === curIdx}\n depth={step.depth}\n prior={index < curIdx}\n onClick={step.onClick}\n >\n {index !== curIdx && (\n <Tooltip\n id={step.id}\n target={stepRefs.current[index]}\n showDelay='none'\n hideDelay='short'\n portal={false}\n >\n {step.name}\n </Tooltip>\n )}\n </StepMarker>\n );\n })}\n </Flex>\n\n <StyledBar>\n <StyledFill style={{ '--fillScale': fillScale } as CSSProperties} />\n </StyledBar>\n </StyledFormProgress>\n );\n};\n\nconst MultiStep: FunctionComponent<MultiStepProps & ForwardProps> = forwardRef(\n (\n { currentId, steps, ...restProps }: PropsWithoutRef<MultiStepProps>,\n ref: MultiStepProps['ref']\n ) => {\n const multiStepContentRef = useRef(null);\n const currentStep = steps.find(step => step.id === currentId)!;\n\n useEffect(() => {\n const focusableElements = getFocusables(multiStepContentRef);\n\n if (focusableElements.length) focusableElements[0].focus();\n }, [currentId]);\n\n return (\n <Flex\n as={StyledMultiStep}\n ref={ref}\n container={{\n direction: 'column',\n gap: 3\n }}\n {...restProps}\n >\n <FormProgress steps={steps} currentId={currentId} />\n <Form ref={multiStepContentRef} actions={currentStep.actions} banners={currentStep.banners}>\n {currentStep.content}\n </Form>\n </Flex>\n );\n }\n);\n\nexport default MultiStep;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.styles.d.ts","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.styles.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,eAAO,MAAM,kBAAkB,8TAa9B,CAAC;AAEF,eAAO,MAAM,SAAS,yGAapB,CAAC;AAIH,eAAO,MAAM,UAAU,yGAsBrB,CAAC;AAIH,eAAO,MAAM,kBAAkB,iMAe7B,CAAC;AAIH,eAAO,MAAM,UAAU;aACZ,OAAO;W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QAC7D,CAAC,CAAC,SAAS,eAAe,MAAM,cAAc,UAAU;UACxD,IAAI,CAAC,eAAe,CAAC;;;;;;;;;;;;;;oBAcX,WAAW;;GAE5B,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,UAAU,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAE3C,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAA,EAAE,CAAC;AAErC,eAAe,eAAe,CAAC","sourcesContent":["import styled, { css } from 'styled-components';\nimport { size } from 'polished';\n\nimport Flex from '../Flex';\nimport { defaultThemeProp } from '../../theme';\nimport BareButton from '../Button/BareButton';\nimport Popover from '../Popover';\nimport { StyledText } from '../Text';\nimport { calculateFontSize, FontSize } from '../../styles';\nimport { useDirection } from '../../hooks';\n\nimport { Step } from './MultiStep.types';\n\nexport const CurrentStepPopover = styled(Popover)`\n max-width: 100%;\n background-color: transparent;\n\n ::after {\n filter: none;\n }\n\n & > ${StyledText} {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n }\n`;\n\nexport const StyledBar = styled.div(({ theme }) => {\n const {\n base: {\n palette: { 'border-line': borderColor }\n }\n } = theme;\n\n return css`\n position: absolute;\n width: 100%;\n height: 0.0625rem;\n background: ${borderColor};\n `;\n});\n\nStyledBar.defaultProps = defaultThemeProp;\n\nexport const StyledFill = styled.div(({ theme }) => {\n const {\n base: {\n animation: {\n speed: animationSpeed,\n timing: { ease: animationTiming }\n },\n palette: { interactive }\n }\n } = theme;\n\n const { ltr } = useDirection();\n\n return css`\n position: absolute;\n width: 100%;\n height: 100%;\n background: ${interactive};\n transition: all calc(2 * ${animationSpeed}) ${animationTiming};\n transform: scaleX(var(--fillScale));\n transform-origin: ${ltr ? 0 : '100%'} 0;\n `;\n});\n\nStyledFill.defaultProps = defaultThemeProp;\n\nexport const StyledFormProgress = styled(Flex)(({ theme }) => {\n const {\n base: { spacing, 'font-size': fontSize, 'font-scale': fontScale },\n components: {\n text: {\n h4: { 'font-size': h4fontSize }\n }\n }\n } = theme;\n const fontSizes = calculateFontSize(fontSize, fontScale);\n\n return css`\n position: relative;\n padding-block-start: calc(${spacing} * 2 + ${fontSizes[h4fontSize as FontSize]} * 1.35);\n `;\n});\n\nStyledFormProgress.defaultProps = defaultThemeProp;\n\nexport const StepMarker = styled(BareButton)<{\n current: boolean;\n depth: Step['depth'];\n prior: boolean;\n}>(({ current, depth, prior, theme }) => {\n const {\n base: {\n 'font-size': fontSize,\n 'font-scale': fontScale,\n animation: {\n speed: animationSpeed,\n timing: { ease: animationTiming }\n },\n palette: { interactive, 'primary-background': primaryBackground },\n shadow: { focus: focusShadow },\n 'hit-area': { 'mouse-min': buttonSize, 'finger-min': touchButtonSize }\n },\n components: {\n 'form-control': { 'border-color': borderColor }\n }\n } = theme;\n const { m: stepMarkerSize } = calculateFontSize(fontSize, fontScale);\n const smallStepMarkerSize = `calc(${stepMarkerSize} / 1.5)`;\n\n return css`\n display: block;\n position: relative;\n z-index: 1;\n ${size(depth === 1 ? smallStepMarkerSize : stepMarkerSize)}\n border-radius: 100%;\n background: ${primaryBackground};\n border: 0.0625rem solid ${borderColor};\n transition: all calc(2 * ${animationSpeed}) ${animationTiming};\n\n ${current &&\n css`\n background: ${interactive};\n border-color: ${interactive};\n `}\n\n ${prior &&\n css`\n border-color: ${interactive};\n `}\n\n ::after {\n content: '';\n position: absolute;\n top: ${depth === 1\n ? `calc((${buttonSize} - ${smallStepMarkerSize}) / -2) `\n : `calc((${buttonSize} - ${stepMarkerSize}) / -2) `};\n left: ${depth === 1\n ? `calc((${buttonSize} - ${smallStepMarkerSize}) / -2) `\n : `calc((${buttonSize} - ${stepMarkerSize}) / -2) `};\n ${size(buttonSize)}\n\n @media (pointer: coarse) {\n top: ${depth === 1\n ? `calc((${touchButtonSize} - ${smallStepMarkerSize}) / -2) `\n : `calc((${touchButtonSize} - ${stepMarkerSize}) / -2) `};\n left: ${depth === 1\n ? `calc((${touchButtonSize} - ${smallStepMarkerSize}) / -2) `\n : `calc((${touchButtonSize} - ${stepMarkerSize}) / -2) `};\n ${size(touchButtonSize)}\n }\n }\n\n &:first-child::after {\n left: 0;\n }\n\n &:last-child::after {\n left: unset;\n right: 0;\n }\n\n :focus {\n box-shadow: ${focusShadow};\n }\n `;\n});\n\nStepMarker.defaultProps = defaultThemeProp;\n\nconst StyledMultiStep = styled.div``;\n\nexport default StyledMultiStep;\n"]}
@@ -1,36 +0,0 @@
1
- import { MouseEventHandler, ReactNode, Ref } from 'react';
2
- import { BaseProps, NoChildrenProp } from '../../types';
3
- export interface Step {
4
- /** The id that is referenced by the Multi Step currentId prop. */
5
- id: string;
6
- /** The displayed name of the step. */
7
- name: string;
8
- /**
9
- * Determines the size of the step indicator. Depth 0 is larger than depth 1.
10
- * @default 0
11
- */
12
- depth?: 0 | 1;
13
- /** Applies styles for the completed state. */
14
- complete?: boolean;
15
- /** Applies styles for the required state. */
16
- required?: boolean;
17
- /** Applies styles for the disabled state. */
18
- disabled?: boolean;
19
- /** A set of Action Buttons to render for the step. */
20
- actions?: ReactNode;
21
- /** Banners to render for the step */
22
- banners?: ReactNode;
23
- /** Content to render for the step. */
24
- content?: ReactNode;
25
- /** Callback function that is called when a step marker is clicked. */
26
- onClick?: MouseEventHandler;
27
- }
28
- export default interface MultiStepProps extends BaseProps, NoChildrenProp {
29
- /** Flat array of objects describing each step. */
30
- steps: Step[];
31
- /** Sets the current step. */
32
- currentId: string;
33
- /** Ref for the wrapping element. */
34
- ref?: Ref<HTMLDivElement>;
35
- }
36
- //# sourceMappingURL=MultiStep.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.types.d.ts","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,IAAI;IACnB,kEAAkE;IAClE,EAAE,EAAE,MAAM,CAAC;IACX,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACd,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sDAAsD;IACtD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,sCAAsC;IACtC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,sEAAsE;IACtE,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IACvE,kDAAkD;IAClD,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC3B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=MultiStep.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiStep.types.js","sourceRoot":"","sources":["../../../src/components/MultiStep/MultiStep.types.ts"],"names":[],"mappings":"","sourcesContent":["import { MouseEventHandler, ReactNode, Ref } from 'react';\n\nimport { BaseProps, NoChildrenProp } from '../../types';\n\nexport interface Step {\n /** The id that is referenced by the Multi Step currentId prop. */\n id: string;\n /** The displayed name of the step. */\n name: string;\n /**\n * Determines the size of the step indicator. Depth 0 is larger than depth 1.\n * @default 0\n */\n depth?: 0 | 1;\n /** Applies styles for the completed state. */\n complete?: boolean;\n /** Applies styles for the required state. */\n required?: boolean;\n /** Applies styles for the disabled state. */\n disabled?: boolean;\n /** A set of Action Buttons to render for the step. */\n actions?: ReactNode;\n /** Banners to render for the step */\n banners?: ReactNode;\n /** Content to render for the step. */\n content?: ReactNode;\n /** Callback function that is called when a step marker is clicked. */\n onClick?: MouseEventHandler;\n}\n\nexport default interface MultiStepProps extends BaseProps, NoChildrenProp {\n /** Flat array of objects describing each step. */\n steps: Step[];\n /** Sets the current step. */\n currentId: string;\n /** Ref for the wrapping element. */\n ref?: Ref<HTMLDivElement>;\n}\n"]}
@@ -1,3 +0,0 @@
1
- export { default } from './MultiStep';
2
- export { default as MultiStepProps, Step } from './MultiStep.types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/MultiStep/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { default } from './MultiStep';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/MultiStep/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC","sourcesContent":["export { default } from './MultiStep';\nexport { default as MultiStepProps, Step } from './MultiStep.types';\n"]}