@clubmed/trident-ui 1.0.0-alpha.35 → 1.0.0-alpha.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (229) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +56 -28
  3. package/atoms/Icons/Icon.js +8 -7
  4. package/atoms/Icons/IconsResolver.d.ts +4 -43
  5. package/atoms/Icons/IconsResolver.js +15 -36
  6. package/atoms/Icons/contexts/IconsContext.d.ts +43 -0
  7. package/atoms/Icons/contexts/IconsContext.js +46 -0
  8. package/atoms/Icons/fonts/Actions.d.ts +2 -1
  9. package/atoms/Icons/fonts/Actions.js +112 -106
  10. package/atoms/Icons/fonts/Activities.d.ts +2 -1
  11. package/atoms/Icons/fonts/Activities.js +144 -138
  12. package/atoms/Icons/fonts/Brand.d.ts +2 -1
  13. package/atoms/Icons/fonts/Brand.js +91 -85
  14. package/atoms/Icons/fonts/Covid.d.ts +2 -1
  15. package/atoms/Icons/fonts/Covid.js +60 -54
  16. package/atoms/Icons/fonts/FontIconResolver.d.ts +1 -1
  17. package/atoms/Icons/fonts/FontIconResolver.js +6 -7
  18. package/atoms/Icons/fonts/Food.d.ts +2 -1
  19. package/atoms/Icons/fonts/Food.js +105 -99
  20. package/atoms/Icons/fonts/HappyToCare.d.ts +2 -1
  21. package/atoms/Icons/fonts/HappyToCare.js +57 -51
  22. package/atoms/Icons/fonts/Places.d.ts +2 -1
  23. package/atoms/Icons/fonts/Places.js +60 -54
  24. package/atoms/Icons/fonts/Room.d.ts +2 -1
  25. package/atoms/Icons/fonts/Room.js +114 -108
  26. package/atoms/Icons/fonts/Services.d.ts +2 -1
  27. package/atoms/Icons/fonts/Services.js +72 -66
  28. package/atoms/Icons/fonts/Socials.d.ts +2 -1
  29. package/atoms/Icons/fonts/Socials.js +72 -66
  30. package/atoms/Icons/fonts/Transports.d.ts +2 -1
  31. package/atoms/Icons/fonts/Transports.js +48 -42
  32. package/atoms/Icons/fonts/Utilities.d.ts +2 -1
  33. package/atoms/Icons/fonts/Utilities.js +153 -147
  34. package/atoms/Icons/fonts/index.js +4 -4
  35. package/atoms/Icons/hooks/useIcon.d.ts +2 -0
  36. package/atoms/Icons/hooks/useIcon.js +16 -0
  37. package/atoms/Icons/index.js +9 -8
  38. package/atoms/Icons/svg/Actions.d.ts +2 -1
  39. package/atoms/Icons/svg/Actions.js +145 -139
  40. package/atoms/Icons/svg/Activities.d.ts +2 -1
  41. package/atoms/Icons/svg/Activities.js +189 -183
  42. package/atoms/Icons/svg/Brand.d.ts +2 -1
  43. package/atoms/Icons/svg/Brand.js +90 -84
  44. package/atoms/Icons/svg/Covid.d.ts +2 -1
  45. package/atoms/Icons/svg/Covid.js +77 -71
  46. package/atoms/Icons/svg/Food.d.ts +2 -1
  47. package/atoms/Icons/svg/Food.js +137 -131
  48. package/atoms/Icons/svg/HappyToCare.d.ts +2 -1
  49. package/atoms/Icons/svg/HappyToCare.js +73 -67
  50. package/atoms/Icons/svg/Places.d.ts +2 -1
  51. package/atoms/Icons/svg/Places.js +77 -71
  52. package/atoms/Icons/svg/ResortFill-EC.d.ts +2 -1
  53. package/atoms/Icons/svg/ResortFill-EC.js +135 -129
  54. package/atoms/Icons/svg/ResortFill.d.ts +2 -1
  55. package/atoms/Icons/svg/ResortFill.js +399 -393
  56. package/atoms/Icons/svg/ResortOutline-EC.d.ts +2 -1
  57. package/atoms/Icons/svg/ResortOutline-EC.js +135 -129
  58. package/atoms/Icons/svg/ResortOutline.d.ts +2 -1
  59. package/atoms/Icons/svg/ResortOutline.js +399 -393
  60. package/atoms/Icons/svg/Room.d.ts +2 -1
  61. package/atoms/Icons/svg/Room.js +149 -143
  62. package/atoms/Icons/svg/Services.d.ts +2 -1
  63. package/atoms/Icons/svg/Services.js +93 -87
  64. package/atoms/Icons/svg/Socials.d.ts +2 -1
  65. package/atoms/Icons/svg/Socials.js +83 -77
  66. package/atoms/Icons/svg/SvgIconResolver.d.ts +1 -2
  67. package/atoms/Icons/svg/SvgIconResolver.js +6 -8
  68. package/atoms/Icons/svg/Transports.d.ts +2 -1
  69. package/atoms/Icons/svg/Transports.js +61 -55
  70. package/atoms/Icons/svg/Utilities.d.ts +2 -1
  71. package/atoms/Icons/svg/Utilities.js +201 -195
  72. package/atoms/Icons/svg/index.js +3 -2
  73. package/atoms/Icons/svg-use/Actions.d.ts +2 -1
  74. package/atoms/Icons/svg-use/Actions.js +156 -150
  75. package/atoms/Icons/svg-use/Activities.d.ts +2 -1
  76. package/atoms/Icons/svg-use/Activities.js +195 -189
  77. package/atoms/Icons/svg-use/Brand.d.ts +2 -1
  78. package/atoms/Icons/svg-use/Brand.js +97 -91
  79. package/atoms/Icons/svg-use/Covid.d.ts +2 -1
  80. package/atoms/Icons/svg-use/Covid.js +80 -74
  81. package/atoms/Icons/svg-use/Food.d.ts +2 -1
  82. package/atoms/Icons/svg-use/Food.js +145 -139
  83. package/atoms/Icons/svg-use/HappyToCare.d.ts +2 -1
  84. package/atoms/Icons/svg-use/HappyToCare.js +78 -72
  85. package/atoms/Icons/svg-use/Places.d.ts +2 -1
  86. package/atoms/Icons/svg-use/Places.js +83 -77
  87. package/atoms/Icons/svg-use/ResortFill-EC.d.ts +2 -1
  88. package/atoms/Icons/svg-use/ResortFill-EC.js +141 -135
  89. package/atoms/Icons/svg-use/ResortFill.d.ts +2 -1
  90. package/atoms/Icons/svg-use/ResortFill.js +410 -404
  91. package/atoms/Icons/svg-use/ResortOutline-EC.d.ts +2 -1
  92. package/atoms/Icons/svg-use/ResortOutline-EC.js +144 -138
  93. package/atoms/Icons/svg-use/ResortOutline.d.ts +2 -1
  94. package/atoms/Icons/svg-use/ResortOutline.js +408 -402
  95. package/atoms/Icons/svg-use/Room.d.ts +2 -1
  96. package/atoms/Icons/svg-use/Room.js +159 -153
  97. package/atoms/Icons/svg-use/Services.d.ts +2 -1
  98. package/atoms/Icons/svg-use/Services.js +97 -91
  99. package/atoms/Icons/svg-use/Socials.d.ts +2 -1
  100. package/atoms/Icons/svg-use/Socials.js +85 -79
  101. package/atoms/Icons/svg-use/SvgUseIconResolver.d.ts +1 -2
  102. package/atoms/Icons/svg-use/SvgUseIconResolver.js +8 -10
  103. package/atoms/Icons/svg-use/Transports.d.ts +2 -1
  104. package/atoms/Icons/svg-use/Transports.js +67 -61
  105. package/atoms/Icons/svg-use/Utilities.d.ts +2 -1
  106. package/atoms/Icons/svg-use/Utilities.js +212 -206
  107. package/atoms/Icons/svg-use/index.js +3 -2
  108. package/atoms/Icons/utils/getIcons.d.ts +4 -0
  109. package/atoms/Icons/utils/getIcons.js +21 -0
  110. package/fonts/Actions/tui-actions.css +6 -6
  111. package/fonts/Actions/tui-actions.eot +0 -0
  112. package/fonts/Actions/tui-actions.less +6 -6
  113. package/fonts/Actions/tui-actions.module.less +6 -6
  114. package/fonts/Actions/tui-actions.scss +6 -6
  115. package/fonts/Actions/tui-actions.styl +6 -6
  116. package/fonts/Actions/tui-actions.ttf +0 -0
  117. package/fonts/Actions/tui-actions.woff +0 -0
  118. package/fonts/Actions/tui-actions.woff2 +0 -0
  119. package/fonts/Activities/tui-activities.css +6 -6
  120. package/fonts/Activities/tui-activities.eot +0 -0
  121. package/fonts/Activities/tui-activities.less +6 -6
  122. package/fonts/Activities/tui-activities.module.less +6 -6
  123. package/fonts/Activities/tui-activities.scss +6 -6
  124. package/fonts/Activities/tui-activities.styl +6 -6
  125. package/fonts/Activities/tui-activities.ttf +0 -0
  126. package/fonts/Activities/tui-activities.woff +0 -0
  127. package/fonts/Activities/tui-activities.woff2 +0 -0
  128. package/fonts/Brand/tui-brand.css +6 -6
  129. package/fonts/Brand/tui-brand.eot +0 -0
  130. package/fonts/Brand/tui-brand.less +6 -6
  131. package/fonts/Brand/tui-brand.module.less +6 -6
  132. package/fonts/Brand/tui-brand.scss +6 -6
  133. package/fonts/Brand/tui-brand.styl +6 -6
  134. package/fonts/Brand/tui-brand.ttf +0 -0
  135. package/fonts/Brand/tui-brand.woff +0 -0
  136. package/fonts/Brand/tui-brand.woff2 +0 -0
  137. package/fonts/Covid/tui-covid.css +6 -6
  138. package/fonts/Covid/tui-covid.eot +0 -0
  139. package/fonts/Covid/tui-covid.less +6 -6
  140. package/fonts/Covid/tui-covid.module.less +6 -6
  141. package/fonts/Covid/tui-covid.scss +6 -6
  142. package/fonts/Covid/tui-covid.styl +6 -6
  143. package/fonts/Covid/tui-covid.ttf +0 -0
  144. package/fonts/Covid/tui-covid.woff +0 -0
  145. package/fonts/Covid/tui-covid.woff2 +0 -0
  146. package/fonts/Food/tui-food.css +6 -6
  147. package/fonts/Food/tui-food.eot +0 -0
  148. package/fonts/Food/tui-food.less +6 -6
  149. package/fonts/Food/tui-food.module.less +6 -6
  150. package/fonts/Food/tui-food.scss +6 -6
  151. package/fonts/Food/tui-food.styl +6 -6
  152. package/fonts/Food/tui-food.ttf +0 -0
  153. package/fonts/Food/tui-food.woff +0 -0
  154. package/fonts/Food/tui-food.woff2 +0 -0
  155. package/fonts/HappyToCare/tui-happy-to-care.css +6 -6
  156. package/fonts/HappyToCare/tui-happy-to-care.eot +0 -0
  157. package/fonts/HappyToCare/tui-happy-to-care.less +6 -6
  158. package/fonts/HappyToCare/tui-happy-to-care.module.less +6 -6
  159. package/fonts/HappyToCare/tui-happy-to-care.scss +6 -6
  160. package/fonts/HappyToCare/tui-happy-to-care.styl +6 -6
  161. package/fonts/HappyToCare/tui-happy-to-care.ttf +0 -0
  162. package/fonts/HappyToCare/tui-happy-to-care.woff +0 -0
  163. package/fonts/HappyToCare/tui-happy-to-care.woff2 +0 -0
  164. package/fonts/Places/tui-places.css +6 -6
  165. package/fonts/Places/tui-places.eot +0 -0
  166. package/fonts/Places/tui-places.less +6 -6
  167. package/fonts/Places/tui-places.module.less +6 -6
  168. package/fonts/Places/tui-places.scss +6 -6
  169. package/fonts/Places/tui-places.styl +6 -6
  170. package/fonts/Places/tui-places.ttf +0 -0
  171. package/fonts/Places/tui-places.woff +0 -0
  172. package/fonts/Places/tui-places.woff2 +0 -0
  173. package/fonts/Room/tui-room.css +6 -6
  174. package/fonts/Room/tui-room.eot +0 -0
  175. package/fonts/Room/tui-room.less +6 -6
  176. package/fonts/Room/tui-room.module.less +6 -6
  177. package/fonts/Room/tui-room.scss +6 -6
  178. package/fonts/Room/tui-room.styl +6 -6
  179. package/fonts/Room/tui-room.ttf +0 -0
  180. package/fonts/Room/tui-room.woff +0 -0
  181. package/fonts/Room/tui-room.woff2 +0 -0
  182. package/fonts/Services/tui-services.css +6 -6
  183. package/fonts/Services/tui-services.eot +0 -0
  184. package/fonts/Services/tui-services.less +6 -6
  185. package/fonts/Services/tui-services.module.less +6 -6
  186. package/fonts/Services/tui-services.scss +6 -6
  187. package/fonts/Services/tui-services.styl +6 -6
  188. package/fonts/Services/tui-services.ttf +0 -0
  189. package/fonts/Services/tui-services.woff +0 -0
  190. package/fonts/Services/tui-services.woff2 +0 -0
  191. package/fonts/Socials/tui-socials.css +6 -6
  192. package/fonts/Socials/tui-socials.eot +0 -0
  193. package/fonts/Socials/tui-socials.less +6 -6
  194. package/fonts/Socials/tui-socials.module.less +6 -6
  195. package/fonts/Socials/tui-socials.scss +6 -6
  196. package/fonts/Socials/tui-socials.styl +6 -6
  197. package/fonts/Socials/tui-socials.ttf +0 -0
  198. package/fonts/Socials/tui-socials.woff +0 -0
  199. package/fonts/Socials/tui-socials.woff2 +0 -0
  200. package/fonts/Transports/tui-transports.css +6 -6
  201. package/fonts/Transports/tui-transports.eot +0 -0
  202. package/fonts/Transports/tui-transports.less +6 -6
  203. package/fonts/Transports/tui-transports.module.less +6 -6
  204. package/fonts/Transports/tui-transports.scss +6 -6
  205. package/fonts/Transports/tui-transports.styl +6 -6
  206. package/fonts/Transports/tui-transports.ttf +0 -0
  207. package/fonts/Transports/tui-transports.woff +0 -0
  208. package/fonts/Transports/tui-transports.woff2 +0 -0
  209. package/fonts/Utilities/tui-utilities.css +6 -6
  210. package/fonts/Utilities/tui-utilities.eot +0 -0
  211. package/fonts/Utilities/tui-utilities.less +6 -6
  212. package/fonts/Utilities/tui-utilities.module.less +6 -6
  213. package/fonts/Utilities/tui-utilities.scss +6 -6
  214. package/fonts/Utilities/tui-utilities.styl +6 -6
  215. package/fonts/Utilities/tui-utilities.ttf +0 -0
  216. package/fonts/Utilities/tui-utilities.woff +0 -0
  217. package/fonts/Utilities/tui-utilities.woff2 +0 -0
  218. package/molecules/Breadcrumb.js +5 -4
  219. package/molecules/Buttons/ButtonContent.js +5 -4
  220. package/molecules/Card.js +7 -6
  221. package/molecules/Forms/Checkbox.js +8 -7
  222. package/molecules/Forms/DateField.js +3 -2
  223. package/molecules/Forms/Filter.js +15 -14
  224. package/molecules/Forms/FormControl.js +9 -8
  225. package/molecules/Forms/NumberField.d.ts +2 -2
  226. package/molecules/Forms/TextField.js +11 -10
  227. package/molecules/Link.js +8 -7
  228. package/package.json +19 -17
  229. package/styles/globals.css +0 -323
