@docsplain-kit/core 0.0.46 → 0.0.48

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 (104) hide show
  1. package/accordion/accordion-content/accordion-content.js +17 -1
  2. package/accordion/accordion-content/accordion-content.js.map +1 -1
  3. package/accordion/accordion-header/accordion-header.js +16 -1
  4. package/accordion/accordion-header/accordion-header.js.map +1 -1
  5. package/accordion/accordion-item/accordion-item.js +20 -3
  6. package/accordion/accordion-item/accordion-item.js.map +1 -1
  7. package/accordion/accordion-item/accordion-item.style.d.ts +0 -33
  8. package/accordion/accordion-item/accordion-item.style.js +1 -34
  9. package/accordion/accordion-item/accordion-item.style.js.map +1 -1
  10. package/accordion/accordion-item/accordion-item.theme.d.ts +158 -0
  11. package/accordion/accordion-item/accordion-item.theme.js +171 -0
  12. package/accordion/accordion-item/accordion-item.theme.js.map +1 -0
  13. package/alert/alert-theme.d.ts +22 -0
  14. package/alert/alert-theme.js +60 -0
  15. package/alert/alert-theme.js.map +1 -0
  16. package/alert/alert.js +11 -2
  17. package/alert/alert.js.map +1 -1
  18. package/avatar/avatar-theme.d.ts +14 -0
  19. package/avatar/avatar-theme.js +81 -0
  20. package/avatar/avatar-theme.js.map +1 -0
  21. package/avatar/avatar.js +11 -1
  22. package/avatar/avatar.js.map +1 -1
  23. package/avatar/avatar.props.d.ts +1 -1
  24. package/avatar/index.d.ts +1 -1
  25. package/badge/badge-theme.d.ts +16 -0
  26. package/badge/badge-theme.js +82 -0
  27. package/badge/badge-theme.js.map +1 -0
  28. package/badge/badge.js +11 -1
  29. package/badge/badge.js.map +1 -1
  30. package/button/button.js +34 -1
  31. package/button/button.js.map +1 -1
  32. package/button/button.style.d.ts +1 -146
  33. package/button/button.style.js +1 -156
  34. package/button/button.style.js.map +1 -1
  35. package/button/button.theme.d.ts +314 -0
  36. package/button/button.theme.js +344 -0
  37. package/button/button.theme.js.map +1 -0
  38. package/checkbox/checkbox-theme.d.ts +16 -0
  39. package/checkbox/checkbox-theme.js +82 -0
  40. package/checkbox/checkbox-theme.js.map +1 -0
  41. package/checkbox/checkbox.js +13 -3
  42. package/checkbox/checkbox.js.map +1 -1
  43. package/chip/chip-theme.d.ts +370 -0
  44. package/chip/chip-theme.js +391 -0
  45. package/chip/chip-theme.js.map +1 -0
  46. package/chip/chip.js +19 -1
  47. package/chip/chip.js.map +1 -1
  48. package/index.d.ts +10 -8
  49. package/index.js +24 -15
  50. package/index.js.map +1 -1
  51. package/package.json +28 -28
  52. package/provider/docsplain-provider.d.ts +24 -0
  53. package/provider/docsplain-provider.js +47 -0
  54. package/provider/docsplain-provider.js.map +1 -0
  55. package/provider/docsplain-provider.types.d.ts +16 -0
  56. package/provider/docsplain-provider.types.js +3 -0
  57. package/provider/docsplain-provider.types.js.map +1 -0
  58. package/provider/hooks/index.d.ts +6 -0
  59. package/provider/hooks/index.js +25 -0
  60. package/provider/hooks/index.js.map +1 -0
  61. package/provider/hooks/use-font-size.d.ts +19 -0
  62. package/provider/hooks/use-font-size.js +102 -0
  63. package/provider/hooks/use-font-size.js.map +1 -0
  64. package/provider/hooks/use-responsive-font-size.d.ts +10 -0
  65. package/provider/hooks/use-responsive-font-size.js +24 -0
  66. package/provider/hooks/use-responsive-font-size.js.map +1 -0
  67. package/provider/hooks/use-text-direction.d.ts +12 -0
  68. package/provider/hooks/use-text-direction.js +20 -0
  69. package/provider/hooks/use-text-direction.js.map +1 -0
  70. package/provider/hooks/use-text-scale.d.ts +12 -0
  71. package/provider/hooks/use-text-scale.js +20 -0
  72. package/provider/hooks/use-text-scale.js.map +1 -0
  73. package/provider/hooks/use-theme.d.ts +12 -0
  74. package/provider/hooks/use-theme.js +20 -0
  75. package/provider/hooks/use-theme.js.map +1 -0
  76. package/provider/index.d.ts +3 -0
  77. package/provider/index.js +24 -0
  78. package/provider/index.js.map +1 -0
  79. package/radio-button/radio-button-theme.d.ts +25 -0
  80. package/radio-button/radio-button-theme.js +48 -0
  81. package/radio-button/radio-button-theme.js.map +1 -0
  82. package/radio-button/radio-button.js +12 -2
  83. package/radio-button/radio-button.js.map +1 -1
  84. package/spinner/spinner-theme.d.ts +14 -0
  85. package/spinner/spinner-theme.js +80 -0
  86. package/spinner/spinner-theme.js.map +1 -0
  87. package/spinner/spinner.js +11 -1
  88. package/spinner/spinner.js.map +1 -1
  89. package/switch-box/switch-box-theme.d.ts +14 -0
  90. package/switch-box/switch-box-theme.js +80 -0
  91. package/switch-box/switch-box-theme.js.map +1 -0
  92. package/switch-box/switch-box.js +32 -2
  93. package/switch-box/switch-box.js.map +1 -1
  94. package/text/text.js +39 -1
  95. package/text/text.js.map +1 -1
  96. package/text/text.theme.d.ts +23 -0
  97. package/text/text.theme.js +114 -0
  98. package/text/text.theme.js.map +1 -0
  99. package/theme/index.d.ts +6 -0
  100. package/theme/index.js +33 -0
  101. package/theme/index.js.map +1 -0
  102. package/theme/theme-utils.d.ts +87 -0
  103. package/theme/theme-utils.js +147 -0
  104. package/theme/theme-utils.js.map +1 -0
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;AAAA,4EAA8C;AA2C5C,oBA3CK,sBAAS,CA2CL;AA1CX,8GAA+E;AA2C7E,2BA3CK,8BAAgB,CA2CL;AA1ClB,2GAA4E;AA2C1E,0BA3CK,6BAAe,CA2CL;AA1CjB,qGAAsE;AA2CpE,wBA3CK,2BAAa,CA2CL;AA1Cf,gEAAkC;AA2ChC,gBA3CK,kBAAK,CA2CL;AA1CP,0EAA2C;AA2CzC,uBA3CK,0BAAY,CA2CL;AA1Cd,gEAAkC;AA2ChC,gBA3CK,kBAAK,CA2CL;AA1CP,mEAAqC;AA2CnC,iBA3CK,mBAAM,CA2CL;AA1CR,6DAA+B;AA2C7B,eA3CK,iBAAI,CA2CL;AA1CN,uEAAwC;AA2CtC,mBA3CK,sBAAQ,CA2CL;AA1CV,2EAA4C;AA2C1C,qBA3CK,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
6
  "types": "./index.d.ts",
