create-idia-app 0.2.0 → 0.2.2
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.
- package/README.md +47 -53
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/template/package.json +2 -11
- package/template/src/providers/AppProviders.tsx +33 -3
- package/template/.cursor/rules/idia-ui-ds-brain.mdc +0 -32
- package/template/.cursor/rules/idia-ui-forms.mdc +0 -34
- package/template/.cursor/rules/idia-ui-overlays.mdc +0 -23
- package/template/.idia/brain/AGENTS.md +0 -37
- package/template/.idia/brain/ai/agents/retrieval-cheatsheet.md +0 -209
- package/template/.idia/brain/ai/skills/components/button/SKILL.md +0 -32
- package/template/.idia/brain/ai/skills/ds-brain-action-hierarchy/SKILL.md +0 -46
- package/template/.idia/brain/ai/skills/ds-brain-forms/SKILL.md +0 -67
- package/template/.idia/brain/ai/skills/ds-brain-index/SKILL.md +0 -76
- package/template/.idia/brain/ai/skills/ds-brain-overlays/SKILL.md +0 -30
- package/template/.idia/brain/ai/skills/ds-brain-retrieval/SKILL.md +0 -54
- package/template/.idia/brain/registry/ai-index.generated.json +0 -833
- package/template/.idia/brain/registry/component-registry.generated.json +0 -2947
- package/template/.idia/manifest.json +0 -17
- package/template/.storybook/main.ts +0 -9
- package/template/.storybook/preview.tsx +0 -20
- package/template/AGENTS.md +0 -11
- package/template/src/stories/Button.stories.tsx +0 -31
- package/template/storybook-static/assets/Button.stories-CfapbH7U.js +0 -196
- package/template/storybook-static/assets/Color-F6OSRLHC-CFwL-RM_.js +0 -1
- package/template/storybook-static/assets/DocsRenderer-CFRXHY34-AADCayzw.js +0 -729
- package/template/storybook-static/assets/_commonjsHelpers-Cpj98o6Y.js +0 -1
- package/template/storybook-static/assets/axe-d-K7rF9D.js +0 -30
- package/template/storybook-static/assets/chunk-XP5HYGXS-BHXC9YeQ.js +0 -1
- package/template/storybook-static/assets/client-DGEjZp2f.js +0 -25
- package/template/storybook-static/assets/entry-preview-Dc5wkB2s.js +0 -2
- package/template/storybook-static/assets/entry-preview-docs-BaxqCxyK.js +0 -46
- package/template/storybook-static/assets/iframe-Bl15XKnQ.js +0 -211
- package/template/storybook-static/assets/index-Bhelpi4i.js +0 -11
- package/template/storybook-static/assets/index-C_pJYAGD.js +0 -1
- package/template/storybook-static/assets/index-D5Inswos.js +0 -1
- package/template/storybook-static/assets/index-NGyRR_en.js +0 -9
- package/template/storybook-static/assets/index-zmTGQa7e.js +0 -9
- package/template/storybook-static/assets/jsx-runtime-BjG_zV1W.js +0 -9
- package/template/storybook-static/assets/preview-BNUqaTig.js +0 -1
- package/template/storybook-static/assets/preview-Cfo7ZnTc.js +0 -2
- package/template/storybook-static/assets/preview-CrKLV1aL.css +0 -1
- package/template/storybook-static/assets/preview-DkVJIpDn.js +0 -2
- package/template/storybook-static/assets/preview-DrRsTNnS.js +0 -17
- package/template/storybook-static/assets/react-18-Bfhi6ooJ.js +0 -1
- package/template/storybook-static/assets/react-FmFgRqLi.js +0 -1
- package/template/storybook-static/assets/react-native-gesture-handler-BzS7UzhZ.js +0 -52
- package/template/storybook-static/assets/test-utils-X4YdDMST.js +0 -9
- package/template/storybook-static/favicon.svg +0 -1
- package/template/storybook-static/fonts/Inter.ttf +0 -0
- package/template/storybook-static/fonts/NunitoSans.woff2 +0 -0
- package/template/storybook-static/iframe.html +0 -668
- package/template/storybook-static/index.html +0 -145
- package/template/storybook-static/index.json +0 -1
- package/template/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/template/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/template/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/template/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/template/storybook-static/project.json +0 -1
- package/template/storybook-static/sb-addons/a11y-2/manager-bundle.js +0 -3
- package/template/storybook-static/sb-addons/links-1/manager-bundle.js +0 -3
- package/template/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
- package/template/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/template/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/template/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/template/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/template/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/template/storybook-static/sb-manager/globals-module-info.js +0 -1052
- package/template/storybook-static/sb-manager/globals-runtime.js +0 -41775
- package/template/storybook-static/sb-manager/globals.js +0 -48
- package/template/storybook-static/sb-manager/runtime.js +0 -12048
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"idiaCli": "0.2.0",
|
|
3
|
-
"core": "0.2.0",
|
|
4
|
-
"features": {
|
|
5
|
-
"storybook": {
|
|
6
|
-
"installed": "2026-07-01T19:46:10.873Z",
|
|
7
|
-
"storybookDocs": "0.2.0",
|
|
8
|
-
"storybook": "8.4.7",
|
|
9
|
-
"preset": "0.2.0"
|
|
10
|
-
},
|
|
11
|
-
"brain": {
|
|
12
|
-
"installed": "2026-07-01T19:50:02.249Z",
|
|
13
|
-
"brainPack": "0.2.0",
|
|
14
|
-
"sourceHash": "sha256:0fafc035b8d85e32075e95a803766c4a31e8f9a2c2b5ee478e8b6ec4e412875d"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { StorybookConfig } from '@storybook/react-vite';
|
|
2
|
-
import { idiaStorybookMain } from '@idia-ui/storybook-preset-react-native-web';
|
|
3
|
-
|
|
4
|
-
const config: StorybookConfig = idiaStorybookMain({
|
|
5
|
-
stories: ['../src/stories/**/*.stories.@(ts|tsx)'],
|
|
6
|
-
staticDirs: ['../public'],
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
export default config;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Preview } from '@storybook/react';
|
|
3
|
-
import { AppProviders } from '../src/providers/AppProviders';
|
|
4
|
-
import '../global.css';
|
|
5
|
-
|
|
6
|
-
const preview: Preview = {
|
|
7
|
-
decorators: [
|
|
8
|
-
(Story) => (
|
|
9
|
-
<AppProviders>
|
|
10
|
-
<Story />
|
|
11
|
-
</AppProviders>
|
|
12
|
-
),
|
|
13
|
-
],
|
|
14
|
-
parameters: {
|
|
15
|
-
layout: 'centered',
|
|
16
|
-
controls: { expanded: true },
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export default preview;
|
package/template/AGENTS.md
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- idia-ui brain:begin -->
|
|
2
|
-
## idia-ui design-system brain
|
|
3
|
-
|
|
4
|
-
For idia-ui component usage, design-system documentation, Storybook docs, UI generation, or AI-guided UI work, read:
|
|
5
|
-
|
|
6
|
-
`.idia/brain/AGENTS.md`
|
|
7
|
-
|
|
8
|
-
before using idia-ui components.
|
|
9
|
-
|
|
10
|
-
This installed brain pack is read-only generated guidance. Do not edit files under `.idia/brain/` directly.
|
|
11
|
-
<!-- idia-ui brain:end -->
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Button } from '@idia-ui/core';
|
|
3
|
-
import { BrainDocSections } from '@idia-ui/storybook-docs';
|
|
4
|
-
|
|
5
|
-
const meta = {
|
|
6
|
-
title: 'Components/Button',
|
|
7
|
-
component: Button,
|
|
8
|
-
tags: ['autodocs'],
|
|
9
|
-
parameters: {
|
|
10
|
-
docs: {
|
|
11
|
-
page: () => (
|
|
12
|
-
<>
|
|
13
|
-
<BrainDocSections
|
|
14
|
-
componentId="button"
|
|
15
|
-
sectionIds={['intent', 'usage', 'variants', 'accessibility']}
|
|
16
|
-
/>
|
|
17
|
-
</>
|
|
18
|
-
),
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
args: {
|
|
22
|
-
label: 'Button',
|
|
23
|
-
variant: 'primary',
|
|
24
|
-
},
|
|
25
|
-
} satisfies Meta<typeof Button>;
|
|
26
|
-
|
|
27
|
-
export default meta;
|
|
28
|
-
|
|
29
|
-
type Story = StoryObj<typeof meta>;
|
|
30
|
-
|
|
31
|
-
export const Playground: Story = {};
|