@@ -1,12 +1,12 @@
1
- import { registerSvgUseIcons as r } from "./SvgUseIconResolver.js";
1
+ import { resolver as r } from "./SvgUseIconResolver.js";
2
2
  import l from "@/assets/icons/Actions/ArrowDefault.svg";
3
3
  import e from "@/assets/icons/Actions/ArrowFilled.svg";
4
- import m from "@/assets/icons/Actions/ArrowOutlined.svg";
5
- import o from "@/assets/icons/Actions/ArrowTail.svg";
6
- import i from "@/assets/icons/Actions/CheckDefault.svg";
7
- import t from "@/assets/icons/Actions/CheckFilled.svg";
8
- import u from "@/assets/icons/Actions/CheckOutlined.svg";
9
- import a from "@/assets/icons/Actions/Clipboard.svg";
4
+ import o from "@/assets/icons/Actions/ArrowOutlined.svg";
5
+ import m from "@/assets/icons/Actions/ArrowTail.svg";
6
+ import t from "@/assets/icons/Actions/CheckDefault.svg";
7
+ import i from "@/assets/icons/Actions/CheckFilled.svg";
8
+ import a from "@/assets/icons/Actions/CheckOutlined.svg";
9
+ import u from "@/assets/icons/Actions/Clipboard.svg";
10
10
  import n from "@/assets/icons/Actions/Compare.svg";