@@ -18,40 +18,40 @@
18
18
  "tailwind"
19
19
  ],
20
20
  "dependencies": {
21
- "@babel/polyfill": "^7.12.1",
22
- "autoprefixer": "^10.4.13",
21
+ "@babel/polyfill": "7.12.1",
22
+ "autoprefixer": "10.4.21",
23
23
  "motion": "11.17.0",
24
- "postcss": "^8.4.35",
25
- "react-transition-group": "^4.4.5",
26
- "tailwindcss": "^4.1.12",
27
- "tailwind-merge": "^3.3.1"
24
+ "postcss": "8.5.6",
25
+ "react-transition-group": "4.4.5",
26
+ "tailwindcss": "4.1.13",
27
+ "tailwind-merge": "3.3.1"
28
28
  },
29
29
  "peerDependencies": {
30
- "react": "^18.0.0",
31
- "react-dom": "^18.0.0"
30
+ "react": "18.3.1",
31
+ "react-dom": "18.3.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@babel/cli": "^7.20.7",
35
- "@babel/core": "^7.20.7",
36
- "@babel/preset-env": "^7.20.2",
37
- "@babel/preset-react": "^7.18.6",
38
- "@types/jest": "^27.5.2",
39
- "@types/node": "^16.18.10",
40
- "@types/react": "^18.2.0",
41
- "@types/react-dom": "^18.2.0",
42
- "@types/react-transition-group": "^4.4.5",
43
- "babel-plugin-named-exports-order": "^0.0.2",
34
+ "@babel/cli": "7.28.3",
35
+ "@babel/core": "7.28.4",
36
+ "@babel/preset-env": "7.28.3",
37
+ "@babel/preset-react": "7.27.1",
38
+ "@types/jest": "27.5.2",
39
+ "@types/node": "16.18.126",
40
+ "@types/react": "18.3.24",
41
+ "@types/react-dom": "18.3.7",
42
+ "@types/react-transition-group": "4.4.12",
43
+ "babel-plugin-named-exports-order": "0.0.2",
44
44
  "jest": "28.1.1",
45
- "lucide-react": "^0.508.0",
46
- "prop-types": "^15.8.1",
47
- "react": "^18.2.0",
48
- "react-dom": "^18.2.0",
45
+ "lucide-react": "0.508.0",
46
+ "prop-types": "15.8.1",
47
+ "react": "18.3.1",
48
+ "react-dom": "18.3.1",
49
49
  "react-scripts": "5.0.1",
50
- "typescript": "^4.9.4",
51
- "@typescript-eslint/eslint-plugin": "^8.40.0",
52
- "@typescript-eslint/parser": "^8.40.0",
53
- "eslint": "^8",
54
- "eslint-config-next": "^15.4.7"
50
+ "typescript": "4.9.5",
51
+ "@typescript-eslint/eslint-plugin": "8.45.0",
52
+ "@typescript-eslint/parser": "8.45.0",
53
+ "eslint": "8.57.1",
54
+ "eslint-config-next": "15.5.4"
55
55
  },
