@arun-dev/tokens 0.12.0 → 0.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arun-dev/tokens",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "Pure-CSS design tokens with white-label brand generation — primitives, brand palettes, semantic layers, and the createBrand() generator",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -0,0 +1,15 @@
1
+ /* Popover component tokens — map semantic tokens onto the anchored panel.
2
+ Override any of these to restyle popovers without moving other components. */
3
+ :root {
4
+ --popover-offset: var(--space-2xs);
5
+ --popover-max-width: 20rem;
6
+ --popover-padding: var(--space-sm);
7
+ --popover-radius: var(--radius-md);
8
+ --popover-bg: var(--color-bg-primary);
9
+ --popover-color: var(--color-text-primary);
10
+ --popover-border-width: var(--space-px);
11
+ --popover-border-color: var(--color-border-default);
12
+ --popover-shadow: var(--shadow-lg);
13
+ --popover-font-size: var(--text-sm);
14
+ --popover-duration: var(--duration-fast);
15
+ }
@@ -0,0 +1,14 @@
1
+ /* Tooltip component tokens — map semantic tokens onto the small label beside a trigger.
2
+ Inverse colours, so it reads as a label over the page rather than part of it.
3
+ Override any of these to restyle tooltips without moving other components. */
4
+ :root {
5
+ --tooltip-offset: var(--space-2xs);
6
+ --tooltip-max-width: 16rem;
7
+ --tooltip-padding-block: var(--space-3xs);
8
+ --tooltip-padding-inline: var(--space-2xs);
9
+ --tooltip-radius: var(--radius-sm);
10
+ --tooltip-bg: var(--color-bg-inverse);
11
+ --tooltip-color: var(--color-text-inverse);
12
+ --tooltip-font-size: var(--text-xs);
13
+ --tooltip-duration: var(--duration-fast);
14
+ }
@@ -8,7 +8,9 @@
8
8
  @import './components/checkbox.css';
9
9
  @import './components/dialog.css';
10
10
  @import './components/input.css';
11
+ @import './components/popover.css';
11
12
  @import './components/radio-group.css';
12
13
  @import './components/select.css';
13
14
  @import './components/switch.css';
14
15
  @import './components/textarea.css';
16
+ @import './components/tooltip.css';