@fewbox/den-web 0.1.44 → 0.2.0-preview.3

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 (114) hide show
  1. package/constants.js +2 -0
  2. package/constants.js.map +1 -0
  3. package/index-constants.d.ts +34 -0
  4. package/index-web.d.ts +1 -4
  5. package/index.css +1 -1
  6. package/index.js +2 -1
  7. package/index.js.map +1 -1
  8. package/package.json +11 -1
  9. package/scripts/generate-packages.js +14 -0
  10. package/src/components/Auth/GoogleGrant/index.d.ts +10 -8
  11. package/src/components/Auth/GoogleSignin/index.d.ts +6 -5
  12. package/src/components/Engine/Base/index.d.ts +8 -9
  13. package/src/components/Engine/index.d.ts +282 -260
  14. package/src/components/Layout/Breakpoint/index.d.ts +20 -17
  15. package/src/components/Layout/Dock/index.d.ts +25 -23
  16. package/src/components/Layout/Flex/index.d.ts +38 -33
  17. package/src/components/Layout/FlexItem/index.d.ts +8 -7
  18. package/src/components/Layout/Position/index.d.ts +19 -17
  19. package/src/components/Layout/PositionArea/index.d.ts +5 -4
  20. package/src/components/Layout/XBase/index.d.ts +8 -7
  21. package/src/components/Layout/YBase/index.d.ts +8 -7
  22. package/src/components/View/VAnimation/index.d.ts +122 -118
  23. package/src/components/View/VBackground/index.d.ts +10 -10
  24. package/src/components/View/VCardWindow/index.d.ts +6 -5
  25. package/src/components/View/VChromeExtensionValidator/index.d.ts +8 -7
  26. package/src/components/View/VDynamic/index.d.ts +7 -0
  27. package/src/components/View/VErrorBoundary/index.d.ts +1 -1
  28. package/src/components/View/VForm/index.d.ts +5 -4
  29. package/src/components/View/VGoogleFont/index.d.ts +5 -4
  30. package/src/components/View/VHyperlink/index.d.ts +7 -6
  31. package/src/components/View/VImage/index.d.ts +12 -8
  32. package/src/components/View/VInput/VColor/index.d.ts +0 -2
  33. package/src/components/View/VInput/VDate/index.d.ts +0 -2
  34. package/src/components/View/VInput/VDatetimeLocal/index.d.ts +0 -2
  35. package/src/components/View/VInput/VFile/index.d.ts +5 -4
  36. package/src/components/View/VInput/VGroup/index.d.ts +1 -1
  37. package/src/components/View/VInput/VRange/index.d.ts +1 -2
  38. package/src/components/View/VLabel/index.d.ts +53 -47
  39. package/src/components/View/VPhoto/index.d.ts +12 -10
  40. package/src/components/View/VRoot/index.d.ts +5 -4
  41. package/src/components/View/VShadow/index.d.ts +5 -4
  42. package/src/components/View/VShape/VEllipse/index.d.ts +5 -4
  43. package/src/components/View/VShape/VLine/index.d.ts +5 -4
  44. package/src/components/View/VShape/VRectangle/index.d.ts +5 -4
  45. package/src/components/View/VSvg/index.d.ts +11 -7
  46. package/src/components/View/VText/index.d.ts +18 -16
  47. package/src/components/View/VTheme/index.d.ts +13 -11
  48. package/src/components/View/VTooltip/index.d.ts +5 -4
  49. package/src/components/View/VVideo/index.d.ts +1 -4
  50. package/src/components/View/VZone/index.d.ts +9 -8
  51. package/src/components/app.d.ts +21 -0
  52. package/src/components/core.d.ts +10 -1
  53. package/src/components/web.d.ts +4 -0
  54. package/src/fewbox/index.d.ts +42 -0
  55. package/src/language/index.d.ts +13 -0
  56. package/src/network/FormHeaders.d.ts +4 -0
  57. package/src/network/IGraphQL.d.ts +6 -0
  58. package/src/network/JsonHeaders.d.ts +5 -0
  59. package/src/network/Network.d.ts +45 -0
  60. package/src/network/NetworkObservableBase.d.ts +14 -0
  61. package/src/network/StreamObservableBase.d.ts +11 -0
  62. package/src/network/UploadHeaders.d.ts +4 -0
  63. package/src/network/WS.d.ts +11 -0
  64. package/src/network/ajax/default/Delete.d.ts +5 -0
  65. package/src/network/ajax/default/DeleteText.d.ts +5 -0
  66. package/src/network/ajax/default/Get.d.ts +5 -0
  67. package/src/network/ajax/default/GetLocal.d.ts +5 -0
  68. package/src/network/ajax/default/GetText.d.ts +5 -0
  69. package/src/network/ajax/default/NetworkObservableAjax.d.ts +7 -0
  70. package/src/network/ajax/default/Patch.d.ts +5 -0
  71. package/src/network/ajax/default/PatchText.d.ts +5 -0
  72. package/src/network/ajax/default/Post.d.ts +5 -0
  73. package/src/network/ajax/default/PostText.d.ts +5 -0
  74. package/src/network/ajax/default/Put.d.ts +5 -0
  75. package/src/network/ajax/default/PutText.d.ts +5 -0
  76. package/src/network/ajax/external/DeleteExternal.d.ts +5 -0
  77. package/src/network/ajax/external/DeleteTextExternal.d.ts +5 -0
  78. package/src/network/ajax/external/GetExternal.d.ts +5 -0
  79. package/src/network/ajax/external/GetTextExternal.d.ts +5 -0
  80. package/src/network/ajax/external/NetworkObservableAjaxExternal.d.ts +8 -0
  81. package/src/network/ajax/external/PatchExternal.d.ts +5 -0
  82. package/src/network/ajax/external/PatchTextExternal.d.ts +5 -0
  83. package/src/network/ajax/external/PostExternal.d.ts +5 -0
  84. package/src/network/ajax/external/PostTextExternal.d.ts +5 -0
  85. package/src/network/ajax/external/PutExternal.d.ts +5 -0
  86. package/src/network/ajax/external/PutTextExternal.d.ts +5 -0
  87. package/src/network/fetch/default/DeleteFetch.d.ts +5 -0
  88. package/src/network/fetch/default/GetFetch.d.ts +5 -0
  89. package/src/network/fetch/default/NetworkObservableFetch.d.ts +7 -0
  90. package/src/network/fetch/default/PatchFetch.d.ts +5 -0
  91. package/src/network/fetch/default/PostFetch.d.ts +5 -0
  92. package/src/network/fetch/default/PutFetch.d.ts +5 -0
  93. package/src/network/fetch/external/DeleteFetchExternal.d.ts +5 -0
  94. package/src/network/fetch/external/GetFetchExternal.d.ts +5 -0
  95. package/src/network/fetch/external/NetworkObservableFetchExternal.d.ts +8 -0
  96. package/src/network/fetch/external/PatchFetchExternal.d.ts +5 -0
  97. package/src/network/fetch/external/PostFetchExternal.d.ts +5 -0
  98. package/src/network/fetch/external/PutFetchExternal.d.ts +5 -0
  99. package/src/network/graphql/default/GQL.d.ts +6 -0
  100. package/src/network/graphql/default/GQLUpload.d.ts +5 -0
  101. package/src/network/graphql/default/NetworkObservableGQL.d.ts +7 -0
  102. package/src/network/graphql/external/GQLExternal.d.ts +6 -0
  103. package/src/network/graphql/external/GQLExternalUpload.d.ts +6 -0
  104. package/src/network/graphql/external/NetworkObservableGQLExternal.d.ts +7 -0
  105. package/src/network/index.d.ts +50 -0
  106. package/src/network/sse/default/GetSSE.d.ts +5 -0
  107. package/src/network/sse/default/PostSSE.d.ts +5 -0
  108. package/src/network/sse/default/StreamObservableSSE.d.ts +5 -0
  109. package/src/network/sse/external/GetSSEExternal.d.ts +5 -0
  110. package/src/network/sse/external/PostSSEExternal.d.ts +5 -0
  111. package/src/network/sse/external/StreamObservableSSEExternal.d.ts +6 -0
  112. package/src/network/util.d.ts +5 -0
  113. package/templates/.claude/skills/fewbox-den/SKILL.md +400 -86
  114. package/tsconfig.app.tsbuildinfo +1 -1
