jynko-kit 0.0.0-stage → 1.0.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 (180) hide show
  1. package/README.md +110 -2
  2. package/dist/components/atoms/AAvatar/AAvatar.d.ts +12 -0
  3. package/dist/components/atoms/AAvatar/AAvatar.d.ts.map +1 -0
  4. package/dist/components/atoms/AAvatar/AAvatar.styles.d.ts +7 -0
  5. package/dist/components/atoms/AAvatar/AAvatar.styles.d.ts.map +1 -0
  6. package/dist/components/atoms/AAvatar/index.d.ts +3 -0
  7. package/dist/components/atoms/AAvatar/index.d.ts.map +1 -0
  8. package/dist/components/atoms/AAvatar/types.d.ts +2 -0
  9. package/dist/components/atoms/AAvatar/types.d.ts.map +1 -0
  10. package/dist/components/atoms/ABadge/ABadge.d.ts +10 -0
  11. package/dist/components/atoms/ABadge/ABadge.d.ts.map +1 -0
  12. package/dist/components/atoms/ABadge/ABadge.styles.d.ts +8 -0
  13. package/dist/components/atoms/ABadge/ABadge.styles.d.ts.map +1 -0
  14. package/dist/components/atoms/ABadge/index.d.ts +3 -0
  15. package/dist/components/atoms/ABadge/index.d.ts.map +1 -0
  16. package/dist/components/atoms/ABadge/types.d.ts +3 -0
  17. package/dist/components/atoms/ABadge/types.d.ts.map +1 -0
  18. package/dist/components/atoms/AButton/AButton.d.ts +10 -0
  19. package/dist/components/atoms/AButton/AButton.d.ts.map +1 -0
  20. package/dist/components/atoms/AButton/AButton.styles.d.ts +15 -0
  21. package/dist/components/atoms/AButton/AButton.styles.d.ts.map +1 -0
  22. package/dist/components/atoms/AButton/index.d.ts +3 -0
  23. package/dist/components/atoms/AButton/index.d.ts.map +1 -0
  24. package/dist/components/atoms/AButton/types.d.ts +2 -0
  25. package/dist/components/atoms/AButton/types.d.ts.map +1 -0
  26. package/dist/components/atoms/AIcon/AIcon.d.ts +12 -0
  27. package/dist/components/atoms/AIcon/AIcon.d.ts.map +1 -0
  28. package/dist/components/atoms/AIcon/AIcon.styles.d.ts +8 -0
  29. package/dist/components/atoms/AIcon/AIcon.styles.d.ts.map +1 -0
  30. package/dist/components/atoms/AIcon/index.d.ts +3 -0
  31. package/dist/components/atoms/AIcon/index.d.ts.map +1 -0
  32. package/dist/components/atoms/AIconButton/AIconButton.d.ts +17 -0
  33. package/dist/components/atoms/AIconButton/AIconButton.d.ts.map +1 -0
  34. package/dist/components/atoms/AIconButton/AIconButton.styles.d.ts +11 -0
  35. package/dist/components/atoms/AIconButton/AIconButton.styles.d.ts.map +1 -0
  36. package/dist/components/atoms/AIconButton/index.d.ts +3 -0
  37. package/dist/components/atoms/AIconButton/index.d.ts.map +1 -0
  38. package/dist/components/atoms/AIconLink/AIconLink.d.ts +17 -0
  39. package/dist/components/atoms/AIconLink/AIconLink.d.ts.map +1 -0
  40. package/dist/components/atoms/AIconLink/AIconLink.styles.d.ts +11 -0
  41. package/dist/components/atoms/AIconLink/AIconLink.styles.d.ts.map +1 -0
  42. package/dist/components/atoms/AIconLink/index.d.ts +3 -0
  43. package/dist/components/atoms/AIconLink/index.d.ts.map +1 -0
  44. package/dist/components/atoms/AInput/AInput.d.ts +11 -0
  45. package/dist/components/atoms/AInput/AInput.d.ts.map +1 -0
  46. package/dist/components/atoms/AInput/AInput.styles.d.ts +26 -0
  47. package/dist/components/atoms/AInput/AInput.styles.d.ts.map +1 -0
  48. package/dist/components/atoms/AInput/index.d.ts +3 -0
  49. package/dist/components/atoms/AInput/index.d.ts.map +1 -0
  50. package/dist/components/atoms/ALink/ALink.d.ts +11 -0
  51. package/dist/components/atoms/ALink/ALink.d.ts.map +1 -0
  52. package/dist/components/atoms/ALink/ALink.styles.d.ts +8 -0
  53. package/dist/components/atoms/ALink/ALink.styles.d.ts.map +1 -0
  54. package/dist/components/atoms/ALink/index.d.ts +3 -0
  55. package/dist/components/atoms/ALink/index.d.ts.map +1 -0
  56. package/dist/components/atoms/ALogo/ALogo.d.ts +4 -0
  57. package/dist/components/atoms/ALogo/ALogo.d.ts.map +1 -0
  58. package/dist/components/atoms/ALogo/ALogo.styles.d.ts +9 -0
  59. package/dist/components/atoms/ALogo/ALogo.styles.d.ts.map +1 -0
  60. package/dist/components/atoms/ALogo/index.d.ts +3 -0
  61. package/dist/components/atoms/ALogo/index.d.ts.map +1 -0
  62. package/dist/components/atoms/ALogo/types.d.ts +8 -0
  63. package/dist/components/atoms/ALogo/types.d.ts.map +1 -0
  64. package/dist/components/atoms/ASearchInput/ASearchInput.d.ts +16 -0
  65. package/dist/components/atoms/ASearchInput/ASearchInput.d.ts.map +1 -0
  66. package/dist/components/atoms/ASearchInput/ASearchInput.styles.d.ts +22 -0
  67. package/dist/components/atoms/ASearchInput/ASearchInput.styles.d.ts.map +1 -0
  68. package/dist/components/atoms/ASearchInput/index.d.ts +3 -0
  69. package/dist/components/atoms/ASearchInput/index.d.ts.map +1 -0
  70. package/dist/components/atoms/ASection/ASection.d.ts +6 -0
  71. package/dist/components/atoms/ASection/ASection.d.ts.map +1 -0
  72. package/dist/components/atoms/ASection/ASection.styles.d.ts +6 -0
  73. package/dist/components/atoms/ASection/ASection.styles.d.ts.map +1 -0
  74. package/dist/components/atoms/ASection/index.d.ts +3 -0
  75. package/dist/components/atoms/ASection/index.d.ts.map +1 -0
  76. package/dist/components/atoms/ASelect/ASelect.d.ts +19 -0
  77. package/dist/components/atoms/ASelect/ASelect.d.ts.map +1 -0
  78. package/dist/components/atoms/ASelect/ASelect.styles.d.ts +38 -0
  79. package/dist/components/atoms/ASelect/ASelect.styles.d.ts.map +1 -0
  80. package/dist/components/atoms/ASelect/index.d.ts +3 -0
  81. package/dist/components/atoms/ASelect/index.d.ts.map +1 -0
  82. package/dist/components/atoms/ATextarea/ATextarea.d.ts +11 -0
  83. package/dist/components/atoms/ATextarea/ATextarea.d.ts.map +1 -0
  84. package/dist/components/atoms/ATextarea/ATextarea.styles.d.ts +20 -0
  85. package/dist/components/atoms/ATextarea/ATextarea.styles.d.ts.map +1 -0
  86. package/dist/components/atoms/ATextarea/index.d.ts +3 -0
  87. package/dist/components/atoms/ATextarea/index.d.ts.map +1 -0
  88. package/dist/components/atoms/ATypography/ATypography.d.ts +8 -0
  89. package/dist/components/atoms/ATypography/ATypography.d.ts.map +1 -0
  90. package/dist/components/atoms/ATypography/ATypography.styles.d.ts +8 -0
  91. package/dist/components/atoms/ATypography/ATypography.styles.d.ts.map +1 -0
  92. package/dist/components/atoms/ATypography/index.d.ts +3 -0
  93. package/dist/components/atoms/ATypography/index.d.ts.map +1 -0
  94. package/dist/components/atoms/index.d.ts +29 -0
  95. package/dist/components/atoms/index.d.ts.map +1 -0
  96. package/dist/components/index.d.ts +7 -0
  97. package/dist/components/index.d.ts.map +1 -0
  98. package/dist/components/molecules/MModal/MModal.d.ts +4 -0
  99. package/dist/components/molecules/MModal/MModal.d.ts.map +1 -0
  100. package/dist/components/molecules/MModal/MModal.styles.d.ts +19 -0
  101. package/dist/components/molecules/MModal/MModal.styles.d.ts.map +1 -0
  102. package/dist/components/molecules/MModal/index.d.ts +3 -0
  103. package/dist/components/molecules/MModal/index.d.ts.map +1 -0
  104. package/dist/components/molecules/MModal/types.d.ts +10 -0
  105. package/dist/components/molecules/MModal/types.d.ts.map +1 -0
  106. package/dist/components/molecules/MNavLinks/MNavLinks.d.ts +8 -0
  107. package/dist/components/molecules/MNavLinks/MNavLinks.d.ts.map +1 -0
  108. package/dist/components/molecules/MNavLinks/MNavLinks.styles.d.ts +7 -0
  109. package/dist/components/molecules/MNavLinks/MNavLinks.styles.d.ts.map +1 -0
  110. package/dist/components/molecules/MNavLinks/index.d.ts +3 -0
  111. package/dist/components/molecules/MNavLinks/index.d.ts.map +1 -0
  112. package/dist/components/molecules/MNavLinks/types.d.ts +22 -0
  113. package/dist/components/molecules/MNavLinks/types.d.ts.map +1 -0
  114. package/dist/components/molecules/MUserBadge/MUserBadge.d.ts +4 -0
  115. package/dist/components/molecules/MUserBadge/MUserBadge.d.ts.map +1 -0
  116. package/dist/components/molecules/MUserBadge/MUserBadge.styles.d.ts +4 -0
  117. package/dist/components/molecules/MUserBadge/MUserBadge.styles.d.ts.map +1 -0
  118. package/dist/components/molecules/MUserBadge/index.d.ts +3 -0
  119. package/dist/components/molecules/MUserBadge/index.d.ts.map +1 -0
  120. package/dist/components/molecules/MUserBadge/types.d.ts +11 -0
  121. package/dist/components/molecules/MUserBadge/types.d.ts.map +1 -0
  122. package/dist/components/molecules/index.d.ts +7 -0
  123. package/dist/components/molecules/index.d.ts.map +1 -0
  124. package/dist/components/organisms/OSidebar/OSidebar.d.ts +13 -0
  125. package/dist/components/organisms/OSidebar/OSidebar.d.ts.map +1 -0
  126. package/dist/components/organisms/OSidebar/OSidebar.styles.d.ts +22 -0
  127. package/dist/components/organisms/OSidebar/OSidebar.styles.d.ts.map +1 -0
  128. package/dist/components/organisms/OSidebar/index.d.ts +3 -0
  129. package/dist/components/organisms/OSidebar/index.d.ts.map +1 -0
  130. package/dist/components/organisms/OSidebar/types.d.ts +9 -0
  131. package/dist/components/organisms/OSidebar/types.d.ts.map +1 -0
  132. package/dist/components/organisms/OUserCamera/OUserCamera.d.ts +4 -0
  133. package/dist/components/organisms/OUserCamera/OUserCamera.d.ts.map +1 -0
  134. package/dist/components/organisms/OUserCamera/OUserCamera.styles.d.ts +20 -0
  135. package/dist/components/organisms/OUserCamera/OUserCamera.styles.d.ts.map +1 -0
  136. package/dist/components/organisms/OUserCamera/index.d.ts +3 -0
  137. package/dist/components/organisms/OUserCamera/index.d.ts.map +1 -0
  138. package/dist/components/organisms/OUserCamera/types.d.ts +12 -0
  139. package/dist/components/organisms/OUserCamera/types.d.ts.map +1 -0
  140. package/dist/components/organisms/index.d.ts +5 -0
  141. package/dist/components/organisms/index.d.ts.map +1 -0
  142. package/dist/index.cjs +932 -0
  143. package/dist/index.cjs.map +1 -0
  144. package/dist/index.d.ts +7 -0
  145. package/dist/index.d.ts.map +1 -0
  146. package/dist/index.js +3234 -0
  147. package/dist/index.js.map +1 -0
  148. package/dist/providers/JynkoProvider/JynkoProvider.d.ts +8 -0
  149. package/dist/providers/JynkoProvider/JynkoProvider.d.ts.map +1 -0
  150. package/dist/providers/JynkoProvider/index.d.ts +3 -0
  151. package/dist/providers/JynkoProvider/index.d.ts.map +1 -0
  152. package/dist/providers/index.d.ts +3 -0
  153. package/dist/providers/index.d.ts.map +1 -0
  154. package/dist/shared/hooks/index.d.ts +2 -0
  155. package/dist/shared/hooks/index.d.ts.map +1 -0
  156. package/dist/shared/hooks/usePressState.d.ts +19 -0
  157. package/dist/shared/hooks/usePressState.d.ts.map +1 -0
  158. package/dist/shared/index.d.ts +6 -0
  159. package/dist/shared/index.d.ts.map +1 -0
  160. package/dist/shared/styles/GlobalStyles.d.ts +2 -0
  161. package/dist/shared/styles/GlobalStyles.d.ts.map +1 -0
  162. package/dist/shared/styles/componentMetrics.d.ts +11 -0
  163. package/dist/shared/styles/componentMetrics.d.ts.map +1 -0
  164. package/dist/shared/styles/index.d.ts +4 -0
  165. package/dist/shared/styles/index.d.ts.map +1 -0
  166. package/dist/shared/styles/theme.d.ts +254 -0
  167. package/dist/shared/styles/theme.d.ts.map +1 -0
  168. package/dist/shared/types/button.d.ts +3 -0
  169. package/dist/shared/types/button.d.ts.map +1 -0
  170. package/dist/shared/types/index.d.ts +2 -0
  171. package/dist/shared/types/index.d.ts.map +1 -0
  172. package/dist/shared/types/link.d.ts +3 -0
  173. package/dist/shared/types/link.d.ts.map +1 -0
  174. package/dist/shared/utils/color.d.ts +2 -0
  175. package/dist/shared/utils/color.d.ts.map +1 -0
  176. package/dist/shared/utils/index.d.ts +3 -0
  177. package/dist/shared/utils/index.d.ts.map +1 -0
  178. package/dist/shared/utils/tokens.d.ts +3 -0
  179. package/dist/shared/utils/tokens.d.ts.map +1 -0
  180. package/package.json +116 -4
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ import { Theme } from '../../shared/styles';
3
+ export interface JynkoProviderProps {
4
+ children: ReactNode;
5
+ theme?: Theme;
6
+ }
7
+ export declare function JynkoProvider({ children, theme, }: JynkoProviderProps): import('react').JSX.Element;
8
+ //# sourceMappingURL=JynkoProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JynkoProvider.d.ts","sourceRoot":"","sources":["../../../src/providers/JynkoProvider/JynkoProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAG7C,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,KAAoB,GACrB,EAAE,kBAAkB,+BAOpB"}
@@ -0,0 +1,3 @@
1
+ export type { JynkoProviderProps } from './JynkoProvider';
2
+ export { JynkoProvider } from './JynkoProvider';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/JynkoProvider/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { JynkoProviderProps } from './JynkoProvider';
2
+ export { JynkoProvider } from './JynkoProvider';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/providers/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { usePressState } from './usePressState';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { PointerEvent } from 'react';
2
+ interface UsePressStateOptions<T extends HTMLElement> {
3
+ disabled?: boolean;
4
+ onPointerDown?: (event: PointerEvent<T>) => void;
5
+ onPointerUp?: (event: PointerEvent<T>) => void;
6
+ onPointerCancel?: (event: PointerEvent<T>) => void;
7
+ onLostPointerCapture?: (event: PointerEvent<T>) => void;
8
+ }
9
+ export declare function usePressState<T extends HTMLElement = HTMLButtonElement>({ disabled, onPointerDown, onPointerUp, onPointerCancel, onLostPointerCapture, }: UsePressStateOptions<T>): {
10
+ pressed: boolean;
11
+ pressHandlers: {
12
+ onPointerDown: (event: PointerEvent<T>) => void;
13
+ onPointerUp: (event: PointerEvent<T>) => void;
14
+ onPointerCancel: (event: PointerEvent<T>) => void;
15
+ onLostPointerCapture: (event: PointerEvent<T>) => void;
16
+ };
17
+ };
18
+ export {};
19
+ //# sourceMappingURL=usePressState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePressState.d.ts","sourceRoot":"","sources":["../../../src/shared/hooks/usePressState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAM1C,UAAU,oBAAoB,CAAC,CAAC,SAAS,WAAW;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC/C,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACnD,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACzD;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,WAAW,GAAG,iBAAiB,EAAE,EACvE,QAAQ,EACR,aAAa,EACb,WAAW,EACX,eAAe,EACf,oBAAoB,GACrB,EAAE,oBAAoB,CAAC,CAAC,CAAC;;;+BAkCU,YAAY,CAAC,CAAC,CAAC;6BAUjB,YAAY,CAAC,CAAC,CAAC;iCAKX,YAAY,CAAC,CAAC,CAAC;sCAKV,YAAY,CAAC,CAAC,CAAC;;EAczD"}
@@ -0,0 +1,6 @@
1
+ export { usePressState } from './hooks';
2
+ export type { Theme } from './styles';
3
+ export { GlobalStyles, theme } from './styles';
4
+ export type { ButtonSize, ButtonVariant } from './types';
5
+ export { darken12, tokens } from './utils';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAC/C,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const GlobalStyles: import('react').NamedExoticComponent<import('styled-components').ExecutionProps & object>;
2
+ //# sourceMappingURL=GlobalStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GlobalStyles.d.ts","sourceRoot":"","sources":["../../../src/shared/styles/GlobalStyles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,2FAkBxB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { css } from 'styled-components';
2
+ import { Theme } from './theme';
3
+ import { ButtonSize } from '../types';
4
+ export declare const formFieldLayoutStyles: import('styled-components').RuleSet<object>;
5
+ type CompactSizeComponent = keyof Theme['space']['components'];
6
+ export declare const compactSizePaddingStyles: (component: CompactSizeComponent) => Record<ButtonSize, ReturnType<typeof css>>;
7
+ export declare const optionPaddingStyles: import('styled-components').RuleSet<object>;
8
+ type FocusableComponent = 'button' | 'formControl' | 'iconButton' | 'iconLink' | 'link' | 'navLinks' | 'userBadge';
9
+ export declare const focusOutlineStyles: (component: FocusableComponent) => import('styled-components').RuleSet<object>;
10
+ export {};
11
+ //# sourceMappingURL=componentMetrics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"componentMetrics.d.ts","sourceRoot":"","sources":["../../../src/shared/styles/componentMetrics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,eAAO,MAAM,qBAAqB,6CAIjC,CAAC;AAEF,KAAK,oBAAoB,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,CAAC;AAE/D,eAAO,MAAM,wBAAwB,GACnC,WAAW,oBAAoB,KAC9B,MAAM,CAAC,UAAU,EAAE,UAAU,CAAC,OAAO,GAAG,CAAC,CAU1C,CAAC;AAEH,eAAO,MAAM,mBAAmB,6CAG/B,CAAC;AAEF,KAAK,kBAAkB,GACnB,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,UAAU,GACV,MAAM,GACN,UAAU,GACV,WAAW,CAAC;AAEhB,eAAO,MAAM,kBAAkB,GAAI,WAAW,kBAAkB,gDAM/D,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { GlobalStyles } from './GlobalStyles';
2
+ export type { Theme } from './theme';
3
+ export { theme } from './theme';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/styles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,254 @@
1
+ export declare const theme: {
2
+ readonly colors: {
3
+ readonly bg: "#0f172a";
4
+ readonly surface: "#1e293b";
5
+ readonly background: "#edf7f6";
6
+ readonly text: "#0f172a";
7
+ readonly muted: "#94a3b8";
8
+ readonly primary: "#38bdf8";
9
+ readonly primaryHover: "#7dd3fc";
10
+ readonly primaryText: "#0f172a";
11
+ readonly secondary: "#334155";
12
+ readonly secondaryHover: "#475569";
13
+ readonly ink: "#000000";
14
+ readonly error: "#dc2626";
15
+ readonly success: "#16a34a";
16
+ readonly warning: "#d97706";
17
+ };
18
+ readonly opacity: {
19
+ readonly disabled: 0.6;
20
+ readonly disabledButton: 0.55;
21
+ };
22
+ readonly radius: {
23
+ readonly sm: "6px";
24
+ readonly md: "10px";
25
+ readonly lg: "16px";
26
+ readonly full: "9999px";
27
+ };
28
+ readonly space: {
29
+ readonly xs: "0.25rem";
30
+ readonly sm: "0.5rem";
31
+ readonly md: "0.75rem";
32
+ readonly lg: "1rem";
33
+ readonly inset: "10px";
34
+ readonly components: {
35
+ readonly button: {
36
+ readonly sm: "0.25rem";
37
+ readonly md: "0.5rem";
38
+ readonly lg: "0.75rem";
39
+ };
40
+ readonly badge: {
41
+ readonly sm: "0.25rem";
42
+ readonly md: "0.5rem";
43
+ readonly lg: "0.75rem";
44
+ };
45
+ readonly link: {
46
+ readonly sm: "0.25rem";
47
+ readonly md: "0.5rem";
48
+ readonly lg: "0.75rem";
49
+ };
50
+ readonly iconButton: {
51
+ readonly sm: "0.25rem";
52
+ readonly md: "0.5rem";
53
+ readonly lg: "0.75rem";
54
+ };
55
+ readonly iconLink: {
56
+ readonly sm: "0.25rem";
57
+ readonly md: "0.5rem";
58
+ readonly lg: "0.75rem";
59
+ };
60
+ };
61
+ };
62
+ readonly font: {
63
+ readonly sans: "'Segoe UI', system-ui, -apple-system, sans-serif";
64
+ readonly weight: {
65
+ readonly regular: 400;
66
+ readonly semibold: 600;
67
+ readonly bold: 700;
68
+ };
69
+ };
70
+ readonly typography: {
71
+ readonly fallback: "1rem";
72
+ readonly h1: "2.5rem";
73
+ readonly h2: "2rem";
74
+ readonly h3: "1.75rem";
75
+ readonly h4: "1.5rem";
76
+ readonly h5: "1.25rem";
77
+ readonly h6: "1.125rem";
78
+ readonly small: "0.875rem";
79
+ readonly sub: "0.75rem";
80
+ readonly sup: "0.75rem";
81
+ };
82
+ readonly avatar: {
83
+ readonly border: "2px solid #000000";
84
+ readonly borderRadius: "50%";
85
+ readonly fontWeight: 600;
86
+ readonly sizes: {
87
+ readonly sm: {
88
+ readonly diameter: "32px";
89
+ readonly fontSize: "12px";
90
+ };
91
+ readonly md: {
92
+ readonly diameter: "40px";
93
+ readonly fontSize: "14px";
94
+ };
95
+ readonly lg: {
96
+ readonly diameter: "48px";
97
+ readonly fontSize: "16px";
98
+ };
99
+ };
100
+ };
101
+ readonly icon: {
102
+ readonly sizes: {
103
+ readonly sm: "1rem";
104
+ readonly md: "1.25rem";
105
+ readonly lg: "1.5rem";
106
+ };
107
+ };
108
+ readonly logo: {
109
+ readonly size: "36px";
110
+ readonly fontSize: "1rem";
111
+ readonly fontWeight: 700;
112
+ readonly whiteSpace: "nowrap";
113
+ };
114
+ readonly sidebar: {
115
+ readonly width: {
116
+ readonly compact: "64px";
117
+ readonly extended: "240px";
118
+ };
119
+ readonly height: {
120
+ readonly fallback: "100vh";
121
+ readonly dynamic: "100dvh";
122
+ };
123
+ readonly border: "2px solid #000000";
124
+ readonly borderRadius: "16px";
125
+ };
126
+ readonly camera: {
127
+ readonly border: "2px solid #000000";
128
+ readonly borderRadius: "12px";
129
+ readonly nameBorderRadius: "4px";
130
+ readonly nameMaxWidthOffset: "64px";
131
+ readonly fallbackFontSize: "clamp(2rem, 8vw, 5rem)";
132
+ readonly fallbackFontWeight: 700;
133
+ };
134
+ readonly shadow: {
135
+ readonly offsetX: "2px";
136
+ readonly offsetY: "3px";
137
+ readonly button: "2px 3px 0 0 #000000";
138
+ readonly link: "2px 3px 0 0 #000000";
139
+ readonly navLinks: "2px 3px 0 0 #000000";
140
+ readonly section: "3px 5px 0 0 #000000";
141
+ readonly modal: "3px 5px 0 0 #000000";
142
+ readonly sidebar: "3px 5px 0 0 #000000";
143
+ };
144
+ readonly button: {
145
+ readonly border: "2px solid #000000";
146
+ readonly borderRadius: "8px";
147
+ readonly focus: {
148
+ readonly width: "3px";
149
+ readonly offset: "2px";
150
+ readonly colorMix: "45%";
151
+ };
152
+ readonly padding: "16px";
153
+ readonly fontSize: "14px";
154
+ readonly textDecoration: "none";
155
+ readonly textTransform: "uppercase";
156
+ };
157
+ readonly iconButton: {
158
+ readonly border: "2px solid #000000";
159
+ readonly borderRadius: "8px";
160
+ readonly focus: {
161
+ readonly width: "3px";
162
+ readonly offset: "2px";
163
+ readonly colorMix: "45%";
164
+ };
165
+ };
166
+ readonly iconLink: {
167
+ readonly border: "2px solid #000000";
168
+ readonly borderRadius: "8px";
169
+ readonly focus: {
170
+ readonly width: "3px";
171
+ readonly offset: "2px";
172
+ readonly colorMix: "45%";
173
+ };
174
+ };
175
+ readonly badge: {
176
+ readonly border: "2px solid #000000";
177
+ readonly borderRadius: "8px";
178
+ readonly fontSize: "14px";
179
+ readonly textTransform: "uppercase";
180
+ };
181
+ readonly link: {
182
+ readonly border: "2px solid #000000";
183
+ readonly borderRadius: "8px";
184
+ readonly focus: {
185
+ readonly width: "3px";
186
+ readonly offset: "2px";
187
+ readonly colorMix: "45%";
188
+ };
189
+ readonly padding: "16px";
190
+ readonly fontSize: "14px";
191
+ readonly textDecoration: "none";
192
+ readonly textTransform: "uppercase";
193
+ };
194
+ readonly navLinks: {
195
+ readonly border: "2px solid #000000";
196
+ readonly borderRadius: "8px";
197
+ readonly focus: {
198
+ readonly width: "3px";
199
+ readonly offset: "2px";
200
+ readonly colorMix: "45%";
201
+ };
202
+ readonly padding: "0";
203
+ readonly fontSize: "14px";
204
+ readonly textDecoration: "none";
205
+ readonly textTransform: "uppercase";
206
+ readonly itemPadding: "16px";
207
+ };
208
+ readonly formControl: {
209
+ readonly border: "2px solid #000000";
210
+ readonly borderRadius: "8px";
211
+ readonly padding: "16px";
212
+ readonly height: "3.5rem";
213
+ readonly textareaHeight: "3rem";
214
+ readonly dropdownBorder: "2px solid #000000";
215
+ readonly optionListMaxHeight: "16rem";
216
+ readonly focus: {
217
+ readonly width: "3px";
218
+ readonly offset: "2px";
219
+ readonly colorMix: "45%";
220
+ };
221
+ readonly trailingActionPadding: "3.25rem";
222
+ readonly fontSize: "14px";
223
+ readonly optionTextTransform: "none";
224
+ };
225
+ readonly userBadge: {
226
+ readonly focus: {
227
+ readonly width: "3px";
228
+ readonly offset: "2px";
229
+ readonly colorMix: "45%";
230
+ };
231
+ readonly textDecoration: "none";
232
+ };
233
+ readonly section: {
234
+ readonly border: "2px solid #000000";
235
+ readonly borderRadius: "16px";
236
+ readonly padding: "30px";
237
+ };
238
+ readonly modal: {
239
+ readonly padding: "30px";
240
+ readonly maxWidth: "720px";
241
+ readonly maxHeight: "80vh";
242
+ readonly border: "2px solid #000000";
243
+ readonly borderRadius: "16px";
244
+ readonly title: {
245
+ readonly fontSize: "1.25rem";
246
+ readonly fontWeight: 600;
247
+ };
248
+ readonly body: {
249
+ readonly fontSize: "1rem";
250
+ };
251
+ };
252
+ };
253
+ export type Theme = typeof theme;
254
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/shared/styles/theme.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmMR,CAAC;AAEX,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type ButtonVariant = 'primary' | 'secondary';
2
+ export type ButtonSize = 'sm' | 'md' | 'lg';
3
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/shared/types/button.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,CAAC;AACpD,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type { ButtonSize, ButtonVariant } from './button';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type ALinkSize = 'sm' | 'md' | 'lg';
2
+ export type ALinkVariant = 'primary' | 'secondary';
3
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/shared/types/link.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC3C,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function darken12(color: string, darkenColor: string): string;
2
+ //# sourceMappingURL=color.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/color.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,UAE1D"}
@@ -0,0 +1,3 @@
1
+ export { darken12 } from './color';
2
+ export { tokens } from './tokens';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Theme } from '../styles/theme';
2
+ export declare function tokens(theme: Theme | undefined): Theme;
3
+ //# sourceMappingURL=tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAGnD,wBAAgB,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,GAAG,KAAK,CAEtD"}
package/package.json CHANGED
@@ -1,6 +1,118 @@
1
1
  {
2
2
  "name": "jynko-kit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "React UI component library for Jynko apps",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js",
15
+ "require": "./dist/index.cjs"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "engines": {
22
+ "node": ">=20.19.0"
23
+ },
24
+ "scripts": {
25
+ "build": "vite build",
26
+ "typecheck": "tsc --noEmit -p tsconfig.json",
27
+ "lint": "eslint .",
28
+ "lint:fix": "eslint . --fix",
29
+ "format": "prettier --write .",
30
+ "format:check": "prettier --check .",
31
+ "test": "vitest run",
32
+ "test:watch": "vitest",
33
+ "storybook": "storybook dev -p 6006",
34
+ "build-storybook": "storybook build",
35
+ "prepare": "lefthook install"
36
+ },
37
+ "release": {
38
+ "branches": [
39
+ "main"
40
+ ],
41
+ "tagFormat": "v${version}",
42
+ "plugins": [
43
+ "@semantic-release/commit-analyzer",
44
+ "@semantic-release/release-notes-generator",
45
+ "@semantic-release/npm",
46
+ [
47
+ "@semantic-release/git",
48
+ {
49
+ "assets": [
50
+ "package.json",
51
+ "package-lock.json"
52
+ ],
53
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
54
+ }
55
+ ],
56
+ "@semantic-release/gitlab"
57
+ ]
58
+ },
59
+ "peerDependencies": {
60
+ "react": "^19.3.1",
61
+ "react-dom": "^19.3.1",
62
+ "react-router-dom": "^7.18.5",
63
+ "styled-components": "^6.6.0"
64
+ },
65
+ "devDependencies": {
66
+ "@eslint/js": "^9.39.5",
67
+ "@storybook/addon-a11y": "^10.6.6",
68
+ "@storybook/addon-docs": "^10.6.6",
69
+ "@storybook/react-vite": "^10.6.6",
70
+ "@testing-library/jest-dom": "^7.0.1",
71
+ "@testing-library/react": "^16.3.3",
72
+ "@testing-library/user-event": "^14.6.8",
73
+ "@types/jsdom": "^30.0.0",
74
+ "@types/node": "^26.6.6",
75
+ "@types/react": "^19.3.0",
76
+ "@types/react-dom": "^19.3.0",
77
+ "@vitejs/plugin-react": "^6.2.1",
78
+ "eslint": "^9.39.5",
79
+ "eslint-config-prettier": "^10.1.8",
80
+ "eslint-import-resolver-typescript": "^4.4.5",
81
+ "eslint-plugin-import-x": "^4.18.0",
82
+ "eslint-plugin-jsx-a11y": "^6.10.2",
83
+ "eslint-plugin-react": "^7.37.5",
84
+ "eslint-plugin-react-hooks": "^7.1.1",
85
+ "eslint-plugin-simple-import-sort": "^14.0.0",
86
+ "eslint-plugin-storybook": "^10.6.6",
87
+ "globals": "^17.14.0",
88
+ "jsdom": "^29.1.1",
89
+ "lefthook": "^2.2.2",
90
+ "lint-staged": "^17.6.0",
91
+ "prettier": "^3.9.10",
92
+ "react": "^19.3.1",
93
+ "react-dom": "^19.3.1",
94
+ "storybook": "^10.6.6",
95
+ "styled-components": "^6.6.0",
96
+ "typescript": "~5.9.3",
97
+ "typescript-eslint": "^8.72.1",
98
+ "vite": "^8.3.6",
99
+ "vite-plugin-dts": "^5.1.2",
100
+ "vitest": "^5.1.0"
101
+ },
102
+ "overrides": {
103
+ "glob": "^14.0.4",
104
+ "minimatch": "^11.0.5"
105
+ },
106
+ "lint-staged": {
107
+ "*.{js,jsx,ts,tsx}": [
108
+ "eslint --fix",
109
+ "prettier --write"
110
+ ],
111
+ "*.{json,css,scss,md,yml,yaml}": [
112
+ "prettier --write"
113
+ ]
114
+ },
115
+ "publishConfig": {
116
+ "access": "public"
117
+ }
118
+ }