@hyddenlabs/hydn-ui 0.3.15 → 0.3.18

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.
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { Icon } from "../../system/icon/icon.js";
3
2
  import Button from "../../forms/button/button.js";
4
3
  import Text from "../../typography/text/text.js";
5
4
  import Heading from "../../typography/heading/heading.js";
6
5
  import Stack from "../../layout/stack/stack.js";
6
+ import { Icon } from "../../system/icon/icon.js";
7
7
  function Error400({
8
8
  title = "Bad Request",
9
9
  description = "We couldn't process your request. Please check your input and try again.",
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { Icon } from "../../system/icon/icon.js";
3
2
  import Button from "../../forms/button/button.js";
4
3
  import Text from "../../typography/text/text.js";
5
4
  import Heading from "../../typography/heading/heading.js";
6
5
  import Stack from "../../layout/stack/stack.js";
6
+ import { Icon } from "../../system/icon/icon.js";
7
7
  function Error401({
8
8
  title = "Unauthorized",
9
9
  description = "You need to sign in to access this page. Please log in with your credentials.",
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { Icon } from "../../system/icon/icon.js";
3
2
  import Button from "../../forms/button/button.js";
4
3
  import Text from "../../typography/text/text.js";
5
4
  import Heading from "../../typography/heading/heading.js";
6
5
  import Stack from "../../layout/stack/stack.js";
6
+ import { Icon } from "../../system/icon/icon.js";
7
7
  function Error403({
8
8
  title = "Access Forbidden",
9
9
  description = "You don't have permission to access this resource. If you believe this is a mistake, please contact support.",
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { Icon } from "../../system/icon/icon.js";
3
2
  import Button from "../../forms/button/button.js";
4
3
  import Text from "../../typography/text/text.js";
5
4
  import Heading from "../../typography/heading/heading.js";
6
5
  import Stack from "../../layout/stack/stack.js";
6
+ import { Icon } from "../../system/icon/icon.js";
7
7
  function Error404({
8
8
  title = "Page Not Found",
9
9
  description = "The page you're looking for doesn't exist or has been moved. Please check the URL or return to the homepage.",
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import React from "react";
3
- import { Icon } from "../../system/icon/icon.js";
4
3
  import Button from "./button.js";
4
+ import { Icon } from "../../system/icon/icon.js";
5
5
  const ButtonWithIcon = React.forwardRef(
6
6
  ({
7
7
  icon,
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import React, { useState, useRef, useCallback, useEffect } from "react";
3
- import { Icon } from "../../system/icon/icon.js";
4
3
  import Button from "./button.js";
4
+ import { Icon } from "../../system/icon/icon.js";
5
5
  const IconButton = React.forwardRef(
6
6
  ({
7
7
  icon,
@@ -2,8 +2,8 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { useState, useRef, useCallback, useEffect, useLayoutEffect, useContext, createContext } from "react";
3
3
  import { createPortal } from "react-dom";
4
4
  import Button from "../../forms/button/button.js";
5
- import { Icon } from "../../system/icon/icon.js";
6
5
  import { gapSizes } from "../../../theme/size-tokens.js";
6
+ import { Icon } from "../../system/icon/icon.js";
7
7
  const DropdownContext = createContext(null);
8
8
  function Dropdown({
9
9
  trigger,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyddenlabs/hydn-ui",
3
- "version": "0.3.15",
3
+ "version": "0.3.18",
4
4
  "private": false,
5
5
  "description": "A modern React component library built with TypeScript and Tailwind CSS",
6
6
  "main": "./dist/index.js",