package/package.json CHANGED
@@ -1,12 +1,22 @@
1
1
  {
2
2
  "name": "@fewbox/den-web",
3
- "version": "0.1.44",
3
+ "version": "0.2.0-preview.3",
4
4
  "main": "index.js",
5
5
  "types": "index-web.d.ts",
6
6
  "repository": "https://github.com/FewBox/fewbox-den.git",
7
7
  "author": "FewBox Support <support@fewbox.com>",
8
8
  "license": "Apache-2.0",
9
9
  "type": "module",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./index.js",
13
+ "types": "./index-web.d.ts"
14
+ },
15
+ "./constants": {
16
+ "import": "./constants.js",
17
+ "types": "./index-constants.d.ts"
18
+ }
19
+ },
10
20
  "scripts": {
11
21
  "postinstall": "node scripts/copy-templates.js"
12
22
  },
@@ -21,6 +21,20 @@ for (const registry of registries) {
21
21
  type: common.type,
22
22
  };
23
23
 
24
+ // Add exports map for sub-path imports (constants for Server Component compatibility)
25
+ if (variant !== 'append') {
26
+ pkg.exports = {
27
+ '.': {
28
+ import: './index.js',
29
+ types: `./${variantConfig.types}`,
30
+ },
31
+ './constants': {
32
+ import: './constants.js',
33
+ types: './index-constants.d.ts',
34
+ },
35
+ };
36
+ }
37
+
24
38
  if (variantConfig.hasPostinstall) {
25
39
  pkg.scripts = { postinstall: 'node scripts/copy-templates.js' };
26
40
  }
