@orion-ds/react 1.2.6 → 2.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 (105) hide show
  1. package/AI_COMPONENTS.md +37 -26
  2. package/AI_GUIDE.md +547 -0
  3. package/AI_QUICKREF.md +14 -2
  4. package/dist/components/Accordion/index.d.ts +16 -1
  5. package/dist/components/Accordion/index.d.ts.map +1 -1
  6. package/dist/components/Alert/index.d.ts +11 -1
  7. package/dist/components/Alert/index.d.ts.map +1 -1
  8. package/dist/components/Avatar/index.d.ts +10 -1
  9. package/dist/components/Avatar/index.d.ts.map +1 -1
  10. package/dist/components/Badge/index.d.ts +11 -1
  11. package/dist/components/Badge/index.d.ts.map +1 -1
  12. package/dist/components/Breadcrumb/index.d.ts +15 -1
  13. package/dist/components/Breadcrumb/index.d.ts.map +1 -1
  14. package/dist/components/Button/index.d.ts +11 -1
  15. package/dist/components/Button/index.d.ts.map +1 -1
  16. package/dist/components/Card/index.d.ts +14 -1
  17. package/dist/components/Card/index.d.ts.map +1 -1
  18. package/dist/components/Carousel/index.d.ts +16 -1
  19. package/dist/components/Carousel/index.d.ts.map +1 -1
  20. package/dist/components/Checkbox/index.d.ts +10 -1
  21. package/dist/components/Checkbox/index.d.ts.map +1 -1
  22. package/dist/components/Chip/index.d.ts +11 -1
  23. package/dist/components/Chip/index.d.ts.map +1 -1
  24. package/dist/components/Combobox/index.d.ts +17 -1
  25. package/dist/components/Combobox/index.d.ts.map +1 -1
  26. package/dist/components/Divider/index.d.ts +11 -1
  27. package/dist/components/Divider/index.d.ts.map +1 -1
  28. package/dist/components/Drawer/index.d.ts +16 -1
  29. package/dist/components/Drawer/index.d.ts.map +1 -1
  30. package/dist/components/Dropdown/index.d.ts +17 -1
  31. package/dist/components/Dropdown/index.d.ts.map +1 -1
  32. package/dist/components/EmptyState/index.d.ts +14 -1
  33. package/dist/components/EmptyState/index.d.ts.map +1 -1
  34. package/dist/components/Field/index.d.ts +11 -1
  35. package/dist/components/Field/index.d.ts.map +1 -1
  36. package/dist/components/FontLoader/index.d.ts +15 -2
  37. package/dist/components/FontLoader/index.d.ts.map +1 -1
  38. package/dist/components/Icon/index.d.ts +16 -1
  39. package/dist/components/Icon/index.d.ts.map +1 -1
  40. package/dist/components/IconGallery/index.d.ts +14 -1
  41. package/dist/components/IconGallery/index.d.ts.map +1 -1
  42. package/dist/components/Link/index.d.ts +11 -1
  43. package/dist/components/Link/index.d.ts.map +1 -1
  44. package/dist/components/List/index.d.ts +15 -1
  45. package/dist/components/List/index.d.ts.map +1 -1
  46. package/dist/components/Modal/index.d.ts +15 -1
  47. package/dist/components/Modal/index.d.ts.map +1 -1
  48. package/dist/components/Navbar/index.d.ts +20 -1
  49. package/dist/components/Navbar/index.d.ts.map +1 -1
  50. package/dist/components/Pagination/index.d.ts +13 -1
  51. package/dist/components/Pagination/index.d.ts.map +1 -1
  52. package/dist/components/Popover/index.d.ts +17 -1
  53. package/dist/components/Popover/index.d.ts.map +1 -1
  54. package/dist/components/ProgressBar/index.d.ts +10 -1
  55. package/dist/components/ProgressBar/index.d.ts.map +1 -1
  56. package/dist/components/Radio/index.d.ts +10 -1
  57. package/dist/components/Radio/index.d.ts.map +1 -1
  58. package/dist/components/SearchInput/index.d.ts +10 -1
  59. package/dist/components/SearchInput/index.d.ts.map +1 -1
  60. package/dist/components/Select/index.d.ts +17 -1
  61. package/dist/components/Select/index.d.ts.map +1 -1
  62. package/dist/components/Skeleton/index.d.ts +10 -1
  63. package/dist/components/Skeleton/index.d.ts.map +1 -1
  64. package/dist/components/Slider/index.d.ts +10 -1
  65. package/dist/components/Slider/index.d.ts.map +1 -1
  66. package/dist/components/Spinner/index.d.ts +10 -1
  67. package/dist/components/Spinner/index.d.ts.map +1 -1
  68. package/dist/components/Stepper/index.d.ts +15 -1
  69. package/dist/components/Stepper/index.d.ts.map +1 -1
  70. package/dist/components/Switch/index.d.ts +10 -1
  71. package/dist/components/Switch/index.d.ts.map +1 -1
  72. package/dist/components/Table/index.d.ts +18 -1
  73. package/dist/components/Table/index.d.ts.map +1 -1
  74. package/dist/components/Tabs/index.d.ts +15 -1
  75. package/dist/components/Tabs/index.d.ts.map +1 -1
  76. package/dist/components/Textarea/index.d.ts +10 -1
  77. package/dist/components/Textarea/index.d.ts.map +1 -1
  78. package/dist/components/ThemeController/index.d.ts +15 -1
  79. package/dist/components/ThemeController/index.d.ts.map +1 -1
  80. package/dist/components/Toast/index.d.ts +22 -1
  81. package/dist/components/Toast/index.d.ts.map +1 -1
  82. package/dist/components/Tooltip/index.d.ts +14 -1
  83. package/dist/components/Tooltip/index.d.ts.map +1 -1
  84. package/dist/contexts/ThemeContext.d.ts +12 -1
  85. package/dist/contexts/ThemeContext.d.ts.map +1 -1
  86. package/dist/index.cjs +14 -14
  87. package/dist/index.cjs.map +1 -1
  88. package/dist/index.d.ts +2 -2
  89. package/dist/index.d.ts.map +1 -1
  90. package/dist/index.mjs +1519 -1494
  91. package/dist/index.mjs.map +1 -1
  92. package/dist/sections/CTA/CTA.d.ts +1 -1
  93. package/dist/sections/CTA/CTA.d.ts.map +1 -1
  94. package/dist/sections/CTA/CTA.types.d.ts +8 -4
  95. package/dist/sections/CTA/CTA.types.d.ts.map +1 -1
  96. package/dist/sections/DetailPanel/DetailPanel.d.ts +1 -0
  97. package/dist/sections/DetailPanel/DetailPanel.d.ts.map +1 -1
  98. package/dist/sections/DetailPanel/DetailPanel.types.d.ts +7 -2
  99. package/dist/sections/DetailPanel/DetailPanel.types.d.ts.map +1 -1
  100. package/dist/sections/Hero/Hero.d.ts +3 -3
  101. package/dist/sections/Hero/Hero.d.ts.map +1 -1
  102. package/dist/sections/Hero/Hero.types.d.ts +9 -5
  103. package/dist/sections/Hero/Hero.types.d.ts.map +1 -1
  104. package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.d.ts +1 -1
  105. package/package.json +11 -3
