@uni-design-system/uni-core 0.0.1 → 0.0.5

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 (227) hide show
  1. package/dist/cjs/core/background/background.model.d.ts +9 -0
  2. package/dist/cjs/core/{backgrounds → background}/background.model.js +0 -0
  3. package/dist/cjs/core/background/background.model.js.map +1 -0
  4. package/dist/cjs/core/{backgrounds → background}/background.types.d.ts +0 -0
  5. package/dist/cjs/core/{backgrounds → background}/background.types.js +0 -0
  6. package/dist/cjs/core/background/background.types.js.map +1 -0
  7. package/dist/cjs/core/{backgrounds → background}/index.d.ts +0 -0
  8. package/dist/cjs/core/{backgrounds → background}/index.js +0 -0
  9. package/dist/cjs/core/background/index.js.map +1 -0
  10. package/dist/cjs/core/border/index.d.ts +1 -0
  11. package/dist/cjs/core/border/index.js +18 -0
  12. package/dist/cjs/core/border/index.js.map +1 -0
  13. package/dist/cjs/core/color/color.helper.d.ts +2 -2
  14. package/dist/cjs/core/color/color.helper.js.map +1 -1
  15. package/dist/cjs/core/color/color.model.d.ts +6 -6
  16. package/dist/cjs/core/color/color.types.d.ts +7 -6
  17. package/dist/cjs/core/color/color.types.js.map +1 -1
  18. package/dist/cjs/core/color/index.d.ts +3 -0
  19. package/dist/cjs/core/color/index.js +20 -0
  20. package/dist/cjs/core/color/index.js.map +1 -0
  21. package/dist/cjs/core/container/container.model.d.ts +4 -4
  22. package/dist/cjs/core/container/container.types.d.ts +1 -0
  23. package/dist/cjs/core/container/container.types.js +3 -0
  24. package/dist/cjs/core/container/container.types.js.map +1 -0
  25. package/dist/cjs/core/container/index.d.ts +1 -0
  26. package/dist/cjs/core/container/index.js +18 -0
  27. package/dist/cjs/core/container/index.js.map +1 -0
  28. package/dist/cjs/core/flex/flex.types.d.ts +8 -0
  29. package/dist/cjs/core/flex/flex.types.js +3 -0
  30. package/dist/cjs/core/flex/flex.types.js.map +1 -0
  31. package/dist/cjs/core/flex/index.d.ts +1 -0
  32. package/dist/cjs/core/flex/index.js +18 -0
  33. package/dist/cjs/core/flex/index.js.map +1 -0
  34. package/dist/cjs/core/gradient/gradient.helper.d.ts +2 -0
  35. package/dist/cjs/core/{gradients/gradiennt.helper.js → gradient/gradient.helper.js} +1 -1
  36. package/dist/cjs/core/gradient/gradient.helper.js.map +1 -0
  37. package/dist/cjs/core/gradient/gradient.model.d.ts +6 -0
  38. package/dist/cjs/core/{gradients → gradient}/gradient.model.js +0 -0
  39. package/dist/cjs/core/gradient/gradient.model.js.map +1 -0
  40. package/dist/cjs/core/gradient/gradient.types.d.ts +1 -0
  41. package/dist/cjs/core/gradient/gradient.types.js +3 -0
  42. package/dist/cjs/core/gradient/gradient.types.js.map +1 -0
  43. package/dist/cjs/core/gradient/index.d.ts +3 -0
  44. package/dist/cjs/core/gradient/index.js +20 -0
  45. package/dist/cjs/core/gradient/index.js.map +1 -0
  46. package/dist/cjs/core/iconography/icon.model.d.ts +5 -5
  47. package/dist/cjs/core/iconography/index.d.ts +2 -0
  48. package/dist/cjs/core/iconography/index.js +19 -0
  49. package/dist/cjs/core/iconography/index.js.map +1 -0
  50. package/dist/cjs/core/index.d.ts +13 -1
  51. package/dist/cjs/core/index.js +13 -1
  52. package/dist/cjs/core/index.js.map +1 -1
  53. package/dist/cjs/core/layout/index.d.ts +1 -0
  54. package/dist/cjs/core/layout/index.js +18 -0
  55. package/dist/cjs/core/layout/index.js.map +1 -0
  56. package/dist/cjs/core/masking/index.d.ts +2 -0
  57. package/dist/cjs/core/masking/index.js +19 -0
  58. package/dist/cjs/core/masking/index.js.map +1 -0
  59. package/dist/cjs/core/masking/masking.model.d.ts +3 -3
  60. package/dist/cjs/core/shadow/index.d.ts +1 -0
  61. package/dist/cjs/core/shadow/index.js +18 -0
  62. package/dist/cjs/core/shadow/index.js.map +1 -0
  63. package/dist/cjs/core/theme/index.d.ts +5 -0
  64. package/dist/cjs/core/theme/index.js +22 -0
  65. package/dist/cjs/core/theme/index.js.map +1 -0
  66. package/dist/cjs/core/theme/theme.model.d.ts +2 -2
  67. package/dist/cjs/core/theme/theme.records.d.ts +2 -2
  68. package/dist/cjs/core/theme/theme.records.js.map +1 -1
  69. package/dist/cjs/core/theme/themes/dark.theme.d.ts +2 -2
  70. package/dist/cjs/core/theme/themes/dark.theme.js.map +1 -1
  71. package/dist/cjs/core/theme/themes/light.theme.d.ts +2 -2
  72. package/dist/cjs/core/theme/themes/light.theme.js.map +1 -1
  73. package/dist/cjs/core/typography/index.d.ts +1 -0
  74. package/dist/cjs/core/typography/index.js +18 -0
  75. package/dist/cjs/core/typography/index.js.map +1 -0
  76. package/dist/esm/core/background/background.model.d.ts +9 -0
  77. package/dist/esm/core/{backgrounds → background}/background.model.js +0 -0
  78. package/dist/esm/core/background/background.model.js.map +1 -0
  79. package/dist/esm/core/{backgrounds → background}/background.types.d.ts +0 -0
  80. package/dist/esm/core/{backgrounds → background}/background.types.js +0 -0
  81. package/dist/esm/core/background/background.types.js.map +1 -0
  82. package/dist/esm/core/{backgrounds → background}/index.d.ts +0 -0
  83. package/dist/esm/core/{backgrounds → background}/index.js +0 -0
  84. package/dist/esm/core/background/index.js.map +1 -0
  85. package/dist/esm/core/border/index.d.ts +1 -0
  86. package/dist/esm/core/border/index.js +2 -0
  87. package/dist/esm/core/border/index.js.map +1 -0
  88. package/dist/esm/core/color/color.helper.d.ts +2 -2
  89. package/dist/esm/core/color/color.helper.js.map +1 -1
  90. package/dist/esm/core/color/color.model.d.ts +6 -6
  91. package/dist/esm/core/color/color.types.d.ts +7 -6
  92. package/dist/esm/core/color/color.types.js.map +1 -1
  93. package/dist/esm/core/color/index.d.ts +3 -0
  94. package/dist/esm/core/color/index.js +4 -0
  95. package/dist/esm/core/color/index.js.map +1 -0
  96. package/dist/esm/core/container/container.model.d.ts +4 -4
  97. package/dist/esm/core/container/container.types.d.ts +1 -0
  98. package/dist/esm/core/container/container.types.js +2 -0
  99. package/dist/esm/core/container/container.types.js.map +1 -0
  100. package/dist/esm/core/container/index.d.ts +1 -0
  101. package/dist/esm/core/container/index.js +2 -0
  102. package/dist/esm/core/container/index.js.map +1 -0
  103. package/dist/esm/core/flex/flex.types.d.ts +8 -0
  104. package/dist/esm/core/flex/flex.types.js +2 -0
  105. package/dist/esm/core/flex/flex.types.js.map +1 -0
  106. package/dist/esm/core/flex/index.d.ts +1 -0
  107. package/dist/esm/core/flex/index.js +2 -0
  108. package/dist/esm/core/flex/index.js.map +1 -0
  109. package/dist/esm/core/gradient/gradient.helper.d.ts +2 -0
  110. package/dist/esm/core/{gradients/gradiennt.helper.js → gradient/gradient.helper.js} +1 -1
  111. package/dist/esm/core/gradient/gradient.helper.js.map +1 -0
  112. package/dist/esm/core/gradient/gradient.model.d.ts +6 -0
  113. package/dist/esm/core/{gradients → gradient}/gradient.model.js +0 -0
  114. package/dist/esm/core/gradient/gradient.model.js.map +1 -0
  115. package/dist/esm/core/gradient/gradient.types.d.ts +1 -0
  116. package/dist/esm/core/gradient/gradient.types.js +2 -0
  117. package/dist/esm/core/gradient/gradient.types.js.map +1 -0
  118. package/dist/esm/core/gradient/index.d.ts +3 -0
  119. package/dist/esm/core/gradient/index.js +4 -0
  120. package/dist/esm/core/gradient/index.js.map +1 -0
  121. package/dist/esm/core/iconography/icon.model.d.ts +5 -5
  122. package/dist/esm/core/iconography/index.d.ts +2 -0
  123. package/dist/esm/core/iconography/index.js +3 -0
  124. package/dist/esm/core/iconography/index.js.map +1 -0
  125. package/dist/esm/core/index.d.ts +13 -1
  126. package/dist/esm/core/index.js +13 -1
  127. package/dist/esm/core/index.js.map +1 -1
  128. package/dist/esm/core/layout/index.d.ts +1 -0
  129. package/dist/esm/core/layout/index.js +2 -0
  130. package/dist/esm/core/layout/index.js.map +1 -0
  131. package/dist/esm/core/masking/index.d.ts +2 -0
  132. package/dist/esm/core/masking/index.js +3 -0
  133. package/dist/esm/core/masking/index.js.map +1 -0
  134. package/dist/esm/core/masking/masking.model.d.ts +3 -3
  135. package/dist/esm/core/shadow/index.d.ts +1 -0
  136. package/dist/esm/core/shadow/index.js +2 -0
  137. package/dist/esm/core/shadow/index.js.map +1 -0
  138. package/dist/esm/core/theme/index.d.ts +5 -0
  139. package/dist/esm/core/theme/index.js +6 -0
  140. package/dist/esm/core/theme/index.js.map +1 -0
  141. package/dist/esm/core/theme/theme.model.d.ts +2 -2
  142. package/dist/esm/core/theme/theme.records.d.ts +2 -2
  143. package/dist/esm/core/theme/theme.records.js.map +1 -1
  144. package/dist/esm/core/theme/themes/dark.theme.d.ts +2 -2
  145. package/dist/esm/core/theme/themes/dark.theme.js.map +1 -1
  146. package/dist/esm/core/theme/themes/light.theme.d.ts +2 -2
  147. package/dist/esm/core/theme/themes/light.theme.js.map +1 -1
  148. package/dist/esm/core/typography/index.d.ts +1 -0
  149. package/dist/esm/core/typography/index.js +2 -0
  150. package/dist/esm/core/typography/index.js.map +1 -0
  151. package/package.json +3 -24
  152. package/dist/cjs/components/button/button.component.d.ts +0 -6
  153. package/dist/cjs/components/button/button.component.js +0 -17
  154. package/dist/cjs/components/button/button.component.js.map +0 -1
  155. package/dist/cjs/components/card/card.component.d.ts +0 -5
  156. package/dist/cjs/components/card/card.component.js +0 -11
  157. package/dist/cjs/components/card/card.component.js.map +0 -1
  158. package/dist/cjs/core/backgrounds/background.model.d.ts +0 -9
  159. package/dist/cjs/core/backgrounds/background.model.js.map +0 -1
  160. package/dist/cjs/core/backgrounds/background.types.js.map +0 -1
  161. package/dist/cjs/core/backgrounds/index.js.map +0 -1
  162. package/dist/cjs/core/container/container.component.d.ts +0 -5
  163. package/dist/cjs/core/container/container.component.js +0 -11
  164. package/dist/cjs/core/container/container.component.js.map +0 -1
  165. package/dist/cjs/core/gradients/gradiennt.helper.d.ts +0 -2
  166. package/dist/cjs/core/gradients/gradiennt.helper.js.map +0 -1
  167. package/dist/cjs/core/gradients/gradient.model.d.ts +0 -6
  168. package/dist/cjs/core/gradients/gradient.model.js.map +0 -1
  169. package/dist/cjs/core/gradients/gradient.types.d.ts +0 -0
  170. package/dist/cjs/core/gradients/gradient.types.js +0 -2
  171. package/dist/cjs/core/gradients/gradient.types.js.map +0 -1
  172. package/dist/cjs/core/theme/theme.context.d.ts +0 -4
  173. package/dist/cjs/core/theme/theme.context.js +0 -12
  174. package/dist/cjs/core/theme/theme.context.js.map +0 -1
  175. package/dist/cjs/core/theme/theme.hook.d.ts +0 -2
  176. package/dist/cjs/core/theme/theme.hook.js +0 -19
  177. package/dist/cjs/core/theme/theme.hook.js.map +0 -1
  178. package/dist/cjs/core/theme/theme.provider.d.ts +0 -9
  179. package/dist/cjs/core/theme/theme.provider.js +0 -80
  180. package/dist/cjs/core/theme/theme.provider.js.map +0 -1
  181. package/dist/cjs/stories/Button.d.ts +0 -27
  182. package/dist/cjs/stories/Button.js +0 -29
  183. package/dist/cjs/stories/Button.js.map +0 -1
  184. package/dist/cjs/stories/Header.d.ts +0 -12
  185. package/dist/cjs/stories/Header.js +0 -28
  186. package/dist/cjs/stories/Header.js.map +0 -1
  187. package/dist/cjs/stories/Page.d.ts +0 -3
  188. package/dist/cjs/stories/Page.js +0 -45
  189. package/dist/cjs/stories/Page.js.map +0 -1
  190. package/dist/esm/components/button/button.component.d.ts +0 -6
  191. package/dist/esm/components/button/button.component.js +0 -10
  192. package/dist/esm/components/button/button.component.js.map +0 -1
  193. package/dist/esm/components/card/card.component.d.ts +0 -5
  194. package/dist/esm/components/card/card.component.js +0 -5
  195. package/dist/esm/components/card/card.component.js.map +0 -1
  196. package/dist/esm/core/backgrounds/background.model.d.ts +0 -9
  197. package/dist/esm/core/backgrounds/background.model.js.map +0 -1
  198. package/dist/esm/core/backgrounds/background.types.js.map +0 -1
  199. package/dist/esm/core/backgrounds/index.js.map +0 -1
  200. package/dist/esm/core/container/container.component.d.ts +0 -5
  201. package/dist/esm/core/container/container.component.js +0 -5
  202. package/dist/esm/core/container/container.component.js.map +0 -1
  203. package/dist/esm/core/gradients/gradiennt.helper.d.ts +0 -2
  204. package/dist/esm/core/gradients/gradiennt.helper.js.map +0 -1
  205. package/dist/esm/core/gradients/gradient.model.d.ts +0 -6
  206. package/dist/esm/core/gradients/gradient.model.js.map +0 -1
  207. package/dist/esm/core/gradients/gradient.types.d.ts +0 -0
  208. package/dist/esm/core/gradients/gradient.types.js +0 -2
  209. package/dist/esm/core/gradients/gradient.types.js.map +0 -1
  210. package/dist/esm/core/theme/theme.context.d.ts +0 -4
  211. package/dist/esm/core/theme/theme.context.js +0 -7
  212. package/dist/esm/core/theme/theme.context.js.map +0 -1
  213. package/dist/esm/core/theme/theme.hook.d.ts +0 -2
  214. package/dist/esm/core/theme/theme.hook.js +0 -13
  215. package/dist/esm/core/theme/theme.hook.js.map +0 -1
  216. package/dist/esm/core/theme/theme.provider.d.ts +0 -9
  217. package/dist/esm/core/theme/theme.provider.js +0 -50
  218. package/dist/esm/core/theme/theme.provider.js.map +0 -1
  219. package/dist/esm/stories/Button.d.ts +0 -27
  220. package/dist/esm/stories/Button.js +0 -22
  221. package/dist/esm/stories/Button.js.map +0 -1
  222. package/dist/esm/stories/Header.d.ts +0 -12
  223. package/dist/esm/stories/Header.js +0 -21
  224. package/dist/esm/stories/Header.js.map +0 -1
  225. package/dist/esm/stories/Page.d.ts +0 -3
  226. package/dist/esm/stories/Page.js +0 -38
  227. package/dist/esm/stories/Page.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"light.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/light.theme.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAe;IACpC,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,SAAS;KACtB;CACF,CAAA"}
