@polastack/design-system 0.1.27 → 0.1.28

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": "@polastack/design-system",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "description": "Polastack Design System - UI components and design tokens for business applications",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -50,6 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@radix-ui/react-checkbox": "^1.3.3",
53
+ "@radix-ui/react-collapsible": "^1.1.12",
53
54
  "@radix-ui/react-dialog": "^1.1.15",
54
55
  "@radix-ui/react-dropdown-menu": "^2.1.16",
55
56
  "@radix-ui/react-label": "^2.1.8",
@@ -50,6 +50,16 @@
50
50
  100% { transform: translateX(200%); }
51
51
  }
52
52
 
53
+ @keyframes collapsible-down {
54
+ from { height: 0; }
55
+ to { height: var(--radix-collapsible-content-height); }
56
+ }
57
+
58
+ @keyframes collapsible-up {
59
+ from { height: var(--radix-collapsible-content-height); }
60
+ to { height: 0; }
61
+ }
62
+
53
63
  /* --------------------------------------------------------
54
64
  Base Layer
55
65
  -------------------------------------------------------- */
@@ -234,4 +234,6 @@
234
234
  --animate-slide-out-left: slide-out-left var(--duration-slow) var(--ease-in);
235
235
  --animate-spinner: spinner-fade 0.8s ease-in-out infinite;
236
236
  --animate-progress-indeterminate: progress-indeterminate 2s ease-in-out infinite;
237
+ --animate-collapsible-down: collapsible-down var(--duration-normal) var(--ease-out);
238
+ --animate-collapsible-up: collapsible-up var(--duration-normal) var(--ease-in);
237
239
  }