package/AI_QUICKREF.md CHANGED
@@ -11,7 +11,8 @@ import '@orion-ds/react/styles.css';
11
11
 
12
12
  import { ThemeProvider } from '@orion-ds/react';
13
13
 
14
- <ThemeProvider>
14
+ // New flat props API (preferred)
15
+ <ThemeProvider defaultBrand="orion" defaultTheme="light">
15
16
  <App />
16
17
  </ThemeProvider>
17
18
  ```
@@ -31,6 +32,10 @@ Avatar, Table, List, Chip, Pagination, Stepper
31
32
  ## Sections (Landing Pages)
32
33
  Hero, Features, CTA, Footer, Pricing, Testimonials, Stats, FAQ, Carousel, Team, Contact, Newsletter, LogoCloud, Blog, Gallery, Timeline, Comparison, Banner, SocialProof, AppDownload
33
34
 
35
+ ## Templates (Full Pages)
36
+ **Marketing:** LandingPageTemplate, PricingPageTemplate, AboutPageTemplate, ContactPageTemplate
37
+ **App:** DashboardTemplate, SettingsTemplate, ProfilePageTemplate, KanbanPageTemplate, LoginTemplate
38
+
34
39
  ## Icon Usage
35
40
  ```tsx
36
41
  import { Search } from 'lucide-react';