1
+ {"version":3,"file":"light.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/light.theme.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAU;IAC/B,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,SAAS;KACtB;CACF,CAAA"}
@@ -0,0 +1 @@
1
+ export * from './typography.types';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./typography.types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/typography/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
@@ -0,0 +1,9 @@
1
+ import { Gradient } from '../gradient';
2
+ import { Color } from '../color';
3
+ import { BackgroundType } from './background.types';
4
+ export interface Background {
5
+ type: BackgroundType;
6
+ color: Color;
7
+ gradient: Gradient;
8
+ image: string;
9
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background.model.js","sourceRoot":"","sources":["../../../../src/core/background/background.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background.types.js","sourceRoot":"","sources":["../../../../src/core/background/background.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/background/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './border.types';
@@ -0,0 +1,2 @@
1
+ export * from './border.types';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/border/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { IColor } from './color.model';
1
+ import { Color } from './color.model';
2
2
  import { colorRoles } from './color.types';
3
- export declare function hslColor(c: IColor): string;
3
+ export declare function hslColor(c: Color): string;
4
4
  export declare function roleColor(r: colorRoles): string;
@@ -1 +1 @@
1
- {"version":3,"file":"color.helper.js","sourceRoot":"","sources":["../../../../src/core/color/color.helper.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEtE,MAAM,UAAU,QAAQ,CAAC,CAAS;IAChC,OAAO,OAAO,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,UAAU,KAAK,CAAC,CAAC,SAAS,KAAK,CAAC,CAAC,KAAK,GAAG,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,CAAa;IAErC,MAAM,GAAG,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;IAChC,MAAM,IAAI,GAAe,CAAC,CAAC;IAC3B,MAAM,KAAK,GAAG,CAAC,CAAC;IAChB,MAAM,QAAQ,GAAoB,OAAO,CAAC;IAE1C,OAAO,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC;AAClD,CAAC"}
1
+ {"version":3,"file":"color.helper.js","sourceRoot":"","sources":["../../../../src/core/color/color.helper.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEtE,MAAM,UAAU,QAAQ,CAAC,CAAQ;IAC/B,OAAO,OAAO,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,UAAU,KAAK,CAAC,CAAC,SAAS,KAAK,CAAC,CAAC,KAAK,GAAG,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,CAAa;IAErC,MAAM,GAAG,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;IAChC,MAAM,IAAI,GAAe,CAAC,CAAC;IAC3B,MAAM,KAAK,GAAG,CAAC,CAAC;IAChB,MAAM,QAAQ,GAAoB,OAAO,CAAC;IAE1C,OAAO,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC;AAClD,CAAC"}
@@ -1,21 +1,21 @@
1
1
  import { colorCategories, colorRoles, colorSchemes, colorStyles } from './color.types';
2
- export interface IColor {
2
+ export interface Color {
3
3
  scheme?: colorSchemes;
4
4
  style?: colorStyles;
5
5
  role?: colorRoles;
6
6
  category?: colorCategories;
7
- GradientPosition?: IGradientPosition;
8
- saturationRange?: IRange;
9
- brightnessRangeMap?: IRange;
7
+ GradientPosition?: GradientPosition;
8
+ saturationRange?: Range;
9
+ brightnessRangeMap?: Range;
10
10
  hue: number | undefined;
11
11
  saturation?: number;
12
12
  lightness?: number;
13
13
  alpha: number;
14
14
  }
15
- export interface IGradientPosition {
15
+ export interface GradientPosition {
16
16
  value: string;
17
17
  }
18
- export interface IRange {
18
+ export interface Range {
19
19
  low: number;
20
20
  high: number;
21
21
  default?: number;
@@ -1,11 +1,12 @@
1
- import { IRange } from './color.model';
1
+ import { Range } from './color.model';
2
2
  export declare type colorStyles = 'solid' | 'transparent' | 'gradient';
3
+ export declare type ColorOutput = 'HEX' | 'RGB' | 'RGBA' | 'HSL' | 'HSLA';
3
4
  export declare type colorSchemes = 'monochromatic' | 'analogous' | 'complimentary' | 'splitComplimentary' | 'triadic';
4
5
  export declare type colorCategories = 'jewel' | 'pastel' | 'earth' | 'neutral' | 'florescent' | 'shades';
5
- export declare const saturationRanges: Record<colorCategories, IRange>;
6
- export declare const lightnessRanges: Record<colorCategories, IRange>;
6
+ export declare const saturationRanges: Record<colorCategories, Range>;
7
+ export declare const lightnessRanges: Record<colorCategories, Range>;
7
8
  export declare type utilColorRoles = 'warn' | 'alert' | 'success' | 'info';
8
9
  export declare type colorRoles = 'primary' | 'secondary' | 'tertiary' | 'inverse' | 'ghost';
9
- export declare const roleHues: Record<colorRoles, IRange>;
10
- export declare const utilHues: Record<utilColorRoles, IRange>;
11
- export declare type ColorToken = 'primary';
10
+ export declare const roleHues: Record<colorRoles, Range>;
11
+ export declare const utilHues: Record<utilColorRoles, Range>;
12
+ export declare type ColorToken = 'background' | 'background-active' | 'background-brand' | 'background-hover' | 'background-inverse' | 'background-inverse-hover' | 'background-screen' | 'background-selected' | 'background-selected-hover' | 'border-disabled-01' | 'border-disabled-02' | 'border-disabled-03' | 'border-interactive' | 'border-inverse' | 'border-strong-01' | 'border-strong-02' | 'border-strong-03' | 'border-subtle-00' | 'border-subtle-01' | 'border-subtle-02' | 'border-subtle-03' | 'border-subtle-selected-01' | 'border-subtle-selected-02' | 'border-subtle-selected-03' | 'brand-primary' | 'button-primary' | 'button-primary-active' | 'button-primary-hover' | 'button-secondary' | 'button-secondary-active' | 'button-secondary-hover' | 'button-tertiary' | 'button-tertiary-active' | 'button-tertiary-hover' | 'button-danger-primary' | 'button-danger-secondary' | 'button-danger-active' | 'button-danger-hover' | 'button-disabled' | 'button-separator' | 'field-01' | 'field-02' | 'field-03' | 'field-disabled-01' | 'field-disabled-02' | 'field-disabled-03' | 'field-hover-01' | 'field-hover-02' | 'field-hover-03' | 'focus' | 'focus-inverse' | 'focus-inset' | 'highlight' | 'icon-primary' | 'icon-secondary' | 'icon-tertiary' | 'icon-inverse' | 'icon-on-color' | 'icon-on-color-disabled' | 'icon-disabled' | 'icon-subtle' | 'interactive' | 'layer-01' | 'layer-02' | 'layer-03' | 'layer-accent-01' | 'layer-accent-02' | 'layer-accent-03' | 'layer-accent-active-01' | 'layer-accent-active-02' | 'layer-accent-active-03' | 'layer-accent-hover-01' | 'layer-accent-hover-02' | 'layer-accent-hover-03' | 'layer-active-01' | 'layer-active-02' | 'layer-active-03' | 'layer-disabled-01' | 'layer-disabled-02' | 'layer-disabled-03' | 'layer-hover-01' | 'layer-hover-02' | 'layer-hover-03' | 'layer-selected-01' | 'layer-selected-02' | 'layer-selected-03' | 'layer-selected-hover-01' | 'layer-selected-hover-02' | 'layer-selected-hover-03' | 'layer-selected-disabled' | 'layer-selected-inverse' | 'link-primary' | 'link-primary-hover' | 'link-secondary' | 'link-inverse' | 'link-visited' | 'navigation-background' | 'navigation-badge' | 'navigation-border' | 'overlay' | 'screen-background' | 'skeleton-element' | 'skeleton-background' | 'status-online' | 'status-offline' | 'status-busy' | 'support-info' | 'support-warning' | 'support-success' | 'support-error' | 'support-info-inverse' | 'support-warning-inverse' | 'support-success-inverse' | 'support-error-inverse' | 'text-brand' | 'text-primary' | 'text-secondary' | 'text-disabled' | 'text-error' | 'text-ghost' | 'text-helper' | 'text-highlight' | 'text-link' | 'text-inverse' | 'text-on-color' | 'text-placeholder' | 'text-on-color-disabled' | 'text-warning' | 'toggle-off' | 'transparent' | 'shadowColor';
@@ -1 +1 @@
1
- {"version":3,"file":"color.types.js","sourceRoot":"","sources":["../../../../src/core/color/color.types.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,2EAA2E;AAsB3E,MAAM,CAAC,MAAM,gBAAgB,GAAoC;IAC/D,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IAC5B,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IAC7B,KAAK,EAAE,EAAE,GAA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GAAG,EAAE;IAC7C,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,OAAO;CACrD,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './color.helper';
2
+ export * from './color.model';
3
+ export * from './color.types';
@@ -0,0 +1,4 @@
1
+ export * from './color.helper';
2
+ export * from './color.model';
3
+ export * from './color.types';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/color/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
@@ -1,8 +1,8 @@
1
- import { BackgroundType } from '../backgrounds/background.types';
2
- import { BorderWidth } from '../border/border.types';
3
- import { ColorToken } from '../color/color.types';
1
+ import { BackgroundType } from '../background';
2
+ import { BorderWidth } from '../border';
3
+ import { ColorToken } from '../color';
4
4
  import { Apply, HorizontalAlign, RadiusApply, Size } from '../core.types';
5
- import { ShadowStyle } from '../shadow/shadow.types';
5
+ import { ShadowStyle } from '../shadow';
6
6
  export interface ContainerProps {
7
7
  maxWidth?: number;
8
8
  align?: HorizontalAlign;
@@ -0,0 +1 @@
1
+ export declare type ContainerType = 'Card' | 'Form' | 'Screen' | 'Modal' | 'Paragraph' | 'Header' | 'Footer';
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=container.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"container.types.js","sourceRoot":"","sources":["../../../../src/core/container/container.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './container.model';
@@ -0,0 +1,2 @@
1
+ export * from './container.model';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/container/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare type Flex = number;
2
+ export declare type FlexGrow = number;
3
+ export declare type FlexShrink = number;
4
+ export declare type FlexWrap = 'wrap' | 'nowrap';
5
+ export declare type FlexDirection = 'row' | 'column' | 'column-reverse' | 'row-reverse';
6
+ export declare type JustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-around' | 'space-between' | 'space-evenly';
7
+ export declare type AlignContent = 'flex-start' | 'flex-end' | 'center' | 'space-around' | 'space-between' | 'stretch';
8
+ export declare type AlignItems = 'stretch' | 'flex-start' | 'flex-end' | 'center' | 'baseline';
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=flex.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flex.types.js","sourceRoot":"","sources":["../../../../src/core/flex/flex.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './flex.types';
@@ -0,0 +1,2 @@
1
+ export * from './flex.types';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/flex/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { Gradient } from './gradient.model';
2
+ export declare function gradient(config: Gradient): string;
@@ -1,4 +1,4 @@
1
1
  export function gradient(config) {
2
2
  return ``;
3
3
  }
4
- //# sourceMappingURL=gradiennt.helper.js.map
4
+ //# sourceMappingURL=gradient.helper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gradient.helper.js","sourceRoot":"","sources":["../../../../src/core/gradient/gradient.helper.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,QAAQ,CAAC,MAAgB;IACvC,OAAO,EAAE,CAAC;AACZ,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Color } from '../color';
2
+ export interface Gradient {
3
+ defaultColor: Color;
4
+ degree: number;
5
+ colors: Record<string, Color>;
6
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gradient.model.js","sourceRoot":"","sources":["../../../../src/core/gradient/gradient.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export declare type GradientType = 'linear' | 'radial' | 'conic';
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=gradient.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gradient.types.js","sourceRoot":"","sources":["../../../../src/core/gradient/gradient.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from './gradient.model';
2
+ export * from './gradient.helper';
3
+ export * from './gradient.types';
@@ -0,0 +1,4 @@
1
+ export * from './gradient.model';
2
+ export * from './gradient.helper';
3
+ export * from './gradient.types';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/gradient/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
@@ -1,7 +1,7 @@
1
- import { IColor } from '../color/color.model';
2
- import { IMasking } from '../masking/masking.model';
1
+ import { Color } from '../color';
2
+ import { Masking } from '../masking';
3
3
  export interface Icon {
4
- background: IColor;
5
- foreground: IColor;
6
- mask: IMasking;
4
+ background: Color;
5
+ foreground: Color;
6
+ mask: Masking;
7
7
  }
@@ -0,0 +1,2 @@
1
+ export * from './icon.model';
2
+ export * from './icon.types';
@@ -0,0 +1,3 @@
1
+ export * from './icon.model';
2
+ export * from './icon.types';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/iconography/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
@@ -1 +1,13 @@
1
- export * from './backgrounds';
1
+ export * from './core.types';
2
+ export * from './background';
3
+ export * from './theme';
4
+ export * from './iconography';
5
+ export * from './color';
6
+ export * from './border';
7
+ export * from './container';
8
+ export * from './gradient';
9
+ export * from './layout';
10
+ export * from './masking';
11
+ export * from './shadow';
12
+ export * from './typography';
13
+ export * from './flex';
@@ -1,2 +1,14 @@
1
- export * from './backgrounds';
1
+ export * from './core.types';
2
+ export * from './background';
3
+ export * from './theme';
4
+ export * from './iconography';
5
+ export * from './color';
6
+ export * from './border';
7
+ export * from './container';
8
+ export * from './gradient';
9
+ export * from './layout';
10
+ export * from './masking';
11
+ export * from './shadow';
12
+ export * from './typography';
13
+ export * from './flex';
2
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './layout.types';
@@ -0,0 +1,2 @@
1
+ export * from './layout.types';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './masking.model';
2
+ export * from './masking.types';
@@ -0,0 +1,3 @@
1
+ export * from './masking.model';
2
+ export * from './masking.types';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/masking/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
@@ -1,6 +1,6 @@
1
- import { IColor } from '../color/color.model';
1
+ import { Color } from '../color/color.model';
2
2
  import { MaskingShape } from './masking.types';
3
- export interface IMasking {
4
- background: IColor;
3
+ export interface Masking {
4
+ background: Color;
5
5
  shape: MaskingShape;
6
6
  }
@@ -0,0 +1 @@
1
+ export * from './shadow.types';
@@ -0,0 +1,2 @@
1
+ export * from './shadow.types';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/shadow/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './theme.model';
2
+ export * from './theme.records';
3
+ export * from './theme.types';
4
+ export * from './themes/dark.theme';
5
+ export * from './themes/light.theme';
@@ -0,0 +1,6 @@
1
+ export * from './theme.model';
2
+ export * from './theme.records';
3
+ export * from './theme.types';
4
+ export * from './themes/dark.theme';
5
+ export * from './themes/light.theme';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC"}
@@ -1,9 +1,9 @@
1
1
  export interface ThemeProps {
2
2
  themeId?: string;
3
- themes?: Record<string, ThemeModel>;
3
+ themes?: Record<string, Theme>;
4
4
  setTheme?: any;
5
5
  }
6
- export interface ThemeModel {
6
+ export interface Theme {
7
7
  name: string;
8
8
  id: string;
9
9
  colors: Record<string, string>;
@@ -1,3 +1,3 @@
1
- import { ThemeModel } from './theme.model';
2
- export declare const BuiltInThemes: Record<string, ThemeModel>;
1
+ import { Theme } from './theme.model';
2
+ export declare const BuiltInThemes: Record<string, Theme>;
3
3
  export declare const DefaultThemeId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.records.js","sourceRoot":"","sources":["../../../../src/core/theme/theme.records.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,MAAM,CAAC,MAAM,aAAa,GAA+B;IACvD,UAAU;IACV,SAAS;CACV,CAAA;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"theme.records.js","sourceRoot":"","sources":["../../../../src/core/theme/theme.records.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,MAAM,CAAC,MAAM,aAAa,GAA0B;IAClD,UAAU;IACV,SAAS;CACV,CAAA;AAED,0BAA0B;AAC1B,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- import { ThemeModel } from '../theme.model';
2
- export declare const DarkTheme: ThemeModel;
1
+ import { Theme } from '../theme.model';
2
+ export declare const DarkTheme: Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"dark.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/dark.theme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAe;IACnC,EAAE,EAAE,WAAW;IACf,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE,EAEP;CACF,CAAA"}
1
+ {"version":3,"file":"dark.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/dark.theme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,EAAE,EAAE,WAAW;IACf,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE,EAEP;CACF,CAAA"}
@@ -1,2 +1,2 @@
1
- import { ThemeModel } from '../theme.model';
2
- export declare const LightTheme: ThemeModel;
1
+ import { Theme } from '../theme.model';
2
+ export declare const LightTheme: Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"light.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/light.theme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAe;IACpC,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,SAAS;KACtB;CACF,CAAA"}
1
+ {"version":3,"file":"light.theme.js","sourceRoot":"","sources":["../../../../../src/core/theme/themes/light.theme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,SAAS;KACtB;CACF,CAAA"}
@@ -0,0 +1 @@
1
+ export * from './typography.types';
@@ -0,0 +1,2 @@
1
+ export * from './typography.types';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uni-design-system/uni-core",
3
3
  "description": "UNI Design System core dependencies.",
4
- "version": "0.0.1",
4
+ "version": "0.0.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/uni-design-system/uni-core.git"
@@ -14,13 +14,9 @@
14
14
  "scripts": {
15
15
  "build": "rm -rf dist/ && yarn build:esm && yarn build:cjs",
16
16
  "build:esm": "tsc",
17
- "build:cjs": "tsc --module CommonJS --outDir dist/cjs",
18
- "storybook": "start-storybook -p 6006",
19
- "build-storybook": "build-storybook"
17
+ "build:cjs": "tsc --module CommonJS --outDir dist/cjs"
20
18
  },
21
19
  "keywords": [
22
- "react",
23
- "components",
24
20
  "ui",
25
21
  "ux",
26
22
  "design system"
@@ -31,26 +27,9 @@
31
27
  "url": "https://github.com/uni-design-system/uni-core.git"
32
28
  },
33
29
  "homepage": "https://github.com/uni-design-system/uni-core#readme",
34
- "packageManager": "yarn@3.0.2",
35
30
  "devDependencies": {
36
- "@babel/core": "^7.17.5",
37
- "@react-theming/storybook-addon": "^1.1.5",
38
- "@storybook/addon-actions": "^6.4.19",
39
- "@storybook/addon-essentials": "^6.4.19",
40
- "@storybook/addon-interactions": "^6.4.19",
41
- "@storybook/addon-links": "^6.4.19",
42
- "@storybook/react": "^6.4.19",
43
- "@storybook/testing-library": "^0.0.9",
44
31
  "@types/node": "^17.0.21",
45
- "@types/react": "^17.0.39",
46
- "@types/react-dom": "^17.0.13",
47
- "babel-loader": "^8.2.3",
48
- "react": "^17.0.2",
49
- "react-dom": "^17.0.2",
50
32
  "typescript": "^4.6.2"
51
33
  },
52
- "peerDependencies": {
53
- "react": "^17.0.2",
54
- "react-dom": "^17.0.2"
55
- }
34
+ "peerDependencies": {}
56
35
  }
@@ -1,6 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface ButtonProps {
3
- children: ReactNode;
4
- disabled?: boolean;
5
- }
6
- export declare function Button({ children, disabled }: ButtonProps): JSX.Element;
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Button = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const theme_hook_1 = __importDefault(require("../../core/theme/theme.hook"));
9
- function Button({ children, disabled = false }) {
10
- const theme = (0, theme_hook_1.default)();
11
- return (react_1.default.createElement("button", { disabled: disabled },
12
- children,
13
- " ",
14
- theme.name));
15
- }
16
- exports.Button = Button;
17
- //# sourceMappingURL=button.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.component.js","sourceRoot":"","sources":["../../../../src/components/button/button.component.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyC;AACzC,6EAAmD;AAOnD,SAAgB,MAAM,CAAC,EAAE,QAAQ,EAAE,QAAQ,GAAG,KAAK,EAAe;IAEhE,MAAM,KAAK,GAAG,IAAA,oBAAQ,GAAE,CAAC;IAEzB,OAAO,CACL,0CAAQ,QAAQ,EAAE,QAAQ;QACvB,QAAQ;;QAAG,KAAK,CAAC,IAAI,CACf,CACV,CAAA;AACH,CAAC;AATD,wBASC"}
@@ -1,5 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface CardProps {
3
- children: ReactNode;
4
- }
5
- export default function Card({ children }: CardProps): JSX.Element;
@@ -1,11 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const react_1 = __importDefault(require("react"));
7
- function Card({ children }) {
8
- return (react_1.default.createElement("div", null, children));
9
- }
10
- exports.default = Card;
11
- //# sourceMappingURL=card.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"card.component.js","sourceRoot":"","sources":["../../../../src/components/card/card.component.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyC;AAMzC,SAAwB,IAAI,CAAC,EAAE,QAAQ,EAAa;IAElD,OAAO,CACL,2CACG,QAAQ,CACL,CACP,CAAA;AACH,CAAC;AAPD,uBAOC"}