@platned/ui 0.9.6 → 0.9.7

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 ADDED
@@ -0,0 +1,31 @@
1
+ Proprietary License
2
+
3
+ Copyright (c) 2026 Platned. All rights reserved.
4
+
5
+ This software, @platned/ui (the Platned Design System), including its source code, compiled
6
+ packages, design tokens, styles, documentation and any associated files (the "Software"), is
7
+ the proprietary property of Platned.
8
+
9
+ 1. Permitted use. Platned, and its employees and contractors acting on Platned's behalf, may
10
+ use, copy, modify and distribute the Software solely for Platned's own internal products and
11
+ services.
12
+
13
+ 2. No other rights. No one else is granted any right to use, copy, modify, merge, publish,
14
+ distribute, sublicense, sell or create derivative works of the Software, in whole or in part,
15
+ by implication, estoppel or otherwise.
16
+
17
+ 3. Public availability is not a license. The Software may be viewable or downloadable from public
18
+ locations, such as a public source repository or a public package registry. That availability
19
+ grants no rights to anyone outside the permitted use in section 1.
20
+
21
+ 4. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
23
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL PLATNED BE LIABLE FOR ANY CLAIM,
24
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
+
27
+ 5. Third-party components. The Software depends on third-party open-source packages, such as
28
+ React, Radix UI and lucide-react. Those packages remain under their own licenses, which this
29
+ license does not change.
30
+
31
+ For permission requests, contact Platned.
package/README.md CHANGED
@@ -3,6 +3,9 @@
3
3
  React + TypeScript component library used across Platned products, with design tokens
4
4
  generated from Figma.
5
5
 
6
+ > **Internal use only.** This package is proprietary to Platned. It is published publicly for
7
+ > convenience, but only Platned and its staff may use it. See [LICENSE](LICENSE).
8
+
6
9
  ## Install
7
10
 
8
11
  ```bash
@@ -169,3 +172,8 @@ breaking renames with migration tables.
169
172
  ## Contributing
170
173
 
171
174
  See [CONTRIBUTING.md](CONTRIBUTING.md).
175
+
176
+ ## License
177
+
178
+ Proprietary. Copyright (c) 2026 Platned. All rights reserved. For use by Platned and its staff
179
+ only; see [LICENSE](LICENSE). Public availability on GitHub or npm grants no rights.
package/dist/index.cjs CHANGED
@@ -9359,7 +9359,9 @@ function RailParent({ item }) {
9359
9359
  ] });
9360
9360
  }
9361
9361
  var SidebarTrigger = (0, import_react62.forwardRef)(function SidebarTrigger2({ "aria-label": ariaLabel = "Open navigation", className, onClick, variant = "subtle", ...rest }, ref) {
9362
- const { mobileOpen, setMobileOpen } = useSidebar();
9362
+ const context = (0, import_react62.useContext)(SidebarContext);
9363
+ if (!context) return null;
9364
+ const { mobileOpen, setMobileOpen } = context;
9363
9365
  return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
9364
9366
  IconButton,
9365
9367
  {