@@ -61,4 +66,11 @@ const { theme, brand, setTheme, setBrand } = useThemeContext();
61
66
  - ALWAYS import styles.css (or both CSS files separately)
62
67
  - ALWAYS add `aria-label` to iconOnly buttons
63
68
 
64
- ## Full docs: AI_COMPONENTS.md
69
+ ## Deprecated Props (v2.0)
70
+ | Old | New | Component |
71
+ |-----|-----|-----------|
72
+ | `headline` | `title` | Hero, CTA |
73
+ | `subtitle` | `description` | DetailPanel |
74
+ | `options` | flat props | ThemeProvider |
75
+
76
+ ## Full docs: AI_GUIDE.md, AI_COMPONENTS.md
@@ -1,5 +1,20 @@
1
1
  /**
2
- * Accordion Component Export
2
+ * Accordion Component - Collapsible content sections.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Accordion } from '@orion-ds/react';
7
+ *
8
+ * <Accordion
9
+ * items={[
10
+ * { id: '1', title: 'Section 1', content: <p>Content for section 1</p> },
11
+ * { id: '2', title: 'Section 2', content: <p>Content for section 2</p> },
12
+ * { id: '3', title: 'Section 3', content: <p>Content for section 3</p> },
13
+ * ]}
14
+ * variant="bordered"
15
+ * allowMultiple
16
+ * />
17
+ * ```
3
18
  */
4
19
  export { Accordion } from './Accordion';
5
20
  export type { AccordionProps, AccordionItem, AccordionVariant, AccordionItemProps, } from './Accordion.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,mBAAmB,CAAC"}
@@ -1,5 +1,15 @@
1
1
  /**
2
- * Alert Component Exports
2
+ * Alert Component - System messages and notifications.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Alert } from '@orion-ds/react';
7
+ *
8
+ * <Alert variant="info" title="Info">This is an informational alert.</Alert>
9
+ * <Alert variant="success" title="Success">Operation completed.</Alert>
10
+ * <Alert variant="warning" title="Warning">Please review.</Alert>
11
+ * <Alert variant="error" title="Error" onClose={() => {}}>Something went wrong.</Alert>
12
+ * ```
3
13
  */
4
14
  export { Alert } from './Alert';
5
15
  export type { AlertProps, AlertVariant } from './Alert.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC"}
@@ -1,5 +1,14 @@
1
1
  /**
2
- * Avatar Component Exports
2
+ * Avatar Component - User/entity profile images.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Avatar } from '@orion-ds/react';
7
+ *
8
+ * <Avatar src="/user.jpg" name="John Doe" />
9
+ * <Avatar name="Jane Smith" /> // Shows initials "JS"
10
+ * <Avatar src="/profile.jpg" size="lg" />
11
+ * ```
3
12
  */
4
13
  export { Avatar } from './Avatar';
5
14
  export type { AvatarProps, AvatarSize } from './Avatar.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,5 +1,15 @@
1
1
  /**
2
- * Badge Component Exports
2
+ * Badge Component - Status indicators and counts.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Badge } from '@orion-ds/react';
7
+ *
8
+ * <Badge>Default</Badge>
9
+ * <Badge variant="success">Active</Badge>
10
+ * <Badge variant="error">Failed</Badge>
11
+ * <Badge variant="brand" size="sm">New</Badge>
12
+ * ```
3
13
  */
4
14
  export { Badge } from './Badge';
