@pipe0/react 1.0.18 → 1.0.20
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/CHANGELOG.md +16 -0
- package/dist/components/defaults/adapters/index.d.mts.map +1 -1
- package/dist/components/defaults/adapters/index.mjs +2 -0
- package/dist/components/defaults/adapters/index.mjs.map +1 -1
- package/dist/components/defaults/adapters/single-create-input.mjs +37 -0
- package/dist/components/defaults/adapters/single-create-input.mjs.map +1 -0
- package/dist/hooks/use-form-core.mjs +2 -2
- package/dist/hooks/use-form-core.mjs.map +1 -1
- package/dist/hooks/use-pipe-catalog-table.d.mts +8 -8
- package/dist/hooks/use-playbook-form.d.mts +34 -0
- package/dist/hooks/use-playbook-form.d.mts.map +1 -0
- package/dist/hooks/use-playbook-form.mjs +91 -0
- package/dist/hooks/use-playbook-form.mjs.map +1 -0
- package/dist/hooks/use-stream-form.d.mts +30 -0
- package/dist/hooks/use-stream-form.d.mts.map +1 -0
- package/dist/hooks/use-stream-form.mjs +90 -0
- package/dist/hooks/use-stream-form.mjs.map +1 -0
- package/dist/index.d.mts +3 -1
- package/dist/index.mjs +3 -1
- package/dist/types/field-props.d.mts +7 -0
- package/dist/types/field-props.d.mts.map +1 -1
- package/dist/utils/build-section-handlers.mjs +18 -6
- package/dist/utils/build-section-handlers.mjs.map +1 -1
- package/dist/widgets/glyphs/linkedin.mjs +32 -0
- package/dist/widgets/glyphs/linkedin.mjs.map +1 -0
- package/dist/widgets/icon-glyph.mjs +4 -3
- package/dist/widgets/icon-glyph.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-glyph.mjs","names":[],"sources":["../../src/widgets/icon-glyph.tsx"],"sourcesContent":["import type { IconKey } from \"@pipe0/base\";\nimport {\n Activity,\n Award,\n Banknote,\n BarChart3,\n BookOpen,\n Boxes,\n Braces,\n Brain,\n Briefcase,\n BriefcaseBusiness,\n Building2,\n Calendar,\n Code2,\n Compass,\n Contact,\n Download,\n Factory,\n Filter,\n GraduationCap,\n Handshake,\n History,\n Languages,\n LetterText,\n Library,\n
|
|
1
|
+
{"version":3,"file":"icon-glyph.mjs","names":[],"sources":["../../src/widgets/icon-glyph.tsx"],"sourcesContent":["import type { IconKey } from \"@pipe0/base\";\nimport {\n Activity,\n Award,\n Banknote,\n BarChart3,\n BookOpen,\n Boxes,\n Braces,\n Brain,\n Briefcase,\n BriefcaseBusiness,\n Building2,\n Calendar,\n Code2,\n Compass,\n Contact,\n Download,\n Factory,\n Filter,\n GraduationCap,\n Handshake,\n History,\n Languages,\n LetterText,\n Library,\n List,\n Mail,\n MapPin,\n Medal,\n Plug,\n Search,\n Shuffle,\n Sigma,\n SlidersHorizontal,\n Sparkles,\n Star,\n Swords,\n Tags,\n Type,\n Upload,\n User,\n Workflow,\n Zap,\n} from \"lucide-react\";\nimport type { ComponentType } from \"react\";\nimport { LinkedinGlyph } from \"./glyphs/linkedin.js\";\n\nconst iconMap: Record<IconKey, ComponentType<{ className?: string; size?: number }>> = {\n school: GraduationCap,\n user: User,\n location: MapPin,\n language: Languages,\n brain: Brain,\n book: BookOpen,\n money: Banknote,\n office: Building2,\n search: Search,\n output: Upload,\n input: Download,\n plug: Plug,\n mix: Shuffle,\n job: BriefcaseBusiness,\n linkedin: LinkedinGlyph,\n text: Type,\n workflow: Workflow,\n letter: LetterText,\n source: Sigma,\n web: Compass,\n activity: Activity,\n boxes: Boxes,\n competition: Swords,\n bill: Banknote,\n bolt: Zap,\n star: Star,\n scholar: Library,\n // expanded set\n briefcase: Briefcase,\n history: History,\n sparkles: Sparkles,\n list: List,\n sliders: SlidersHorizontal,\n factory: Factory,\n award: Award,\n tags: Tags,\n handshake: Handshake,\n contact: Contact,\n mail: Mail,\n calendar: Calendar,\n chart: BarChart3,\n code: Code2,\n braces: Braces,\n filter: Filter,\n};\n\nexport function IconGlyph({\n keyName,\n className,\n size,\n}: {\n keyName: IconKey;\n className?: string;\n size?: number;\n}) {\n const Icon = iconMap[keyName] ?? Medal;\n return <Icon className={className} size={size} />;\n}\n"],"mappings":";;;;;AAgDA,MAAM,UAAiF;CACrF,QAAQ;CACR,MAAM;CACN,UAAU;CACV,UAAU;CACV,OAAO;CACP,MAAM;CACN,OAAO;CACP,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,OAAO;CACP,MAAM;CACN,KAAK;CACL,KAAK;CACL,UAAU;CACV,MAAM;CACN,UAAU;CACV,QAAQ;CACR,QAAQ;CACR,KAAK;CACL,UAAU;CACV,OAAO;CACP,aAAa;CACb,MAAM;CACN,MAAM;CACN,MAAM;CACN,SAAS;CAET,WAAW;CACX,SAAS;CACT,UAAU;CACV,MAAM;CACN,SAAS;CACT,SAAS;CACT,OAAO;CACP,MAAM;CACN,WAAW;CACX,SAAS;CACT,MAAM;CACN,UAAU;CACV,OAAO;CACP,MAAM;CACN,QAAQ;CACR,QAAQ;CACT;AAED,SAAgB,UAAU,EACxB,SACA,WACA,QAKC;AAED,QAAO,oBADM,QAAQ,YAAY,OAC1B;EAAiB;EAAiB;EAAQ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipe0/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "React component library for building forms and catalogs powered by pipe0 pipes and searches.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "pipe0",
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
"clsx": "^2.1.1",
|
|
81
81
|
"cmdk": "^1.1.1",
|
|
82
82
|
"jsonata": "^2.1.0",
|
|
83
|
-
"lucide-react": "^
|
|
83
|
+
"lucide-react": "^1.33.0",
|
|
84
84
|
"react-hook-form": "^7.62.0",
|
|
85
85
|
"swr": "^2.4.1",
|
|
86
86
|
"tailwind-merge": "^3.3.1",
|
|
87
|
-
"@pipe0/base": "1.0.
|
|
87
|
+
"@pipe0/base": "1.0.20"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@base-ui/react": "^1.6.0",
|