11
11
  import f from "@/assets/icons/Actions/CrossDefault.svg";
12
12
  import d from "@/assets/icons/Actions/CrossFilled.svg";
@@ -20,153 +20,159 @@ import h from "@/assets/icons/Actions/HeartFilled.svg";
20
20
  import D from "@/assets/icons/Actions/HeartOutlined.svg";
21
21
  import F from "@/assets/icons/Actions/Information.svg";
22
22
  import c from "@/assets/icons/Actions/MinusDefault.svg";
23
- import S from "@/assets/icons/Actions/MinusFilled.svg";
24
- import A from "@/assets/icons/Actions/MinusOutlined.svg";
23
+ import A from "@/assets/icons/Actions/MinusFilled.svg";
24
+ import S from "@/assets/icons/Actions/MinusOutlined.svg";
25
25
  import k from "@/assets/icons/Actions/New.svg";
26
26
  import E from "@/assets/icons/Actions/PlusDefault.svg";
27
27
  import M from "@/assets/icons/Actions/PlusFilled.svg";
28
28
  import P from "@/assets/icons/Actions/PlusOutlined.svg";
29
29
  import H from "@/assets/icons/Actions/Reduce.svg";
30
30
  import R from "@/assets/icons/Actions/Reload.svg";
31
- import I from "@/assets/icons/Actions/Search.svg";
31
+ import x from "@/assets/icons/Actions/Search.svg";
32
32
  import b from "@/assets/icons/Actions/Share.svg";