56
56
  "scripts": {
57
57
  "start": "react-scripts start",
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { DocsplainConfig, DocsplainProviderProps } from './docsplain-provider.types';
3
+ export declare const useDocsplain: () => DocsplainConfig;
4
+ /**
5
+ * DocsplainProvider - Root provider component for the Docsplain UI Kit
6
+ *
7
+ * This component wraps your application and provides configuration context
8
+ * to all child components, including theme, text direction, and text scale.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * import { DocsplainProvider } from '@docsplain-kit/core';
13
+ *
14
+ * function App() {
15
+ * return (
16
+ * <DocsplainProvider theme="light" dir="ltr" textScale="desktop">
17
+ * <YourApp />
18
+ * </DocsplainProvider>
19
+ * );
20
+ * }
21
+ * ```
22
+ */
23
+ export declare const DocsplainProvider: React.FC<DocsplainProviderProps>;
24
+ export default DocsplainProvider;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ 'use client';
3
+ exports.__esModule = true;
4
+ exports.DocsplainProvider = exports.useDocsplain = void 0;
5
+ var tslib_1 = require("tslib");
6
+ var react_1 = tslib_1.__importStar(require("react"));
7
+ var DocsplainContext = (0, react_1.createContext)(undefined);
8
+ var useDocsplain = function () {
9
+ var context = (0, react_1.useContext)(DocsplainContext);
10
+ if (!context) {
11
+ throw new Error('useDocsplain must be used within DocsplainProvider');
12
+ }
13
+ return context;
14
+ };
15
+ exports.useDocsplain = useDocsplain;
16
+ /**
17
+ * DocsplainProvider - Root provider component for the Docsplain UI Kit
18
+ *
19
+ * This component wraps your application and provides configuration context
20
+ * to all child components, including theme, text direction, and text scale.
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * import { DocsplainProvider } from '@docsplain-kit/core';
25
+ *
26
+ * function App() {
27
+ * return (
28
+ * <DocsplainProvider theme="light" dir="ltr" textScale="desktop">
29
+ * <YourApp />
30
+ * </DocsplainProvider>
31
+ * );
32
+ * }
33
+ * ```
34
+ */
35
+ var DocsplainProvider = function (_a) {
36
+ var _b = _a.theme, theme = _b === void 0 ? 'light' : _b, _c = _a.dir, dir = _c === void 0 ? 'ltr' : _c, _d = _a.textScale, textScale = _d === void 0 ? 'MEDIUM' : _d, children = _a.children, _e = _a.className, className = _e === void 0 ? '' : _e, style = _a.style;
37
+ var config = (0, react_1.useMemo)(function () { return ({
38
+ theme: theme,
39
+ dir: dir,
40
+ textScale: textScale
41
+ }); }, [theme, dir, textScale]);
42
+ return (react_1["default"].createElement(DocsplainContext.Provider, { value: config },
43
+ react_1["default"].createElement("div", { dir: dir, className: "docsplain-root ".concat(className), "data-theme": theme, "data-text-scale": textScale, style: style }, children)));
44
+ };
45
+ exports.DocsplainProvider = DocsplainProvider;
46
+ exports["default"] = exports.DocsplainProvider;
47
+ //# sourceMappingURL=docsplain-provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docsplain-provider.js","sourceRoot":"","sources":["../../provider/docsplain-provider.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;;AAEb,qDAAkE;AAMlE,IAAM,gBAAgB,GAAG,IAAA,qBAAa,EAA8B,SAAS,CAAC,CAAC;AAExE,IAAM,YAAY,GAAG;IAC1B,IAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,gBAAgB,CAAC,CAAC;IAC7C,IAAI,CAAC,OAAO,EAAE;QACZ,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAC;KACvE;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AANW,QAAA,YAAY,gBAMvB;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACI,IAAM,iBAAiB,GAAqC,UAAC,EAOnE;QANC,aAAe,EAAf,KAAK,mBAAG,OAAO,KAAA,EACf,WAAW,EAAX,GAAG,mBAAG,KAAK,KAAA,EACX,iBAAoB,EAApB,SAAS,mBAAG,QAAQ,KAAA,EACpB,QAAQ,cAAA,EACR,iBAAc,EAAd,SAAS,mBAAG,EAAE,KAAA,EACd,KAAK,WAAA;IAEL,IAAM,MAAM,GAAG,IAAA,eAAO,EACpB,cAAM,OAAA,CAAC;QACL,KAAK,OAAA;QACL,GAAG,KAAA;QACH,SAAS,WAAA;KACV,CAAC,EAJI,CAIJ,EACF,CAAC,KAAK,EAAE,GAAG,EAAE,SAAS,CAAC,CACxB,CAAC;IAEF,OAAO,CACL,iCAAC,gBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,MAAM;QACtC,0CACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,yBAAkB,SAAS,CAAE,gBAC5B,KAAK,qBACA,SAAS,EAC1B,KAAK,EAAE,KAAK,IAEX,QAAQ,CACL,CACoB,CAC7B,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,iBAAiB,qBA8B5B;AAEF,qBAAe,yBAAiB,CAAC"}
@@ -0,0 +1,16 @@
1
+ export type Theme = 'light' | 'dark';
2
+ export type TextDirection = 'ltr' | 'rtl';
3
+ export type TextScale = 'SMALL' | 'MEDIUM' | 'LARGE';
4
+ export interface DocsplainConfig {
5
+ theme: Theme;
6
+ dir: TextDirection;
7
+ textScale: TextScale;
8
+ }
9
+ export interface DocsplainProviderProps {
10
+ theme?: Theme;
11
+ dir?: TextDirection;
12
+ textScale?: TextScale;
13
+ children: React.ReactNode;
14
+ className?: string;
15
+ style?: React.CSSProperties;
16
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=docsplain-provider.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docsplain-provider.types.js","sourceRoot":"","sources":["../../provider/docsplain-provider.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export { useResponsiveFontSize } from './use-responsive-font-size';
2
+ export { useTheme } from './use-theme';
3
+ export { useTextDirection } from './use-text-direction';
4
+ export { useTextScale } from './use-text-scale';
5
+ export { useFontSize } from './use-font-size';
6
+ export type { Typography } from './use-font-size';
@@ -0,0 +1,25 @@
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
+ exports.__esModule = true;
14
+ exports.useFontSize = exports.useTextScale = exports.useTextDirection = exports.useTheme = exports.useResponsiveFontSize = void 0;
15
+ var use_responsive_font_size_1 = require("./use-responsive-font-size");
16
+ __createBinding(exports, use_responsive_font_size_1, "useResponsiveFontSize");
17
+ var use_theme_1 = require("./use-theme");
18
+ __createBinding(exports, use_theme_1, "useTheme");
19
+ var use_text_direction_1 = require("./use-text-direction");
20
+ __createBinding(exports, use_text_direction_1, "useTextDirection");
21
+ var use_text_scale_1 = require("./use-text-scale");
22
+ __createBinding(exports, use_text_scale_1, "useTextScale");
23
+ var use_font_size_1 = require("./use-font-size");
24
+ __createBinding(exports, use_font_size_1, "useFontSize");
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../provider/hooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,uEAAmE;AAA1D,8EAAqB;AAC9B,yCAAuC;AAA9B,kDAAQ;AACjB,2DAAwD;AAA/C,mEAAgB;AACzB,mDAAgD;AAAvC,2DAAY;AACrB,iDAA8C;AAArC,yDAAW"}
@@ -0,0 +1,19 @@
1
+ import type { TextScale } from '../docsplain-provider.types';
2
+ export type Typography = 'xxs' | 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | '3xl' | '4xl' | '5xl' | 'inherit';
3
+ /**
4
+ * Hook to get scaled typography based on current text scale from provider
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * const { getScaledTypography, textScale } = useFontSize();
9
+ *
10
+ * // Get scaled version of 'base' typography
11
+ * const typography = getScaledTypography('base');
12
+ * // Returns: 'sm' on SMALL, 'base' on MEDIUM, 'lg' on LARGE
13
+ * ```
14
+ */
15
+ export declare const useFontSize: () => {
16
+ textScale: TextScale;
17
+ getScaledTypography: (baseTypography: Typography) => Typography;
18
+ };
19
+ export default useFontSize;
@@ -0,0 +1,102 @@
1
+ "use strict";
2
+ 'use client';
3
+ exports.__esModule = true;
4
+ exports.useFontSize = void 0;
5
+ var use_text_scale_1 = require("./use-text-scale");
6
+ /**
7
+ * Typography scaling map
8
+ * Maps base typography to scaled versions based on textScale setting
9
+ */
10
+ var TYPOGRAPHY_SCALE_MAP = {
11
+ 'xxs': {
12
+ SMALL: 'xxs',
13
+ MEDIUM: 'xxs',
14
+ LARGE: 'xs'
15
+ },
16
+ 'xs': {
17
+ SMALL: 'xxs',
18
+ MEDIUM: 'xs',
19
+ LARGE: 'sm'
20
+ },
21
+ 'sm': {
22
+ SMALL: 'xs',
23
+ MEDIUM: 'sm',
24
+ LARGE: 'base'
25
+ },
26
+ 'base': {
27
+ SMALL: 'sm',
28
+ MEDIUM: 'base',
29
+ LARGE: 'lg'
30
+ },
31
+ 'lg': {
32
+ SMALL: 'base',
33
+ MEDIUM: 'lg',
34
+ LARGE: 'xl'
35
+ },
36
+ 'xl': {
37
+ SMALL: 'lg',
38
+ MEDIUM: 'xl',
39
+ LARGE: 'xxl'
40
+ },
41
+ 'xxl': {
42
+ SMALL: 'xl',
43
+ MEDIUM: 'xxl',
44
+ LARGE: '3xl'
45
+ },
46
+ '3xl': {
47
+ SMALL: 'xxl',
48
+ MEDIUM: '3xl',
49
+ LARGE: '4xl'
50
+ },
51
+ '4xl': {
52
+ SMALL: '3xl',
53
+ MEDIUM: '4xl',
54
+ LARGE: '5xl'
55
+ },
56
+ '5xl': {
57
+ SMALL: '4xl',
58
+ MEDIUM: '5xl',
59
+ LARGE: '5xl'
60
+ },
61
+ 'inherit': {
62
+ SMALL: 'inherit',
63
+ MEDIUM: 'inherit',
64
+ LARGE: 'inherit'
65
+ }
66
+ };
67
+ /**
68
+ * Hook to get scaled typography based on current text scale from provider
69
+ *
70
+ * @example
71
+ * ```tsx
72
+ * const { getScaledTypography, textScale } = useFontSize();
73
+ *
74
+ * // Get scaled version of 'base' typography
75
+ * const typography = getScaledTypography('base');
76
+ * // Returns: 'sm' on SMALL, 'base' on MEDIUM, 'lg' on LARGE
77
+ * ```
78
+ */
79
+ var useFontSize = function () {
80
+ // Get text scale from DocsplainProvider (SMALL, MEDIUM, or LARGE)
81
+ var textScale = (0, use_text_scale_1.useTextScale)();
82
+ /**
83
+ * Get scaled typography based on current text scale
84
+ *
85
+ * @param baseTypography - The base typography size
86
+ * @returns The scaled typography based on current textScale
87
+ */
88
+ var getScaledTypography = function (baseTypography) {
89
+ var scaledMap = TYPOGRAPHY_SCALE_MAP[baseTypography];
90
+ if (!scaledMap) {
91
+ return baseTypography;
92
+ }
93
+ return scaledMap[textScale] || baseTypography;
94
+ };
95
+ return {
96
+ textScale: textScale,
97
+ getScaledTypography: getScaledTypography
98
+ };
99
+ };
100
+ exports.useFontSize = useFontSize;
101
+ exports["default"] = exports.useFontSize;
102
+ //# sourceMappingURL=use-font-size.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-font-size.js","sourceRoot":"","sources":["../../../provider/hooks/use-font-size.tsx"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;AAEb,mDAAgD;AAKhD;;;GAGG;AACH,IAAM,oBAAoB,GAAsD;IAC9E,KAAK,EAAE;QACL,KAAK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AAI,CAAC,SAAS,EAAE;YACd,OAAO,cAAc,CAAC;SACvB;QACD,OAAO,SAAS,CAAC,SAAS,CAAC,IAAI,cAAc,CAAC;IAChD,CAAC,CAAC;IAEF,OAAO;QACL,SAAS,WAAA;QACT,mBAAmB,qBAAA;KACpB,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,WAAW,eAsBtB;AAEF,qBAAe,mBAAW,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Hook to get responsive font size based on current text scale
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * const fontSize = useResponsiveFontSize('text-xs', 'text-sm', 'text-base');
7
+ * ```
8
+ */
9
+ export declare const useResponsiveFontSize: (small: string, medium: string, large: string) => string;
10
+ export default useResponsiveFontSize;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.useResponsiveFontSize = void 0;
4
+ var docsplain_provider_1 = require("../docsplain-provider");
5
+ /**
6
+ * Hook to get responsive font size based on current text scale
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * const fontSize = useResponsiveFontSize('text-xs', 'text-sm', 'text-base');
11
+ * ```
12
+ */
13
+ var useResponsiveFontSize = function (small, medium, large) {
14
+ var textScale = (0, docsplain_provider_1.useDocsplain)().textScale;
15
+ var sizeMap = {
16
+ SMALL: small,
17
+ MEDIUM: medium,
18
+ LARGE: large
19
+ };
20
+ return sizeMap[textScale];
21
+ };
22
+ exports.useResponsiveFontSize = useResponsiveFontSize;
23
+ exports["default"] = exports.useResponsiveFontSize;
24
+ //# sourceMappingURL=use-responsive-font-size.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-responsive-font-size.js","sourceRoot":"","sources":["../../../provider/hooks/use-responsive-font-size.ts"],"names":[],"mappings":";;;AAAA,4DAAqD;AAErD;;;;;;;GAOG;AACI,IAAM,qBAAqB,GAAG,UACnC,KAAa,EACb,MAAc,EACd,KAAa;IAEL,IAAA,SAAS,GAAK,IAAA,iCAAY,GAAE,UAAnB,CAAoB;IAErC,IAAM,OAAO,GAAG;QACd,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,KAAK;KACb,CAAC;IAEF,OAAO,OAAO,CAAC,SAAS,CAAC,CAAC;AAC5B,CAAC,CAAC;AAdW,QAAA,qBAAqB,yBAchC;AAEF,qBAAe,6BAAqB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { TextDirection } from '../docsplain-provider.types';
2
+ /**
3
+ * Hook to get current text direction
4
+ *
5
+ * @example
6
+ * ```tsx
7
+ * const dir = useTextDirection();
8
+ * const isRTL = dir === 'rtl';
9
+ * ```
10
+ */
11
+ export declare const useTextDirection: () => TextDirection;
12
+ export default useTextDirection;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.useTextDirection = void 0;
4
+ var docsplain_provider_1 = require("../docsplain-provider");
5
+ /**
6
+ * Hook to get current text direction
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * const dir = useTextDirection();
11
+ * const isRTL = dir === 'rtl';
12
+ * ```
13
+ */
14
+ var useTextDirection = function () {
15
+ var dir = (0, docsplain_provider_1.useDocsplain)().dir;
16
+ return dir;
17
+ };
18
+ exports.useTextDirection = useTextDirection;
19
+ exports["default"] = exports.useTextDirection;
20
+ //# sourceMappingURL=use-text-direction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-text-direction.js","sourceRoot":"","sources":["../../../provider/hooks/use-text-direction.ts"],"names":[],"mappings":";;;AAAA,4DAAqD;AAGrD;;;;;;;;GAQG;AACI,IAAM,gBAAgB,GAAG;IACtB,IAAA,GAAG,GAAK,IAAA,iCAAY,GAAE,IAAnB,CAAoB;IAC/B,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAHW,QAAA,gBAAgB,oBAG3B;AAEF,qBAAe,wBAAgB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { TextScale } from '../docsplain-provider.types';
2
+ /**
3
+ * Hook to get current text scale
4
+ *
5
+ * @example
6
+ * ```tsx
7
+ * const scale = useTextScale();
8
+ * const isMobile = scale === 'mobile';
9
+ * ```
10
+ */
11
+ export declare const useTextScale: () => TextScale;
12
+ export default useTextScale;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.useTextScale = void 0;
4
+ var docsplain_provider_1 = require("../docsplain-provider");
5
+ /**
6
+ * Hook to get current text scale
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * const scale = useTextScale();
11
+ * const isMobile = scale === 'mobile';
12
+ * ```
13
+ */
14
+ var useTextScale = function () {
15
+ var textScale = (0, docsplain_provider_1.useDocsplain)().textScale;
16
+ return textScale;
17
+ };
18
+ exports.useTextScale = useTextScale;
19
+ exports["default"] = exports.useTextScale;
20
+ //# sourceMappingURL=use-text-scale.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-text-scale.js","sourceRoot":"","sources":["../../../provider/hooks/use-text-scale.ts"],"names":[],"mappings":";;;AAAA,4DAAqD;AAGrD;;;;;;;;GAQG;AACI,IAAM,YAAY,GAAG;IAClB,IAAA,SAAS,GAAK,IAAA,iCAAY,GAAE,UAAnB,CAAoB;IACrC,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAHW,QAAA,YAAY,gBAGvB;AAEF,qBAAe,oBAAY,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Theme } from '../docsplain-provider.types';
2
+ /**
3
+ * Hook to get current theme
4
+ *
5
+ * @example
6
+ * ```tsx
7
+ * const theme = useTheme();
8
+ * const isDark = theme === 'dark';
9
+ * ```
10
+ */
11
+ export declare const useTheme: () => Theme;
12
+ export default useTheme;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.useTheme = void 0;
4
+ var docsplain_provider_1 = require("../docsplain-provider");
5
+ /**
6
+ * Hook to get current theme
7
+ *
8
+ * @example
9
+ * ```tsx
10
+ * const theme = useTheme();
11
+ * const isDark = theme === 'dark';
12
+ * ```
13
+ */
14
+ var useTheme = function () {
15
+ var theme = (0, docsplain_provider_1.useDocsplain)().theme;
16
+ return theme;
17
+ };
18
+ exports.useTheme = useTheme;
19
+ exports["default"] = exports.useTheme;
20
+ //# sourceMappingURL=use-theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-theme.js","sourceRoot":"","sources":["../../../provider/hooks/use-theme.ts"],"names":[],"mappings":";;;AAAA,4DAAqD;AAGrD;;;;;;;;GAQG;AACI,IAAM,QAAQ,GAAG;IACd,IAAA,KAAK,GAAK,IAAA,iCAAY,GAAE,MAAnB,CAAoB;IACjC,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAHW,QAAA,QAAQ,YAGnB;AAEF,qBAAe,gBAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { DocsplainProvider, useDocsplain } from './docsplain-provider';
2
+ export type { DocsplainConfig, DocsplainProviderProps, Theme, TextDirection, TextScale, } from './docsplain-provider.types';
3
+ export { useResponsiveFontSize, useTheme, useTextDirection, useTextScale, useFontSize, } from './hooks';
@@ -0,0 +1,24 @@
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
+ exports.__esModule = true;
14
+ exports.useFontSize = exports.useTextScale = exports.useTextDirection = exports.useTheme = exports.useResponsiveFontSize = exports.useDocsplain = exports.DocsplainProvider = void 0;
15
+ var docsplain_provider_1 = require("./docsplain-provider");
16
+ __createBinding(exports, docsplain_provider_1, "DocsplainProvider");
17
+ __createBinding(exports, docsplain_provider_1, "useDocsplain");
18
+ var hooks_1 = require("./hooks");
19
+ __createBinding(exports, hooks_1, "useResponsiveFontSize");
20
+ __createBinding(exports, hooks_1, "useTheme");
21
+ __createBinding(exports, hooks_1, "useTextDirection");
22
+ __createBinding(exports, hooks_1, "useTextScale");
23
+ __createBinding(exports, hooks_1, "useFontSize");
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../provider/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2DAAuE;AAA9D,oEAAiB;AAAE,+DAAY;AAQxC,iCAMiB;AALf,2DAAqB;AACrB,8CAAQ;AACR,sDAAgB;AAChB,kDAAY;AACZ,iDAAW"}
@@ -0,0 +1,25 @@
1
+ import { Theme } from '../provider';
2
+ /**
3
+ * Light Theme Radio Button Border Colors
4
+ */
5
+ export declare const COLORS_LIGHT: Record<string, string>;
6
+ /**
7
+ * Dark Theme Radio Button Border Colors
8
+ */
9
+ export declare const COLORS_DARK: Record<string, string>;
10
+ /**
11
+ * Light Theme Radio Button Fill Colors (the inner circle)
12
+ */
13
+ export declare const HOVER_COLORS_LIGHT: Record<string, string>;
14
+ /**
15
+ * Dark Theme Radio Button Fill Colors (the inner circle)
16
+ */
17
+ export declare const HOVER_COLORS_DARK: Record<string, string>;
18
+ /**
19
+ * Helper function to get radio button border colors based on theme
20
+ */
21
+ export declare const getRadioColors: (theme: Theme, color: string) => string;
22
+ /**
23
+ * Helper function to get radio button fill colors based on theme
24
+ */
25
+ export declare const getRadioHoverColors: (theme: Theme, color: string) => string;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.getRadioHoverColors = exports.getRadioColors = exports.HOVER_COLORS_DARK = exports.HOVER_COLORS_LIGHT = exports.COLORS_DARK = exports.COLORS_LIGHT = void 0;
4
+ /**
5
+ * Light Theme Radio Button Border Colors
6
+ */
7
+ exports.COLORS_LIGHT = {
8
+ primary: 'checked:border-primary checked:hover:border-primary-700 hover:border-control-700',
9
+ secondary: 'checked:border-secondary checked:hover:border-secondary-700 hover:border-control-700'
10
+ };
11
+ /**
12
+ * Dark Theme Radio Button Border Colors
13
+ */
14
+ exports.COLORS_DARK = {
15
+ primary: 'checked:border-primary checked:hover:border-primary-300 hover:border-control-300',
16
+ secondary: 'checked:border-secondary checked:hover:border-secondary-300 hover:border-control-300'
17
+ };
18
+ /**
19
+ * Light Theme Radio Button Fill Colors (the inner circle)
20
+ */
21
+ exports.HOVER_COLORS_LIGHT = {
22
+ primary: 'bg-primary peer-hover:bg-primary-700',
23
+ secondary: 'bg-secondary peer-hover:bg-secondary-700'
24
+ };
25
+ /**
26
+ * Dark Theme Radio Button Fill Colors (the inner circle)
27
+ */
28
+ exports.HOVER_COLORS_DARK = {
29
+ primary: 'bg-primary peer-hover:bg-primary-300',
30
+ secondary: 'bg-secondary peer-hover:bg-secondary-300'
31
+ };
32
+ /**
33
+ * Helper function to get radio button border colors based on theme
34
+ */
35
+ var getRadioColors = function (theme, color) {
36
+ var colorMap = theme === 'dark' ? exports.COLORS_DARK : exports.COLORS_LIGHT;
37
+ return colorMap[color] || colorMap['primary'];
38
+ };
39
+ exports.getRadioColors = getRadioColors;
40
+ /**
41
+ * Helper function to get radio button fill colors based on theme
42
+ */
43
+ var getRadioHoverColors = function (theme, color) {
44
+ var colorMap = theme === 'dark' ? exports.HOVER_COLORS_DARK : exports.HOVER_COLORS_LIGHT;
45
+ return colorMap[color] || colorMap['primary'];
46
+ };
47
+ exports.getRadioHoverColors = getRadioHoverColors;
48
+ //# sourceMappingURL=radio-button-theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio-button-theme.js","sourceRoot":"","sources":["../../radio-button/radio-button-theme.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACU,QAAA,YAAY,GAA2B;IAClD,OAAO,EAAE,kFAAkF;IAC3F,SAAS,EAAE,sFAAsF;CAClG,CAAC;AAEF;;GAEG;AACU,QAAA,WAAW,GAA2B;IACjD,OAAO,EAAE,kFAAkF;IAC3F,SAAS,EAAE,sFAAsF;CAClG,CAAC;AAEF;;GAEG;AACU,QAAA,kBAAkB,GAA2B;IACxD,OAAO,EAAE,sCAAsC;IAC/C,SAAS,EAAE,0CAA0C;CACtD,CAAC;AAEF;;GAEG;AACU,QAAA,iBAAiB,GAA2B;IACvD,OAAO,EAAE,sCAAsC;IAC/C,SAAS,EAAE,0CAA0C;CACtD,CAAC;AAEF;;GAEG;AACI,IAAM,cAAc,GAAG,UAAC,KAAY,EAAE,KAAa;IACxD,IAAM,QAAQ,GAAG,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,mBAAW,CAAC,CAAC,CAAC,oBAAY,CAAC;IAC/D,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,SAAS,CAAC,CAAC;AAChD,CAAC,CAAC;AAHW,QAAA,cAAc,kBAGzB;AAEF;;GAEG;AACI,IAAM,mBAAmB,GAAG,UAAC,KAAY,EAAE,KAAa;IAC7D,IAAM,QAAQ,GAAG,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,yBAAiB,CAAC,CAAC,CAAC,0BAAkB,CAAC;IAC3E,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,CAAC,SAAS,CAAC,CAAC;AAChD,CAAC,CAAC;AAHW,QAAA,mBAAmB,uBAG9B"}