5
15
  export type { BadgeProps, BadgeVariant, BadgeSize } from './Badge.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC"}
@@ -1,5 +1,19 @@
1
1
  /**
2
- * Breadcrumb Component Exports
2
+ * Breadcrumb Component - Navigation hierarchy display.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Breadcrumb } from '@orion-ds/react';
7
+ *
8
+ * <Breadcrumb
9
+ * items={[
10
+ * { label: 'Home', href: '/' },
11
+ * { label: 'Products', href: '/products' },
12
+ * { label: 'Category', href: '/products/category' },
13
+ * { label: 'Item' }, // Current page (no href)
14
+ * ]}
15
+ * />
16
+ * ```
3
17
  */
4
18
  export { Breadcrumb } from './Breadcrumb';
5
19
  export type { BreadcrumbProps, BreadcrumbItem, BreadcrumbSize, BreadcrumbSeparator, } from './Breadcrumb.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,cAAc,EACd,cAAc,EACd,mBAAmB,GACpB,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumb/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,cAAc,EACd,cAAc,EACd,mBAAmB,GACpB,MAAM,oBAAoB,CAAC"}
@@ -1,5 +1,15 @@
1
1
  /**
2
- * Button Component Exports
2
+ * Button Component - Primary action element for triggering events.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Button } from '@orion-ds/react';
7
+ *
8
+ * <Button variant="primary">Click me</Button>
9
+ * <Button variant="secondary" icon={<Plus size={20} />}>Add Item</Button>
10
+ * <Button iconOnly icon={<Settings size={20} />} aria-label="Settings" />
11
+ * <Button variant="danger" size="sm">Delete</Button>
12
+ * ```
3
13
  */
4
14
  export { Button } from './Button';
5
15
  export type { ButtonProps, ButtonVariant, ButtonSize } from './Button.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,5 +1,18 @@
1
1
  /**
2
- * Card Component Exports
2
+ * Card Component - Container for grouping related content.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Card, Button } from '@orion-ds/react';
7
+ *
8
+ * <Card variant="elevated">
9
+ * <Card.Header>Card Title</Card.Header>
10
+ * <Card.Body>Card content goes here.</Card.Body>
11
+ * <Card.Footer>
12
+ * <Button>Action</Button>
13
+ * </Card.Footer>
14
+ * </Card>
15
+ * ```
3
16
  */
4
17
  export { Card } from './Card';
5
18
  export type { CardProps, CardHeaderProps, CardBodyProps, CardFooterProps, CardVariant } from './Card.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
@@ -1,8 +1,23 @@
1
1
  /**
2
- * Carousel Component Exports
2
+ * Carousel Component - Image/content slider.
3
3
  *
4
4
  * Atomic carousel component for use within cards, modals, or custom layouts.
5
5
  * For full-page carousel sections, use CarouselSection from sections.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * import { Carousel } from '@orion-ds/react';
10
+ *
11
+ * <Carousel
12
+ * items={[
13
+ * { id: '1', image: '/slide1.jpg', title: 'Slide 1' },
14
+ * { id: '2', image: '/slide2.jpg', title: 'Slide 2' },
15
+ * { id: '3', image: '/slide3.jpg', title: 'Slide 3' },
16
+ * ]}
17
+ * autoPlay
18
+ * showNavigation
19
+ * />
20
+ * ```
6
21
  */
7
22
  export { Carousel } from './Carousel';
8
23
  export { CarouselCard } from './CarouselCard';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACV,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,aAAa,EACb,uBAAuB,GACxB,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACV,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,eAAe,EACf,aAAa,EACb,uBAAuB,GACxB,MAAM,kBAAkB,CAAC"}
@@ -1,5 +1,14 @@
1
1
  /**
2
- * Checkbox Component Exports
2
+ * Checkbox Component - Boolean selection with label.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Checkbox } from '@orion-ds/react';
7
+ *
8
+ * <Checkbox label="I agree to the terms" />
9
+ * <Checkbox label="Select all" checked={selectAll} indeterminate={someSelected} />
10
+ * <Checkbox label="Remember me" checked={remember} onChange={setRemember} />
11
+ * ```
3
12
  */