33
- import g from "@/assets/icons/Actions/StarFilled.svg";
34
- import x from "@/assets/icons/Actions/StarOutlined.svg";
35
- r("actions", [
36
- {
37
- name: "ArrowDefault",
38
- withOrientation: !0,
39
- url: l
40
- },
41
- {
42
- name: "ArrowFilled",
43
- withOrientation: !0,
44
- url: e
45
- },
46
- {
47
- name: "ArrowOutlined",
48
- withOrientation: !0,
49
- url: m
50
- },
51
- {
52
- name: "ArrowTail",
53
- withOrientation: !0,
54
- url: o
55
- },
56
- {
57
- name: "CheckDefault",
58
- url: i
59
- },
60
- {
61
- name: "CheckFilled",
62
- url: t
63
- },
64
- {
65
- name: "CheckOutlined",
66
- url: u
67
- },
68
- {
69
- name: "Clipboard",
70
- url: a
71
- },
72
- {
73
- name: "Compare",
74
- url: n
75
- },
76
- {
77
- name: "CrossDefault",
78
- url: f
79
- },
80
- {
81
- name: "CrossFilled",
82
- url: d
83
- },
84
- {
85
- name: "CrossOutlined",
86
- url: p
87
- },
88
- {
89
- name: "Delete",
90
- url: U
91
- },
92
- {
93
- name: "Download",
94
- url: s
95
- },
96
- {
97
- name: "Edit",
98
- url: O
99
- },
100
- {
101
- name: "Error",
102
- url: w
103
- },
104
- {
105
- name: "Expand",
106
- url: C
107
- },
108
- {
109
- name: "HeartFilled",
110
- url: h
111
- },
112
- {
113
- name: "HeartOutlined",
114
- url: D
115
- },
116
- {
117
- name: "Information",
118
- url: F
119
- },
120
- {
121
- name: "MinusDefault",
122
- url: c
123
- },
124
- {
125
- name: "MinusFilled",
126
- url: S
127
- },
128
- {
129
- name: "MinusOutlined",
130
- url: A
131
- },
132
- {
133
- name: "New",
134
- url: k
135
- },
136
- {
137
- name: "PlusDefault",
138
- url: E
139
- },
140
- {
141
- name: "PlusFilled",
142
- url: M
143
- },
144
- {
145
- name: "PlusOutlined",
146
- url: P
147
- },
148
- {
149
- name: "Reduce",
150
- url: H
151
- },
152
- {
153
- name: "Reload",
154
- url: R
155
- },
156
- {
157
- name: "Search",
158
- url: I
159
- },
160
- {
161
- name: "Share",
162
- url: b
163
- },
164
- {
165
- name: "StarFilled",
166
- url: g
167
- },
168
- {
169
- name: "StarOutlined",
170
- url: x
171
- }
172
- ]);
33
+ import I from "@/assets/icons/Actions/StarFilled.svg";
34
+ import N from "@/assets/icons/Actions/StarOutlined.svg";
35
+ const sr = r(
36
+ "actions",
37
+ [
38
+ {
39
+ name: "ArrowDefault",
40
+ withOrientation: !0,
41
+ url: l
42
+ },
43
+ {
44
+ name: "ArrowFilled",
45
+ withOrientation: !0,
46
+ url: e
47
+ },
48
+ {
49
+ name: "ArrowOutlined",
50
+ withOrientation: !0,
51
+ url: o
52
+ },
53
+ {
54
+ name: "ArrowTail",
55
+ withOrientation: !0,
56
+ url: m
57
+ },
58
+ {
59
+ name: "CheckDefault",
60
+ url: t
61
+ },
62
+ {
63
+ name: "CheckFilled",
64
+ url: i
65
+ },
66
+ {
67
+ name: "CheckOutlined",
68
+ url: a
69
+ },
70
+ {
71
+ name: "Clipboard",
72
+ url: u
73
+ },
74
+ {
75
+ name: "Compare",
76
+ url: n
77
+ },
78
+ {
79
+ name: "CrossDefault",
80
+ url: f
81
+ },
82
+ {
83
+ name: "CrossFilled",
84
+ url: d
85
+ },
86
+ {
87
+ name: "CrossOutlined",
88
+ url: p
89
+ },
90
+ {
91
+ name: "Delete",
92
+ url: U
93
+ },
94
+ {
95
+ name: "Download",
96
+ url: s
97
+ },
98
+ {
99
+ name: "Edit",
100
+ url: O
101
+ },
102
+ {
103
+ name: "Error",
104
+ url: w
105
+ },
106
+ {
107
+ name: "Expand",
108
+ url: C
109
+ },
110
+ {
111
+ name: "HeartFilled",
112
+ url: h
113
+ },
114
+ {
115
+ name: "HeartOutlined",
116
+ url: D
117
+ },
118
+ {
119
+ name: "Information",
120
+ url: F
121
+ },
122
+ {
123
+ name: "MinusDefault",
124
+ url: c
125
+ },
126
+ {
127
+ name: "MinusFilled",
128
+ url: A
129
+ },
130
+ {
131
+ name: "MinusOutlined",
132
+ url: S
133
+ },
134
+ {
135
+ name: "New",
136
+ url: k
137
+ },
138
+ {
139
+ name: "PlusDefault",
140
+ url: E
141
+ },
142
+ {
143
+ name: "PlusFilled",
144
+ url: M
145
+ },
146
+ {
147
+ name: "PlusOutlined",
148
+ url: P
149
+ },
150
+ {
151
+ name: "Reduce",
152
+ url: H
153
+ },
154
+ {
155
+ name: "Reload",
156
+ url: R
157
+ },
158
+ {
159
+ name: "Search",
160
+ url: x
161
+ },
162
+ {
163
+ name: "Share",
164
+ url: b
165
+ },
166
+ {
167
+ name: "StarFilled",
168
+ url: I
169
+ },
170
+ {
171
+ name: "StarOutlined",
172
+ url: N
173
+ }
174
+ ]
175
+ );
176
+ export {
177
+ sr as default
178
+ };
@@ -1 +1,2 @@
1
- export {};
1
+ declare const _default: import("..").IconResolverProps<import("./SvgUseIcon").SvgUseIconProps>[];
2
+ export default _default;