@@ -19,14 +19,16 @@ export interface GoogleGrantCode {
19
19
  errorDescription: string;
20
20
  errorUri: string;
21
21
  }
22
- export declare enum GoogleGrantUXMode {
23
- Popup = "popup",
24
- Redirect = "redirect"
25
- }
26
- export declare enum GoogleGrantCategory {
27
- Implicit = "implicit",
28
- AuthorizationCode = "authorization-code"
29
- }
22
+ export declare const GoogleGrantUXMode: {
23
+ readonly Popup: "popup";
24
+ readonly Redirect: "redirect";
25
+ };
26
+ export type GoogleGrantUXMode = typeof GoogleGrantUXMode[keyof typeof GoogleGrantUXMode];
27
+ export declare const GoogleGrantCategory: {
28
+ readonly Implicit: "implicit";
29
+ readonly AuthorizationCode: "authorization-code";
30
+ };
31
+ export type GoogleGrantCategory = typeof GoogleGrantCategory[keyof typeof GoogleGrantCategory];
30
32
  export interface IGoogleGrantProps extends IBaseProps {
31
33
  category?: GoogleGrantCategory;
32
34
  uxMode?: GoogleGrantUXMode;
@@ -1,8 +1,9 @@
1
- export declare enum GoogleSigninUXMode {
2
- Prompt = "prompt",
3
- Popup = "popup",
4
- Redirect = "redirect"
5
- }
1
+ export declare const GoogleSigninUXMode: {
2
+ readonly Prompt: "prompt";
3
+ readonly Popup: "popup";
4
+ readonly Redirect: "redirect";
5
+ };
6
+ export type GoogleSigninUXMode = typeof GoogleSigninUXMode[keyof typeof GoogleSigninUXMode];
6
7
  export interface IGoogleSigninProps {
7
8
  googleAuthButtonId?: string;
8
9
  clientId: string;
@@ -1,6 +1,5 @@
1
1
  import { DirectionType, FullColorType, PseudoType, FullFontSizeType, FontWeightType, FullBorderRadiusType, FullBorderStyleType, FullBorderWidthType, FullPaddingType, FullMarginType, OpacityType, FullDisplayType, FullVisibilityType, FullCursorType, FullOverflowType, FullOverflowXType, FullOverflowYType } from '..';
2
2
  import { Property } from 'csstype';
3
- export type TLength = (string & {}) | 0;
4
3
  export interface IViewProps {
5
4
  className?: string;
6
5
  style?: React.CSSProperties;
@@ -28,14 +27,14 @@ export interface IViewProps {
28
27
  overflow?: FullOverflowType;
29
28
  zIndex?: Property.ZIndex;
30
29
  fontFamily?: Property.FontFamily;
31
- height?: Property.Height<TLength>;
32
- width?: Property.Width<TLength>;
33
- minHeight?: Property.Width<TLength>;
34
- minWidth?: Property.Width<TLength>;
35
- maxHeight?: Property.Width<TLength>;
36
- maxWidth?: Property.Width<TLength>;
37
- letterSpacing?: Property.LetterSpacing<TLength>;
38
- lineHeight?: Property.LineHeight<TLength>;
30
+ height?: Property.Height;
31
+ width?: Property.Width;
32
+ minHeight?: Property.Width;
33
+ minWidth?: Property.Width;
34
+ maxHeight?: Property.Width;
35
+ maxWidth?: Property.Width;
36
+ letterSpacing?: Property.LetterSpacing;
37
+ lineHeight?: Property.LineHeight;
39
38
  overflowX?: FullOverflowXType;
40
39
  overflowY?: FullOverflowYType;
41
40
  selfShrink?: Property.FlexShrink;