4
13
  export { Checkbox } from './Checkbox';
5
14
  export type { CheckboxProps, CheckboxSize } from './Checkbox.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,5 +1,15 @@
1
1
  /**
2
- * Chip Component Export
2
+ * Chip Component - Tags and filter labels.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Chip } from '@orion-ds/react';
7
+ *
8
+ * <Chip>Default</Chip>
9
+ * <Chip variant="brand">Featured</Chip>
10
+ * <Chip onRemove={() => handleRemove()}>Removable</Chip>
11
+ * <Chip selected onClick={() => toggle()}>Selectable</Chip>
12
+ * ```
3
13
  */
4
14
  export { Chip } from './Chip';
5
15
  export type { ChipProps, ChipVariant, ChipSize } from './Chip.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,21 @@
1
1
  /**
2
- * Combobox Component Export
2
+ * Combobox Component - Autocomplete/typeahead input.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Combobox } from '@orion-ds/react';
7
+ *
8
+ * <Combobox
9
+ * label="Select a country"
10
+ * placeholder="Search countries..."
11
+ * options={[
12
+ * { value: 'us', label: 'United States' },
13
+ * { value: 'uk', label: 'United Kingdom' },
14
+ * { value: 'ca', label: 'Canada' },
15
+ * ]}
16
+ * onSelect={(option) => setCountry(option.value)}
17
+ * />
18
+ * ```
3
19
  */
4
20
  export { Combobox } from './Combobox';
5
21
  export type { ComboboxProps, ComboboxOption, ComboboxGroup, ComboboxSize } from './Combobox.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,5 +1,15 @@
1
1
  /**
2
- * Divider Component Export
2
+ * Divider Component - Visual content separator.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Divider } from '@orion-ds/react';
7
+ *
8
+ * <Divider />
9
+ * <Divider variant="dashed" />
10
+ * <Divider orientation="vertical" />
11
+ * <Divider>OR</Divider>
12
+ * ```
3
13
  */
4
14
  export { Divider } from './Divider';
5
15
  export type { DividerProps, DividerOrientation, DividerVariant } from './Divider.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,5 +1,20 @@
1
1
  /**
2
- * Drawer Component Export
2
+ * Drawer Component - Side panel overlay.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Drawer, Button } from '@orion-ds/react';
7
+ *
8
+ * <Drawer isOpen={isOpen} onClose={() => setIsOpen(false)} placement="right" size="md">
9
+ * <Drawer.Header>Settings</Drawer.Header>
10
+ * <Drawer.Body>
11
+ * <p>Drawer content here</p>
12
+ * </Drawer.Body>
13
+ * <Drawer.Footer>
14
+ * <Button onClick={() => setIsOpen(false)}>Close</Button>
15
+ * </Drawer.Footer>
16
+ * </Drawer>
17
+ * ```
3
18
  */
4
19
  export { Drawer } from './Drawer';
5
20
  export type { DrawerProps, DrawerPlacement, DrawerSize, DrawerHeaderProps, DrawerBodyProps, DrawerFooterProps, } from './Drawer.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,iBAAiB,GAClB,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Drawer/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,iBAAiB,GAClB,MAAM,gBAAgB,CAAC"}
@@ -1,5 +1,21 @@
1
1
  /**
2
- * Dropdown Component Export
2
+ * Dropdown Component - Action menu with items.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Dropdown, Button } from '@orion-ds/react';
7
+ * import { Edit, Trash, Copy } from 'lucide-react';
8
+ *
9
+ * <Dropdown
10
+ * trigger={<Button>Actions</Button>}
11
+ * items={[
12
+ * { label: 'Edit', icon: <Edit size={16} />, onClick: handleEdit },
13
+ * { label: 'Duplicate', icon: <Copy size={16} />, onClick: handleCopy },
14
+ * { type: 'divider' },
15
+ * { label: 'Delete', icon: <Trash size={16} />, onClick: handleDelete, danger: true },
16
+ * ]}
17
+ * />
18
+ * ```
3
19
  */
