@talogic/react 0.7.0 → 0.8.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.
- package/LICENSE +1 -1
- package/README.md +4 -4
- package/fonts.css +1 -1
- package/index.d.ts +1 -1
- package/index.js +181 -142
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/product/product-catalogue.content.d.ts +1 -1
- package/talogic-react.css +1 -1
- package/tokens/apca-contrast.algorithm.d.ts +2 -2
- package/tokens/logo-color.algorithm.d.ts +2 -2
- package/tokens/theme.contract.d.ts +2 -2
- package/tokens.css +21 -16
- package/ui/feedback/toaster.component.d.ts +1 -1
- package/ui/index.d.ts +1 -0
- package/ui/navigation/index.d.ts +1 -1
- package/ui/navigation/navigation-menu.component.d.ts +2 -1
- package/ui/navigation/tabs.component.d.ts +15 -7
- package/ui/presence/index.d.ts +4 -0
- package/ui/presence/presence.component.d.ts +21 -0
- package/ui/presence/presence.recipe.d.ts +8 -0
- package/web/site-header.component.d.ts +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @talogic/react
|
|
2
2
|
|
|
3
|
-
The
|
|
3
|
+
The talogic design system in React: design tokens for Tailwind CSS v4 and shadcn/ui, the shadcn/ui primitives
|
|
4
4
|
drawn with those tokens, and patterns for each surface of the product family. The source design is the approved
|
|
5
|
-
"
|
|
5
|
+
"talogic Component System" canvas.
|
|
6
6
|
|
|
7
7
|
**[Read the usage guide](docs/usage.md)** for the install, the setup of a product, and how to
|
|
8
8
|
replace Chakra UI. The Storybook, with every component, is at https://talogic-automation.github.io/talogic/.
|
|
@@ -61,7 +61,7 @@ Every switch is an attribute or a class, on `<html>` for a whole app or on any e
|
|
|
61
61
|
Menus, dialogs and toasts render in a portal under `<body>`, so they follow the switches on `<html>`.
|
|
62
62
|
|
|
63
63
|
Tokens use the shadcn/ui variable names (`--background`, `--primary`, `--muted-foreground`, `--sidebar-*`,
|
|
64
|
-
`--chart-1` to `--chart-5`) plus
|
|
64
|
+
`--chart-1` to `--chart-5`) plus talogic roles (`--brand`, `--brand-text`, `--brand-soft`, `--canvas`, the status
|
|
65
65
|
colours and their `-soft` backgrounds). The family palette replaces the default Tailwind colours, so `bg-pink-500`
|
|
66
66
|
and `text-orange-700` are family steps. Fonts: DM Sans for headlines (`font-display`, `type-display`, `type-h1`,
|
|
67
67
|
`type-h2`), Inter for content (`font-sans`), Fira Code for code (`font-mono`).
|
|
@@ -77,7 +77,7 @@ the file and the rule disagree. `--primary-foreground`, `--sidebar-primary-foreg
|
|
|
77
77
|
| Slice | Contents |
|
|
78
78
|
|---|---|
|
|
79
79
|
| `tokens` | `tokens.css`, `fonts.css`, `ThemeRoot`, `themeAttributes`, product and hue lists, `PRODUCT_HUES`, `FAMILY_PALETTE`, `HUE_FILL` |
|
|
80
|
-
| `ui` | shadcn/ui primitives: button, badge, avatar, field (label, input, textarea, select), tags input, combobox (eager and lazy, single and multiple), file drop (`usePageDrop`, `FileDropOverlay`), choice (checkbox, radio group, switch, slider, toggle group), navigation (tabs in `pill`, `underline` and `outline`, horizontal or vertical, with counts and closable tabs, breadcrumb, pagination, stepper, navigation menu, menubar), overlay (portal, dialog, alert dialog, sheet, drawer, popover, tooltip), menu (dropdown menu, context menu, command), feedback (alert, toaster, progress, skeleton, spinner, empty state), layout (card, separator, scroll area, resizable, accordion, table, kbd) |
|
|
80
|
+
| `ui` | shadcn/ui primitives: button, badge, avatar, field (label, input, textarea, select), tags input, combobox (eager and lazy, single and multiple), file drop (`usePageDrop`, `FileDropOverlay`), choice (checkbox, radio group, switch, slider, toggle group), navigation (tabs in `pill`, `underline` and `outline`, horizontal or vertical, with counts and closable tabs, breadcrumb, pagination, stepper, navigation menu, menubar), overlay (portal, presence, dialog, alert dialog, sheet, drawer, popover, tooltip), menu (dropdown menu, context menu, command), feedback (alert, toaster, progress, skeleton, spinner, empty state), layout (card, separator, scroll area, resizable, accordion, table, kbd) |
|
|
81
81
|
| `product` | `ProductLogo`, `ProductSwitcher`, `PRODUCT_CATALOGUE` |
|
|
82
82
|
| `status` | `StatusBadge` and the run statuses, with the same word and colour in every product |
|
|
83
83
|
| `web` | `SiteHeader`, `Hero`, `ProductCard`, `FeatureGrid`, `HowItWorks`, `PricingTable`, `Faq`, `CtaBand`, `SiteFooter` |
|
package/fonts.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* The three
|
|
1
|
+
/* The three talogic fonts, self-hosted from Fontsource: DM Sans for headlines, Inter for content, Fira Code for code. */
|
|
2
2
|
@import "@fontsource-variable/inter";
|
|
3
3
|
@import "@fontsource-variable/dm-sans";
|
|
4
4
|
@import "@fontsource-variable/fira-code";
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @talogic/react: the
|
|
2
|
+
* @talogic/react: the talogic design system.
|
|
3
3
|
*
|
|
4
4
|
* Tokens and theme switches, shadcn/ui primitives, and patterns for each surface: the website, the web portals,
|
|
5
5
|
* the desktop apps and the mobile apps. Import the styles once: `@talogic/react/tokens.css` after Tailwind, or
|