@realminc/ui 0.10.0 → 0.10.1

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.
Files changed (2) hide show
  1. package/dist/index.js +31 -31
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -57,7 +57,7 @@ import { useMemo as useMemo2, useRef as useRef3, useState, useContext as useCont
57
57
 
58
58
  // node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs
59
59
  import { createContext } from "react";
60
- "use client";
60
+
61
61
  var LayoutGroupContext = createContext({});
62
62
 
63
63
  // node_modules/framer-motion/dist/es/utils/use-constant.mjs
@@ -77,7 +77,7 @@ import { useId as useId2, useCallback, useMemo } from "react";
77
77
 
78
78
  // node_modules/framer-motion/dist/es/context/PresenceContext.mjs
79
79
  import { createContext as createContext2 } from "react";
80
- "use client";
80
+
81
81
  var PresenceContext = createContext2(null);
82
82
 
83
83
  // node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
@@ -87,7 +87,7 @@ import { useId, useRef as useRef2, useContext, useInsertionEffect } from "react"
87
87
 
88
88
  // node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs
89
89
  import { createContext as createContext3 } from "react";
90
- "use client";
90
+
91
91
  var MotionConfigContext = createContext3({
92
92
  transformPagePoint: (p) => p,
93
93
  isStatic: false,
@@ -95,7 +95,7 @@ var MotionConfigContext = createContext3({
95
95
  });
96
96
 
97
97
  // node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
98
- "use client";
98
+
99
99
 
100
100
  class PopChildMeasure extends React.Component {
101
101
  getSnapshotBeforeUpdate(prevProps) {
@@ -152,7 +152,7 @@ function PopChild({ children, isPresent }) {
152
152
  }
153
153
 
154
154
  // node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
155
- "use client";
155
+
156
156
  var PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode }) => {
157
157
  const presenceChildren = useConstant(newChildrenMap);
158
158
  const id = useId2();
@@ -228,7 +228,7 @@ var isBrowser = typeof window !== "undefined";
228
228
  var useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect3;
229
229
 
230
230
  // node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
231
- "use client";
231
+
232
232
  var AnimatePresence = ({ children, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = "sync", propagate = false }) => {
233
233
  const [isParentPresent, safeToRemove] = usePresence(propagate);
234
234
  const presentChildren = useMemo2(() => onlyElements(children), [children]);
@@ -4510,7 +4510,7 @@ import { useContext as useContext4, Component as Component2 } from "react";
4510
4510
 
4511
4511
  // node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
4512
4512
  import { createContext as createContext4 } from "react";
4513
- "use client";
4513
+
4514
4514
  var SwitchLayoutGroupContext = createContext4({});
4515
4515
 
4516
4516
  // node_modules/framer-motion/dist/es/projection/node/state.mjs
@@ -4574,7 +4574,7 @@ function addScaleCorrector(correctors) {
4574
4574
  var { schedule: microtask, cancel: cancelMicrotask } = createRenderBatcher(queueMicrotask, false);
4575
4575
 
4576
4576
  // node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs
4577
- "use client";
4577
+
4578
4578
 
4579
4579
  class MeasureLayoutWithContext extends Component2 {
4580
4580
  componentDidMount() {
@@ -6270,12 +6270,12 @@ import { forwardRef, useContext as useContext7 } from "react";
6270
6270
 
6271
6271
  // node_modules/framer-motion/dist/es/context/LazyContext.mjs
6272
6272
  import { createContext as createContext5 } from "react";
6273
- "use client";
6273
+
6274
6274
  var LazyContext = createContext5({ strict: false });
6275
6275
 
6276
6276
  // node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
6277
6277
  import { createContext as createContext6 } from "react";
6278
- "use client";
6278
+
6279
6279
  var MotionContext = createContext6({});
6280
6280
 
6281
6281
  // node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
@@ -6456,7 +6456,7 @@ function getClosestProjectingNode(visualElement) {
6456
6456
  }
6457
6457
 
6458
6458
  // node_modules/framer-motion/dist/es/motion/index.mjs
6459
- "use client";
6459
+
6460
6460
  function createRendererMotionComponent({ preloadedFeatures, createVisualElement, useRender, useVisualState, Component }) {
6461
6461
  var _a, _b;
6462
6462
  preloadedFeatures && loadFeatures(preloadedFeatures);
@@ -7540,7 +7540,7 @@ var createMotionComponent = /* @__PURE__ */ createMotionComponentFactory({
7540
7540
  var motion = /* @__PURE__ */ createDOMMotionComponentProxy(createMotionComponent);
7541
7541
 
7542
7542
  // node_modules/framer-motion/dist/es/index.mjs
7543
- "use client";
7543
+
7544
7544
  // node_modules/lucide-react/dist/esm/createLucideIcon.js
7545
7545
  import { forwardRef as forwardRef3, createElement as createElement3 } from "react";
7546
7546
 
@@ -7692,7 +7692,7 @@ var __iconNode15 = [
7692
7692
  var X = createLucideIcon("x", __iconNode15);
7693
7693
  // src/components/nav/navbar.tsx
7694
7694
  import { jsx as jsx7, jsxs as jsxs2 } from "react/jsx-runtime";
7695
- "use client";
7695
+
7696
7696
  var OaDefaultLink = ({ href, className, children }) => /* @__PURE__ */ jsx7("a", {
7697
7697
  href,
7698
7698
  className,
@@ -7890,7 +7890,7 @@ function OaWidget({
7890
7890
  // src/components/layout/tabs.tsx
7891
7891
  import { useState as useState2 } from "react";
7892
7892
  import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
7893
- "use client";
7893
+
7894
7894
  function OaTabs({
7895
7895
  tabs,
7896
7896
  default_tab,
@@ -7961,7 +7961,7 @@ function OaContainer({
7961
7961
  // src/components/layout/table.tsx
7962
7962
  import { useState as useState3, useMemo as useMemo7, useCallback as useCallback4 } from "react";
7963
7963
  import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
7964
- "use client";
7964
+
7965
7965
  function OaTable({
7966
7966
  data,
7967
7967
  columns,
@@ -10886,7 +10886,7 @@ prismjs/prism.js:
10886
10886
 
10887
10887
  // src/components/display/code_block.tsx
10888
10888
  import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
10889
- "use client";
10889
+
10890
10890
  var vscode_dark_modern = {
10891
10891
  plain: {
10892
10892
  color: "#cccccc",
@@ -11386,7 +11386,7 @@ function OaTokenIcon({
11386
11386
  }
11387
11387
  // src/components/display/side_line.tsx
11388
11388
  import { jsx as jsx17, jsxs as jsxs10 } from "react/jsx-runtime";
11389
- "use client";
11389
+
11390
11390
  function OaSideLine({
11391
11391
  title,
11392
11392
  description,
@@ -11420,7 +11420,7 @@ function OaSideLine({
11420
11420
  }
11421
11421
  // src/components/display/image_card.tsx
11422
11422
  import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
11423
- "use client";
11423
+
11424
11424
  function OaImageCard({
11425
11425
  src,
11426
11426
  alt,
@@ -11467,7 +11467,7 @@ function OaImageCard({
11467
11467
  }
11468
11468
  // src/components/display/marquee.tsx
11469
11469
  import { jsx as jsx19, jsxs as jsxs12 } from "react/jsx-runtime";
11470
- "use client";
11470
+
11471
11471
  function OaMarquee({
11472
11472
  items,
11473
11473
  speed = 30,
@@ -11742,7 +11742,7 @@ function OaNumberDisplay({
11742
11742
  }
11743
11743
  // src/components/display/benchmark_table.tsx
11744
11744
  import { jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
11745
- "use client";
11745
+
11746
11746
  function OaBenchmarkTable({
11747
11747
  title,
11748
11748
  subtitle,
@@ -11841,7 +11841,7 @@ function OaBenchmarkTable({
11841
11841
  }
11842
11842
  // src/components/display/line_table.tsx
11843
11843
  import { jsx as jsx24, jsxs as jsxs17, Fragment as Fragment4 } from "react/jsx-runtime";
11844
- "use client";
11844
+
11845
11845
  function surface_classes(variant) {
11846
11846
  return variant === "dark" ? "border-white/15 bg-realm-bg-line" : "border-black/10 bg-light-bg-widget";
11847
11847
  }
@@ -11975,7 +11975,7 @@ function OaLineTable(props) {
11975
11975
  // src/components/display/hero.tsx
11976
11976
  import { useState as useState5, useEffect as useEffect5, useCallback as useCallback6 } from "react";
11977
11977
  import { jsx as jsx25, jsxs as jsxs18, Fragment as Fragment5 } from "react/jsx-runtime";
11978
- "use client";
11978
+
11979
11979
  var preset_aspects = {
11980
11980
  hero: "aspect-[4/3] md:aspect-[16/9]",
11981
11981
  product: "aspect-[3/4] sm:aspect-[4/3] md:aspect-[16/7]",
@@ -12688,7 +12688,7 @@ function OaLoadingOverlay({ loading, children, className }) {
12688
12688
  import { useEffect as useEffect7, useRef as useRef6 } from "react";
12689
12689
  import { createPortal as createPortal2 } from "react-dom";
12690
12690
  import { jsx as jsx31, jsxs as jsxs24 } from "react/jsx-runtime";
12691
- "use client";
12691
+
12692
12692
  var size_classes4 = {
12693
12693
  sm: "max-w-sm",
12694
12694
  md: "max-w-md",
@@ -12833,7 +12833,7 @@ function OaCallout({
12833
12833
  // src/components/transition/page_transition.tsx
12834
12834
  import { useState as useState8 } from "react";
12835
12835
  import { jsx as jsx33 } from "react/jsx-runtime";
12836
- "use client";
12836
+
12837
12837
  function OaPageTransition({
12838
12838
  is_active,
12839
12839
  direction = "left",
@@ -12893,7 +12893,7 @@ function use_page_transition(delay = 700) {
12893
12893
  // src/components/transition/page_entrance.tsx
12894
12894
  import { useState as useState9, useEffect as useEffect8 } from "react";
12895
12895
  import { jsx as jsx34, jsxs as jsxs26, Fragment as Fragment7 } from "react/jsx-runtime";
12896
- "use client";
12896
+
12897
12897
  var TRANSITION_EASING = "cubic-bezier(0.76, 0, 0.24, 1)";
12898
12898
  function OaPageEntrance({
12899
12899
  children,
@@ -12956,7 +12956,7 @@ function OaPageEntrance({
12956
12956
  // src/components/fx/scramble_text.tsx
12957
12957
  import { forwardRef as forwardRef7, useCallback as useCallback9, useEffect as useEffect9, useImperativeHandle, useRef as useRef7, useState as useState10 } from "react";
12958
12958
  import { jsx as jsx35, jsxs as jsxs27 } from "react/jsx-runtime";
12959
- "use client";
12959
+
12960
12960
  var SCRAMBLE_GLYPHS = "abcdefghijklmnopqrstuvwxyz!@#$%&*+-=?/<>[]{}";
12961
12961
  var EXTERNAL_ICON_SENTINEL = "\x00";
12962
12962
  var SCRAMBLE_DURATION_MS = 420;
@@ -13080,7 +13080,7 @@ OaScrambleText.displayName = "OaScrambleText";
13080
13080
  // src/components/fx/scramble_control.ts
13081
13081
  import { useRef as useRef8, useState as useState11 } from "react";
13082
13082
  import { flushSync } from "react-dom";
13083
- "use client";
13083
+
13084
13084
  function use_oa_scramble_control() {
13085
13085
  const [cycle, setCycle] = useState11(0);
13086
13086
  const text_ref = useRef8(null);
@@ -13145,7 +13145,7 @@ function use_oa_scramble_control() {
13145
13145
 
13146
13146
  // src/components/fx/scramble_link.tsx
13147
13147
  import { jsx as jsx36 } from "react/jsx-runtime";
13148
- "use client";
13148
+
13149
13149
  function OaScrambleLink({
13150
13150
  children,
13151
13151
  as,
@@ -13207,7 +13207,7 @@ function OaScrambleLink({
13207
13207
  // src/components/fx/scramble_button.tsx
13208
13208
  import { forwardRef as forwardRef8 } from "react";
13209
13209
  import { jsx as jsx37 } from "react/jsx-runtime";
13210
- "use client";
13210
+
13211
13211
  var OaScrambleButton = forwardRef8(function OaScrambleButton({
13212
13212
  children,
13213
13213
  icon = null,
@@ -20263,7 +20263,7 @@ function calculate_macd(candles, fast_period = 12, slow_period = 26, signal_peri
20263
20263
 
20264
20264
  // src/components/chart/chart.tsx
20265
20265
  import { jsx as jsx38, jsxs as jsxs28 } from "react/jsx-runtime";
20266
- "use client";
20266
+
20267
20267
  function OaChart({
20268
20268
  data,
20269
20269
  type = "candlestick",
@@ -20539,7 +20539,7 @@ function OaChart({
20539
20539
  // src/components/chart/chart_pane.tsx
20540
20540
  import { useEffect as useEffect11, useRef as useRef10 } from "react";
20541
20541
  import { jsx as jsx39, jsxs as jsxs29 } from "react/jsx-runtime";
20542
- "use client";
20542
+
20543
20543
  function OaRsiPane({
20544
20544
  data,
20545
20545
  height = 100,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realminc/ui",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "packageManager": "bun@1.4.2",
5
5
  "description": "Realm Design System - Shared UI components, styles, and assets",
6
6
  "type": "module",