4
20
  export { Dropdown } from './Dropdown';
5
21
  export type { DropdownProps, DropdownItem, DropdownGroup, DropdownPlacement, } from './Dropdown.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,aAAa,EACb,YAAY,EACZ,aAAa,EACb,iBAAiB,GAClB,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,aAAa,EACb,YAAY,EACZ,aAAa,EACb,iBAAiB,GAClB,MAAM,kBAAkB,CAAC"}
@@ -1,5 +1,18 @@
1
1
  /**
2
- * EmptyState Component Export
2
+ * EmptyState Component - Placeholder for empty data views.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { EmptyState, Button } from '@orion-ds/react';
7
+ * import { Inbox } from 'lucide-react';
8
+ *
9
+ * <EmptyState
10
+ * icon={<Inbox size={48} />}
11
+ * title="No messages"
12
+ * description="You don't have any messages yet."
13
+ * action={<Button>Compose</Button>}
14
+ * />
15
+ * ```
3
16
  */
4
17
  export { EmptyState } from './EmptyState';
5
18
  export type { EmptyStateProps, EmptyStateSize } from './EmptyState.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EmptyState/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,5 +1,15 @@
1
1
  /**
2
- * Field Component Exports
2
+ * Field Component - Text input with label, validation, and icons.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Field } from '@orion-ds/react';
7
+ * import { Mail, Eye } from 'lucide-react';
8
+ *
9
+ * <Field label="Email" type="email" placeholder="you@example.com" />
10
+ * <Field label="Password" type="password" error="Required" />
11
+ * <Field label="Search" icon={<Search size={18} />} />
12
+ * ```
3
13
  */
4
14
  export { Field } from './Field';
5
15
  export type { FieldProps } from './Field.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Field/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Field/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
@@ -1,7 +1,20 @@
1
1
  /**
2
- * FontLoader Component
2
+ * FontLoader Component - Loads brand fonts from Google Fonts.
3
3
  *
4
- * Automatically loads Google Fonts required by Orion Design System brands.
4
+ * Note: ThemeProvider automatically includes FontLoader by default.
5
+ * Only use directly if disabling auto-loading.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * import { FontLoader } from '@orion-ds/react';
10
+ *
11
+ * // Usually not needed - ThemeProvider handles this automatically
12
+ * // Only use if you disabled auto-loading:
13
+ * <ThemeProvider disableAutoFontLoading>
14
+ * <FontLoader />
15
+ * <App />
16
+ * </ThemeProvider>
17
+ * ```
5
18
  */
6
19
  export { FontLoader } from './FontLoader';
7
20
  export type { FontLoaderProps } from './FontLoader';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FontLoader/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FontLoader/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,20 @@
1
1
  /**
2
- * Icon Component Exports
2
+ * Icon Component - Render Lucide icons with Orion styling.
3
+ *
4
+ * Prefer importing icons directly from lucide-react for better tree-shaking.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * import { Icon } from '@orion-ds/react';
9
+ * // Or directly: import { Search, Settings } from 'lucide-react';
10
+ *
11
+ * <Icon name="search" size="md" />
12
+ * <Icon name="settings" size="lg" color="brand" />
13
+ *
14
+ * // Preferred: Direct import from lucide-react
15
+ * import { Search } from 'lucide-react';
16
+ * <Search size={20} />
17
+ * ```
3
18
  */
4
19
  export { Icon } from './Icon';
5
20
  export type { IconProps, IconSize, IconColor, IconRenderProps } from './Icon.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,18 @@
1
1
  /**
2
- * IconGallery Component Exports
2
+ * IconGallery Component - Browsable icon reference display.
3
+ *
4
+ * Used for documentation and development. Shows all available Lucide icons.
5
+ *
6
+ * @example
7
+ * ```tsx
8
+ * import { IconGallery } from '@orion-ds/react';
9
+ *
10
+ * // Shows searchable gallery of all Lucide icons
11
+ * <IconGallery />
12
+ *
13
+ * // With custom categories
14
+ * <IconGallery categories={['navigation', 'actions', 'media']} />
15
+ * ```
3
16
  */
4
17
  export { IconGallery } from './IconGallery';
5
18
  export type { IconGalleryProps } from './IconGallery.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/IconGallery/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/IconGallery/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,5 +1,15 @@
1
1
  /**
2
- * Link Component Export
2
+ * Link Component - Navigation links.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Link } from '@orion-ds/react';
7
+ *
8
+ * <Link href="/about">About Us</Link>
9
+ * <Link href="/docs" variant="subtle">Documentation</Link>
10
+ * <Link href="/pricing" variant="brand">View Pricing</Link>
11
+ * <Link href="https://example.com" external>External Link</Link>
12
+ * ```
3
13
  */
4
14
  export { Link } from './Link';
5
15
  export type { LinkProps, LinkVariant, LinkSize } from './Link.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Link/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Link/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,19 @@
1
1
  /**
2
- * List Component Export
2
+ * List Component - Vertical item list display.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { List } from '@orion-ds/react';
7
+ * import { User, Settings, LogOut } from 'lucide-react';
8
+ *
9
+ * <List
10
+ * items={[
11
+ * { id: '1', label: 'Profile', icon: <User size={18} />, onClick: goToProfile },
12
+ * { id: '2', label: 'Settings', icon: <Settings size={18} />, onClick: goToSettings },
13
+ * { id: '3', label: 'Log out', icon: <LogOut size={18} />, onClick: handleLogout },
14
+ * ]}
15
+ * />
16
+ * ```
3
17
  */
4
18
  export { List } from './List';
5
19
  export type { ListProps, ListItem, ListSize, ListVariant } from './List.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/List/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/List/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,19 @@
1
1
  /**
2
- * Modal Component Exports
2
+ * Modal Component - Dialogs and confirmation windows.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Modal, Button } from '@orion-ds/react';
7
+ *
8
+ * <Modal isOpen={isOpen} onClose={() => setIsOpen(false)} size="md">
9
+ * <Modal.Header>Confirm Action</Modal.Header>
10
+ * <Modal.Body>Are you sure you want to proceed?</Modal.Body>
11
+ * <Modal.Footer>
12
+ * <Button variant="ghost" onClick={() => setIsOpen(false)}>Cancel</Button>
13
+ * <Button variant="primary">Confirm</Button>
14
+ * </Modal.Footer>
15
+ * </Modal>
16
+ * ```
3
17
  */
4
18
  export { Modal } from './Modal';
5
19
  export type { ModalProps, ModalHeaderProps, ModalBodyProps, ModalFooterProps, ModalSize, } from './Modal.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EACV,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,SAAS,GACV,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EACV,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,SAAS,GACV,MAAM,eAAe,CAAC"}
@@ -1,5 +1,24 @@
1
1
  /**
2
- * Navbar Component Exports
2
+ * Navbar Component - Site/app navigation header.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * import { Navbar, Button } from '@orion-ds/react';
7
+ *
8
+ * <Navbar variant="solid" sticky>
9
+ * <Navbar.Brand href="/">
10
+ * <img src="/logo.svg" alt="Logo" height={32} />
11
+ * </Navbar.Brand>
12
+ * <Navbar.Nav>
13
+ * <Navbar.Link href="/features">Features</Navbar.Link>
14
+ * <Navbar.Link href="/pricing">Pricing</Navbar.Link>
15
+ * </Navbar.Nav>
16
+ * <Navbar.Actions>
17
+ * <Button variant="ghost">Sign In</Button>
18
+ * <Button>Get Started</Button>
19
+ * </Navbar.Actions>
20
+ * </Navbar>
21
+ * ```
3
22
  */
4
23
  export { Navbar } from './Navbar';
5
24
  export type { NavbarProps, NavbarBrandProps, NavbarNavProps, NavbarLinkProps, NavbarActionsProps, NavbarHeight, NavbarVariant, } from './Navbar.types';